aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove redundant eventsVincent Petry2022-08-151-0/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* fix for transferring ownership of groupfoldersVanessa Pertsch2022-05-101-1/+2
| | | | Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
* don't force a full setup for getting storage statsRobin Appelman2022-04-061-1/+0
| | | | | | the auto-setup is good enough Signed-off-by: Robin Appelman <robin@icewind.nl>
* Don't redirect when loading files index pageCarl Schwan2022-02-171-1/+1
| | | | | | | | | | | | | | | | Currently we are redirecting from ?dir=/&fileid=2 to ?dir=/. This is an issue because we then need to load two pages with full file system setup and authentification instead of one and the assets won't start loading until the second page is delivered to the user. Additionally when loading ?dir=/, we then change the url back to ?dir=/&fileid=2 (without reload) so that the next time we load the page again we do the same thing again. Depending on the speed of the server and internet connection we can save 100ms to 400ms, improving the user experience. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* [files] new internal link GET param to avoid setting 'openfile' on redirectJulien Veyssier2022-01-141-2/+2
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-081-4/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-081-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-301-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move to combined files entrypointJulius Härtl2021-10-251-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix typoLouis2021-07-281-1/+1
| | | Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
* Set openfile params when following internal linksLouis Chemineau2021-07-271-3/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix variabable override in file viewLouis Chemineau2021-07-261-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Trigger click event when scrollTo is setLouis Chemineau2021-06-091-1/+54
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* 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>