aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Capabilities.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): conversion api simplification and conflict checkskjnldsv2025-01-161-5/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(api): File conversion APIElizabeth Danzberger2025-01-151-1/+8
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(files): Expose chunked upload config via capabilitiesfeat/files/chunked-upload-config-capabilitiesprovokateurin2024-10-211-1/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: Add `forbidden_filename_basenames` config optionFerdinand Thiessen2024-07-151-1/+2
| | | | | | | | This allows to configure forbidden filenames (the full filename like `.htaccess`) and also forbidden basenames like `com0` where `com0`, `com0.txt` and `com0.tar.gz` will match. We need this as only using basenames was too restrictive and will cause problems on some systems when updating. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add new forbidden filename options to CapabilitiesFerdinand Thiessen2024-07-111-9/+12
| | | | | | | | | Allow clients to access the new filename validation options and make frontend name validation possible. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-22/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Also expose forbidden filename character in the capabilitiesFerdinand Thiessen2024-02-281-2/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* files: Add OpenAPI specjld31032023-07-121-1/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only load direct editing capabilities when requiredJulius Härtl2022-06-031-28/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+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>
* Remove unused importsChristoph Wurst2020-03-251-6/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Only expose link to info endpoint in capabiltiesJulius Härtl2019-11-271-41/+13
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Expose editor id for creatorsJulius Härtl2019-11-271-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add mimetype to creatorsJulius Härtl2019-11-271-5/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Code style fixes and cleanupJulius Härtl2019-11-271-2/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move editor list to capabilitiesJulius Härtl2019-11-271-1/+42
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix apps/Joas Schilling2016-07-211-3/+4
|
* Update license headersLukas Reschke2016-05-261-0/+1
|
* Move Files app to PSR-4 (#24569)Joas Schilling2016-05-121-0/+60
* Move lib/ of Files app to PSR-4 * Move tests to PSR-4