summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #21628 from owncloud/deprecated_secure_random_funcionsThomas Müller2016-01-125-23/+6
|\ | | | | Replace deprecated function calls to SecureRandom
| * Fix unit testsRoeland Jago Douma2016-01-112-18/+1
| |
| * getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-112-3/+3
| |
| * getLowStrengthGenerator does not do anything anymoreRoeland Jago Douma2016-01-112-2/+2
| |
* | Remove unused deprecated functionRoeland Jago Douma2016-01-111-5/+0
|/
* Remove generateRandomBytes from OC_UtilRoeland Jago Douma2016-01-101-5/+0
|
* Verify the path is a file on avatar updateRoeland Jago Douma2016-01-081-0/+17
| | | | | | | | Fixes #21533 Before we just assumed that the passed path was a file. This does not have to be the case. Thus check if it actually is a file before doing any more tests.
* Merge pull request #21527 from owncloud/remove_all_avatarsThomas Müller2016-01-081-7/+23
|\ | | | | Remove all cache avatars on avatar deletion
| * Remove all cache avatars on avatar deletionRoeland Jago Douma2016-01-071-7/+23
| | | | | | | | | | | | | | Fixes #21513 Since we cache the generated avatars. We should also delete the generated sizes when we remove the avatar.
* | Merge pull request #21498 from owncloud/cleanup-OC_DBThomas Müller2016-01-0713-19/+19
|\ \ | | | | | | Cleanup OC_DB methods
| * | Remove OC_DB::getConnectionMorris Jobke2016-01-0710-14/+14
| | |
| * | Remove OC_DB::insertidMorris Jobke2016-01-072-3/+3
| | |
| * | Remove OC_DB::dropTableMorris Jobke2016-01-072-2/+2
| | |
* | | Merge pull request #21502 from owncloud/di_mimetypedetectorThomas Müller2016-01-071-0/+2
|\ \ \ | |_|/ |/| | Add 'OCP\Files\IMimeTypeDetector' to DI container
| * | Add 'OCP\Files\IMimeTypeDetector' to DI containerRoeland Jago Douma2016-01-071-0/+2
| | | | | | | | | | | | * Added test to server container as well
* | | Merge pull request #21505 from owncloud/allow-downgrades-for-brave-developersThomas Müller2016-01-071-13/+25
|\ \ \ | | | | | | | | Allow downgrades for our brave developers, that switch between branches
| * | | Allow downgrades for our brave developers, that switch between branchesJoas Schilling2016-01-071-13/+25
| |/ /
* | | Merge pull request #20773 from owncloud/share2.0_createThomas Müller2016-01-072-12/+1380
|\ \ \ | |_|/ |/| | [Sharing 2.0] create share
| * | [Sharing 2.0] Some error cases report 404 instead of 403Roeland Jago Douma2016-01-061-6/+11
| | |
| * | [Sharing 2.0] Add L10N instance to manager for translated errorsRoeland Jago Douma2016-01-061-16/+38
| | |
| * | [Share 2.0] Make the share manager ready for share creationRoeland Jago Douma2016-01-061-12/+1165
| | |
| * | [Share 2.0] Make share provider ready for create sharesRoeland Jago Douma2016-01-061-0/+188
| | |
* | | Move lib/repair to lib/private/repairMorris Jobke2016-01-071-1/+1
| |/ |/|
* | Assign DB group for unit testsLukas Reschke2016-01-041-0/+4
| |
* | Move regeneration of session ID into session classesLukas Reschke2016-01-041-1/+15
|/ | | | There were code paths that nowadays call ISession::login directly thus bypassing the desired regeneration of the session ID. This moves the session regeneration deeper into the session handling and thus ensures that it is always called. Furthermore, I also added the session regeneration to the remember me cookie plus added some test case expectations for this.
* Merge pull request #21216 from owncloud/fopen-statcacheThomas Müller2015-12-281-0/+13
|\ | | | | Clear SMB statcache after fopen
| * test for statcache after fopenRobin Appelman2015-12-151-0/+13
| |
* | Fix unit testRoeland Jago Douma2015-12-241-2/+6
| |
* | prefer scalar type hints over phpdoc annotationBernhard Posselt2015-12-241-0/+19
| | | | | | | | | | | | use method exists lookup to be safe and not break on old hhvm versions add test that checks if type hint is preferred over annotation
* | Restore DB connection after failureVincent Petry2015-12-211-2/+12
| | | | | | | | | | | | | | | | | | In case of failure, PHPUnit seems to skip `tearDown`, so any useful assertion messages cannot be shown because `tearDownAfterClass` is throwing an error because of database usage. This commit makes sure we also restore the database in `tearDownAfterClass` to prevent the data root restoration to fail
* | Merge pull request #21289 from ↵Thomas Müller2015-12-211-2/+9
|\ \ | | | | | | | | | | | | owncloud/issue-20399-keep-periodic-background-jobs Do not delete background jobs, in case an exception occured
| * | Fix the test to expect the new behaviourJoas Schilling2015-12-181-2/+9
| | |
* | | Merge pull request #21290 from owncloud/public-api-usage-getversionThomas Müller2015-12-183-6/+6
|\ \ \ | | | | | | | | Use OCP\Util::getVersion instead of the internal private implementation
| * | | Use OCP\Util::getVersion instead of the internal private implementationMorris Jobke2015-12-183-6/+6
| | | |
* | | | Merge pull request #21288 from owncloud/deprecated_helper_mimetypesThomas Müller2015-12-181-22/+0
|\ \ \ \ | |/ / / |/| | | Remove deprecated OC_Helper mimetype functions
| * | | Removed deprecated unsused function OC_Helper::getStringMimeTypeRoeland Jago Douma2015-12-181-10/+0
| | | |
| * | | Removed deprecated OC_Helper::getSecureMimeTypeRoeland Jago Douma2015-12-181-12/+0
| | | |
* | | | Merge pull request #21283 from owncloud/cleanup_configThomas Müller2015-12-182-5/+14
|\ \ \ \ | | | | | | | | | | Cleanup OC_Config mess
| * | | | Inject Config into SystemConfigRoeland Jago Douma2015-12-182-5/+14
| | | | |
* | | | | Merge pull request #21280 from owncloud/drop-unused-methodsThomas Müller2015-12-181-120/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | OC_Helper::makeURLAbsolute is not used anymore
| * | | | Move OC_Helper code to OCP\Util for linkToRemoteMorris Jobke2015-12-181-32/+0
| | | | |
| * | | | properly use OCP\Util instead of OC_HelperMorris Jobke2015-12-181-46/+0
| | | | |
| * | | | OC_Helper::makeURLAbsolute is not used anymoreMorris Jobke2015-12-181-42/+0
| |/ / /
* | | | Merge pull request #21277 from owncloud/querybuild-joblistThomas Müller2015-12-181-9/+4
|\ \ \ \ | |_|/ / |/| | | Use the query builder for the joblist queries
| * | | Use the query builder for the joblist queriesJoas Schilling2015-12-181-9/+4
| | | |
* | | | Use TempManager instead of tmpFileMorris Jobke2015-12-183-6/+6
| | | |
* | | | Use TempManager instead of tmpFolderMorris Jobke2015-12-1812-13/+13
| |/ / |/| |
* | | Merge pull request #21268 from owncloud/cleanup-OC_Helper-getFileNameMimeTypeThomas Müller2015-12-181-9/+0
|\ \ \ | | | | | | | | Use proper public API for OC_Helper::getFileNameMimeType
| * | | Use proper public API for OC_Helper::getFileNameMimeTypeMorris Jobke2015-12-171-9/+0
| | | |
* | | | Merge pull request #21264 from owncloud/deprecated_oc_user_methodsThomas Müller2015-12-1812-70/+67
|\ \ \ \ | |_|/ / |/| | | Cleanup OC_User deprecated methods