aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts
Commit message (Collapse)AuthorAgeFilesLines
* feat(contacts): Show time difference for users in different timezonesfeat/show-time-diff-userFerdinand Thiessen2025-01-161-5/+44
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(profile): move profile app from core to appsskjnldsv2024-11-142-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Getting default timezone for local timeAndrii2024-11-051-1/+1
| | | | Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-249-183/+18
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(files_sharing): allow to specify allowed groups to share instead of ↵Corentin Damman2024-03-151-4/+12
| | | | | | | | excluded groups Relates to #3387 Signed-off-by: Corentin Damman <c.damman@intopix.com>
* fix(ContactsStore): Sanitize user ID given to guest avatar routeFerdinand Thiessen2024-02-031-2/+2
| | | | | | | It is not allowed to use slashes within path parameters, so they would need to be encoded. But URL encoded slashes are not suported by Apache, so instead replace slash with space. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(php,vue): Create a new parameterBaptiste Fotia2024-01-311-0/+10
| | | | Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
* Update ContactsStore: Avoid exceptions on empties Josh2024-01-161-6/+7
| | | | | Fixes #42858 and makes things more robust Signed-off-by: Josh <josh.t.richards@gmail.com>
* feat(contactsmenu): Sort by user statusChristoph Wurst2023-11-083-11/+105
| | | | | | 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-314-9/+49
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* core: Add OpenAPI specjld31032023-07-132-0/+6
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Refactors lib/private/Contacts.Faraz Samapoor2023-06-258-121/+45
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-151-1/+1
| | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* fix the contacts-menu vcf-contact avatarsSimon L2023-02-151-1/+7
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* composer run cs:fixCôme Chilliet2023-01-202-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Show local time in avatar menuJoas Schilling2023-01-042-0/+89
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #32635 from andyxheli/patch-3blizzz2022-10-051-2/+5
|\ | | | | Fix User profile picture when performing the search
| * Update lib/private/Contacts/ContactsMenu/ContactsStore.php Andy Xheli2022-09-201-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Tested no issues. Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
| * Update ContactsStore.phpAndy Xheli2022-09-191-1/+1
| | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
| * Apply suggestions from code review Andy Xheli2022-09-161-1/+1
| | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
| * Fix User profile picture when performing the searchAndy Xheli2022-05-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Before ![image](https://user-images.githubusercontent.com/59488153/140980158-b9108161-57ab-48b4-ae6f-98ec4e72775a.png) After Fix for #31065
* | Fix typos in lib/private subdirectoryluz paz2022-07-271-1/+1
| | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
* | Fix PHP 8.2 warnings about undeclared propertiesCôme Chilliet2022-06-211-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Modernize contacts menuThomas Citharel2022-05-127-196/+56
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fix passing null to strlenThomas Citharel2022-03-242-4/+4
| | | | | | | | | $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>
* Add global profile toggle configChristopher Ng2022-03-182-21/+17
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Limit more contact searchesJoas Schilling2021-12-081-2/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix source of translationsChristopher Ng2021-11-262-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-231-4/+1
| | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Change origin field to appIdJoas Schilling2021-10-204-23/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not remove current user on findOneJohn Molakvoæ2021-10-201-14/+14
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add appName to contactsmenu action APIJohn Molakvoæ2021-10-202-3/+26
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Profile backendChristopher Ng2021-10-194-9/+181
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add email addresses to contacts menuDaniel Kesselberg2021-09-151-0/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-047-16/+11
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Clean up the logic of the contacts store a bitJoas Schilling2021-03-101-5/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-101-1/+6
| | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-101-38/+68
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #25925 from nextcloud/techdept/psalm/ActionProviderStoreRoeland Jago Douma2021-03-081-17/+16
|\ | | | | Pimp ActionProviderStore
| * Pimp ActionProviderStoreRoeland Jago Douma2021-03-041-17/+16
| | | | | | | | | | | | | | | | | | | | * Fix paradoxale condition * Add types * Move away from ILogger Makes psalm happy, and thus me happy Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Type Entry and IEntryRoeland Jago Douma2021-03-041-14/+17
|/ | | | | | | | | * Fixed a docblock * Typed the entries Psalm happier, Roeland happier Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-242-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* contactsmanager shall limit number of results earlyArthur Schiwon2020-07-312-7/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-107-14/+6
| | | | | | | | | | | | | | | 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-094-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>