summaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts/ContactsMenu/ContactsStore.php
Commit message (Collapse)AuthorAgeFilesLines
* Unify default value for restricting user enumeration with settingsDaniel Calviño Sánchez2020-03-241-1/+1
| | | | | | | | | | If the value was never enabled or disabled, the settings show "Restrict username enumeration to groups" as disabled. However, in some components it was enabled by default, which caused an inconsistency in the behaviour with respect to the settings, for example in the contacts menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Limit enumeration in contacts storeJulius Härtl2020-03-201-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersChristoph Wurst2019-12-051-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Don't fail contacts menu on unkown userRoeland Jago Douma2018-07-191-1/+7
| | | | | | | | If for some reason the system addressbook holds a user that is no longer accessible from the usermanager (so it got somehow out of sync) we should not fail hard but rather just ignore the entry. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix local users check in contacts menuChristoph Wurst2018-06-041-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused import statementsMorris Jobke2018-02-141-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make ContactsStore a public APITobia De Koninck2017-12-111-1/+2
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add filter for `shareapi_allow_share_dialog_user_enumeration`Lukas Reschke2017-09-151-14/+48
| | | | | | | | This adjusts the contacts menu to also support searching by email address which is relevant in scenarios where no UID is known such as LDAP, etc. Furthermore, if `shareapi_allow_share_dialog_user_enumeration` is disabled only results are shown that match the full user ID or email address. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix issue when disabling the shareapi_only_share_with_group_members option + ↵Tobia De Koninck2017-09-151-2/+12
| | | | | | fix findOne Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Improve code styleTobia De Koninck2017-09-151-5/+7
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Some code improvementsTobia De Koninck2017-09-151-4/+5
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Add testsTobia De Koninck2017-09-151-1/+1
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Fix testsTobia De Koninck2017-09-151-2/+4
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Privacy enhancements for contacts menuTobia De Koninck2017-09-151-4/+71
| | | | | | | - Groups, which are excluded from sharing should not see local users at all - If sharing is restricted to users own groups, he should only see contacts from his groups: Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* add contactsmenu popoverGeorg Ehrke2017-04-261-0/+44
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Don't show contacts an entry for themselvesChristoph Wurst2017-04-251-2/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Contacts menuChristoph Wurst2017-04-251-0/+89
* load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>