aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Rename method to abortIfInterruptedDaniel Kesselberg2018-10-082-9/+9
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Adjust code for changed method signatureDaniel Kesselberg2018-10-072-30/+16
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fixes empty favorite names for trailing slashesMichael Weimann2018-09-191-2/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Transfer room shares too with the "files:transfer-ownership" commandDaniel Calviño Sánchez2018-08-081-1/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* 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 transfering ownership of a share to user with same id as receiverDaniel Calviño Sánchez2018-07-241-1/+2
| | | | | | | | | When the ownership of a user share is transfered to the receiver the share is removed, as the receiver now owns the original file. However, due to a missing condition, any share with a group, link or remote with the same id as the user was removed, not only the user shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Mixin scss icon apiJohn Molakvoæ (skjnldsv)2018-07-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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>
* Inject helperRoeland Jago Douma2018-07-121-1/+3
| | | | 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>
* Add option to only scan the home storageRobin Appelman2018-06-281-3/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: allow files:scan --shallowBlaok2018-05-181-3/+8
| | | | Signed-off-by: Yuze Chi <i@blaok.me>
* Move files settings to main server settingsJulius 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-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>
* Catch exception when the parent is deleted as wellJoas Schilling2018-02-281-2/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do a recursion instead of an endless loopJoas Schilling2018-02-281-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix problem with deleted filesJoas Schilling2018-02-281-5/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix path handling for activitiesJoas Schilling2018-02-281-7/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add special handling for e2e encryptionJoas Schilling2018-02-281-1/+108
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Extract duplicated logic into a methodJoas Schilling2018-02-281-80/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ::class statement instead of stringMorris Jobke2018-01-292-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-264-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add events for favoritesJoas Schilling2018-01-102-3/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update quota on file upload and deletionJohn Molakvoæ (skjnldsv)2017-12-211-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #7056 from ↵blizzz2017-11-101-0/+10
|\ | | | | | | | | nextcloud/oc-28415-enable-chunking-in-authenticated-web-upload [oc] Enable chunking for bigger files in authenticated web upload
| * Enable chunking for bigger files in authenticated web uploadVincent Petry2017-11-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds chunked uploads in the Web UI (for authenticated users, but not for public uploads). To do that the server endpoint used by the uploader is changed from WebDAV v1 to WebDAV v2. The chunking itself is done automatically by the jQuery-File-Upload plugin when the "maxChunkSize" parameter is set; in "fileuploadchunksend" the request is adjusted to adapt the behaviour of the plugin to the one expected by "uploads/" in WebDAV v2. The chunk size to be used by the Web UI can be set in the "max_chunk_size" parameter of the Files app configuration. By default it is set to 10MiB. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-072-2/+2
|\ \ | | | | | | Remove unused variables
| * | Remove unused variablesMorris Jobke2017-11-062-2/+2
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Update license headersMorris Jobke2017-11-0619-5/+55
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Correctly format OCS response with favoritesRoeland Jago Douma2017-08-291-17/+17
| | | | | | | | | | The helper funtion did not handle the response correctly and basically only returned the last share with tags. This is a simple rewrite. That is still understandable. Loops maybe more than strictly required. But preformance is not the issue here. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix comparisons in the files appJoas Schilling2017-08-012-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>