aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-021-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore(trashbin): Add method to get deleted by from trash itemChristopher Ng2024-04-231-6/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(trashbin): Truncate long filenamesChristopher Ng2023-05-311-1/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add fallback for trashbin original locationRobin Appelman2019-01-291-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* store user for trashitem in the trashitemRobin Appelman2018-10-171-7/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove user parameter from `ITrashItem::getOriginalLocation`Robin Appelman2018-10-171-5/+5
| | | | | | | since the target user is known at the time of creating the trashitem the original location can already be adjusted on a per user level Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix trashbin previews for modular apiRobin Appelman2018-10-171-1/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix select statementRobin Appelman2018-10-171-0/+102
fix select statement Make trashbin api modules Apps can register trashbin backends for specific storages, allowing them to modify trashbin behavior for storages The old trashbin implementation has been wrapped in a "legacy" backend, for future work this can be replaced with a new backend that better handles shares while still keeping the legacy backend around to keep existing trash from being accessible Signed-off-by: Robin Appelman <robin@icewind.nl>