Skip to content
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

Add IManager::getCalendarsForPrincipal API #29533

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

ChristophWurst
Copy link
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>
@ChristophWurst ChristophWurst self-assigned this Nov 3, 2021
@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Nov 3, 2021
@ChristophWurst
Copy link
Member Author

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

It worked, right?

@ChristophWurst ChristophWurst 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
Member Author

To be decided if this goes into 23 or 24

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

Code looks good 👍

@juliusknorr juliusknorr 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 master Nov 4, 2021
@ChristophWurst ChristophWurst deleted the enhancement/get-calendars-for-principal-api branch November 4, 2021 06:33
@ChristophWurst ChristophWurst removed the pending documentation This pull request needs an associated documentation update label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: dav integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants