summaryrefslogtreecommitdiffstats
path: root/tests/lib/Collaboration
Commit message (Collapse)AuthorAgeFilesLines
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-095-15/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-092-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-096-6/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-092-17/+17
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* dont show remote and email options if we have an exact match for local user ↵Robin Appelman2020-04-081-62/+77
| | | | | | email Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-2/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-10/+10
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add tests for user group enumeration limitJulius Härtl2020-03-201-16/+128
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Decouple resource provider registrationDaniel Kesselberg2019-12-072-0/+173
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Mode to modern phpunitRoeland Jago Douma2019-11-277-8/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix more testsRoeland Jago Douma2019-11-271-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-277-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Extend data returned when searching remote sharesJohn Molakvoæ (skjnldsv)2019-10-291-5/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Search sharees on lookup server when explicitly requested by userChristoph Wurst2019-02-261-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* allow group backends to mark that a group should now be shown in search dialogsRobin Appelman2019-02-251-1/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix injection to get the user idJulius Härtl2018-10-301-1/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add uuid/name entry to Remote/MailPlugin testsJulius Härtl2018-10-302-20/+104
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make enhancing entries with type property optionalJulius Härtl2018-10-301-6/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Filter out local users from address book remote searchesJulius Härtl2018-10-301-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not try to contact lookup server without internet connection or URLArthur Schiwon2018-10-181-21/+78
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add more testsBjoern Schiessle2018-10-121-0/+231
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* some small fixes and improvementsBjoern Schiessle2018-10-101-1/+11
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust testsBjoern Schiessle2018-10-091-2/+31
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Ignore deactivated users in collaborators user search pluginThomas Citharel2018-08-061-1/+5
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix calculation if there are more resultsJoas Schilling2018-03-081-19/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add tests for finding own email and user results paginationJoas Schilling2018-03-081-1/+94
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Better result handling of email searchJoas Schilling2018-02-202-3/+3
| | | | | | | 1. Local users should not be returned when searching for empty string 2. The limit of the response should be respected Signed-off-by: Joas Schilling <coding@schilljs.com>
* do not offer the handle of the current user for auto completionArthur Schiwon2018-01-171-0/+47
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix and tests for MailPluginTobia De Koninck2017-12-161-1/+138
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Add unit tests for SearchResultJoas Schilling2017-10-251-0/+105
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add tests for Lookup PluginArthur Schiwon2017-09-263-2/+180
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move splitUserRemote unit testsArthur Schiwon2017-09-261-0/+75
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off former searchSharee unit testArthur Schiwon2017-09-261-0/+219
| | | | | | also moves registering default plugins to Server for proper unit testing Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off getEmail testsArthur Schiwon2017-09-261-0/+337
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off getRemote unit testsArthur Schiwon2017-09-261-0/+314
| | | | | | 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-0/+491
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off getUsers unit testsArthur Schiwon2017-09-261-0/+445
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>