aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller/ViewController.php
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-041-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* load share settings from the share manager in more placesRobin Appelman2021-05-121-2/+7
| | | | 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>
* Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-281-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add template pickerJohn Molakvoæ (skjnldsv)2021-01-281-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* files: Create files from template APIJulius Härtl2021-01-281-1/+13
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add "Crop image previews" setting to filesNina Pypchenko2021-01-141-0/+2
| | | | | | | | | | | | | | 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>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-3/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Prefer typed event over string based onesMorris Jobke2020-08-101-3/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+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 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>
* Fix webdav urlJohn Molakvoæ (skjnldsv)2020-01-101-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headersChristoph Wurst2019-12-051-4/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-221-1/+1
|/ | | | | | | | | | | * 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-021-0/+3
|\ \ | |/ |/| misc phpdoc fixes
| * misc phpdoc fixesMax Kovalenko2019-05-271-0/+3
| | | | | | | | 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>
* Rollback to default list viewJohn Molakvoæ (skjnldsv)2018-11-151-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add grid toggle for every files viewJohn Molakvoæ (skjnldsv)2018-11-061-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixes empty favorite names for trailing slashesMichael Weimann2018-09-191-2/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* 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-131-24/+31
| | | | 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-121-9/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added drop-animation to sortable-listfnuesse2018-07-121-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>