Closed leafcompost closed 1 week ago
btw the caldav export doesn't need to be proxied, can be accessed from the internet here: https://nextcloud.devhack.net/remote.php/dav/public-calendars/ecGookjEW4NtHNBi?export
Ah might spin this off to it's own ticket but we might want to specify ending times as well.
btw the caldav export doesn't need to be proxied, can be accessed from the internet here: https://nextcloud.devhack.net/remote.php/dav/public-calendars/ecGookjEW4NtHNBi?export
Yea this is what we are using under the hood! It is just reverse proxied so we prevent any HTTP cross-origin issues without messing with NextCloud’s headers.
Ah might spin this off to it's own ticket but we might want to specify ending times as well.
Will do in a follow up.
This uses ical.js to load a calendar from our NextCloud .ics export and turn it into text. As future work, the JavaScript could use some cleanup (in part by reusing third party libraries to do ical rrule->English language conversion), but this seems to work pretty well for the current events on the agenda.
Thanks to @thefinn93 for helping with reverse proxying the ics file.
Fixes #4.