aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-047-15/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix more psalm warningsRoeland Jago Douma2021-05-211-8/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add proper PHPDoc tags to files ApiControllerMorris Jobke2021-05-211-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-211-2/+7
|\ | | | | Add option to exclude groups from creating link shares
| * load share settings from the share manager in more placesRobin Appelman2021-05-121-2/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | optimize getting share types for recent filesRobin Appelman2021-04-211-33/+49
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #25676 from nextcloud/drop/utl-is-ieMorris Jobke2021-03-171-1/+1
|\ | | | | Drop \OCP\Util::isIe
| * Drop \OCP\Util::isIeChristoph Wurst2021-03-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix default missing initial state for templatesJohn Molakvoæ (skjnldsv)2021-03-151-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-281-1/+1
| | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-282-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add template pickerJohn Molakvoæ (skjnldsv)2021-01-282-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* files: Create files from template APIJulius Härtl2021-01-282-1/+89
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #25055 from nina-py/18439-add-crop-image-previews-settingJulius Härtl2021-01-152-0/+16
|\ | | | | Add "Crop image previews" setting to files
| * Add "Crop image previews" setting to filesNina Pypchenko2021-01-142-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new user setting that toggles cropping on image previews in grid view. True (default value): crops each image to a square. False: keep original aspect ratio. Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com> Closes #18439. Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-1/+1
|/ | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-162-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Indicate preview availability in recent file api responsesRichard Steinmetz2020-12-101-0/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Address minor commentsJulius Härtl2020-12-091-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-091-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix getstorage callRoeland Jago Douma2020-11-061-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not setup the default FS on normal routesRoeland Jago Douma2020-11-061-0/+1
| | | | | | | This should help with load times hopefully. Only initialize the FS if we actually ned it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-44/+44
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not expose direct editing if no master key is availableJulius Härtl2020-09-011-3/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-2/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix some MissingDocblockType or InvalidDocblock warnings.Daniel Kesselberg2020-08-141-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Prefer typed event over string based onesMorris Jobke2020-08-101-3/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update share type constant usageJoas Schilling2020-06-241-6/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-4/+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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-2/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-272-4/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-252-4/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use dispatchTypedJohn Molakvoæ (skjnldsv)2020-03-111-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Properly emit Viewer event on files and files_sharingJohn Molakvoæ (skjnldsv)2020-03-111-0/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not allow transfer ownership when the user isn't the ownerChristoph Wurst2020-03-031-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure that the transfer entry is present in the databaseJulius Härtl2020-02-241-5/+13
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix webdav urlJohn Molakvoæ (skjnldsv)2020-01-101-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Expose exception message in the responseJulius Härtl2019-12-201-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-pathRoeland Jago Douma2019-12-111-2/+2
|\ | | | | Use file path for direct editing
| * Use file path for direct editingJulius Härtl2019-12-051-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headersChristoph Wurst2019-12-056-17/+35
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a transfer ownership background jobRoeland Jago Douma2019-12-021-0/+181
| | | | | | | | | | | | This job can be initiated by a user to transfer a file/folder to a target user. The target user will have to accept the job. Once that is done the transfers is initiated in the background. Both parties get notified when the job is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Only expose link to info endpoint in capabiltiesJulius Härtl2019-11-271-1/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Code style fixes and cleanupJulius Härtl2019-11-271-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move editor list to capabilitiesJulius Härtl2019-11-271-42/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Direct editing API to allow file editing using a one-time token forJulius Härtl2019-11-272-0/+228
| | | | | | mobile apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #18107 from nextcloud/undefined-index-ownerRoeland Jago Douma2019-11-251-2/+2
|\ | | | | dont throw undefined index errors for storages that have no owner set
| * dont throw undefined index errors for storages that have no owner setRobin Appelman2019-11-251-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>