Uh oh!
There was an error while loading. Please reload this page.
Add an API for calendar providers - #28970
Conversation
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| public function setTimerangeStart(\DateTime $startTime): void { | ||
| $this->options['timerange']['start'] = $startTime; |
There was a problem hiding this comment.
you want to initialize options with an empty array otherwise you access an offset of null here
There was a problem hiding this comment.
timerange is not initialized in the constructor
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.
ChristophWurst
commented
Oct 13, 2021
Is this ready for a final review? :) |
d0269da to
efc762eCompareChristophWurst
commented
Oct 13, 2021
@miaulalala please add the deprecations to #27846 |
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.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
efc762e to
dfe4c6cCompareUh oh!
There was an error while loading. Please reload this page.
dfe4c6c to
116140bCompare116140b to
d5025adCompared5025ad to
41d5841CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
41d5841 to
767e518CompareSigned-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
767e518 to
a58d1e6Compare
Right now user calendars are preemptively loaded in every request. This comes with two downsides
This flips the logic so that calendar back-end apps (mainly the dav app but possibly other "virtual" calendars like in deck) register that they provide calendars. Then, when calendars are needed, we ask all the registered providers for the calendars of the given principal, the providers give back a list and that list can be used for the queries.
This means we
Todo
Follow-up tasks
Required for nextcloud/calendar#3477