summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* Disable sorting when multiselect is enabled in file listVincent Petry2015-09-291-0/+19
|
* 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.
* extend MainFileInfoDetailView JS testsArthur Schiwon2015-08-071-3/+29
|
* More work on right sidebar unit testsVincent Petry2015-08-071-3/+3
|
* Added unit tests for right sidebarVincent Petry2015-08-074-2/+218
|
* Merge pull request #17175 from owncloud/add-download-feedbackMorris Jobke2015-07-302-7/+7
|\ | | | | Add loading spinner to download icon
| * Fix unit tests and introduce better mocks of the HTMLMorris Jobke2015-07-072-7/+7
| |
* | Fix unit testsRoeland Jago Douma2015-07-091-3/+4
|/
* add check if server returns a 500 and display errorClark Tomlinson2015-06-261-0/+11
| | | | resolves https://github.com/owncloud/core/issues/17170
* adding correct blocking logic for fffClark Tomlinson2015-06-221-0/+11
|
* Fix file name validation in New menuVincent Petry2015-04-271-1/+58
|
* Show hint if there is no delete permissionMorris Jobke2015-04-231-0/+42
| | | | | | * add class .no-permission which shows the default delete icon * fixes #15172 * add unit test for no permission and for delete permission
* Added empty content message for empty read-only foldersVincent Petry2015-04-211-3/+6
|
* Adding a pending indicator to the files summary - fixes #14853Thomas Müller2015-03-271-0/+33
|
* Show hidden files (dot files) in grayMorris Jobke2015-03-261-0/+19
|
* Fix breadcrumb click JS unit testVincent Petry2015-03-251-2/+2
|
* fixing js unit testsThomas Müller2015-03-092-23/+0
|
* apply backslash fix to _setCurrentDirThomas Müller2015-02-191-1/+5
|
* Parse backslash as directory separator in breadcrumbLukas Reschke2015-01-241-0/+25
| | | | | | This will parse backslashes as directory separators in breadcrumbs. Thus when accessing something like `/index.php/apps/files?dir=foo\foo` the breadcrumb will properly resolve this instead of showing `foo\foo` Fixes https://github.com/owncloud/core/issues/13643
* Disallow ctrl click to select when selection not allowedVincent Petry2015-01-151-0/+30
|
* Merge pull request #13289 from owncloud/fav-keepfavoncancelrenameMorris Jobke2015-01-131-4/+32
|\ | | | | Properly update internal file info with updated tags
| * Properly update internal file info with updated tagsVincent Petry2015-01-121-4/+32
| | | | | | | | | | | | | | | | | | Whenever tags are updated, they need to be updated in the file list's file info array as well. This commit also adds unit tests and makes sure that whichever tags are sent back by the server after update are used when updating attributes/fileinfo.
* | add js tests for filelist filteringJörn Friedrich Dreyer2015-01-091-4/+115
|/
* add file summary filter spec testsJörn Friedrich Dreyer2015-01-021-0/+63
|
* be more explicit in JS unit tests - caused by accessibility issuesMorris Jobke2014-12-181-1/+1
|
* Propertly restore thumbnail on cancel/rename/moveVincent Petry2014-12-171-0/+42
| | | | | Since the thumbnail is now in a div, the code that tries to change the thumbnail have been adapted here as well.
* Fixed has-favorites CSSVincent Petry2014-12-151-0/+3
|
* Added favorites feature to the files appVincent Petry2014-12-153-0/+323
|
* Merge pull request #12639 from owncloud/bad_mtime_formatMorris Jobke2014-12-131-0/+13
|\ | | | | Fix formatting of bad dates from external storages
| * Return ? if mtime is 0 or -1Robin McCorkell2014-12-121-0/+13
| | | | | | | | Tooltip contains 'Unable to determine date'. Fixes #6395
* | Move file thumbnail into the label elementVincent Petry2014-12-111-10/+10
| |
* | Merge pull request #12394 from owncloud/files-fileactionsimprovementsLukas Reschke2014-12-081-0/+48
|\ \ | |/ |/| Improve FileActions JS to allow for custom rendering
| * Improve FileActions JS to allow for custom renderingVincent Petry2014-11-241-0/+48
| | | | | | | | | | | | | | | | | | | | This improves the OCA.Files.FileActions class to support passing a "render" function in the action object. The default function "_defaultRenderFunction" is used by default and renders actions in the usual actions container. Moved "Rename" and "Delete" to custom render functions.