aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
Commit message (Collapse)AuthorAgeFilesLines
* Happy new year!Thomas Müller2016-01-127-7/+11
|
* Add unit test for file updateRoeland Jago Douma2016-01-091-0/+16
|
* Correctly render uploadtext indicator only on foldersVincent Petry2015-12-181-0/+15
|
* Removed deprecated function OC_User::deleteUserRoeland Jago Douma2015-12-171-1/+2
| | | | Replaced with proper OCP calls
* Removed deprecated private OC_User::createUserRoeland Jago Douma2015-12-171-1/+1
| | | | | All function calls are replaced with the recommended (which was already the body of the function).
* 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.
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-101-1/+0
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Compute share permissions in the viewVincent Petry2015-12-081-3/+6
| | | | | The share permissions are now computed in the View/FileInfo instead of storing them directly/permanently on the storage
* Merge pull request #20545 from owncloud/scan-storage-in-background-jobThomas Müller2015-12-031-0/+134
|\ | | | | Move files/ajax/scan.php to background job
| * Move files/ajax/scan.php to background jobLukas Reschke2015-11-281-0/+134
| | | | | | | | The background job will now be executed in chunks of 500 users all 10 minutes.
* | Allow framing 'self'Lukas Reschke2015-12-021-0/+3
| | | | | | | | This is required by the pdf viewer, since the files app on master uses the AppFramework it had applied the more strict defaults which made it not work on master.
* | Inject the database connectionJoas Schilling2015-11-301-0/+7
| |
* | Only require the interfaceJoas Schilling2015-11-301-6/+6
| |
* | Add a unit test that executes the queryJoas Schilling2015-11-301-0/+15
| |
* | Oracle can not return statements but only valuesJoas Schilling2015-11-301-4/+4
| | | | | | | | So evaluate the condition directly and return 1 or 0
* | Adding more test suites to group DBThomas Müller2015-11-301-0/+7
| |
* | Apply DB group annotation ...Thomas Müller2015-11-301-0/+7
|/
* Make files app use Webdav for most operationsVincent Petry2015-11-227-701/+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.
* Move index.php from files to AppFrameworkLukas Reschke2015-11-161-0/+250
| | | | | 1. Allows it to use the more secure CSP rules of the AppFramework. 2. Adds some unit tests.
* 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.
* Update license headersLukas Reschke2015-10-263-3/+2
|
* 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...
* Merge pull request #19742 from owncloud/shareinfo_performanceThomas Müller2015-10-202-12/+0
|\ | | | | Do not calculate non essential info
| * Do not calculate non essential infoRoeland Jago Douma2015-10-132-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | There is no need to calculate a human readable date on the server side. We supply the mtime and a client can easily convert that himself if needed. This is already done most of the time since the date is often not in the exact right format. There is also no need to attach icon info. We have that available in javascript. And else the client should get the right icon based on the mimetype for its platform. * Updated tests
* | fix delete orphan shares test with object home storageRobin Appelman2015-10-161-1/+6
| |
* | Do not register sidebar panels when no sidebarVincent Petry2015-10-151-2/+41
|/
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* 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 #17501 from tbartenstein/patch-1Vincent Petry2015-08-241-1/+1
|\ | | | | Update fileinfo.php
| * fix unit test for folder renaming (icon)tbartenstein2015-08-211-1/+1
| | | | | | fix unit test to go with #17501 and check for the new icon