aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/UsersController.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-31/+25
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(provisioning_api): Fix getting disabled users for group adminsfix/fix-disabled-user-list-for-subadminsCôme Chilliet2024-10-171-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Return correct list of managers for a userChristopher Ng2024-10-081-1/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: provision api's status codesfix/provisionApi-status-codesHamza Mahjoubi2024-09-301-20/+20
| | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-171-1/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-5/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: Reset notification email automatically when deleting additonal emailChristopher Ng2024-08-021-0/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(provisioning_api): Replace security annotations with respective ↵provokateurin2024-07-271-46/+36
| | | | | | attributes Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegationLouis2024-07-241-21/+56
|\ | | | | feat(users): Add users and group management to admin delegation
| * feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-221-21/+56
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat: let users configure their first day of weekRichard Steinmetz2024-07-221-0/+13
|/ | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manageryemkareems2024-07-081-1/+1
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: limit and fixLimit removed. negative limit handled in controller. ↵yemkareems2024-07-081-10/+4
| | | | | | removed getUsersSortedByLastLogin from Manager and instead used the config in controller Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: removed default limit of 25. if null is given all users are fetched or ↵yemkareems2024-07-081-1/+1
| | | | | | if limit is given limit number of users are fetched Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: removed references to old disabled users code. refactored query as per ↵yemkareems2024-07-081-27/+4
| | | | | | getDisplayNames function. limit and offset added to query. default limit set to 25. Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: removed NoCSRFRequired used for testing locallyyemkareems2024-07-081-1/+0
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: removed the params related to sortMode and order since it sorts by ↵yemkareems2024-07-081-6/+3
| | | | | | lastLogin Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: removed csrf check for the recent end point and ran cs fixyemkareems2024-07-081-5/+4
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: rebased the branch with master and resolved conflictsyemkareems2024-07-081-7/+95
| | | | | | fix: added a new endpoint users/recent and getting users based on last login info in the same. Reverted old code that was breaking LDAP Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: change orderBy and sort to sortMode and sortOrder. default it to uid ↵yemkareems2024-07-081-7/+7
| | | | | | asc. enable email search by changing query Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: sort the user getDisplayNames based on lastLogin. Default sort order is ↵yemkareems2024-07-081-2/+2
| | | | | | lastLogin DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* feat: cs fix run on the changed files and default order by last_login desc. ↵yemkareems2024-07-081-1/+1
| | | | | | Also last_login sort logic changed Signed-off-by: yemkareems <yemkareems@gmail.com>
* feat: add ability to sort users by last_login, uid or displayName. one of ↵yemkareems2024-07-081-5/+7
| | | | | | these needs to be passed as orderBy and sort can be ASC or DESC Signed-off-by: yemkareems <yemkareems@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-021-39/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(ldap): sync additional properties to profile and SABJake Nabasny2024-05-301-0/+4
| | | | | | | | | | | | | | | Synced from LDAP to profile: - Date of birth Synced from LDAP to SAB (via the profile): - Biography - Date of birth Original code by Jake Nabasny (GitHub: @slapcat) Co-authored-by: Jake Nabasny <jake@nabasny.com> Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* feat: Add back searching in disabled user listCôme Chilliet2024-05-231-3/+4
| | | | | | | | When disabled users where moved to their own endpoint we overlooked search, so adding it back. The search is done case-insensitive in uid and display name. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(provisioning_api): Show warning but do not fail when listing accounts in ↵Ferdinand Thiessen2024-04-231-3/+18
| | | | | | | | case of users removed from backend but still in database Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(settings): Fix always empty disabled users list for subadminsChristopher Ng2024-03-111-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix: #41005 Resend welcome emailEzhil Shanmugham2024-02-231-1/+8
| | | | Signed-off-by: Ezhil Shanmugham <ezhil930@gmail.com>
* fix(i18n): id -> IDrakekniven2024-02-041-1/+1
| | | | | Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(provisioning_api): Translate exceptions shown in the frontend + replace ↵Ferdinand Thiessen2024-02-011-60/+40
| | | | | | some deprecations Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Rename OpenAPI type aliases to their namespacesjld31032023-11-021-6/+6
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Check limit and offset parameters sent to controllerCôme Chilliet2023-10-101-0/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix api description for Users#getDisabledUsersCôme Chilliet2023-10-091-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove psalm @var annotations which should not be neededCôme Chilliet2023-10-091-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add endpoint for getting disabled user listCôme Chilliet2023-10-091-1/+65
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+38
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usageJoas Schilling2023-09-251-22/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* provisioning_api: Add OpenAPI specjld31032023-07-311-68/+115
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(CI): Satisfy psalm by removing a now obsolete type checkJoas Schilling2023-05-311-3/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(users): Store and load a user's managerChristoph Wurst2023-05-121-2/+18
| | | | | Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(provisioning_api): Don't allow to configure the same additional email ↵Joas Schilling2023-04-261-4/+4
| | | | | | multiple times Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve handling of profile fieldsChristopher Ng2023-03-301-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #36665 from nextcloud/fix/36539Julien Veyssier2023-03-221-4/+1
|\ | | | | Always set displayname and display-name for user data
| * Always set displayname and display-name for user datajld31032023-02-101-4/+1
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-061-3/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add a const for the max user password lengthJoas Schilling2023-01-041-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>