Carl Schwan
fc4938c3ed
fix(preview): Better handle errors while migrating previews
...
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-06-08 14:44:01 +02:00
Carl Schwan
c00f82aa82
fix(preview): Don't reuse same query builder for delete query
...
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-06-08 14:44:01 +02:00
Benjamin Gaussorgues
59d330095d
Merge pull request #58425 from nextcloud/chore/delete-empty-preview-dirs
...
chore(previews): delete empty previews directory during migration
2026-05-11 11:06:06 +02:00
Joas Schilling
5f80f26799
chore: Fix SPDX header
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-03-16 08:38:16 +01:00
Benjamin Gaussorgues
6727f83a3b
chore(previews): delete empty previews directory during migration
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-02-19 11:48:34 +01:00
Benjamin Gaussorgues
30e35a8411
fix(perf): use index when deleting old previews
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-02-18 17:27:36 +01:00
Carl Schwan
3d18cd7cc5
fix(preview): Fix files:app-data-scan for previews
...
And add unit tests for both migrated files and non-migrated files
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-02-12 00:26:20 +01:00
Carl Schwan
6149168129
feat(preview): On demand preview migration
...
When requesting previews, which we don't find in oc_previews, search in
IAppData first before creating them.
Move the logic from MovepreviewJob to PreviewMigrationService and reuse
that in the Preview Generator.
At the same time rename MovePreviewJob to PreviewMigrationJob as it is a
better name.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-01-12 14:20:09 +01:00