Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 月之前
Louis Chemineau
2de9880d79
fix(files): Do not require files_trashbin in live photo sync listener
Fix https://github.com/nextcloud/server/issues/43299
Signed-off-by: Louis Chemineau <louis@chmn.me>
3 月之前
Robin Appelman
e7a7b4a401
perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
4 月之前
Côme Chilliet
ba27643d27
chore(files_trashbin): Migrate away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
4 月之前
Côme Chilliet
b2e9e0fa0d
chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 月之前
Côme Chilliet
8bcc2d352e
chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 月之前
Robin Appelman
60dfe31d5d
use deletion time instead of mtime in trashbin handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 月之前
Louis Chemineau
2f6a4bf4a1
Synchronize operation on live photo files
Signed-off-by: Louis Chemineau <louis@chmn.me>
7 月之前
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
7 月之前
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
8 月之前
Maxence Lange
e62e9e3dbf
IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
8 月之前
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
9 月之前
Robin Appelman
9055fef5ef
add IFileInfo::getParentId
Signed-off-by: Robin Appelman <robin@icewind.nl>
10 月之前
Robin Appelman
36f9ebb677
only gather dependencies for trashbin wrapper once
Signed-off-by: Robin Appelman <robin@icewind.nl>
10 月之前
Robin Windey
d7a73ffdf1
Rename since/until in verbose message
Signed-off-by: GitHub <noreply@github.com>
10 月之前
Robin Windey
acf0b4ce34
Code adjustments according to PR review
* Delete unnecessary function docs
* Rename parameters to 'since' and 'until'
* Style: use '&&' instead of 'and'
* Add types
Signed-off-by: GitHub <noreply@github.com>
10 月之前
Robin Windey
52d77eb9fe
Make scope parsing more readable
Signed-off-by: GitHub <noreply@github.com>
10 月之前
Robin Windey
ee66518ca2
Decouple from groupfolders app & remove PSALM warnings
Signed-off-by: GitHub <noreply@github.com>
10 月之前
Robin Windey
98dd02b467
Let occ trashbin:restore restore also from groupfolders and add additional filters
* Using the TrashManager allows access to all deleted files
* Add 'scope' parameter to choose where to restore from (user or groupfolders)
* Add 'restore-from' and 'restore-to' date parameters to filter files to be
restored by their deletion date
* Add 'dry-run' flag to be able to see which files would be restored and being
able to adjust the filter parameters accordingly
Signed-off-by: GitHub <noreply@github.com>
11 月之前
Joas Schilling
a6bf93501d
fix(files_trashbin): Migrate to IEventDispatcher and emit as typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 年之前
jld3103
99dc010670
files_trashbin: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 年之前
John Molakvoæ
0984970cd8
feat(files): favorites
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
Christoph Wurst
95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 年之前
Côme Chilliet
c4281fe135
Correctly react to bad configuration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 年之前
Côme Chilliet
b234b9637e
Do not cast sizes to int in Trashbin class
This helps with 32bits support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 年之前
Christopher Ng
7c430a8afc
fix(trashbin): Truncate long filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 年之前
Christopher Ng
4e51f5224c
feat(UserMigration)!: 32-bit support
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 年之前
John Molakvoæ
441aab68a4
fix(files_trashbin): set real filename on trashbin download
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
2ff1c00f55
fix(files_trashbin): previews crop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
29a7f7f6ef
feat(files_trashbin): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
Robin Appelman
9a731ad617
add a bit more verbose option for trashbin cleanup
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 年之前
Côme Chilliet
110fc79918
Silence errors of return type mismatch from Sabre for now
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 年之前
Côme Chilliet
cd885b5705
Type sizes as int|float throughout the code base
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 年之前
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>
1 年之前
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>
1 年之前
Carl Schwan
48d9c4d2b0
Port existing server code to new interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 年之前
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>
2 年之前
Christopher Ng
667b671c5a
Fix trashbin expiration notice casing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 年之前
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>
2 年之前
Christopher Ng
bd1efae616
Add trashbin export expiration notice
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 年之前
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>
2 年之前
Christopher Ng
432bc9a585
Update method name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 年之前
Côme Chilliet
6da413f7af
Move new IMigrator method to a specific interface ISizeEstimationMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
09917b8583
Implement getExportEstimatedSize in migrators
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Carl Schwan
53169890d6
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 年之前
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>
2 年之前
Côme Chilliet
0fd72f4355
Adapt existing migrators to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
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>
2 年之前
Christopher Ng
4750f232eb
Extend trashbin migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 年之前
Robin Appelman
90cfa31533
more concise output, code style fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 年之前