nextcloud/tests
Ferdinand Thiessen 7dd85e15b9
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-10-08 21:02:07 +02:00
..
apps chore: Add SPDX header 2024-05-13 17:41:36 +02:00
blueprints chore: Add SPDX header 2024-05-13 17:41:36 +02:00
Core fix: Fix failing test for group listing 2024-08-06 21:06:44 +02:00
data fix: gracefully parse non-standard trusted certificates 2024-09-30 09:11:42 +02:00
docker chore: Add SPDX header 2024-05-13 17:41:36 +02:00
lib fix: Make user removal more resilient 2024-10-08 21:02:07 +02:00
objectstore chore: Add SPDX header 2024-05-22 19:58:12 +02:00
Test/Repair/Owncloud chore: Add SPDX header 2024-05-13 17:41:36 +02:00
travis chore: Add SPDX header 2024-05-22 19:58:12 +02:00
apps.php fix(tests): Fix test selection and run unit tests of DAV and user_status 2024-09-25 08:39:14 +02:00
bootstrap.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-run-integration-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-run-php-tests.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
drone-wait-objectstore.sh chore: Add SPDX header 2024-05-13 17:41:36 +02:00
enable_all.php chore(webhooks): Rename webhooks application to webhook_listeners 2024-06-11 14:10:29 +02:00
karma.config.js chore: Add SPDX header 2024-05-13 17:41:36 +02:00
phpunit-autotest-external.xml chore: Add SPDX header 2024-05-13 17:41:36 +02:00
phpunit-autotest.xml chore: Add SPDX header 2024-05-13 17:41:36 +02:00
preseed-config.php chore: Apply php:cs recommendations 2024-08-28 14:54:14 +02:00
redis-cluster.config.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
redis.config.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00
startsessionlistener.php chore: Add SPDX header 2024-05-13 17:41:36 +02:00