summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Sabre/TrashFolder.php
Commit message (Collapse)AuthorAgeFilesLines
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix select statementRobin Appelman2018-10-171-77/+1
| | | | | | | | | | | | | | | 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>
* expose additional props from trashbin sabre endpointRobin Appelman2018-09-201-25/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Support fileid propfind on trash endpointRoeland Jago Douma2018-05-111-0/+4
| | | | | | | | | Fixes #9416 In order to support previews on mobile clients they will need the fileid of files in the trashbin. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Trashbin propfind respond to oc:sizeRoeland Jago Douma2018-05-101-0/+3
| | | | | | | In order to display the total size of folders also in the clients (and web) we should return the oc:size. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Propfind for deletion time of trash filesRoeland Jago Douma2018-05-081-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add folder for trashbinRoeland Jago Douma2018-04-251-5/+9
| | | | | | | | The trashbin home now contains 2 entries restore and trash. Made all files strict. Added more types. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use getType to determine type of entryRoeland Jago Douma2018-04-251-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add propfind properties to trashbinRoeland Jago Douma2018-04-251-4/+12
| | | | | | | * get original filename (without the weird timestamp) * get original location Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add special restore folderRoeland Jago Douma2018-04-251-1/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* List trashbin in DAVRoeland Jago Douma2018-04-251-0/+102
First steps for #1332 * Add a new DAV collection * List all files in the trashbin for this user * Deleting files from trashbin * Get files from trashbin (just read) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>