aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add base-uri to CSP policyLukas Reschke2017-03-164-110/+110
| | | | | | As per https://twitter.com/we1x/status/842032709543333890 a nice security hardening Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #3772 from nextcloud/favorite-searchMorris Jobke2017-03-131-6/+64
|\ | | | | Allow searching for favorites
| * Allow searching for favoritesRobin Appelman2017-03-081-6/+64
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #3787 from nextcloud/ocs-cookieLukas Reschke2017-03-101-0/+25
|\ \ | | | | | | dont require strict same site cookies for ocs requests
| * | add test for skipping cookie checks for ocsRobin Appelman2017-03-101-0/+25
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-091-208/+0
| | | | | | | | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3611 from nextcloud/announce-trsuted-server-endpointsBjörn Schießle2017-03-091-2/+64
|\ \ | |/ |/| Announce trusted server endpoints
| * add and adjust unit testsBjoern Schiessle2017-03-091-2/+64
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #3360 from nextcloud/dav-searchRobin Appelman2017-03-082-15/+263
|\ \ | |/ |/| Implement webdav SEARCH
| * add tests for filesearchbackendRobin Appelman2017-03-011-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add tests for searchQueryRobin Appelman2017-03-011-15/+59
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Implement webdav SEARCHRobin Appelman2017-03-011-0/+173
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add icewind/searchdavRobin Appelman2017-02-281-0/+28
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Make the test usefulJoas Schilling2017-03-031-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Execute UpdateLanguageCode only onceMorris Jobke2017-03-021-1/+25
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix table name and add a test for more than 1 entriesJoas Schilling2017-03-021-20/+23
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Change language code for languages with only one translationMorris Jobke2017-03-011-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | * then the language is not that specific and get also matched for fi * fallback from fi_FI to fi is supported - the other way around not * contains repair script * contains tests for repair script * fixes #869 Order results to make postgres happy Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | DefaultTokenProviderTest mocked/asserted the wrong methodChristoph Wurst2017-02-281-2/+2
|/ | | | | | | It's 'getRemember' instead of 'getRememberMe', hence some warnings were generated by phpunit. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix unit tests and improve appstore logicMorris Jobke2017-02-243-4/+176
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3589 from nextcloud/remove-unneeded-repair-stepMorris Jobke2017-02-2311-1652/+19
|\ | | | | Remove unneeded repair steps
| * cleanup old and not needed repair steps to speed up the updateMorris Jobke2017-02-2211-1652/+19
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use 90% JPEG quality for thumbnails and previews by defaultJoas Schilling2017-02-221-1/+7
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #3297 from nextcloud/cloud-id-resolveRobin Appelman2017-02-092-0/+145
|\ | | | | Add a single public api for resolving a cloud id to a user and remote and back
| * clean cloud idsRobin Appelman2017-02-091-7/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add testsRobin Appelman2017-02-082-0/+145
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #3184 from nextcloud/issue-3165Lukas Reschke2017-02-091-84/+23
|\ \ | | | | | | Prevent migration from ownCloud 11 to Nextcloud 12
| * | Prevent migration from ownCloud 11 to Nextcloud 12Joas Schilling2017-01-231-84/+23
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #3408 from nextcloud/nullstorage-free-spaceJoas Schilling2017-02-091-1/+2
|\ \ \ | | | | | | | | return unknown free space from nullstorage
| * | | Fix unit testsMorris Jobke2017-02-081-1/+2
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #3362 from nextcloud/fix/nc-token-cookie-nameJoas Schilling2017-02-091-1/+1
|\ \ \ | |/ / |/| | oc_token should be nc_token
| * | oc_token should be nc_tokenChristoph Wurst2017-02-021-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | fix unit testsMorris Jobke2017-02-031-1/+1
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #2044 from nextcloud/login-credential-storeMorris Jobke2017-01-302-0/+248
|\ \ | | | | | | Login credential store
| * | do not hard-require the token providerChristoph Wurst2017-01-111-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | The provider might need DB access and therefore depenedency resolution fails on the setup page where we cannot inject the db implementation. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | use login hook credentials as fallbackChristoph Wurst2017-01-111-8/+55
| | | | | | | | | | | | | | | | | | | | | If no session token is available, we can use the credentials provided by the login hook. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | add login credential storeChristoph Wurst2017-01-112-0/+193
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #2822 from nextcloud/add-navigation-via-info.xmlMorris Jobke2017-01-271-0/+66
|\ \ \ | | | | | | | | Add navigation via info.xml (#26785)
| * | | Force to specify the nameJoas Schilling2017-01-271-4/+6
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add navigation via info.xml (#26785)Thomas Müller2016-12-221-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Read navigation information from info.xml * Load files navigation elements from info.xml * Add comment about ignoring the exception Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | Merge pull request #3284 from nextcloud/remove-avatar-fixupMorris Jobke2017-01-261-189/+0
|\ \ \ \ | | | | | | | | | | remote now unneeded AvatarPermissions repair step
| * | | | remote now unneeded AvatarPermissions repair stepRobin Appelman2017-01-261-189/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avatars are now stored in appdata Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #3246 from nextcloud/fix-sqlite-dependencyMorris Jobke2017-01-261-14/+2
|\ \ \ \ \ | |/ / / / |/| | | | Remove useless dependency on SQLite (non-PDO)
| * | | | Remove useless dependency on SQLite (non-PDO)Morris Jobke2017-01-251-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * we only require the PDO driver * fixes #481 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #3030 from nextcloud/filesapi-renamefailcaseMorris Jobke2017-01-243-532/+483
|\ \ \ \ \ | |/ / / / |/| | | | Fix files node API failed rename/copy
| * | | | Add tests for move/copy hooks in Node APIVincent Petry2017-01-121-0/+81
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <pvince81@owncloud.com>
| * | | | Fix files node API failed rename/copyVincent Petry2017-01-122-4/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever a rename or copy operation failed on the view, we must throw an exception instead of just ignoring. Signed-off-by: Vincent Petry <pvince81@owncloud.com>
| * | | | Refactor files node API for more code reuseVincent Petry2017-01-113-530/+358
| | |/ / | |/| | | | | | | | | | Signed-off-by: Vincent Petry <pvince81@owncloud.com>
* | | | Merge pull request #3151 from nextcloud/navigation-iconsMorris Jobke2017-01-241-30/+44
|\ \ \ \ | | | | | | | | | | add icons to navigation of personal & admin settings
| * | | | Fix the manager testsJoas Schilling2017-01-191-30/+44
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Mimetype detection for hidden filesMagnus Walbeck2017-01-231-0/+4
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Magnus Walbeck <mw@mwalbeck.org>