summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
Commit message (Collapse)AuthorAgeFilesLines
* Fix some MissingDocblockType or InvalidDocblock warnings.Daniel Kesselberg2020-08-142-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-12/+14
| | | | | | | | | | | | | | | 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>
* Remove trailing and in between spacesChristoph Wurst2020-04-092-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix "Use this address..." Stringszaimen2020-03-261-1/+1
| | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add OCA.Files.Settings for Files SettingsGary Kim2020-03-221-0/+4
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix webdav urlJohn Molakvoæ (skjnldsv)2020-01-101-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a transfer ownership background jobRoeland Jago Douma2019-12-021-0/+29
| | | | | | | | | | | | 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>
* Allow registering header sections in the file listsJulius Härtl2019-10-231-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Don't show absolute number in tooltipDaniel Kesselberg2019-06-241-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Show used space in mb instead of %Daniel Kesselberg2019-06-241-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Hide quota bar if unlimitedDaniel Kesselberg2019-06-231-20/+17
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove the upload and memory settingJoas Schilling2019-03-041-20/+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>
* Merge branch 'master' into operation_progress_improvements3Tomasz Grobelny2019-01-291-2/+3
|\ | | | | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
| * Implemented short quota-design v2Felix Nüsse2019-01-031-2/+3
| | | | | | | | Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
* | Move progress bar to separate componentTomasz Grobelny2018-11-241-6/+0
|/ | | | Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
* Add grid toggle for every files viewJohn Molakvoæ (skjnldsv)2018-11-064-10/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Disable grid for ieJohn Molakvoæ (skjnldsv)2018-11-051-0/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow focus on input with keyboardJohn Molakvoæ (skjnldsv)2018-10-231-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix tabbability to view-toggle, action on Enter to be fixedJan-Christoph Borchardt2018-10-181-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* TooltipJohn Molakvoæ (skjnldsv)2018-10-181-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remember toggle and events handlerJohn Molakvoæ (skjnldsv)2018-10-181-2/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use grid view in other file views tooJan-Christoph Borchardt2018-10-182-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Show view toggle in controls barJan-Christoph Borchardt2018-10-181-1/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fetch high resolution thumbnails for grid viewJan-Christoph Borchardt2018-10-181-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Grid initJohn Molakvoæ (skjnldsv)2018-10-181-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Not all sidebar entries have the "classes" attributeMorris Jobke2018-07-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Upgraded navigation submenu management and api + created sharing submenuJohn Molakvoæ (skjnldsv)2018-07-131-8/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-121-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed favorite folder view displayJohn Molakvoæ (skjnldsv)2018-07-121-1/+1
| | | | 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-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Added drop-animation to sortable-listfnuesse2018-07-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Removed old codefnuesse2018-07-121-71/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Changed togglefnuesse2018-07-121-9/+9
| | | | | | | | | | | | | | | | 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-2/+3
| | | | | | | | 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-8/+12
| | | | | | | | | | | | 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-2/+4
| | | | | | | | 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-121-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-121-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Added a new action menu in files and trash list.Abijeet2018-06-182-10/+13
| | | | | | | | Uses the new file-multi-select-menu component. Towards #7647 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Adds an action dropdown that is shown on file selection.Abijeet2018-06-181-18/+10
| | | | Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Move quota icon to coreJulius Härtl2018-05-031-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Show the new dav url in the web UIRoeland Jago Douma2018-04-051-1/+1
| | | | | | Fixes #8795 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Split move and copy operationsRoland Tapken2018-02-151-1/+1
| | | | | | | | | | | | | | | The new 'Move and copy' operation from #6040 requires UPDATE permissions on the selected files. However, READ would be sufficient to create a copy of a file (if not viewed as a public share). For this reason this patch: - changes the permission of the 'MoveCopy' action to PERMISSION_READ - changes the label of the action depending on the permissions - changes the available buttons in the Move/Copy dialog depending on the permissions. The same changes are done to the filelist view for bulk actions. Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* Remove deprecated template functions from OCP directlyRoeland Jago Douma2018-01-141-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7634 from Abijeet/bug-7539Roeland Jago Douma2018-01-031-0/+4
|\ | | | | Fixes the delete button not appearing on certain lower resolutions
| * Fixes the delete icon not appearing on certain resolutions.Abijeet2018-01-021-0/+4
| | | | | | | | | | | | | | | | Fixes #7539 Also fixes overlap of text on mobile devices by resorting to just icons on lower resolutions. Signed-off-by: Abijeet <abijeetpatro@gmail.com>