aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* fix(provisioning_api): Fix quota fields in OpenAPIjld31032023-10-231-4/+4
| | | | 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-274-0/+64
| | | | 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: Fix quota constants in OpenAPIjld31032023-09-141-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* provisioning_api: Add OpenAPI specjld31032023-07-319-136/+440
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* to return correct code when group not foundAlexander Piskun2023-07-221-0/+3
| | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-122-2/+21
| | | | | 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>
* Use implementations instead of interfaces for accessing private methodsjld31032023-03-301-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Merge pull request #36665 from nextcloud/fix/36539Julien Veyssier2023-03-222-4/+3
|\ | | | | Always set displayname and display-name for user data
| * Always set displayname and display-name for user datajld31032023-02-102-4/+3
| | | | | | | | 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>
* Merge pull request #36094 from ↵Joas Schilling2023-01-161-9/+12
|\ | | | | | | | | nextcloud/bugfix/noid/user-info-api-exclude-storage Only expose storage location to admins
| * Only expose storage location to adminsVincent Petry2023-01-131-9/+12
| | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Tear down in catch of an ExceptionCôme Chilliet2023-01-121-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Catch Exceptions when loading storage data of usersCôme Chilliet2023-01-121-0/+10
|/ | | | | | | | This avoids having the whole userlist crashing because a user external storage fails to load. With this change only the problematic user storage/quota information will be empty. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a const for the max user password lengthJoas Schilling2023-01-041-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #34940 from nextcloud/feat/add-mastodonCarl Schwan2022-11-222-0/+7
|\ | | | | Add mastodon and reorganize profile info section
| * Fix testsCarl Schwan2022-11-221-0/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Rename mastodon to fediverseCarl Schwan2022-11-221-6/+6
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Add mastodon personal info fieldCarl Schwan2022-11-211-0/+6
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Don't use quota cache through user managementVincent Petry2022-11-211-1/+1
|/ | | | | | | When querying the free space through user management APIs, don't use the cached quota value. The latter is only there to accelerate PROPFINDs. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix password length limitationJoas Schilling2022-10-101-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix translation of user exists error server-sideChristopher Ng2022-09-151-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-2/+2
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix creation of new user and display the correct error messageChristopher Ng2022-08-221-3/+12
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Do not save invalid display name to the databaseChristopher Ng2022-06-281-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix exception handling when profile data is too longJoas Schilling2022-06-091-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add API to change preferencesJoas Schilling2022-05-231-0/+185
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>