Ryan Mwangi
|
52b2b8fda5
|
configure jest
|
2024-10-29 21:54:59 +03:00 |
Ryan Mwangi
|
e02b3d4c1b
|
install supertest
|
2024-10-29 21:54:14 +03:00 |
Ryan Mwangi
|
e02f797b46
|
import app from server.js
|
2024-10-29 21:51:24 +03:00 |
Ryan Mwangi
|
b86d96b4d6
|
export app from server.js
|
2024-10-29 21:49:34 +03:00 |
Ryan Mwangi
|
3920fe5064
|
set up test for calendars with the overide checked
|
2024-10-29 21:46:40 +03:00 |
Ryan Mwangi
|
f2888808ec
|
set up test for calendars with a prefix
|
2024-10-29 21:45:09 +03:00 |
Ryan Mwangi
|
45c2143a9b
|
set up test for time based events
|
2024-10-29 21:43:11 +03:00 |
Ryan Mwangi
|
4311619f64
|
Check if the file was created
|
2024-10-29 21:40:57 +03:00 |
Ryan Mwangi
|
8650d91edb
|
set up response status
|
2024-10-29 21:35:41 +03:00 |
Ryan Mwangi
|
728c73b23d
|
set up test for date based calendar
|
2024-10-29 21:34:45 +03:00 |
Ryan Mwangi
|
b5a692b47c
|
create async function for the tests
|
2024-10-29 21:33:03 +03:00 |
Ryan Mwangi
|
6416685de8
|
Clean up the merged calendars directory after tests
|
2024-10-29 21:32:00 +03:00 |
Ryan Mwangi
|
22f0a05bce
|
Ensure the merged calendars directory exists
|
2024-10-29 21:29:24 +03:00 |
Ryan Mwangi
|
3ddd563eac
|
define MERGED_CALENDARS_DIR
|
2024-10-29 21:27:29 +03:00 |
Ryan Mwangi
|
b810f7c59d
|
import request and express
|
2024-10-29 21:26:17 +03:00 |
Ryan Mwangi
|
310a71459d
|
import request and express
|
2024-10-29 21:24:44 +03:00 |
Ryan Mwangi
|
fde1a78627
|
create calendar.test.js for automated tests
|
2024-10-29 21:23:40 +03:00 |
Ryan Mwangi
|
94f5aed027
|
install jest to run automated tests
|
2024-10-29 21:20:48 +03:00 |
Ryan Mwangi
|
815cb37cc8
|
edit date based calendar url
|
2024-10-29 21:13:14 +03:00 |
Ryan Mwangi
|
a77279273a
|
for date based events use the date part only in the /calendar/:name endpoint
|
2024-10-29 15:47:58 +03:00 |
Ryan Mwangi
|
c6300bd68f
|
for date based events use the date part only
|
2024-10-29 15:44:49 +03:00 |
Ryan Mwangi
|
8ba0bae716
|
add time and date based events as test code in /calendar/:name endpoint
|
2024-10-29 15:38:50 +03:00 |
Ryan Mwangi
|
ba597a2556
|
check if the event is date-based or time-based
|
2024-10-29 15:32:17 +03:00 |
Ryan Mwangi
|
67bdba2ee6
|
add time and date based events as test code
|
2024-10-29 15:26:45 +03:00 |
Ryan Mwangi
|
e2d40b3fc5
|
get rid of the updateMergedCalendars function
|
2024-10-29 02:36:18 +03:00 |
Ryan Mwangi
|
7c01cfc964
|
get rid of end point to refresh merged calender using the refresh button
|
2024-10-29 02:35:10 +03:00 |
Ryan Mwangi
|
8031333bce
|
save the calendar to a file
|
2024-10-29 02:31:58 +03:00 |
Ryan Mwangi
|
8927cc1cd3
|
parse calendar data using ical-generator
|
2024-10-29 02:31:00 +03:00 |
Ryan Mwangi
|
4310d3f395
|
create a new iCalendar instance in the calendar/:name end point
|
2024-10-29 02:29:29 +03:00 |
Ryan Mwangi
|
a00321c922
|
update test.ics using ical-generator
|
2024-10-28 21:03:58 +03:00 |
Ryan Mwangi
|
4584280eab
|
save the calendar to a file
|
2024-10-28 20:57:34 +03:00 |
Ryan Mwangi
|
d62a8cd144
|
parse calendar data using icalGenerator
|
2024-10-28 20:56:36 +03:00 |
Ryan Mwangi
|
f6e0ef8fdf
|
create a new iCalendar instance
|
2024-10-28 20:53:46 +03:00 |
Ryan Mwangi
|
51bfb1304a
|
import ical-generator
|
2024-10-28 20:52:07 +03:00 |
Ryan Mwangi
|
b031e85497
|
install latest version of ical-generator
|
2024-10-28 20:48:44 +03:00 |
Ryan Mwangi
|
9e9936ce36
|
delete unused cron import
|
2024-10-28 20:34:49 +03:00 |
Ryan Mwangi
|
26c4997af0
|
delete unused crypto import
|
2024-10-28 20:34:08 +03:00 |
Ryan Mwangi
|
5f9309c683
|
update test JSON and .ics files
|
2024-10-28 15:53:13 +03:00 |
Ryan Mwangi
|
bbd93317a1
|
update the name of the saved separate JSON file
|
2024-10-28 15:12:57 +03:00 |
Ryan Mwangi
|
8531b4ce2b
|
Save the user input and sanitzedLinkGroupName in a separate JSON file
|
2024-10-28 15:10:34 +03:00 |
Ryan Mwangi
|
63b1e9b079
|
remove second declaration of the filename
|
2024-10-28 15:08:25 +03:00 |
Ryan Mwangi
|
0a9cddcbaa
|
sanitize the provided linkGroupName to create a valid filename
|
2024-10-28 15:05:49 +03:00 |
Ryan Mwangi
|
b99932b9ce
|
remove unique identifier for the id of each generated calendar
|
2024-10-28 15:03:54 +03:00 |
Ryan Mwangi
|
ad4f2faaca
|
create function to santize the linkGroupName for use as a filename
|
2024-10-28 15:02:13 +03:00 |
Ryan Mwangi
|
0f5563ab2a
|
remove unused link group name
|
2024-10-28 14:54:33 +03:00 |
Ryan Mwangi
|
90f698c84f
|
get rid of the cron schedule
|
2024-10-25 15:45:55 +03:00 |
Ryan Mwangi
|
03cf9f85d0
|
remove refreshCalendarButton constant in script.js
|
2024-10-25 14:56:14 +03:00 |
Ryan Mwangi
|
4a88b0a5ec
|
remove refresh calendar button event listener
|
2024-10-25 14:54:25 +03:00 |
Ryan Mwangi
|
f0eb318f26
|
remove refresh calendars button in html
|
2024-10-25 14:52:41 +03:00 |
Ryan Mwangi
|
edfc7c9eec
|
remove calendar :id end point
|
2024-10-25 14:51:39 +03:00 |