aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* fix default value, update js/php testsChristoph Wurst2016-04-131-0/+16
|
* Fix download spinner to work with CSS stylesVincent Petry2016-03-041-0/+20
| | | | | | A recent change replaced img elements with CSS icons for file actions. This fix adjusts the logic to work properly with CSS icons instead of images.
* Fix favorite icon unit test for icon imageVincent Petry2016-02-251-2/+4
|
* Make file actions use icon CSS classesRoeland Jago Douma2016-02-251-2/+59
| | | | This makes theming of file actions possible
* Fix unit tests affected by side effectsVincent Petry2016-02-221-1/+3
| | | | | | | | The notification tests were not restoring the clock properly, but indirectly helped other tests pass. Since now we're restoring the clock properly, the other tests were fixed to still work.
* Merge pull request #16783 from owncloud/handle-redirects-globalThomas Müller2016-02-171-7/+0
|\ | | | | Adding global error handler for ajax calls which run into redirection…
| * Add handler for global ajax errorsVincent Petry2016-02-151-7/+0
| |
* | Close file detail sidebar when selecting/unselecting filesVincent Petry2016-02-151-5/+26
|/ | | | | Interacting with the checkboxes, also "Select all" will automatically close the sidebar now.
* Fix elementToFile to also return path when definedVincent Petry2016-02-081-0/+6
| | | | | Fixes issue when opening the share dialog for a file inside the favorite list, and the file is from a subfolder
* Merge pull request #21752 from owncloud/files-delete-fixThomas Müller2016-01-261-10/+0
|\ | | | | Only check selection for delete permissions, not parent folder
| * Remove faulty directory permissions testRobin McCorkell2016-01-151-10/+0
| |
* | update JS humanFileSize to use KB instead of kBMorris Jobke2016-01-193-15/+15
|/
* Add unit test for file updateRoeland Jago Douma2016-01-091-0/+16
|
* Correctly render uploadtext indicator only on foldersVincent Petry2015-12-181-0/+15
|
* Fix mount type root detectionVincent Petry2015-12-141-0/+30
| | | | | | | | | | | Since Webdav doesn't contain that information, we need to rely on the parent folder's mount type to find out whether a child item is a shared/external root or not. Fixed the mount type detection logic and added unit test. Also added a fix that ignores detection if no parent folder exists (ex: shared file list, favorites, etc)
* Bring back file delete action text to be based on contextVincent Petry2015-12-111-2/+18
| | | | | | | | For received shares, the delete action becomes "Unshare" and for personal mounts it becomes "Disconnect storage". This also makes it possible from now on to pass a function to a file action's "displayName" attribute.
* Make files app use Webdav for most operationsVincent Petry2015-11-226-469/+394
|
* Remove "Text file" entry in the "+" menuVincent Petry2015-11-191-22/+51
| | | | | | | The text editor app will register this instead. Also made "fileList" a non-private attribute to make it possible for plugins to access the attached file list object.
* Fix file action download spinnerVincent Petry2015-10-302-1/+94
|
* Fix icon update to be more consistentVincent Petry2015-10-292-3/+58
| | | | Makes the details bar show the same icon as in the list.
* Fix file upload, conflict dialog, also in public linkVincent Petry2015-10-211-0/+96
| | | | | | | | - Use "FileList" instead of "OCA.Files.App.fileList" that doesn't exist in public link page. - Fix public link upload by properly adding the form data using a new utility function "addFormData". That one is needed because IE8 upload and regular upload use a different format...
* Do not register sidebar panels when no sidebarVincent Petry2015-10-151-2/+41
|
* If an inline files action provides an alt text show itRoeland Jago Douma2015-10-031-0/+56
| | | | | * Added unit tests for icon display * Added unit tests for icon alt text display
* Fix moment.js "a few seconds ago" with "seconds ago"Morris Jobke2015-10-021-1/+1
| | | | * fixes #18627
* Merge pull request #19310 from owncloud/hide-sort-indicatorThomas Müller2015-09-301-0/+19
|\ | | | | hide sort indicator when in multiselect mode, ref #19056
| * Disable sorting when multiselect is enabled in file listVincent Petry2015-09-291-0/+19
| |
* | Merge pull request #19365 from owncloud/files-detailsbar-interactionThomas Müller2015-09-291-5/+37
|\ \ | | | | | | Fix sidebar interaction
| * | Fix sidebar interactionVincent Petry2015-09-281-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Clicking a file row or selecting it will open the sidebar. - When sidebar is open, its contents update with the last selection. - Dragging doesn't open the sidebar but does update its contents if it was open already. - Switching folders closes the sidebar. - Close sidebar when highlighted file got deleted/removed from list
* | | Hide sidebar tab headers conditionallyVincent Petry2015-09-281-8/+70
|/ / | | | | | | | | Added canDisplay() in DetailsTabView that should return false if the tab header of this tab must be hidden
* | Merge pull request #19404 from owncloud/files-sidebar-sorttabsThomas Müller2015-09-281-0/+15
|\ \ | | | | | | Fix tabs order in files sidebar
| * | Fix tabs order in files sidebarVincent Petry2015-09-281-0/+15
| |/
* / Fix order of actions in the files actions menuVincent Petry2015-09-281-0/+37
|/
* Merge pull request #18630 from owncloud/files-combineuploadbuttonJan-Christoph Borchardt2015-09-073-51/+238
|\ | | | | Combine upload action into the "New" menu
| * Added unit tests for "new" file menu and small fixesVincent Petry2015-09-033-51/+238
| | | | | | | | | | | | - added unit tests for NewFileMenu - use generateUrl for FileList.createFile and FileList.createDirectory - added unit tests for FileList.createFile and FileList.createDirectory
* | Add versions tab to files sidebarVincent Petry2015-09-031-4/+14
| | | | | | | | | | | | | | - move versions to a tab in the files sidebar - added mechanism to auto-update the row in the FileList whenever values are set to the FileInfoModel given to the sidebar - updated tags/favorite action to make use of that new mechanism
* | Tags in FileInfo map must be an arrayVincent Petry2015-09-031-0/+15
| | | | | | | | | | Fixes FileList.elementToFile to make an array for the tags instead of keeping the original joined string
* | Fix sidebar thumbnail loading JS unit testsVincent Petry2015-09-031-8/+58
| |
* | Fixes failing testsRaghu Nayyar2015-08-311-4/+4
|/
* Fix trashbin sidebarVincent Petry2015-08-251-0/+13
| | | | | Do not display size as it is not available. Use display name instead of name to remove the ".d123456" suffix.
* Parse mtime from the data attributesVincent Petry2015-08-241-0/+29
|
* Merge pull request #18310 from hasso/selection-string-fixVincent Petry2015-08-181-1/+1
|\ | | | | Fix the string counting a selected files/dirs
| * Update unit test to reflect the string changeHasso Tepper2015-08-171-1/+1
| |
* | Improve right sidebar tabs behaviorVincent Petry2015-08-141-14/+66
|/ | | | | | | | | | | Tab heads are not rendered if only one tab. The tab contents is updated on-demand. This means that if a tab is not visible it is not rendered at first. If the tab was already rendered through switching, its model will not get updated until the next time it becomes visible. This will prevent needless rerendering of invisible tab contents, especially considering that some tabs might need extra ajax requests.
* Make file actions work from sidebarVincent Petry2015-08-124-33/+144
| | | | | | | | | | | | | The favorite icon in the sidebar now triggers the file action and also updates itself according to the model's state when triggered from the file row. The thumbnail triggers the default action. Currently only one FileInfoModel is used for the selection and state synchronization between views. FileList reload now auto-closes the sidebar.
* Fixed file actions menu to close when reclicking triggerVincent Petry2015-08-112-27/+25
| | | | | | FileActionsMenu is now a backbone view. The trigger and highlight handling is now done in the FileActions.showMenu() method using events.
* Updated unit tests for file actions and actions menuVincent Petry2015-08-103-308/+609
|
* Fix unit test for tipsy->tooltip changeVincent Petry2015-08-101-3/+3
|
* fix timezone issue with unittestArthur Schiwon2015-08-071-1/+2
|
* Fix sidebar mtime display unit testVincent Petry2015-08-071-2/+2
|
* Use own tabs impl in files sidebarVincent Petry2015-08-071-11/+21
| | | | Also change style.