Commit Graph

47 Commits

Author SHA1 Message Date
Ryan Mwangi fcf626036d Modifying the updateMergedCalendar function to read the link group data from the calendars.json file and use it to fetch the calendar data. 2024-10-14 16:03:40 +03:00
Ryan Mwangi c80064f135 Write the updated data back to calendars.json 2024-10-14 15:54:41 +03:00
Ryan Mwangi 03493e34f1 read existing data from calendars.json 2024-10-14 15:49:20 +03:00
Ryan Mwangi 14e7db9c21 send input data in the /add-links endpoint to server 2024-10-14 15:46:58 +03:00
Ryan Mwangi 276e41cc8f adding the new link to the calendarData object 2024-10-14 14:53:32 +03:00
Ryan Mwangi 5a00247eef Function to add a new link to a link group 2024-10-12 01:09:05 +03:00
Ryan Mwangi 77136f1a14 Function to add a new link group 2024-10-12 01:08:32 +03:00
Ryan Mwangi d7de5841d0 update calendars.json file to handle multiple link groups and persist links across application restarts 2024-10-11 15:12:51 +03:00
Ryan Mwangi f9ba53fefb Fix: Update date format in merged calendar to be compatible with Nextcloud 2024-10-10 15:42:38 +03:00
Ryan Mwangi 3a37c3fd58
Update README.md 2024-10-10 02:35:43 +03:00
Ryan Mwangi 660beaec33
Update README.md 2024-10-10 02:35:22 +03:00
Ryan Mwangi 8124ed040a
Update README.md 2024-10-10 02:35:05 +03:00
Ryan Mwangi aadccafcf2 edit README 2024-10-10 02:32:42 +03:00
Ryan Mwangi 37108217d8 use a fixed URL for the merged calendar 2024-10-08 22:22:35 +03:00
Ryan Mwangi 3d31d039d8 serve updated merged calendar to user 2024-10-08 22:13:25 +03:00
Ryan Mwangi e01c54e267 store merged calendar url in a file 2024-10-08 22:04:31 +03:00
Ryan Mwangi 1552cc2013 Store the merged calendar URL in a file 2024-10-08 21:57:08 +03:00
Ryan Mwangi 3543489c3a update the 'updateMergedCalendar function to include override feature 2024-10-04 16:16:21 +03:00
Ryan Mwangi df9276c8a9 include overide feature in post request 2024-10-04 16:08:39 +03:00
Ryan Mwangi ecdb3c8c79 add event listener for submitting overide checkbox 2024-10-04 15:57:38 +03:00
Ryan Mwangi 73781d7570 add event listener for overide checkbox 2024-10-04 15:55:31 +03:00
Ryan Mwangi f77f3e57ff update html to include overide option 2024-10-04 15:49:34 +03:00
Ryan Mwangi 661e614310 add BEGIN:VEVENT and END:VEVENT for each event in merged calendar 2024-10-03 15:05:12 +03:00
Ryan Mwangi 59456208a4 remove other scheduler to only schedule with cron 2024-10-03 15:01:16 +03:00
Ryan Mwangi 0e58a4e12c Schedule cron job 2024-10-03 01:21:57 +03:00
Ryan Mwangi 5681530a27 finish setting refresh interval on client side 2024-10-03 01:15:49 +03:00
Ryan Mwangi 3f00b5558b set refresh interval on client side 2024-10-03 01:15:01 +03:00
Ryan Mwangi 12fafd934f update merged calendar url 2024-10-03 01:13:58 +03:00
Ryan Mwangi f539e5d140 commit 2024-10-03 01:11:20 +03:00
Ryan Mwangi 3438ae9396 parse calendar data 2024-10-03 01:10:27 +03:00
Ryan Mwangi 9b297aa0fd filter out failed requests 2024-10-03 01:09:25 +03:00
Ryan Mwangi 35b9284a7a have refresh interval set in code before setting up cron 2024-10-03 01:07:55 +03:00
Ryan Mwangi 5a5fcaeeac fetch calendar data from urls 2024-10-02 15:21:00 +03:00
Ryan Mwangi 4fd447104b create function to update merged calendar, and in it load the calendar data from calendars.jsonfile 2024-10-02 14:32:35 +03:00
Ryan Mwangi 4548e452ac add calendars.json file to store calendar urls and prefixes 2024-10-02 14:29:13 +03:00
Ryan Mwangi 294747e5a5 move sheduled update from client side 2024-10-02 14:20:21 +03:00
Ryan Mwangi 094123b768 set refresh interval for regular refresh 2024-10-02 14:09:51 +03:00
Ryan Mwangi c32e601c8f Merge branch 'master' of https://github.com/Ryanmwangi/Calmerg 2024-10-02 02:17:48 +03:00
Ryan Mwangi f75001d03b update script.js to accept an unlimited number of links 2024-10-02 02:16:42 +03:00
Ryan Mwangi 3d75b40018 update html to accept an unlimited number of links 2024-10-02 02:15:52 +03:00
Ryan Mwangi 0e2d6cac8a save merged calendar to file 2024-10-02 02:13:03 +03:00
Ryan Mwangi 6441714568 parse calendar data 2024-10-02 02:10:37 +03:00
Ryan Mwangi fa2dd50beb filter out failed requests 2024-10-02 02:09:36 +03:00
Ryan Mwangi c5b6fbaaaf fetch calendar data from urls 2024-10-02 02:08:49 +03:00
Ryan Mwangi 89bd4582d1 validate the different calender inputs 2024-10-02 02:06:52 +03:00
Ryan Mwangi c2e820e70b
start server 2024-10-01 22:36:42 +03:00
Ryan Mwangi e5216b24e1 Initial commit 2024-09-30 15:55:03 +03:00