aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Set Quickaccess-ordering to custom orderfnuesse2018-07-121-1/+1
| | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Removed old codefnuesse2018-07-122-70/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed duplicate collapse-button and changed api-endpoints Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed app-navigation-caption from apps.scss Signed-off-by: fnuesse <felix.nuesse@t-online.de> Changed api-endpoints Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Codestyle (.js) Signed-off-by: fnuesse <felix.nuesse@t-online.de> Hid away extended Settings Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed reverse state Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Missing reverse after changing sort-strategy Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Copyright-Header Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed UI-Flickering Signed-off-by: fnuesse <felix.nuesse@t-online.de> hid dotmenu on toggle while favorites are empty Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added Draggable to listelements (WIP) Signed-off-by: fnuesse <felix.nuesse@t-online.de> Rebuild appnavigation.php with recursive function to allow easy implementation of sublists Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed draggable Sublist-Elements Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed draggable Sublist-Elements Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added date-modified sorting option to quickaccess Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added custom order sorting option to quickaccess Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added custom order sorting option to quickaccess Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added fallback for custom ordering Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Added copyright noticefnuesse2018-07-121-0/+1
| | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Changed togglefnuesse2018-07-121-32/+31
| | | | | | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Codestyle and changed linkgeneration Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Codestyle Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed Codestyle (Renamed Variables) Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Fixed css-flashingfnuesse2018-07-121-1/+6
| | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Fixed menu if initially empty Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Added responsive folderaddingfnuesse2018-07-121-0/+1
| | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added collapsible to quickaccesslist Signed-off-by: fnuesse <felix.nuesse@t-online.de> Refactored Code Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Fixed complete app-breakdown if no favorites are setfnuesse2018-07-121-6/+19
| | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Hid three-dot menu if no favorites are selected Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Added toggleable QuickAccessfnuesse2018-07-122-48/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: fnuesse <felix.nuesse@t-online.de> Deleted wrongly commited File Signed-off-by: fnuesse <felix.nuesse@t-online.de> Added quickaccess-state persistence Signed-off-by: fnuesse <felix.nuesse@t-online.de> Started implementing sorting-algorithm for proper alphabetical display Signed-off-by: fnuesse <felix.nuesse@t-online.de> Finished Sorting of Quickaccess elements Signed-off-by: fnuesse <felix.nuesse@t-online.de> Implemented persistence for reverse-list and sorting-strategy Signed-off-by: fnuesse <felix.nuesse@t-online.de> Implemented initial sorting for reverse-list and sorting-strategy Signed-off-by: fnuesse <felix.nuesse@t-online.de> Refactored Code Signed-off-by: fnuesse <felix.nuesse@t-online.de> Refactored Code Signed-off-by: fnuesse <felix.nuesse@t-online.de> Refactored Code Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Added FavoritesQuickaccess-Sidebarfnuesse2018-07-122-8/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added FavoritesQuickaccess-Sidebar Added Files-FavoritesQuickaccess-Toggle Fixed CSS for SpacerElement Removed Unnessessary Alerts and added Translations Tried fixing initial Quick-Access Checkboxstate Signed-off-by: fnuesse <fnuesse@techfak.uni-bielefeld.de> Tried fixing initial Quick-Access Checkboxstate Changed double-Quotes to single-Quotes Revert webdavurl which was changed by mistake Revert quota-icon which was changed by mistake Changed the Folderhandling from custom-designed to nextcloud-NavigationManager-handling Signed-off-by: fnuesse <fnuesse@techfak.uni-bielefeld.de> Moved CSS-Spacerclass to apps.scss for global usage Signed-off-by: fnuesse <felix.nuesse@t-online.de> Renamed settings-caption in apps.scss to app-navigation-caption Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed old input-tag for showQuickAccess-state Signed-off-by: fnuesse <felix.nuesse@t-online.de> Removed old spacer element in files.scss Signed-off-by: fnuesse <felix.nuesse@t-online.de> Changed style of favorites-sublist and disabled the ability to disable files-quickaccess Signed-off-by: fnuesse <felix.nuesse@t-online.de>
* Show the new dav url in the web UIRoeland Jago Douma2018-04-051-0/+6
| | | | | | Fixes #8795 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move storagestats endpoint to proper controllerRoeland Jago Douma2018-03-131-0/+56
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-062-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add an event so apps can add hidden fields to the files pageJoas Schilling2017-06-131-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add quota to the files viewJoas Schilling2017-06-131-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge file view JS filesLukas Reschke2017-03-241-30/+1
| | | | | | Removes 26 requests on the file list loading Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Handlebars is already loaded by core.jsRoeland Jago Douma2017-03-231-2/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Revert "Bundle vendor js"Roeland Jago Douma2017-03-221-0/+2
|
* Merge pull request #3795 from nextcloud/bundle_vendor_jsRoeland Jago Douma2017-03-221-2/+0
|\ | | | | Bundle vendor js
| * Handlebars is already loaded by core.jsRoeland Jago Douma2017-03-221-2/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge some CSS files using our SCSS compilerLukas Reschke2017-03-211-4/+1
|/ | | | | | This saves around 4 requests on the average page load. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix app name of files appMorris Jobke2017-02-141-6/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update thumbnail endpoint to new generatoRoeland Jago Douma2016-11-031-6/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove 'send mail notification' option from sharing, replaced by ↵Bjoern Schiessle2016-11-021-2/+0
| | | | | | send-by-mail feature Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update permissionsBjoern Schiessle2016-11-011-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Make it possible to filter by tags with REPORT methodVincent Petry2016-10-191-17/+0
| | | | | | | | | | | Enhanced the REPORT method on the Webdav endpoint and added a "oc:favorite" filter rule. When set, it will return a flat list of results filtered with only favorite files. The web UI was also adjusted to use this REPORT method instead of the private API endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use correct case for addScript (#26214)Jörn Friedrich Dreyer2016-09-261-15/+15
| | | | | | Downstreaming of https://github.com/owncloud/core/pull/26214 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #1005 from nextcloud/fix_994Lukas Reschke2016-08-231-0/+51
|\ | | | | Do not error on maxUploadChange
| * Do not error on maxUploadChangeRoeland Jago Douma2016-08-221-0/+51
| | | | | | | | | | | | | | | | | | | | The new admin page broke the updating of the max upload size. This is due to very old code there. * Now update is done in the background using js * Added proper route+controller to update Fixes #994
* | When requesting a permalink to an invalid file redirectRoeland Jago Douma2016-08-191-4/+3
| | | | | | | | We need to do the redirect to update address bar.
* | When using permalinks don't error out if file id can't be foundRoeland Jago Douma2016-08-191-9/+6
|/ | | | | | | | Fixes #952 * Use only the index route (since it went to showFile anyways) * Fix tests * Use getUserFolder to force init of users mounts
* Remove IE8 support from ViewControllerRoeland Jago Douma2016-08-161-12/+0
| | | | | * Update tests * Fix getMock in tests
* use limit instead of since when listing recent filesRobin Appelman2016-07-221-2/+1
|
* Add recent file listingRobin Appelman2016-07-221-0/+2
|
* add recent files api endpointRobin Appelman2016-07-221-17/+49
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-212-4/+8
|
* [master] Port Same-Site Cookies to masterLukas Reschke2016-07-201-0/+1
| | | | Fixes https://github.com/nextcloud/server/issues/50
* Add "goto" links for files in non-default file listsRobin Appelman2016-07-051-0/+1
|