aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Some php-cs fixesRoeland Jago Douma2019-11-222-10/+10
|/ | | | | | | | | | | * 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>
* Add LoadSidebar eventJohn Molakvoæ (skjnldsv)2019-10-291-0/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add new LoadAdditionalScriptsEventRoeland Jago Douma2019-09-231-9/+8
| | | | | | | This adds a new event that is in the new style of event dispatching. This should allow more lazy loading and better sepeartion of concerns Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16200 from nextcloud/revert/16049-wrong-roundMorris Jobke2019-07-031-1/+1
|\ | | | | Revert incorrect rouding
| * Revert parts hide quota bar if unlimitedDaniel Kesselberg2019-07-021-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #15741 from mxss/fix/phpdoc-fixesMorris Jobke2019-07-022-2/+11
|\ \ | |/ |/| misc phpdoc fixes
| * misc phpdoc fixesMax Kovalenko2019-05-272-0/+9
| | | | | | | | Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
| * fixed phpdoc parameter typesMax Kovalenko2019-05-271-2/+2
| | | | | | | | Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
* | Show used space in mb instead of %Daniel Kesselberg2019-06-241-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Properly redirect if accessing invalid file though /f/ entrypointJulius Härtl2019-06-181-1/+6
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Import needed classMorris Jobke2019-03-141-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add correct method for hardcoded `/f/{fileid}`Joas Schilling2019-03-141-2/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove the upload and memory settingJoas Schilling2019-03-041-51/+0
| | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix default filepicker style and gridviewJohn Molakvoæ (skjnldsv)2018-11-291-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Rollback to default list viewJohn Molakvoæ (skjnldsv)2018-11-151-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update PHPDoc to fix typosMorris Jobke2018-11-141-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add grid toggle for every files viewJohn Molakvoæ (skjnldsv)2018-11-061-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #11573 from nextcloud/gridview-tableMorris Jobke2018-10-241-0/+23
|\ | | | | Files grid view
| * Add filepicker toggleJohn Molakvoæ (skjnldsv)2018-10-231-0/+11
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Remember toggle and events handlerJohn Molakvoæ (skjnldsv)2018-10-181-0/+12
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | fix for favorites-quickaccess: newly added folders dont show up when added ↵Felix Nüsse2018-10-101-0/+12
|/ | | | | | to favorites Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Fixes empty favorite names for trailing slashesMichael Weimann2018-09-191-2/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Add room shares to DAV and recent files "share-types" propertyDaniel Calviño Sánchez2018-08-081-1/+2
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>