summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Use dispatchTypedJohn Molakvoæ (skjnldsv)2020-03-121-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Properly emit Viewer event on files and files_sharingJohn Molakvoæ (skjnldsv)2020-03-121-0/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not allow transfer ownership when the user isn't the ownerGary Kim2020-03-041-0/+4
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* 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>
* Cleanup of leftover-sorting-code from quickaccess-feature #9714 #9720fnuesse2018-08-081-139/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Set the favorites to the empty array on failureRoeland Jago Douma2018-07-261-1/+1
| | | | | | Else it will start throwing errors because null is not iteratable. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix fav quickaccess ressource additionJohn Molakvoæ (skjnldsv)2018-07-131-62/+61
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Upgraded navigation submenu management and api + created sharing submenuJohn Molakvoæ (skjnldsv)2018-07-132-41/+47
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix testsRoeland Jago Douma2018-07-121-19/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-121-5/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed favorite folder view displayJohn Molakvoæ (skjnldsv)2018-07-121-5/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed invalid uidJohn Molakvoæ (skjnldsv)2018-07-121-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Default state to collapsed and fixed code stylingJohn Molakvoæ (skjnldsv)2018-07-122-10/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added drop-animation to sortable-listfnuesse2018-07-122-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added icon-change on drag Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Navbar-closing in app when favorites-list is toggled on mobile Signed-off-by: fnuesse <felix.nuesse@t-online.de> Refactored Code Signed-off-by: fnuesse <felix.nuesse@t-online.de> Changed to alphabetical sorting Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed deletion of folder with identical names Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed ability to add files to the quickaccess Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed wrong path-generation when added from favorites-star Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed Element from navbar when favorite-star in detailview is toggled off Signed-off-by: fnuesse <felix.nuesse@t-online.de> Changed Quota-Text to prevent boundarybreaks Reverted last commit
* Fix collapsible-Button when list was emptied (or got first element)fnuesse2018-07-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Bad url-generation in javascript for new quickaccessitems Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed vertical scrolling in sortable-list which leads to "hidden" navbar Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed unnessessary console logs Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Bounds in custom sorting Signed-off-by: fnuesse <felix.nuesse@t-online.de> Reformatted code Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed horizontalscroll on sortable-list Fixed "stuck element" where you could not switch back to the original ordering in the sortable-list Signed-off-by: fnuesse <felix.nuesse@t-online.de>