aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Controller/ShareInfoController.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add return typesJulius Härtl2023-01-311-5/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* perf(federation): Only request root share info for checking availabilityJulius Härtl2023-01-311-6/+10
| | | | | | Otherwise this would request a full recursive dirctory listing while the result is never being used Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix checkpassword undocummented null parameterCarl Schwan2022-10-171-3/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add bruteforce protection to the shareinfo endpointRoeland Jago Douma2021-05-121-5/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Apply share permission mask to all files obtained via shareinfoRoeland Jago Douma2019-11-261-25/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>
* Remove unused import statementsMorris Jobke2018-02-141-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Change @georgehrke's emailMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+21
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add unit testsRoeland Jago Douma2017-08-101-13/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove old code + add MiddlewareRoeland Jago Douma2017-08-101-7/+2
| | | | | | | * Add proper middleware for shareinfo * Remove old shareinfo routes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move shareinfo over to proper controllerRoeland Jago Douma2017-08-101-0/+130
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>