aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Happy new year!Thomas Müller2016-01-124-4/+7
|
* Removed deprecated function OC_User::deleteUserRoeland Jago Douma2015-12-171-2/+4
| | | | Replaced with proper OCP calls
* Add DB group to some files_external testsThomas Müller2015-11-302-0/+14
| | | | | | | | | | Adding group Db to federation tests and ldap tests Add group DB to Test_UrlGenerator Adding group DB to trashbin and versions tests Adding group DB to Test_Util_CheckServer for pg
* Adding more DB groups to test suitsThomas Müller2015-11-301-0/+2
| | | | Adding more DB groups to test suits
* update testsRobin Appelman2015-11-191-1/+0
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Throw exception on `getPath` if file does not existLukas Reschke2015-10-251-2/+5
| | | | | | | | | | Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
* Fix rename shared versions testRobin Appelman2015-10-161-3/+2
|
* test objectstore with ceph dockerJörn Friedrich Dreyer2015-10-061-1/+1
| | | | | | | | | | | | | | | | use default config for swift primary storage test config allow testsuite to complete fix timeout, script cleanup, enable debug for now use btrfs loopback device, requires privileged container and absolute path throw exception when storage has problems debug by echo ... sleep more, more debug
* update licence headers via scriptMorris Jobke2015-10-052-0/+3
|
* Fix moment.js "a few seconds ago" with "seconds ago"Morris Jobke2015-10-021-1/+1
| | | | * fixes #18627
* Add the method to the mockJoas Schilling2015-09-251-0/+1
|
* Merge pull request #15098 from owncloud/fix_preview_versions_revert_issueThomas Müller2015-09-241-0/+37
|\ | | | | fix issue with version rollback and thumbnails
| * delete cached preview when rolling back file's versionGeorg Ehrke2015-09-201-0/+37
| | | | | | | | | | | | | | | | add random number using OC.parseQueryString and _.extend() version rollback: add missing prefix to OC\Preview::post_delete add test to assure that the rollback hook is called
* | Move dummy backend to Tests namespaceLukas Reschke2015-09-221-1/+1
|/
* Follow PSRVictor Dubiniuk2015-09-151-0/+0
|
* Namespacing, reusingVictor Dubiniuk2015-09-151-2/+4
|
* ImprovementsVictor Dubiniuk2015-09-151-3/+5
|
* Add versions obligationVictor Dubiniuk2015-09-151-0/+200
|
* Add versions tab to files sidebarVincent Petry2015-09-033-0/+465
| | | | | | | - 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
* Merge pull request #16964 from owncloud/versions_occThomas Müller2015-07-061-0/+162
|\ | | | | add occ tool to delete versions
| * add occ tool to delete versionsBjoern Schiessle2015-06-161-0/+162
| |
* | update license headers and authorsMorris Jobke2015-06-251-0/+2
|/
* Add unit tests for non existing usersJoas Schilling2015-06-051-0/+34
|
* Abort expiration when file is goneVincent Petry2015-05-291-0/+10
| | | | | | | Sometimes a background job for versions expiration was scheduled for a file that has been moved or deleted since. This prevents showing useless warnings in the log and simply bail out.
* fix testsRobin Appelman2015-05-181-0/+1
|
* Added unit tests for versions storingVincent Petry2015-05-151-4/+86
|
* Merge pull request #15881 from owncloud/share-moveversionsproperlyVincent Petry2015-05-111-13/+133
|\ | | | | Fix version rename with files and folders
| * Fix version rename with files and foldersVincent Petry2015-04-271-13/+133
| | | | | | | | | | - fix moving folder into another folder - fix moving file or folder into shared folder as recipient
* | Add a test for getting the versions of an empty pathJoas Schilling2015-05-071-1/+12
| |
* | Fix version rollback to keep fileidVincent Petry2015-04-301-0/+96
| |
* | dont use our now non existing hookRobin Appelman2015-04-271-1/+3
|/
* fix versions testsBjoern Schiessle2015-04-071-0/+6
|
* Merge pull request #15129 from owncloud/version-command-busLukas Reschke2015-03-261-1/+12
|\ | | | | expire versions in a background command
| * Setup the filesystem in the expire commandRobin Appelman2015-03-261-1/+12
| |
* | Update license headersJenkins for ownCloud2015-03-261-12/+15
|/
* Revert "Updating license headers"Morris Jobke2015-02-261-15/+13
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-13/+15
|
* Autoload lib files of versions appJoas Schilling2014-12-021-1/+0
|
* Replace deprecated constant with new class constantJoas Schilling2014-11-251-2/+2
|
* Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-191-1/+1
|
* Use base class to reset the file mapperJoas Schilling2014-11-191-7/+14
|
* Merge pull request #11825 from owncloud/fix_rename_files_in_shared_folderBjörn Schießle2014-11-031-2/+99
|\ | | | | move versions if a file was renamed in a shared folder
| * don't move versions if only the mount point was renamedBjoern Schiessle2014-10-311-0/+43
| |
| * get the source path and owner in a pre hook and the target path and owner in aBjoern Schiessle2014-10-291-2/+56
| | | | | | | | post hook
* | remove unnecessary require calls - the ownCloud class loader is supposed to ↵Thomas Müller2014-10-301-1/+4
|/ | | | take care of this
* add unit test to make sure getVersions returns the correct resultBjoern Schiessle2014-08-051-0/+34
|
* add unit test for rename and copy operationBjoern Schiessle2014-07-301-0/+108
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-2/+2
| | | | * test case added to avoid adding them later
* polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-0/+3
|