aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #51837 from nextcloud/artonge/chore/increase_log_in_trashbinLouis2025-04-071-4/+14
|\ | | | | chore(files_trashbin): Add user details in log from Trashbin
| * chore(files_trashbin): Add user details in log from Trashbinartonge/chore/increase_log_in_trashbinLouis Chemineau2025-04-071-4/+14
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix: Catch exceptions when expiring trashbinartonge/fix/catch_exception_in_expire_trashLouis Chemineau2025-04-022-10/+22
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | chore: Use iterator in ExpireTrash commandLouis Chemineau2025-04-021-2/+4
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat: Limit trash expire job to 30 minutesartonge/feat/allow_partial_seen_usersLouis Chemineau2025-03-301-11/+19
| | | | | | And pick up where it left off, leveraging getSeenUsers. Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-135-42/+52
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methodsCôme Chilliet2025-02-131-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Support X-NC-Skip-Trashbin headerLouis Chemineau2025-01-241-18/+24
| | | | | | This is useful for clients that want to directly and permanently delete a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files_trashbin): Allow preventing trash to be deleted permanentlyprovokateurin2025-01-137-2/+95
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(OpenAPI): Adjust scopes to match previous behaviorprovokateurin2025-01-061-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(trashbin): Add backend dav propertyChristopher Ng2024-12-031-0/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(apps): Fix wrong or missing castsfix/apps/wrong-missing-castsprovokateurin2024-10-231-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-2117-177/+59
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-191-1/+1
| | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [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/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* 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>