ryanmwangi
  • Joined on 2024-09-25
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:42:19 +00:00
4311619f64 Check if the file was created
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:35:54 +00:00
8650d91edb set up response status
728c73b23d set up test for date based calendar
Compare 2 commits »
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:34:27 +00:00
b5a692b47c create async function for the tests
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:32:46 +00:00
6416685de8 Clean up the merged calendars directory after tests
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:29:39 +00:00
22f0a05bce Ensure the merged calendars directory exists
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:29:07 +00:00
3ddd563eac define MERGED_CALENDARS_DIR
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:26:40 +00:00
b810f7c59d import request and express
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:25:05 +00:00
310a71459d import request and express
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:24:12 +00:00
fde1a78627 create calendar.test.js for automated tests
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:21:03 +00:00
94f5aed027 install jest to run automated tests
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:13:29 +00:00
815cb37cc8 edit date based calendar url
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:12:18 +00:00
a77279273a for date based events use the date part only in the /calendar/:name endpoint
c6300bd68f for date based events use the date part only
8ba0bae716 add time and date based events as test code in /calendar/:name endpoint
ba597a2556 check if the event is date-based or time-based
67bdba2ee6 add time and date based events as test code
Compare 5 commits »
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 23:36:30 +00:00
e2d40b3fc5 get rid of the updateMergedCalendars function
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 23:35:19 +00:00
7c01cfc964 get rid of end point to refresh merged calender using the refresh button
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 23:32:10 +00:00
8031333bce save the calendar to a file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 23:31:44 +00:00
8927cc1cd3 parse calendar data using ical-generator
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 23:29:41 +00:00
4310d3f395 create a new iCalendar instance in the calendar/:name end point
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 18:04:12 +00:00
a00321c922 update test.ics using ical-generator
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 17:58:01 +00:00
4584280eab save the calendar to a file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-28 17:56:47 +00:00
d62a8cd144 parse calendar data using icalGenerator