Uh oh!
There was an error while loading. Please reload this page.
fix(dav): Rate limit calendar/subscription creation - #43732
Conversation
| throw new TooManyRequests('Too many calendars created', 0, $e); | ||
| } | ||
| $calendarLimit = $this->config->getValueInt('dav', 'maximum_calendars', 30); |
There was a problem hiding this comment.
I'm open for input on a reasonable limit for 99% of users. someone will exceed it and they need the admin to increase the limit. this is acceptable.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
tcitworld
left a comment
There was a problem hiding this comment.
Did you test how the Calendar app currently handles the TooManyRequests exception? When creating calendars/subscriptions/holiday calendars/imports
Mind creating an issue to make sure this is tracked?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ChristophWurst
commented
Feb 22, 2024
Sure! nextcloud/calendar#5792 |
7f07be8 to
9bfa1a3CompareChristophWurst
commented
Feb 22, 2024
/backport! to stable28 |
ChristophWurst
commented
Feb 22, 2024
/backport! to stable27 |
ChristophWurst
commented
Feb 22, 2024
/backport! to stable26 |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
9bfa1a3 to
dc7f2baCompare
Summary
Adds rate limiting for new calendars and subscriptions.
Checklist