aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts/ContactsMenu/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-241-22/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(contactsmenu): Sort by user statusChristoph Wurst2023-11-081-2/+13
| | | | | | If user_status is not enabled, fall back to sorting by contact name. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* feat(contactsmenu): Show user statusChristoph Wurst2023-10-311-3/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Refactors lib/private/Contacts.Faraz Samapoor2023-06-251-15/+7
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Modernize contacts menuThomas Citharel2022-05-121-25/+12
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix passing null to strlenThomas Citharel2022-03-241-2/+2
| | | | | | | | | $filter can be null as it's the default value passed in ContactsMenuController. On PHP 8.1 : strlen(): Passing null to parameter #1 ($string) of type string is deprecated Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* use a consistent default value for sharing.maxAutocompleteResultsArthur Schiwon2020-12-151-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* contactsmanager shall limit number of results earlyArthur Schiwon2020-07-311-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Respect sharing enumeration config in contacts menuJulius Härtl2019-04-181-5/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add contactsmenu popoverGeorg Ehrke2017-04-261-1/+16
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Don't show contacts an entry for themselvesChristoph Wurst2017-04-251-2/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Let apps register contact menu provider via info.xmlChristoph Wurst2017-04-251-9/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Contacts menuChristoph Wurst2017-04-251-0/+98
* load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>