nextcloud/core
Morris Jobke d8734b3b93
Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure
* `php occ preview:repair` - a preview migration tool that moves existing previews into the new location introduced with #19214
* moves `appdata_INSTANCEID/previews/FILEID` to `appdata_INSTANCEID/previews/0/5/8/4/c/e/5/FILEID`
* migration tool can be stopped during migration via `CTRL+C` - it then finishes the current folder (with the previews of one file) and stops gracefully
* if a PHP memory limit is set in the `php.ini` then it will stop automatically once it has less than 25 MiB memory left (this is to avoid hard crashes in the middle of a migration)
* the tool can be used during operation - possible drawbacks:
    * there is the chance of a race condition that a new preview is generated in the moment the folder is already migrated away - so the old folder with the newly cached preview is deleted and one cached preview needs to be re-generated
    * there is the chance of a race condition during access of a preview while it is migrated to the other folder - then no preview can be shown and results in a 404 (as of now this is an accepted risk)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-06 22:05:46 +02:00
..
BackgroundJobs Update license headers for 19 2020-04-29 11:57:22 +02:00
Command Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure 2020-08-06 22:05:46 +02:00
Controller Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
Data Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Db Update license headers 2019-12-05 15:38:45 +01:00
Exception Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Middleware Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Migrations Replace TYPE with TYPES 2020-06-30 23:46:22 +02:00
Notification Update license headers for 19 2020-04-29 11:57:22 +02:00
Service Call openssl_pkey_export with $config and log errors. 2020-07-12 20:22:36 +02:00
ajax Adding "The" to the description 2020-05-13 14:23:21 +02:00
css Adjust entry highlights of navigation and menus based on Vue component style 2020-08-05 16:33:58 +02:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
fonts Move font from Nunito to Noto Sans 2019-06-22 11:23:44 +02:00
img compress some images with tinypng.com 2020-05-22 13:07:11 +00:00
js Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
l10n [tx-robot] updated from transifex 2020-08-06 02:17:11 +00:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
templates Fix unified search 2020-08-03 11:26:03 +00:00
vendor Remove core.js 2019-01-09 15:02:00 +01:00
.l10nignore Add core/js/dist/ to l10nignore 2019-06-13 13:55:22 +02:00
Application.php Clean up auth tokens when user is deleted 2020-06-15 19:24:04 +02:00
register_command.php Add occ preview:migrate to migrate previews from the old flat structure to a subfolder structure 2020-08-06 22:05:46 +02:00
routes.php Add unified search API 2020-06-24 14:20:25 +02:00
shipped.json Enable user_status by default 2020-08-03 08:38:47 +02:00
strings.php Update license headers 2019-12-05 15:38:45 +01:00
webpack.js Fix unified search 2020-08-03 11:26:03 +00:00
webpack.test.js Bump webpack-merge from 4.2.2 to 5.0.9 2020-07-30 16:38:05 +02:00