aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Adds class name to span element inside filename.raghunayyar2014-06-071-1/+1
|
* Ellipcises too long filenamesraghunayyar2014-06-061-1/+3
|
* decode filename for scrolltoJörn Friedrich Dreyer2014-06-051-1/+1
|
* use slide toggle for files appBernhard Posselt2014-06-051-7/+1
|
* Use active instead of hover for active sidebar optionJoas Schilling2014-06-031-2/+2
| | | | Fix #8720
* Merge pull request #8821 from owncloud/kill-zip-download-restrictionJan-Christoph Borchardt2014-06-032-15/+1
|\ | | | | drop allowZIPdownload and maxZIPSize as options
| * drop allowZIPdownload and maxZIPSize as optionsMorris Jobke2014-06-022-15/+1
| |
* | display "<1 kB" for really small filesMorris Jobke2014-06-021-1/+1
|/ | | | | * added parameters for humanFileSize to trigger that behaviour * add unit tests for that
* Merge pull request #8695 from owncloud/jserrorfixesLukas Reschke2014-05-301-2/+3
|\ | | | | Fixed undefined object error that appears after a delay
| * Fixed undefined object error that appears after a delayVincent Petry2014-05-231-2/+3
| | | | | | | | Now binding properly with the file list instance object.
* | Merge pull request #8779 from owncloud/sel-webdav-onclickVincent Petry2014-05-301-0/+3
|\ \ | | | | | | select webdav address on click
| * | select webdav address on clickVolkan Gezer2014-05-301-0/+3
| | |
* | | Merge pull request #8663 from owncloud/files-dndissueLukas Reschke2014-05-301-5/+13
|\ \ \ | | | | | | | | Fixed drag and drop from external files, added tests
| * | | Fix dropping files below the tableVincent Petry2014-05-221-3/+2
| | | |
| * | | Fixed drag and drop from external files, added testsVincent Petry2014-05-211-5/+14
| | |/ | |/| | | | | | | | | | | | | | | | | | | - Fixed detection whether the drop zone is inside the currently visible table - Now dragging outside the table does nothing instead of uploading, because the user might drop on the sidebar - Added unit tests for the drop handler
* | | Sharing overview fixes and unit testsVincent Petry2014-05-303-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-303-32/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Added "dir" in file actions handler context and fixed versionsVincent Petry2014-05-302-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added "dir" in file actions handler context so that handlers can know what the path of the file was without having to look it up from the file list. Fixed versions app to use the context.dir instead of the old $('#dir') element. This makes the versions popup work in the sharing overview.
* | | Fixed file actions for sharing viewsVincent Petry2014-05-303-18/+39
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Improved FileActions with contextVincent Petry2014-05-302-4/+17
| | | | | | | | | | | | | | | A context hash is now passed to file action handlers which makes it possible to have file list specific file actions.
* | | Added sharing overview page (WIP)Vincent Petry2014-05-301-4/+6
| | | | | | | | | | | | | | | - added sharing overview entries in the sidebar - use OCS Share API to get the list of files
* | | show delete hint text on hovering trashVolkan Gezer2014-05-281-1/+1
| |/ |/|
* | allow resharing of files with only share permissionsBjoern Schiessle2014-05-261-10/+4
|/
* Merge pull request #8612 from owncloud/share-updateshareiconsafterrenameBjörn Schießle2014-05-211-22/+21
|\ | | | | [master] Fixed issues with renaming
| * Fixed issues with renamingVincent Petry2014-05-161-22/+21
| | | | | | | | | | | | | | | | - summary is now untouched on rename instead of bogus incrementation - fixes "Share" status icon by only triggring "fileActionsReady" once - row is now reinserted even when rename is cancelled, this removes the hacky/buggy code that tried to rename the element back - added unit tests to cover the fixed cases
* | Fixed download URL in public pageVincent Petry2014-05-201-1/+1
|/
* Merge pull request #8610 from owncloud/ie8-filesdndbugVincent Petry2014-05-161-1/+1
|\ | | | | Fix drag and drop in IE8
| * Fix drag and drop in IE8Vincent Petry2014-05-161-1/+1
| | | | | | | | | | For some reason IE8 didn't like the sort function, so using the one from underscore instead.
* | Fixed many issues, clean upVincent Petry2014-05-158-95/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-158-2081/+2263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-152-0/+106
| | | | | | | | | | | | | | | | | | - 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)
* | Added app navigation for files appVincent Petry2014-05-151-0/+8
|/ | | | | | - Added links to trashbin and shared dir - Moved "WebDAV" settings block to the app nav's settings section - Added sidebar support in trashbin app as well
* Merge pull request #8041 from owncloud/files-sortcolumnsVincent Petry2014-05-121-22/+121
|\ | | | | File list sorting by clicking on column headers
| * Clear selection on reload (when changing sort)Vincent Petry2014-04-291-2/+3
| |
| * typos, indentation and remove of unused codeThomas Müller2014-04-281-1/+1
| |
| * Set default sort of trashbin to timestamp descendingVincent Petry2014-04-281-4/+1
| |
| * Add sorting to files list, trashbin and public filesVincent Petry2014-04-281-19/+120
| |
* | polish jslint for files-upload.jsJörn Friedrich Dreyer2014-05-091-45/+61
| |
* | Merge pull request #8404 from owncloud/fix-checkboxesThomas Müller2014-04-301-5/+5
|\ \ | | | | | | Fixed too generic checkbox and link selectors
| * | Fixed too generic checkbox and link selectorsVincent Petry2014-04-291-5/+5
| |/ | | | | | | | | | | | | | | | | It turns out that the sharing dropdown is embedded into the table row for some reason. This fix makes use of a more specific selector for the checkboxes and file name links to make sure it doesn't spill into any other potential elements like the sharing dialog.
* / Show spinner for all files when deleting allVincent Petry2014-04-291-0/+3
|/
* typos, naming, remove unused code, identationThomas Müller2014-04-283-53/+39
|
* Fixed drag and drop into folder and onto breadcrumbVincent Petry2014-04-282-72/+111
| | | | | Fixed drag and drop code to use FileList.getSelectedFiles() instead of the visible DOM elements.
* Fixed selection summary calculation issueVincent Petry2014-04-281-3/+1
|
* Cleanup of event handlersVincent Petry2014-04-281-32/+32
| | | | | Now using _.bind() for event handlers so we can use "this" which is more readable than a static access to FileList.
* Cleanup and fix trashbin "clear all files" operationVincent Petry2014-04-281-5/+1
|
* Fixed drag shadow file sortingVincent Petry2014-04-281-0/+1
|
* Fixed selection to be based on FileList.filesVincent Petry2014-04-283-124/+135
| | | | | | | | | | The file selection is now based on the internal model array FileList.files instead of the visible checkboxes. This makes it possible to virtually select files that haven't been rendered yet (select all, then deselect a visible one) Added more unit tests for selection (with shift and ctrl as well)
* Make sure there are always enough elements visible on the pageVincent Petry2014-04-281-0/+10
|
* Fixed insertion of filesVincent Petry2014-04-282-29/+48
| | | | | | | | | Removed "insert" flag, inserting is by default for FileList.add(). Added "animate" flag to FileList.add(). Added logic to correctly detect when to insert/append elements whenever the insertion point is visible or not. Fixed "render next page" logic to work correctly when many pages of files have been added.