summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests/js/filelistSpec.js
Commit message (Collapse)AuthorAgeFilesLines
* Update filelist testOrzu Ionut2021-11-151-1/+1
| | | | Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
* Bump jquery from 2.2.4 to 3.1.0Christoph Wurst2020-11-131-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Sort deleted files by most recently deleted firstJan C. Borchardt2020-10-131-1/+1
| | | | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use grid view in other file views tooJan-Christoph Borchardt2018-10-181-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-091-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix trashbin js testsRobin Appelman2018-09-261-143/+141
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adds a test case for the loading symbol in deleted files.Abijeet2018-06-181-2/+8
| | | | Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Fixed failing test cases for the new actions menu.Abijeet2018-06-181-13/+30
| | | | Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* Fixed remaining testsJohn Molakvoæ (skjnldsv)2017-11-081-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix trashed file name corruption when rerendering trashbin listVincent Petry2016-06-231-0/+22
| | | | | | | The trashbin code does some gymnastics with the file data at render time. This fix makes sure that the modifications done on the file data are only local to the rendering code and doesn't affect the actual file data from the file list.
* Fix trashbin sidebarVincent Petry2015-08-251-0/+20
| | | | | Do not display size as it is not available. Use display name instead of name to remove the ".d123456" suffix.
* Add unit test for selection overlay actions in trashbinVincent Petry2015-03-041-0/+22
|
* Sync file list with file actionsVincent Petry2014-06-271-0/+1
| | | | | | | | | | | | | | 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.
* Distinguish legacy file actions from regular file actionsVincent Petry2014-05-301-4/+7
| | | | | | | | | | | | | | 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 many issues, clean upVincent Petry2014-05-151-25/+115
| | | | | | | | | | | | | | | - 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-0/+219
- 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