summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js
Commit message (Collapse)AuthorAgeFilesLines
...
* Style modifications of favorite star on main detail view (#26658)Michael Jobst2016-12-191-10/+10
| | | | | | | | | | | | * Style modifications of favorite star on main detail view * Removed unused opacity change on mouse over * favorite star title fixed * favorite star opacity should always be .7 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Catch status code 400Lukas Reschke2016-12-011-0/+5
| | | | | | In case the server returns a statuscode 400 we should also gracefully return to the home directory. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Skip hidden files when counting visible files in list (#26522)Vincent Petry2016-11-141-0/+28
| | | | | | The file list UI logic that renders the next page doesn't properly exclude hidden files when not shown. This fix makes sure that only rows that are actually visible are counted when rendering a page, this makes sure that the page will always have enough elements displayed.
* Upload autorename on client sideVincent Petry2016-11-021-4/+57
| | | | | | | | | | | Removes the need for POST to collection which would hit against upload limits. The client tries to auto rename the file by adding a suffix "(2)". It tries to use the file list on the client side to guess a suitable name. In case a file still cannot be uploaded and creates a conflict, which can happen when the file was concurrently uploaded, the logic will continue increasing the suffix.
* Remove upload_limit in files app as it is not needed with PUT upload (#26069)Vincent Petry2016-11-021-14/+0
| | | | | | | The web UI now uses for PUT uploads which aren't restricted by PHP's upload_max_filesize and post_max_size Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Highlight files and update storage stats at end of upload (#26164)Vincent Petry2016-10-251-4/+13
| | | | | Properly trigger the "stop" even from the uploader. Also update storage stats at the end of all uploads instead of for each upload.
* Merge pull request #1883 from nextcloud/downstream-26145Morris Jobke2016-10-251-1/+1
|\ | | | | Storage 503 message improvements
| * Storage 503 message improvementsVincent Petry2016-10-241-1/+1
| | | | | | | | | | "Storage not available" is now "Storage temporarily not available". Exceptions are now logged in DEBUG level, not FATAL.
* | More fixes to file uploadVincent Petry2016-10-241-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix js unit tests for webdav put upload changesVincent Petry2016-10-242-49/+37
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use Webdav PUT for uploads in the web browserVincent Petry2016-10-242-92/+257
|/ | | | | | | | | | | | | | - uses PUT method with jquery.fileupload for regular and public file lists - for IE and browsers that don't support it, use POST with iframe transport - implemented Sabre plugin to handle iframe transport and redirect the embedded PUT request to the proper handler - added RFC5995 POST to file collection with "add-member" property to make it possible to auto-rename conflicting file names - remove obsolete ajax/upload.php and obsolete ajax routes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make it possible to filter by tags with REPORT methodVincent Petry2016-10-191-31/+22
| | | | | | | | | | | Enhanced the REPORT method on the Webdav endpoint and added a "oc:favorite" filter rule. When set, it will return a flat list of results filtered with only favorite files. The web UI was also adjusted to use this REPORT method instead of the private API endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also prevent null byte characterJoas Schilling2016-09-011-0/+1
|
* Filter out %0A from pathsJoas Schilling2016-09-011-1/+2
|
* Display number of hidden files in files summary (#25870)Vincent Petry2016-08-292-25/+153
| | | | When dot files are hidden, the table summary and selection summary will not show how many hidden files were included.
* Fix hidden files handlingVincent Petry2016-08-191-1/+36
| | | | | | | Hidden files (dot files) are now always rendered in the DOM to make sure that all file operations and selection still work as expected. Their visibility is now toggled on CSS level.
* Fix javascript tests for sidebar animationJulius Haertl2016-07-301-0/+4
|
* fix js testRobin Appelman2016-07-271-5/+10
|
* Merge branch 'master' into sync-masterMorris Jobke2016-07-071-8/+13
|\
| * Match on 405Lukas Reschke2016-07-011-0/+5
| |
| * Match for /../Lukas Reschke2016-07-011-0/+4
| |
| * Do not allow directory traversal using "../"Lukas Reschke2016-07-011-0/+4
| | | | | | | | | | | | | | | | We should not allow directory traversals using "../" here. To test access the following URL once with and then without this patch: http://localhost/server/index.php/apps/files/?dir=../../This+Should+Not+Be+Here
| * Merge remote-tracking branch 'upstream/master' into master-sync-upstreamLukas Reschke2016-06-271-0/+11
| |\
| * | Fix failing JS unit testsMorris Jobke2016-06-161-4/+2
| | | | | | | | | | | | * fixes #124
* | | Merge pull request #25325 from owncloud/filelist-prependslashVincent Petry2016-07-061-0/+6
|\ \ \ | | | | | | | | Filelist change dir auto-prepend slash
| * | | Filelist change dir auto-prepend slashVincent Petry2016-07-011-0/+6
| | |/ | |/| | | | | | | | | | Prepend a slash to directories in case it was missing since many places assume that it's there.
* / | Ignore invalid paths in the JS file list (#25368)Vincent Petry2016-07-061-0/+25
|/ /
* / Prerender file list pages to include search resultsVincent Petry2016-06-241-0/+11
|/ | | | | | When filtering the file list, if a result is on an unrendered page, make sure to call _nextPage() to prerender the pages in order to display all matching results.
* fixes size of the download spinnerVincent Chan2016-05-301-2/+2
|
* Do not encode slashes in "dir" URL param in files JSVincent Petry2016-05-061-14/+18
|
* Add anchor icon in sidebar to copy permalinkVincent Petry2016-05-061-0/+5
|
* Auto-add fileid in URL for currently displayed folderVincent Petry2016-05-062-0/+29
|
* 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.