aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Merge pull request #26725 from ↵John Molakvoæ2021-10-221-3/+6
|\ | | | | | | nextcloud/fix-federated-scope-not-shown-when-public-addressbook-upload-is-disabled
| * Split capabilityDaniel Calviño Sánchez2021-08-181-3/+6
| | | | | | | | | | | | | | The "federated" and "published" scopes are independent one from each other, so the capability that encompassed both needs to be split. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Profile backendChristopher Ng2021-10-191-7/+2
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add new account propertiesChristopher Ng2021-10-192-58/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - New properties - Organisation - Role - Headline - Biography - Profile Enabled property - Fix errors with building default account properties - Fix L10N factory method `getLanguage` not public error - Update tests Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | l10n: Spelling unificationValdnet2021-10-171-1/+1
| | | | | | | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | Add support for Delegation Settings for more appsCarl Schwan2021-10-153-3/+69
| | | | | | | | | | | | | | | | | | * This adds support for the sharing, groupware, theming and user_ldap app * This adds some code who disapeared during a rebase in the initial delegation PR (provisioning_api) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Changed spelling and aligned to other resources.rakekniven2021-09-111-1/+1
| | | | | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | also allow admins to set the primary emailArthur Schiwon2021-09-091-0/+1
| | | | | | | | | | | | - there will be times when it is necessary to reset this value for sure Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | use specific email getter where necessaryArthur Schiwon2021-09-092-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>