ryanmwangi
  • Joined on 2024-09-25
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-24 12:02:14 +00:00
1b0f792fd6 import path into server.js
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-24 11:21:33 +00:00
1e03f668c3 update name of merged calendars directory to calendars
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-23 13:03:00 +00:00
ff2862c4d1 delete calendar.json file and have individual json files for each merged calendar
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-23 12:53:03 +00:00
3bbaeb2048 edit updateMergedCalendars function to read from the calendarFile
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-23 12:47:07 +00:00
e9569f9690 fetch calendar data from the individual JSON file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-23 12:22:18 +00:00
318f585689 function to save calendar data to seperate .json files
ryanmwangi commented on issue ryanmwangi/CalMerger#1 2024-10-23 11:10:43 +00:00
Do not parse dates

Changes made:

before : DTSTART;VALUE=DATE:${event.start.toISOString().split('T')[0].replace(/-/g, '')} DTEND;VALUE=DATE:${event.end.toISOString().split('T')[0].replace(/-/g, '')}

After:…

ryanmwangi commented on issue ryanmwangi/CalMerger#1 2024-10-22 16:26:33 +00:00
Do not parse dates

I've made the changes to support time based events as well.

ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 16:25:51 +00:00
3578ea262d update calendar.json
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 16:23:10 +00:00
1bb8eda0ec support time based events
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 11:59:42 +00:00
c570cd9054 improve error handling on refresh button event listener
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 11:57:09 +00:00
a6b3747bfe use POST method in refresh button event listener
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 11:35:21 +00:00
c6117e3470 update cron job to use mergedCalendar.id when calling the updateMergedCalendars function
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 11:32:42 +00:00
77f19504a2 update refresh calendar endpoint to have some error handling
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-22 11:30:05 +00:00
a3703ef485 use calendarId in updateMergedCalendars function
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-21 23:40:20 +00:00
b4674feabf endpoint to refresh the merged calender
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-21 20:22:58 +00:00
714a82575b add refresh button event listener
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-21 20:09:22 +00:00
ea87f77288 add new refresh calendars button
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-21 17:03:25 +00:00
2c99ea1209 spell calendarIndex correctly
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-21 16:47:42 +00:00
ccc8847713 proceed if only all URLs are valid