nextcloud-server/apps/dav/lib
Thomas Citharel ef0e2213ea
fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
When doing a PROPFIND on default-calendar-url, if the current default calendar (fallbacking on personal uri)
is in the trashbin, it's being purged so that it's recreated.

This leads to loss of data.

We can simply rename the calendar URI and add a unique suffix so that it doesn't conflict with the new calendar
being created.
Shares are fine because they reference the resourceid and not the calendar URI.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-01-06 11:45:05 +07:00
..
AppInfo refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Avatars fix(psalm): Fix some newly detected issues 2024-10-21 12:37:59 +07:00
BackgroundJob feat(dav): increase default calendar subscription refresh rate to one day 2024-11-20 10:07:29 +07:00
BulkUpload refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
CalDAV fix(caldav): rename default calendar to keep it in the trashbin instead of purging it 2025-01-06 11:45:05 +07:00
CardDAV refactor: Use Http framework where possible 2024-12-14 11:23:29 +07:00
Command chore(db): Apply query prepared statements 2024-10-17 20:30:47 +07:00
Comments refactor: Use Http framework where possible 2024-12-14 11:23:29 +07:00
Connector refactor: Use Http framework where possible 2024-12-14 11:23:29 +07:00
Controller fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +07:00
DAV Merge pull request #49867 from nextcloud/useHttpFramework 2024-12-16 10:36:17 +07:00
Db Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-support 2024-10-18 19:05:08 +07:00
Direct refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Events refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Exception
Files Revert "fix(dav): Always respond custom error page on exceptions" 2024-11-22 11:55:25 +07:00
Listener refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Migration fix(job): Check if carddata is resource and read it to string 2024-11-19 22:28:27 +07:00
Paginate feat(dav): introduce paginate with custom headers 2024-12-20 09:16:18 +07:00
Profiler refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Provisioning/Apple refactor: Use Http framework where possible 2024-12-14 11:23:29 +07:00
Search refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Service
Settings refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
SetupChecks feat: Make `CheckServerResponseTrait` public and provide as `OCP\SetupCheck\CheckServerResponseTrait` 2024-09-16 14:58:21 +07:00
Storage refactor(Storage): Align all Storage constructors 2024-10-23 13:24:18 +07:00
SystemTag chore(systemtags): pre-compute user authorizations 2024-12-20 09:16:18 +07:00
Traits
Upload refactor: Use Http framework where possible 2024-12-14 11:23:29 +07:00
UserMigration refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Capabilities.php chore(absence): Add capability for absence replacement support 2024-12-01 23:15:32 +07:00
HookManager.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
ResponseDefinitions.php feat(dav): Add an API for upcoming events 2024-08-13 20:03:31 +07:00
RootCollection.php feat(dav): add systemtag object IDs listing 2024-10-29 09:08:30 +07:00
Server.php feat(dav): introduce paginate with custom headers 2024-12-20 09:16:18 +07:00
ServerFactory.php