1
0
Fork 0
Commit Graph

97 Commits

Author SHA1 Message Date
Ryan Mwangi c6117e3470 update cron job to use mergedCalendar.id when calling the updateMergedCalendars function 2024-10-22 14:35:11 +03:00
Ryan Mwangi 77f19504a2 update refresh calendar endpoint to have some error handling 2024-10-22 14:32:28 +03:00
Ryan Mwangi a3703ef485 use calendarId in updateMergedCalendars function 2024-10-22 14:29:51 +03:00
Ryan Mwangi b4674feabf endpoint to refresh the merged calender 2024-10-22 02:40:08 +03:00
Ryan Mwangi 714a82575b add refresh button event listener 2024-10-21 23:22:45 +03:00
Ryan Mwangi ea87f77288 add new refresh calendars button 2024-10-21 23:09:05 +03:00
Ryan Mwangi 2c99ea1209 spell calendarIndex correctly 2024-10-21 20:03:01 +03:00
Ryan Mwangi ccc8847713 proceed if only all URLs are valid 2024-10-21 19:47:18 +03:00
Ryan Mwangi 3ffd34190f correct syntax error 2024-10-21 19:41:41 +03:00
Ryan Mwangi 707e085fe7 validate the URL 2024-10-21 19:38:05 +03:00
Ryan Mwangi 7c19b8d12c add function to validate URL format 2024-10-21 19:35:12 +03:00
Ryan Mwangi 28335713f3 add working ics links to calendars.json 2024-10-21 17:56:09 +03:00
Ryan Mwangi f5f23d85e0 edit server side code error message for wrong user input 2024-10-21 15:33:57 +03:00
Ryan Mwangi fe446b1b09 report unknown error in the case of missing error message 2024-10-21 15:29:48 +03:00
Ryan Mwangi cf52d8e6e4 removed the linkGroupName from individual calendar entries and added it as a separate field in the request body 2024-10-21 15:27:12 +03:00
Ryan Mwangi 2ceb708452 remove refresh interval code from the client side 2024-10-21 15:22:43 +03:00
Ryan Mwangi 65520b70f2 reflect error message on client side when there is an error merging calendars 2024-10-21 15:21:34 +03:00
Ryan Mwangi 94e3fe49b3 add error handling on the response from the client side 2024-10-21 15:18:43 +03:00
Ryan Mwangi 6c3fa294d6 edit submit event listener 2024-10-21 15:15:26 +03:00
Ryan Mwangi 3204bb8a4b update /merge endpoint to use linkGroupName input 2024-10-21 02:25:40 +03:00
Ryan Mwangi e5202791ac catch error while trying to write to calendars file 2024-10-20 01:29:38 +03:00
Ryan Mwangi 7dfa5875fe ensure mergedCalendars array exists 2024-10-20 01:28:35 +03:00
Ryan Mwangi 69a6718af8 update saveCalendarData function 2024-10-20 01:27:43 +03:00
Ryan Mwangi 026367fb17 update calendar.json 2024-10-20 01:24:15 +03:00
Ryan Mwangi 0e7e3e7804 restructure calendars.json 2024-10-19 18:32:43 +03:00
Ryan Mwangi 3901a5d894 update name of function used to updateMergedCalendars 2024-10-19 17:41:06 +03:00
Ryan Mwangi 42bfb3bdd2 remove unused /:filename endpoint 2024-10-19 17:37:10 +03:00
Ryan Mwangi ae0d41dca4 remove unused code for saving file in calendars.json 2024-10-19 17:36:27 +03:00
Ryan Mwangi fe35fd3665 remove merged-calendar endpoint 2024-10-19 17:14:59 +03:00
Ryan Mwangi d43a701051 fix syntax error 2024-10-19 17:13:45 +03:00
Ryan Mwangi e6b63cd85f Modify the updateMergedCalendar function to update all merged calendars 2024-10-19 17:08:55 +03:00
Ryan Mwangi 896738a123 import crypto 2024-10-19 17:06:09 +03:00
Ryan Mwangi 8cdeba3d93 edit updateMergedCalendar function 2024-10-19 02:21:20 +03:00
Ryan Mwangi ecd4b3835c serve the merged calendar file 2024-10-18 16:43:13 +03:00
Ryan Mwangi 4b27d84f92 function to add calendarData to calendars,json 2024-10-18 15:43:04 +03:00
Ryan Mwangi 2d3c90aa38 generate URL for merged calendar using calendar ID 2024-10-18 15:36:30 +03:00
Ryan Mwangi 84f4d4b855 Save merged calendar to file with unique identifier 2024-10-18 15:33:21 +03:00
Ryan Mwangi 6c9af1f4e4 generate a unique identifier for each set of calendars 2024-10-18 15:30:53 +03:00
Ryan Mwangi 5ac43ae974 add git repository url to be cloned using ssh 2024-10-17 12:29:50 +03:00
Ryan Mwangi 18971071b7 update README.md to use markdown 2024-10-17 12:07:19 +03:00
Ryan Mwangi 0ac93d8eef add key terms to readme 2024-10-16 19:08:43 +03:00
Ryan Mwangi c94867ded6 get regular refresh up and running 2024-10-15 15:53:08 +03:00
Ryan Mwangi 4cac613470 edit updateMergedCalendar function and update cron to run every minute for testing 2024-10-15 15:07:28 +03:00
Ryan Mwangi 00a7d97b21 edit event listener to handle only one link group name submission 2024-10-15 14:42:37 +03:00
Ryan Mwangi a12b931acb have only one link group namd input field per submission html edit 2024-10-15 14:31:24 +03:00
Ryan Mwangi d06c2669ce use one post request on server instead of two 2024-10-15 14:17:07 +03:00
Ryan Mwangi 1b65cf5792 push linkGroupName to server 2024-10-15 14:07:32 +03:00
Ryan Mwangi c7f33d9160 send one fetch request 2024-10-15 14:01:04 +03:00
Ryan Mwangi 46604e08f6 update server.js to handle link group name submission 2024-10-14 17:14:44 +03:00
Ryan Mwangi c576769abf add link-group input in html file 2024-10-14 17:11:23 +03:00