summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Files/Sharing/FilesDropPlugin.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-271-1/+1
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | 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>
* Harden files dropRoeland Jago Douma2016-12-021-20/+10
| | | | | | | | * Fail on MKCOL * Only take filename ignore directories * No need to parse query parameters Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixes files_drop for sabre 3.2Roeland Jago Douma2016-11-101-2/+2
| | | | | | | | In the new sabre (3.2) the order of beforeMethod is switched. it used to be that beforeMethod:METHOD was called after beforeMethod. But now it is called before. Since we need the view this was broken. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Only enable files_drop plugin when we actuall do files_dropRoeland Jago Douma2016-10-241-4/+16
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make files_drop workRoeland Jago Douma2016-10-241-0/+82
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix permision maskRoeland Jago Douma2016-10-241-0/+0
If we move a file from the temp part file to the original file we don't need update permissions. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>