Closed nclm closed 4 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 23.54%. Comparing base (
e44de16
) to head (c472a85
). Report is 379 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The problem is see is that old subscriptions aren't updated to the new endpoint, which means even if I have a subscription, the button in the subscription calendar list isn't greyed out. Instead I can subscribe to the same holiday calendar twice - in my test case for Germany. That's a bit confusing for the users.
Looks like the subscription is found in \Sabre\CalDAV\Backend\SubscriptionSupport::getSubscriptionsForUser.
I think this will need a bit of a code change in the backend, maybe a migration step that updates the subscriptions to use the new autogen
endpoint automatically.
Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
maybe a migration step that updates the subscriptions to use the new
autogen
endpoint automatically.
A more immediate change that is necessary is the initial subscription url for the holiday calendars should have the autogen
endpoint. The Canadian calendar being pulled in does not work for me, since Nextcloud Calendar is pointing to an outdated endpoint. If I subscribe to the updated calendar directly from Thunderbird all the holidays display correctly.
@miaulalala If it's as easy as deleting the old calendar and adding it again, maybe a migration step can be added later...
I also was hoping to rely on the Canadian calendar, but the holidays are all wrong so as it is, no one in Canada is going to be using this calendar. Thanks for considering.
Let's get this in, and add a migration or repair step for this separately as this has to be done on the server side anyway.
/backport to stable5.0
Great thanks,
Would there be any way to quarterly/biyearly/yearly update the file with the latest from Thunderbird? They seem to update it “quarterly”: https://github.com/thunderbird/thunderbird-website/commits/master/media/caldata/autogen/calendars.json
Great thanks,
Would there be any way to quarterly/biyearly/yearly update the file with the latest from Thunderbird? They seem to update it “quarterly”: thunderbird/thunderbird-website@
master
/media/caldata/autogen/calendars.json (commits)
not automatically yet - maybe there's some script we could run but I'm not sure.
Or maybe some kind of yearly repeating task in Github or whichever project management tool, just to remember to do a manual PR regularly.
From conversation in #6011:
Imported content from https://github.com/thunderbird/thunderbird-website/blob/master/media/caldata/autogen/calendars.json (version from Apr 1, 2024, 9:39 PM GMT+2) bringing the number of calendars from about 56 to about 86.
Adds 'locale', 'language', and 'updated' fields that are not used by Nextcloud at the moment but present in Thunderbird’s source file.