summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration
Commit message (Collapse)AuthorAgeFilesLines
* Fix injection to get the user idJulius Härtl2018-10-301-4/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add uuid/name entry to Remote/MailPlugin testsJulius Härtl2018-10-301-2/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add name field to mail and remote resultsJulius Härtl2018-10-302-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add local share if remote cloud id matches a local user onesJulius Härtl2018-10-301-2/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make enhancing entries with type property optionalJulius Härtl2018-10-302-8/+22
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add type to Remote and Mail pluginsJulius Härtl2018-10-302-2/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add collaborators uuid to properly render the avatar and for later groupingJulius Härtl2018-10-302-0/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Filter out generic remote result for local usersJulius Härtl2018-10-301-7/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Filter out local users from address book remote searchesJulius Härtl2018-10-301-2/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not try to contact lookup server without internet connection or URLArthur Schiwon2018-10-181-1/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* some small fixes and improvementsBjoern Schiessle2018-10-101-5/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust testsBjoern Schiessle2018-10-091-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* always query the lookup server in a global scale setup and have a nicer labelBjoern Schiessle2018-10-091-3/+22
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Ignore deactivated users in collaborators user search pluginThomas Citharel2018-08-061-1/+3
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* start to get fed group shares into the share dialogBjoern Schiessle2018-07-111-0/+78
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* the FN is optional, carrying the displayname if presentArthur Schiwon2018-03-141-5/+11
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix calculation if there are more resultsJoas Schilling2018-03-081-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add the users result only when non empty so tests stay the sameJoas Schilling2018-03-021-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also array_slice wide email matches of local usersJoas Schilling2018-03-011-4/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #8206 from ↵blizzz2018-02-202-0/+4
|\ | | | | | | | | nextcloud/bugfix/noid/fix-collaboration-result-size Better result handling of email search
| * Better result handling of email searchJoas Schilling2018-02-202-0/+4
| | | | | | | | | | | | | | 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>
* | Merge pull request #8328 from ↵Joas Schilling2018-02-141-2/+9
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/filter-out-the-current-user-by-email-too Filter out the current user when searching for emails too
| * | Filter out the current user when searching for emails tooJoas Schilling2018-02-131-2/+9
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Use non aliased method insteadMorris Jobke2018-02-132-2/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use $var[] = $a instead of array_push - 2x fasterMorris Jobke2018-01-252-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add types to php docArthur Schiwon2018-01-171-4/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* do not offer the handle of the current user for auto completionArthur Schiwon2018-01-172-0/+20
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Don't show users which e-mail address match if they belong to a group we may ↵Tobia De Koninck2017-12-151-1/+29
| | | | | | share with Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-011-3/+5
|\
| * Add unit tests for SearchResultJoas Schilling2017-10-251-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Correctly search for existing collaboration resultsJoas Schilling2017-10-251-2/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix sortingArthur Schiwon2017-10-261-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | AutoCompletion backendArthur Schiwon2017-10-221-0/+81
|/ | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add tests for Lookup PluginArthur Schiwon2017-09-261-2/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off former searchSharee unit testArthur Schiwon2017-09-261-7/+2
| | | | | | 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-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off getRemote unit testsArthur Schiwon2017-09-261-2/+2
| | | | | | adds two small fixes → they actually work \o/ Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* split off getUsers unit testsArthur Schiwon2017-09-261-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* minor fixesArthur Schiwon2017-09-261-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* allow more than one plugin per share typeArthur Schiwon2017-09-261-8/+10
| | | | | | | however it does not dedupe (appears too complex/expensive while we don't havve the issue currently) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* make it possible to register plugins and kick out the circle oneArthur Schiwon2017-09-262-62/+17
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* don't keep result types hard codedArthur Schiwon2017-09-268-47/+53
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Splits off the logic from sharees endpoint thus making it available fromArthur Schiwon2017-09-268-0/+877
within Nc/via PHP. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>