Commit graph

104 commits

Author SHA1 Message Date
b4674feabf endpoint to refresh the merged calender 2024-10-22 02:40:08 +03:00
f5f23d85e0 edit server side code error message for wrong user input 2024-10-21 15:33:57 +03:00
3204bb8a4b update /merge endpoint to use linkGroupName input 2024-10-21 02:25:40 +03:00
e5202791ac catch error while trying to write to calendars file 2024-10-20 01:29:38 +03:00
7dfa5875fe ensure mergedCalendars array exists 2024-10-20 01:28:35 +03:00
69a6718af8 update saveCalendarData function 2024-10-20 01:27:43 +03:00
0e7e3e7804 restructure calendars.json 2024-10-19 18:32:43 +03:00
3901a5d894 update name of function used to updateMergedCalendars 2024-10-19 17:41:06 +03:00
42bfb3bdd2 remove unused /:filename endpoint 2024-10-19 17:37:10 +03:00
ae0d41dca4 remove unused code for saving file in calendars.json 2024-10-19 17:36:27 +03:00
fe35fd3665 remove merged-calendar endpoint 2024-10-19 17:14:59 +03:00
d43a701051 fix syntax error 2024-10-19 17:13:45 +03:00
e6b63cd85f Modify the updateMergedCalendar function to update all merged calendars 2024-10-19 17:08:55 +03:00
896738a123 import crypto 2024-10-19 17:06:09 +03:00
8cdeba3d93 edit updateMergedCalendar function 2024-10-19 02:21:20 +03:00
ecd4b3835c serve the merged calendar file 2024-10-18 16:43:13 +03:00
4b27d84f92 function to add calendarData to calendars,json 2024-10-18 15:43:04 +03:00
2d3c90aa38 generate URL for merged calendar using calendar ID 2024-10-18 15:36:30 +03:00
84f4d4b855 Save merged calendar to file with unique identifier 2024-10-18 15:33:21 +03:00
6c9af1f4e4 generate a unique identifier for each set of calendars 2024-10-18 15:30:53 +03:00
c94867ded6 get regular refresh up and running 2024-10-15 15:53:08 +03:00
4cac613470 edit updateMergedCalendar function and update cron to run every minute for testing 2024-10-15 15:07:28 +03:00
d06c2669ce use one post request on server instead of two 2024-10-15 14:17:07 +03:00
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
c80064f135 Write the updated data back to calendars.json 2024-10-14 15:54:41 +03:00
03493e34f1 read existing data from calendars.json 2024-10-14 15:49:20 +03:00
276e41cc8f adding the new link to the calendarData object 2024-10-14 14:53:32 +03:00
5a00247eef Function to add a new link to a link group 2024-10-12 01:09:05 +03:00
77136f1a14 Function to add a new link group 2024-10-12 01:08:32 +03:00
f9ba53fefb Fix: Update date format in merged calendar to be compatible with Nextcloud 2024-10-10 15:42:38 +03:00
37108217d8 use a fixed URL for the merged calendar 2024-10-08 22:22:35 +03:00
3d31d039d8 serve updated merged calendar to user 2024-10-08 22:13:25 +03:00
e01c54e267 store merged calendar url in a file 2024-10-08 22:04:31 +03:00
1552cc2013 Store the merged calendar URL in a file 2024-10-08 21:57:08 +03:00
3543489c3a update the 'updateMergedCalendar function to include override feature 2024-10-04 16:16:21 +03:00
df9276c8a9 include overide feature in post request 2024-10-04 16:08:39 +03:00
661e614310 add BEGIN:VEVENT and END:VEVENT for each event in merged calendar 2024-10-03 15:05:12 +03:00
59456208a4 remove other scheduler to only schedule with cron 2024-10-03 15:01:16 +03:00
0e58a4e12c Schedule cron job 2024-10-03 01:21:57 +03:00
12fafd934f update merged calendar url 2024-10-03 01:13:58 +03:00
f539e5d140 commit 2024-10-03 01:11:20 +03:00
3438ae9396 parse calendar data 2024-10-03 01:10:27 +03:00
9b297aa0fd filter out failed requests 2024-10-03 01:09:25 +03:00
35b9284a7a have refresh interval set in code before setting up cron 2024-10-03 01:07:55 +03:00
5a5fcaeeac fetch calendar data from urls 2024-10-02 15:21:00 +03:00
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
4548e452ac add calendars.json file to store calendar urls and prefixes 2024-10-02 14:29:13 +03:00
294747e5a5 move sheduled update from client side 2024-10-02 14:20:21 +03:00
0e2d6cac8a save merged calendar to file 2024-10-02 02:13:03 +03:00
6441714568 parse calendar data 2024-10-02 02:10:37 +03:00