Skip to content

Conversation

@kesselb
Copy link
Contributor

@kesselb kesselb commented Feb 28, 2025

Summary

Add occ command to list and delete calendar subscriptions

TODO

  • Review
  • CI

Checklist

@kesselb kesselb added enhancement 3. to review Waiting for reviews labels Feb 28, 2025
@kesselb kesselb added this to the Nextcloud 32 milestone Feb 28, 2025
@kesselb kesselb self-assigned this Feb 28, 2025
@kesselb kesselb force-pushed the feat/noid/occ-list-delete-calendar-subscription branch from 5f0abd6 to ff1fde6 Compare February 28, 2025 14:14
}

$subscriptionInfo = $this->calDavBackend->getSubscriptionByUri(
'principals/users/' . $user,
Copy link
Contributor

Choose a reason for hiding this comment

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

I really hate, that we have to do this, but I get it at the moment there is no other way.

Copy link
Member

Choose a reason for hiding this comment

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

What is the issue? I don't see it yet

Copy link
Contributor

Choose a reason for hiding this comment

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

That we constantly have to append and remove 'principals/users/'

@SebastianKrupinski
Copy link
Contributor

Looks good otherwise

image

@kesselb
Copy link
Contributor Author

kesselb commented Feb 28, 2025

Thanks for reviewing and testing 👍

Looks like you accidentally tested the existing command instead of my new one 😆 No worries, happens 🙈

The PR introduces occ dav:list-subscriptions user1, which works similarly to list-calendars, but specifically for calendar subscriptions.

Would be great if you could give that one a spin 🚀

@SebastianKrupinski
Copy link
Contributor

Looks like you accidentally tested the existing command instead of my new one 😆 No worries, happens 🙈

The PR introduces occ dav:list-subscriptions user1, which works similarly to list-calendars, but specifically for calendar subscriptions.

Would be great if you could give that one a spin 🚀

(Face Palm) On it

@SebastianKrupinski
Copy link
Contributor

Yup still good... Looks good too

image

@kesselb kesselb requested a review from ChristophWurst March 7, 2025 15:57
@kesselb kesselb force-pushed the feat/noid/occ-list-delete-calendar-subscription branch from ff1fde6 to 85ac8d3 Compare March 7, 2025 15:58
@kesselb kesselb requested a review from a team as a code owner March 7, 2025 15:58
@kesselb kesselb requested review from icewind1991, provokateurin and yemkareems and removed request for a team March 7, 2025 15:58
@kesselb kesselb force-pushed the feat/noid/occ-list-delete-calendar-subscription branch from 85ac8d3 to c410e08 Compare March 9, 2025 15:08
@kesselb kesselb merged commit a91cd62 into master Mar 11, 2025
190 checks passed
@kesselb kesselb deleted the feat/noid/occ-list-delete-calendar-subscription branch March 11, 2025 13:30
@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Mar 11, 2025
@kesselb
Copy link
Contributor Author

kesselb commented Apr 2, 2025

Documentation: nextcloud/documentation#12983

@kesselb kesselb removed the pending documentation This pull request needs an associated documentation update label Apr 2, 2025
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants