aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-057-64/+58
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48766 from ↵John Molakvoæ2024-10-291-4/+4
|\ | | | | | | nextcloud/fix/fix-disabled-user-list-for-subadmins
| * 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>
* | refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-217-68/+23
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* 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>
* refactor: Clean upChristopher Ng2024-10-081-33/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Return correct list of managers for a userChristopher Ng2024-10-083-3/+43
| | | | 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-194-4/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-173-1/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-131-3/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-254-7/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(provisioning): Support setting new app configs as wellJoas Schilling2024-08-221-2/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(ProvisioningAPI): set typed config values by via APIArthur Schiwon2024-08-201-1/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.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-276-79/+68
| | | | | | attributes Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegationLouis2024-07-243-25/+71
|\ | | | | feat(users): Add users and group management to admin delegation
| * feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-223-25/+71
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat: let users configure their first day of weekRichard Steinmetz2024-07-222-0/+14
|/ | | | 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-0214-324/+31
| | | | 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>
* refactor(provisioning_api): Add types for user details scopesprovokateurin2024-05-111-14/+16
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* 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-022-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #43877 from nextcloud/fix/provisioning_api/app-info-schemaKate2024-03-142-47/+1
|\
| * fix(provisioning_api): Fix AppInfo schema for OpenAPIprovokateurin2024-02-272-47/+1
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | 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: Add bruteforce protection to email endpointJoas Schilling2024-02-141-6/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat: rename users to account or personVincent Petry2024-02-133-4/+4
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.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>
* chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-301-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Migrate IgnoreOpenAPI attributes to OpenAPIprovokateurin2024-01-181-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* lazy AppConfigMaxence Lange2024-01-151-46/+19
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-234-22/+23
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor: Rename OpenAPI type aliases to their namespacesjld31032023-11-025-21/+21
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>