Skip to content

Add IManager::getCalendarsForPrincipal API - #29533

Merged
ChristophWurst merged 1 commit into
masterfrom
enhancement/get-calendars-for-principal-api
Nov 4, 2021
Merged

Add IManager::getCalendarsForPrincipal API#29533
ChristophWurst merged 1 commit into
masterfrom
enhancement/get-calendars-for-principal-api

Conversation

@ChristophWurst

Copy link
Copy Markdown
Member

The Calendar app needs to access calendars of a given principal in the
back-end. The new calendar providers were not accessible for apps before
this patch. Now they can access the ICalendar objects on demand.

The logic for the new method was already in searchForPrincipal, so I only had to extract that into a new method and make it publicly accessible.

Required for nextcloud/calendar#3478

@miaulalala please give this a test and see if it meets our requirements.

The Calendar app needs to access calendars of a given principal in the
back-end. The new calendar providers were not accessible for apps before
this patch. Now they can access the ICalendar objects on demand.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurstChristophWurst self-assigned this Nov 3, 2021
@ChristophWurstChristophWurst added the pending documentation This pull request needs an associated documentation update label Nov 3, 2021
@ChristophWurst

Copy link
Copy Markdown
MemberAuthor

@miaulalala please give this a test and see if it meets our requirements.

It worked, right?

@ChristophWurstChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Nov 3, 2021
@ChristophWurst
ChristophWurst marked this pull request as ready for review November 3, 2021 18:33
@ChristophWurst

Copy link
Copy Markdown
MemberAuthor

To be decided if this goes into 23 or 24

@juliusknorrjuliusknorr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good 👍

@juliusknorrjuliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 3, 2021
@ChristophWurst
ChristophWurst merged commit 18e6288 into masterNov 4, 2021
@ChristophWurst
ChristophWurst deleted the enhancement/get-calendars-for-principal-api branch November 4, 2021 06:33
@ChristophWurstChristophWurst removed the pending documentation This pull request needs an associated documentation update label Nov 10, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishenhancementfeature: davintegration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ChristophWurst@juliusknorr@miaulalala