summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix risky tests without assertionsJoas Schilling2018-01-251-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-062-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of dav appMorris Jobke2017-10-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove legacy OC_User_Backend and OC_User_InterfaceRoeland Jago Douma2017-07-241-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Proper exception for upload of .htaccess file via WebDAVMorris Jobke2017-05-081-12/+12
| | | | | | * fixes #2860 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* added quit option in commentstabview.jsnoveens2017-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly expire ext storage versions (#26601)Vincent Petry2017-03-101-1/+13
| | | | | | | | | | | | | | | | | | * Properly expire ext storage versions System-wide external storages have no real owner so the current user is used as owner. However when running cron.php there is no current user, so no expiry can be done. This fix adds an user argument to the expire() function to tell for which user to expire files. This information is anyway always available now through the expire command job. * Move version expire setupFS into the expire function * Add comment about not tearing down in version Storage::expire() Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix js testsRoeland Jago Douma2016-11-291-8/+11
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Display changes in file versions tab view and detailsView (#26511)Michael Jobst2016-11-141-1/+2
| | | | | | | | | | | * Display changes in file versions tab view and detailsView * versions tab enhancements enhanced js test file removed css superscript attribute for version size * Replaced spaces with tabs
* More testsRoeland Jago Douma2016-11-031-0/+167
| | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-1/+1
|
* Fix getMock files_versionsRoeland Jago Douma2016-09-061-1/+2
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-214-8/+12
|
* Hide revert button when no permission to revertVincent Petry2016-06-282-2/+64
|
* Update license headersLukas Reschke2016-05-262-4/+5
|
* Move files_versions to PSR-4 (#24571)Joas Schilling2016-05-124-2/+4
|
* Fix testsRoeland Jago Douma2016-04-191-30/+51
|
* apps: Fix typos (found by codespell) (#23862)Stefan Weil2016-04-121-2/+2
| | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* set watch policy in testRobin Appelman2016-03-211-0/+15
|
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* versions provide more information when throwing hooksArthur Schiwon2016-02-081-1/+3
|
* cleanup shared cacheRobin Appelman2016-01-281-2/+2
|
* Safe teardownsRobin Appelman2016-01-141-4/+6
|
* 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
|