-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update holiday_calendars.json to be in sync with Thunderbird #6014
Conversation
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). Adds 'locale', 'language', and 'updated' that are not used by Nextcloud at the moment but present in Thunderbird’s source file. Signed-off-by: nicolas <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6014 +/- ##
=========================================
Coverage 23.54% 23.54%
Complexity 455 455
=========================================
Files 246 246
Lines 11707 11707
Branches 2141 2141
=========================================
Hits 2756 2756
Misses 8637 8637
Partials 314 314
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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 |
Hello there, 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! |
A more immediate change that is necessary is the initial subscription url for the holiday calendars should have the |
@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? |
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.