summaryrefslogtreecommitdiffstats
path: root/apps/files/js/app.js
Commit message (Collapse)AuthorAgeFilesLines
* Put the quota bar to the bottomMorris Jobke2017-06-131-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add quota to the files viewJoas Schilling2017-06-131-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* added quit option in commentstabview.jsnoveens2017-03-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use Webdav PUT for uploads in the web browserVincent Petry2016-10-241-0/+1
| | | | | | | | | | | | | | - uses PUT method with jquery.fileupload for regular and public file lists - for IE and browsers that don't support it, use POST with iframe transport - implemented Sabre plugin to handle iframe transport and redirect the embedded PUT request to the proper handler - added RFC5995 POST to file collection with "add-member" property to make it possible to auto-rename conflicting file names - remove obsolete ajax/upload.php and obsolete ajax routes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Improve the UX for "not found" perma linksJoas Schilling2016-06-071-0/+3
|
* Do not encode slashes in "dir" URL param in files JSVincent Petry2016-05-061-2/+15
|
* Auto-add fileid in URL for currently displayed folderVincent Petry2016-05-061-3/+21
|
* filter hidden files on the web interfaceChristoph Wurst2016-04-191-2/+49
| | | | | | | | | | | | | | | | | | add checkbox to toggle show/hide hidden files persist show hidden setting fix settings menu layout test ApiController::showHiddenFiles don't show hidden files by default Store config in Backbone model and inject it into FileList Filter files only temporarily when rending the file list Fix file rename validation
* persist file sorting changesChristoph Wurst2016-04-131-1/+4
|
* load file sorting mode from the dbChristoph Wurst2016-04-131-1/+2
|
* Make files app use Webdav for most operationsVincent Petry2015-11-221-1/+2
|
* Properly hide sidebar when switching between files app sectionsVincent Petry2015-08-251-0/+4
| | | | | Since there are multiple sidebars, one for each files app section, we need to hide the correct ones.
* Added favorites feature to the files appVincent Petry2014-12-151-0/+2
|
* Improved Javascript docs for JSDocVincent Petry2014-10-311-2/+23
| | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* Fixed scrollto for search resultsVincent Petry2014-09-041-2/+4
| | | | | | | | Now passing the "scrollto" URL argument to the file list class which will also automatically scroll and highlight the matching element. This code is triggered by the search box when in a different folder and also by the activity app.
* Propagate file action changes to the file listsVincent Petry2014-07-091-3/+31
| | | | | | | | | Whenever an app needs to register an event late, it does that on the original file actions object. Since the file actions that the file list work on is a merged list, not the original one, the registration event needs to be propagated there as well.
* Sync file list with file actionsVincent Petry2014-06-271-0/+4
| | | | | | | | | | | | | | Whenever file actions are registered later, now the file lists are automatically notified. Added FileActions.addUpdateListener() to be able to receive such notifications. This removes the need for apps to manually call FileActions.display() after registering new actions. This fixes issues with race conditions when file actions are registered after the file list was already rendered.
* Sharing overview fixes and unit testsVincent Petry2014-05-301-0/+8
| | | | | | | | | | | | - Fixed renaming and fileActionsReady event - Added unit tests for shares list - Fixed public page with defer - Fixed file actions in sharing overview - Fixed sharing counterpart list (10 entries max) - Fixed file path attribute to be used in download action - Fix sharing list headers - OC.Share icons now operate on fileList instance - Fix OC.Share.updateIcon when more than one list in DOM
* Distinguish legacy file actions from regular file actionsVincent Petry2014-05-301-6/+13
| | | | | | | | | | | | | | Legacy file actions are registered by legacy apps through window.FileActions.register(). These actions can only be used by the main file list ("all files") because legacy apps can only deal with a single list / container. New file actions of compatible apps must be registered through OCA.Files.fileActions. These will be used for other lists like the sharing overview. Fixed versions and sharing actions to use OCA.Files.fileActions, which makes them available in the sharing overview list.
* Fixed file actions for sharing viewsVincent Petry2014-05-301-2/+10
| | | | | | | | FileActions can now be clone to be use for separate file list views without having the side-effect of affecting the main file list view. Added "Open" action in sharing overview file lists to redirect to the regular file list when clicking on a folder.
* Fixed many issues, clean upVincent Petry2014-05-151-3/+23
| | | | | | | | | | | | | | | - fixed upload and storage statistics - fixed infinite scroll to use the correct contain for scroll detection - fixed unit test that sometimes fail for rename case - controls are now sticky again - fixed selection overlay to be aligned with the table - fixed "select all" checkbox that had id conflicts - fixed public page - fixed global actions permissions detection - fix when URL contains an invalid view id - viewer mode now hides the sidebar (ex: text editor) - added unit tests for trashbin - clean up storage info in template (most is retrieved via ajax call now)
* Namespacing for FileList, FileActions and trashbin appVincent Petry2014-05-151-7/+109
| | | | | | | | | | | | | | | | | - FileList is now an instantiable class - FileActions is now in namespace - added App class for trashbin app - moved trashbin overrides into classes extending FileList - replaced many static calls with "this." or "self." to make the classes reusable/extendable - new URL parameter "view" to specify which view is shown, for example "files" or "trashbin" - added OC.Util.History utility class in core for handling history - moved URL handling/routing to OCA.Files.App - popstate will correctly update the current view and notify the view of the URL change so it can update the current dir - added JS unitt tests for the trashbin app - fixed public app to work with the new namespaces
* Files app navigation can now switchVincent Petry2014-05-151-0/+25
- added new OCA.Files namespace for files classes - the sidebar can now switch between views/containers - the trashbin renders in its own container but currently doesn't work due to overrides - added app.js as entry point for JS code (ideally all other files should only contain classes and not trigger anything)