summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6328 from nextcloud/split-sharees-api-logicblizzz2017-10-041-1545/+52
|\ | | | | Splits off the logic from sharees endpoint thus making it available from within Nc/via PHP.
| * shareeAPIController unit test clean up and last fixesArthur Schiwon2017-09-261-57/+21
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * remove unused methodArthur Schiwon2017-09-261-21/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * move splitUserRemote unit testsArthur Schiwon2017-09-261-72/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * adapt unit test for ensuring exceptionArthur Schiwon2017-09-261-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * split off former searchSharee unit testArthur Schiwon2017-09-261-176/+0
| | | | | | | | | | | | also moves registering default plugins to Server for proper unit testing Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * adjust ShareeAPIController invalid-input search unit testArthur Schiwon2017-09-261-16/+15
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * adjust ShareeAPIController search testArthur Schiwon2017-09-261-31/+18
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * split off getEmail testsArthur Schiwon2017-09-261-244/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * split off getRemote unit testsArthur Schiwon2017-09-261-220/+0
| | | | | | | | | | | | adds two small fixes → they actually work \o/ Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * split off getGroups unit testsArthur Schiwon2017-09-261-392/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * split off getUsers unit testsArthur Schiwon2017-09-261-318/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix testsRoeland Jago Douma2017-09-251-1/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix commentMorris Jobke2017-09-211-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update to new test caseRoeland Jago Douma2017-08-161-7/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cleanup unused methodsMorris Jobke2017-08-152-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6123 from nextcloud/cleanup-shareItemMorris Jobke2017-08-154-8/+8
|\ | | | | Cleanup usage of shareItem in internal code base
| * Cleanup usage of shareItem in internal code baseMorris Jobke2017-08-154-8/+8
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use proper methods for registerBackendMorris Jobke2017-08-151-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup unused methodsMorris Jobke2017-08-151-63/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add unit testsRoeland Jago Douma2017-08-102-0/+414
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix files_sharing CacheTestsRoeland Jago Douma2017-08-091-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some app fixes of phpstorm inspectionsRoeland Jago Douma2017-07-249-21/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* update sharing test to new master key defaultBjoern Schiessle2017-07-061-0/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Improve wording of various error messagesJan-Christoph Borchardt2017-06-211-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Add unit testJoas Schilling2017-06-141-0/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move the file sharing app to migrationJoas Schilling2017-05-122-188/+124
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix share indicator handlingVincent Petry2017-04-261-0/+78
| | | | | Properly update the fileInfoModel with the updated share types, which also updates the file list row indicator properly
* Merge pull request #4406 from nextcloud/fix-unit-test-problemsRoeland Jago Douma2017-04-211-3/+4
|\ | | | | Fix unit test problems
| * Don't use deprecated getMock() anymoreJoas Schilling2017-04-201-3/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #4412 from individual-it/masterMorris Jobke2017-04-201-1/+0
|\ \ | |/ |/| deleted forgotten code in test
| * deleted forgotten code in testArtur Neumann2017-04-201-1/+0
| | | | | | | | how embarrassing, left code from before I've done the loop around the test Signed-off-by: Artur Neumann <info@individual-it.net>
* | Merge pull request #4212 from individual-it/masterJoas Schilling2017-04-201-0/+99
|\| | | | | validate file name before uploading in upload only folder
| * remove accidently left over *f*itArtur Neumann2017-04-181-1/+1
| | | | | | Signed-off-by: Artur Neumann <info@individual-it.net>
| * JS tests for upload only functionArtur Neumann2017-04-181-0/+99
| | | | | | Signed-off-by: Artur Neumann <info@individual-it.net>
* | Adjust existing bruteforce protection codeLukas Reschke2017-04-141-0/+1
| | | | | | | | | | | | | | - Moves code to annotation - Adds the `throttle()` call on the responses on existing annotations Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #4337 from nextcloud/fix-adblock-share-iconMorris Jobke2017-04-132-22/+22
|\ \ | | | | | | Fix AdBlock blocking share icon, ref #866
| * | Fix AdBlock blocking share icon, ref #866Jan-Christoph Borchardt2017-04-122-22/+22
| | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-121-9/+6
|\ \ \ | |/ / |/| | Discover federatedsharing endpoints
| * | Do proper DIRoeland Jago Douma2017-04-111-1/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-111-9/+6
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | [files_sharing] Remove unneeded update stepsMorris Jobke2017-04-121-252/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | share api expanded by tags (#26583)Michael Jobst2017-04-111-15/+45
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * share api expanded by tags * Modified files_sharing JS Unit tests * modified tests. renamed request parameter. refactoring * Update Share20OCS.php Added missing function description * Update Helper.php Added missing function description * Update Helper.php implicit boolean conversion to !empty() * Update Share20OCSTest.php Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4256 from nextcloud/themingLukas Reschke2017-04-111-1/+1
|\ \ | | | | | | Move OC_Defaults to OCP\Defaults
| * | Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | move capabilities to share by mail appBjoern Schiessle2017-04-101-3/+1
|/ / | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | update unit testsBjoern Schiessle2017-04-072-32/+2
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | update capabilitiesBjoern Schiessle2017-04-071-4/+7
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | add new password column to the share table in order to set passwords for ↵Bjoern Schiessle2017-04-031-10/+70
|/ | | | | | share by mails Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #4004 from nextcloud/backport-27172Roeland Jago Douma2017-03-281-0/+27
|\ | | | | Remove SharedCache::getNumericStorageId to let CacheWrapper do it