Christopher Ng
4e51f5224c
feat(UserMigration)!: 32-bit support
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-05 17:59:57 -07:00
John Molakvoæ
441aab68a4
fix(files_trashbin): set real filename on trashbin download
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:56:06 +02:00
John Molakvoæ
2ff1c00f55
fix(files_trashbin): previews crop support
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ
29a7f7f6ef
feat(files_trashbin): migrate to vue
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +02:00
Robin Appelman
9a731ad617
add a bit more verbose option for trashbin cleanup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 18:59:02 +02:00
Julius Härtl
63696fe2e3
Merge pull request #36465 from nextcloud/bugfix/trashbin-concurrency
2023-02-15 17:04:37 +01:00
Côme Chilliet
110fc79918
Silence errors of return type mismatch from Sabre for now
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet
cd885b5705
Type sizes as int|float throughout the code base
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Julius Härtl
7f913dec03
fix(files_trashbin): Remove unnecessary scanner logic when getting versions from trash
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-02 17:23:05 +01:00
luz paz
9d26671f05
Fix typos in apps/ subdirectory
...
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-05 12:59:54 +00:00
Carl Schwan
b888c61463
Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecated
...
Deprecated ILogger from IJob
2022-08-23 16:55:42 +02:00
Carl Schwan
48d9c4d2b0
Port existing server code to new interface
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-08 17:03:19 +02:00
Carl Schwan
458c2fa297
Remove OCP\App and OCP\BackgroundJob
...
Both deprecated since NC 23
IAppManager is the replacement for OCP\App unfortunately it can't be
dependency injected in classes used by the installed otherwise the
database connection is initialised too early
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-01 09:46:40 +02:00
Vincent Petry
e9b635aa14
Merge pull request #32507 from carlcsaposs/restore
...
Sort files by deletion time before restoring in RestoreAllFiles
2022-07-12 14:22:10 +02:00
Christopher Ng
667b671c5a
Fix trashbin expiration notice casing
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-06 17:19:02 +00:00
Carl Csaposs
6f6ccfcc18
Sort files by deletion time before restoring in RestoreAllFiles
...
Restoring in order of most recently deleted preserves nested file paths.
See https://github.com/nextcloud/server/issues/31200#issuecomment-1130358549
Signed-off-by: Carl Csaposs <carl@csaposs.com>
2022-07-04 17:13:15 +00:00
Pytal
f936644bec
Merge pull request #33068 from nextcloud/enh/note-trashbin-expiration
2022-06-30 09:26:04 -07:00
Christopher Ng
bd1efae616
Add trashbin export expiration notice
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-29 18:57:55 +00:00
Robin Appelman
9188fad190
use size from cache to determine whether to skip the trashbin
...
this way large folders also get skipped
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-06-29 18:24:34 +02:00
Christopher Ng
432bc9a585
Update method name
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-05-30 17:49:05 +00:00
Côme Chilliet
6da413f7af
Move new IMigrator method to a specific interface ISizeEstimationMigrator
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
Côme Chilliet
09917b8583
Implement getExportEstimatedSize in migrators
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-05-30 07:36:13 +00:00
Carl Schwan
53169890d6
Fix psalm errors fron the end of the baseline file
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 10:58:26 +02:00
Vincent Petry
78c8e57896
Fix migrators according to exceptions
...
Fixed syntax errors.
Removed if condition for copyToFolder since it's void now.
Change signature of setMigratorVersions to also be void.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:52:40 +02:00
Côme Chilliet
0fd72f4355
Adapt existing migrators to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-13 16:52:40 +02:00
Côme Chilliet
dda51d49d7
Use Migrators id instead of class names
...
This will help with UI and means migrators can move in namespaces
without changing export format.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +00:00
Christopher Ng
4750f232eb
Extend trashbin migrator
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +00:00
Robin Appelman
90cfa31533
more concise output, code style fixes
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-30 15:44:02 +02:00
cahogan
dfe045699b
Add trashbin:restore occ command
...
Signed-off-by: cahogan <caitlin.hogan@swiftsolar.com>
2022-03-30 15:44:02 +02:00
Côme Chilliet
b984cd1d83
Merge pull request #31575 from nextcloud/enh/add-trashbin-migrator
...
Add trashbin migrator to export and import trashbin data
2022-03-29 14:39:50 +02:00
Côme Chilliet
7fa8b2eef7
Add a guard to check that trashbin folder is a folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 17:31:21 +01:00
Côme Chilliet
ea23523c70
Adapt more code to migration to LoggerInterface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:25 +01:00
Côme Chilliet
ecbcfca98a
Improve wording of output for trashbin migrator
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 11:04:09 +01:00
Côme Chilliet
53c731d8f9
Rename PATH constants to show if folder or file
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22 09:21:18 +01:00
Côme Chilliet
865ac4b6e0
Rename $insert var to $qb
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:49:29 +01:00
Côme Chilliet
51d228932f
Add trashbin migrator to export and import trashbin data
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:45:56 +01:00
John Molakvoæ
0b01103137
Merge pull request #28438 from csware/issue-1649
2021-12-21 15:10:50 +01:00
Orzu Ionut
33c1c5c91b
Show most recently deleted files first in trash can
...
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-09 16:59:16 +02:00
Daniel Kesselberg
b0d1ad5777
Add configuration flag to disable the background job for files_trashbin
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-11 12:30:36 +02:00
Sven Strickroth
1c736abc35
Don't die with LockedException when removing/restoring multiple files from trash
...
fixes issue #16491
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-08-19 16:43:44 +02:00
szaimen
98102bfa78
Improve auto expiration hint
...
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-08-08 20:41:38 +02:00
Robin Appelman
e198dc1b20
rework search api to allow searching on multiple caches at once
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:22 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Christoph Wurst
8196420063
Drop \OCP\User
...
Inlines and remaining usages and drops the deprecated public API.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-21 15:00:34 +02:00
Julius Härtl
bcf38692ae
Use parent wrapper to properly handle moves on the same source/target storage
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-14 09:41:01 +02:00
Christoph Wurst
99f2fa73d1
Fix usage of rename executeUpdate
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-05 10:35:25 +02:00
Roeland Jago Douma
8008b33b8d
Cleanp execute usage in the trashbin
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 15:39:42 +01:00
Julius Härtl
930b40bd8a
Remove trash items from other trash backends when deleting all
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-03 14:26:35 +01:00
Robin Appelman
a2ecac7197
Merge pull request #25568 from nextcloud/move-storage-disable-cache
...
disable trasbin during the moveFromStorage fallback
2021-03-02 13:23:58 +00:00
dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +01:00