nextcloud/lib/private/Repair
Ferdinand Thiessen 16833aff86
fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

There is no way to recover from this state, as the user is gone no information is available anymore.
This means the data is still available on the server but can not removed by any API anymore.

The solution here is to first set a flag and backup the user home,
this can be used to recover failed user deletions in a way the delete can be re-tried.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-26 20:48:37 +02:00
..
Events chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NC13 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC14 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC16 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC18 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC20 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC21 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC22 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC24 chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NC25 style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
NC30 fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +02:00
Owncloud style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
AddAppConfigLazyMigration.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AddBruteForceCleanupJob.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AddCleanupDeletedUsersBackgroundJob.php fix: Make user removal more resilient 2024-09-26 20:48:37 +02:00
AddCleanupUpdaterBackupsJob.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AddMetadataGenerationJob.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AddRemoveOldTasksBackgroundJob.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
CleanTags.php fix: implement sharding compatible cleanup for various bits 2024-08-28 10:27:14 +02:00
CleanUpAbandonedApps.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ClearFrontendCaches.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ClearGeneratedAvatarCache.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ClearGeneratedAvatarCacheJob.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Collation.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
MoveUpdaterStepFile.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OldGroupMembershipShares.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
RemoveLinkShares.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
RepairDavShares.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
RepairInvalidShares.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
RepairLogoDimension.php fix(theming): Make getImage() call save against missing non-SVG version 2024-08-21 10:30:25 +02:00
RepairMimeTypes.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00