0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-20 13:10:13 +00:00
nextcloud_server/apps/dav/tests/unit/CalDAV
Daniel Kesselberg c05d3fdb2e
fix(caldav): prevent unshare entry creation for owner unsharing
- Introduces a `unshare` method in `CalDavBackend` to handle user unshares.
- Implements check to determine if unshare entry is needed based on group/circle membership.
- Ensures `updateShares` is only used when the calendar owner manages shares.
- Resolves issue where unsharing a calendar as owner created an unshare entry in `oc_dav_shares`.

Related PRs:
- https://github.com/nextcloud/server/pull/43117
- https://github.com/nextcloud/server/pull/47737

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-14 09:03:32 +02:00
..
Activity chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
AppCalendar refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
BirthdayCalendar refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Export feat: Calendar Export 2025-05-06 11:09:33 +02:00
Integration chore: Add SPDX header 2024-05-28 14:41:28 +02:00
Listener chore: Add SPDX header 2024-05-28 14:41:28 +02:00
Publishing chore: Add SPDX header 2024-05-28 14:41:28 +02:00
Reminder chore(absence): Add capability for absence api 2024-12-01 23:15:32 +01:00
ResourceBooking chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +02:00
Schedule Merge pull request #50034 from nextcloud/rename-deleted-default-calendar-in-trashbin 2025-01-11 16:33:44 +01:00
Search chore(apps): Apply new rector configuration to autouse classes 2024-10-15 10:40:25 +02:00
Security chore: Add SPDX header 2024-05-28 14:41:28 +02:00
Status chore: Add SPDX header 2024-05-28 14:41:28 +02:00
Validation fix(caldav): limit vevent size 2024-07-04 18:56:27 -04:00
WebcalCaching Merge pull request #48508 from nextcloud/fix/webcal-subscription-jobs-middleware 2024-10-02 15:12:26 +02:00
AbstractCalDavBackend.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
CachedSubscriptionImplTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
CachedSubscriptionObjectTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
CachedSubscriptionProviderTest.php refactor: Add void return type to PHPUnit test methods 2024-09-15 22:32:31 +02:00
CachedSubscriptionTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
CalDavBackendTest.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-14 09:03:32 +02:00
CalendarHomeTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
CalendarImplTest.php feat: Calendar Export 2025-05-06 11:09:33 +02:00
CalendarManagerTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
CalendarTest.php fix(caldav): prevent unshare entry creation for owner unsharing 2025-05-14 09:03:32 +02:00
DefaultCalendarValidatorTest.php fix(caldav): stricter default calendar checks 2024-07-22 15:24:39 +02:00
EventComparisonServiceTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
EventReaderTest.php fix: add support for Microsoft time zones 2024-12-09 12:39:37 -05:00
OutboxTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
PluginTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
PublicCalendarRootTest.php chore: Apply new rector configuration to apps folder 2025-02-13 11:46:42 +01:00
PublicCalendarTest.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
TimeZoneFactoryTest.php fix: add support for Microsoft time zones 2024-12-09 12:39:37 -05:00
TimezoneServiceTest.php chore: Add SPDX header 2024-05-28 14:41:28 +02:00
TipBrokerTest.php fix: use invokePrivate for test 2024-11-14 10:46:47 -05:00