aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-171-19/+7
| | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-159-25/+35
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor(files_trashbin): Add Storage parameter strong typesprovokateurin2024-10-071-8/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(files_trashbin): Fix all IStorage return typesprovokateurin2024-09-261-23/+9
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Use SPDX headers and property promotion in new filesCôme Chilliet2024-09-231-18/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListenerCarl Schwan2024-09-235-52/+90
| | | | | | | | oc_hooks is deprecated and will at some point be removed Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-203-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: improve moving object store items to trashbinobject-store-trash-moveRobin Appelman2024-09-191-11/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1911-21/+25
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Improve typing and phpdoc commentsCôme Chilliet2024-09-161-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Fix psalm issues, put back private versions of getter in private ↵Côme Chilliet2024-09-161-3/+4
| | | | | | Storage interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-052-2/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2510-34/+34
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge branch 'master' into jr-readdir-false-falseJohn Molakvoæ2024-08-1643-984/+729
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * Merge pull request #46812 from ↵Kate2024-08-141-3/+4
| |\ | | | | | | | | | nextcloud/refactor/files_trashbin/security-attributes
| | * refactor(files_trashbin): Replace security annotations with respective ↵provokateurin2024-07-271-3/+4
| | | | | | | | | | | | | | | | | | attributes Signed-off-by: provokateurin <kate@provokateurin.de>
| * | Merge pull request #46974 from nextcloud/fix/noid/add-metadata-to-migrationstepsStephan Orbaugh2024-08-061-0/+3
| |\ \ | | | | | | | | feat(migrations): add metadata to existing migrations
| | * | feat(migrations): add metadata to existing migrationsMaxence Lange2024-08-021-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | fix(files_trashbin): Original name of the deleted files should be set as ↵Ferdinand Thiessen2024-08-051-0/+5
| |/ / | | | | | | | | | | | | | | | display name for DAV Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * / fix(trashbin): Improve documentation of since/until timestamps of restore ↵Joas Schilling2024-07-301-2/+2
| |/ | | | | | | | | | | trashbin Signed-off-by: Joas Schilling <coding@schilljs.com>
| * feat: add base class for extending the query builderRobin Appelman2024-07-121-4/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix(files_trashbin): Make files view registering an init scriptFerdinand Thiessen2024-06-231-1/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * chore: Add SPDX headerAndy Scherzinger2024-06-0243-892/+97
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * feat(trashbin): Add deleted by propertiesChristopher Ng2024-04-231-0/+10
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * chore(trashbin): Add method to get deleted by from trash itemChristopher Ng2024-04-238-44/+55
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * chore(trashbin): Store deleted by userChristopher Ng2024-04-231-2/+4
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * chore(trashbin): Add deleted_by column to files_trashChristopher Ng2024-04-231-0/+56
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * fix: Apply new coding standard to all filesCôme Chilliet2024-04-024-9/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix(files): Do not require files_trashbin in live photo sync listenerLouis Chemineau2024-03-142-0/+152
| | | | | | | | | | | | Fix https://github.com/nextcloud/server/issues/43299 Signed-off-by: Louis Chemineau <louis@chmn.me>
| * perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-3/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * chore(files_trashbin): Migrate away from deprecated ILoggerCôme Chilliet2024-02-201-5/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some appsCôme Chilliet2024-02-051-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-301-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * use deletion time instead of mtime in trashbin handlingRobin Appelman2024-01-032-3/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Synchronize operation on live photo filesLouis Chemineau2023-11-293-4/+151
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2311-13/+12
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-081-1/+3
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * IFilesMetadataMaxence Lange2023-11-071-0/+10
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-4/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Merge pull request #39818 from ↵Robin Windey2023-09-181-42/+170
| |\ | | | | | | | | | | | | nextcloud/feature/trashbin-restore-improvements#39724 Let `occ trashbin:restore` restore also from groupfolders and add filters
| | * Rename since/until in verbose messageRobin Windey2023-08-181-2/+2
| | | | | | | | | | | | Signed-off-by: GitHub <noreply@github.com>
| | * Code adjustments according to PR reviewRobin Windey2023-08-181-54/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Delete unnecessary function docs * Rename parameters to 'since' and 'until' * Style: use '&&' instead of 'and' * Add types Signed-off-by: GitHub <noreply@github.com>
| | * Make scope parsing more readableRobin Windey2023-08-181-9/+10
| | | | | | | | | | | | Signed-off-by: GitHub <noreply@github.com>
| | * Decouple from groupfolders app & remove PSALM warningsRobin Windey2023-08-181-13/+18
| | | | | | | | | | | | Signed-off-by: GitHub <noreply@github.com>
| | * Let occ trashbin:restore restore also from groupfolders and add additional ↵Robin Windey2023-08-181-29/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | add IFileInfo::getParentIdRobin Appelman2023-09-041-0/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | only gather dependencies for trashbin wrapper onceRobin Appelman2023-08-181-33/+30
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix(files_trashbin): Migrate to IEventDispatcher and emit as typed eventJoas Schilling2023-07-192-5/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * files_trashbin: Add OpenAPI specjld31032023-07-132-1/+14
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
| * feat(files): favoritesJohn Molakvoæ2023-07-051-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>