aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* don't allow to create a file or folder named 'Shared' in the root folder, ↵Bjoern Schiessle2014-03-051-0/+35
| | | | also exclude all combinations of lower and upper case letters
* Make unit tests expect the svg iconsRobin Appelman2014-02-201-2/+6
|
* Do not send file list for select all on Download/deleteVincent Petry2014-02-132-4/+11
| | | | | | | | - When all files are selected, do not send the whole file list - Download will trigger download for the parent folder, also works with root - Delete will send "allfiles" to the server that will find the file list or the passed directory by itself
* Merge pull request #7011 from owncloud/jshintThomas Müller2014-02-043-2/+11
|\ | | | | Added .jshintrc
| * Fixed file name validation unit test + added newlineVincent Petry2014-01-301-0/+1
| | | | | | | | | | - fixed file name validation unit test - added "\n" as forbidden character in isFileNameValid()
| * Added .jshintrcVincent Petry2014-01-303-2/+10
| | | | | | | | | | | | - Also fixes a few JSHint warnings in files app - Added "global" comment on top of files app to suppress warning and also inform devs about what globals are use
* | Updated unit tests for rename actionVincent Petry2014-01-301-1/+12
|/ | | | | | - rename action is now checked inside of ".nametext" element - added test to ensure that display() correctly resets all actions including the rename one
* Added error message for when target folder was removedVincent Petry2014-01-291-2/+47
| | | | | | | | | | Whent trying to upload/rename/create files in a folder that was removed or rename, the correct error message is now shown. In the case of upload of multiple files, the upload is cancelled. This situation can happen if the target folder was renamed or removed from another browser window or client.
* Fixed download URL in public pageVincent Petry2014-01-242-0/+67
| | | | | | | - Refactored download URL building to make it overridable - Added download URL override in public page - Added JS unit tests for download URL - Added OC.redirect() method to facilitate unit testing
* Fixed filelist unit tests hidden paramsVincent Petry2014-01-241-5/+8
| | | | Also added dummy table
* Added Javascript unit testsVincent Petry2014-01-162-0/+135
| | | | | | | - added karma utility to run jasmine unit tests - added Sinon library (for stubs/mocks/fakeserver) - added a few unit tests for core and files - added autotest-js.sh script
* Fixed unit tests for ajax renameVincent Petry2013-11-271-19/+44
|
* Quota storage wrapper is now used for all users in sharing modeVincent Petry2013-11-211-0/+15
| | | | | | | | | When accessing a shared folder, the folder's owner appears as mountpoint but wasn't wrapped by a quota storage wrapper. This fix makes sure that all home storages are wrapped by a quota storage wrapper, if applicable, to make sure quotas are respected when uploading into shared folders.
* avoid usage of brand name 'ownCloud'Thomas Müller2013-10-281-1/+1
|
* Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
|
* if rename of file fails, the rename is undone in the view - #fix 2820Morris Jobke2013-06-151-1/+1
| | | | | | | | Changes: * OC.dialog -> OC.Notification * Added test * Fixed OC.Notification.show() issue for queued items * Highlight failed item and show notification
* [files] fix mock creation and remove hardcoded 'require' statementMorris Jobke2013-05-121-5/+2
|
* [files] rename lib to "App"Morris Jobke2013-05-121-4/+4
|
* [files] rename test class and add rename testMorris Jobke2013-05-121-1/+22
|
* [files] remove realpath in testMorris Jobke2013-05-121-1/+1
|
* [files] rename testsMorris Jobke2013-05-121-0/+99