summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | enable the user to set a primary (notification) email address (backend)Arthur Schiwon2021-09-092-27/+57
| | | | | | | | | | | | | | - specific getters and setters on IUser and implementation - new notify_email field in provisioning API Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Confirm mails only per POSTArthur Schiwon2021-09-091-2/+24
| | | | | | | | | | | | | | - this is to avoid automatic confirmation by certain softwares that open links Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | implement verification for additional mailsArthur Schiwon2021-09-092-4/+131
|/ | | | | | | | | | | | - mails added by (sub)admins are automatically verified - provisioning_api controller as verification endpoint - IAccountProperty gets a locallyVerified property - IPropertyCollection gets a method to fetch an IAccountProperty by value - an remove equivalent was already present - AccountManager always initiates mail verification on update if necessary - add core success template for arbitrary title and message Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* refs #21045 add app config to disable unlimited quota and to set max quotaJulien Veyssier2021-07-292-0/+18
| | | | | | | | | avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed avoid getting/setting/displaying unlimited default quota if not allowed implement tests for unlimited quota restrictions Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Migrate HintException to OCPGary Kim2021-06-301-3/+3
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* cleanupArthur Schiwon2021-06-301-6/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix small issues in UsersController handlingArthur Schiwon2021-06-302-3/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adjust access permissions of new controller methodArthur Schiwon2021-06-301-1/+5
| | | | | | - fixes wrong veriable usage also Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* create a property on editUser when it was not set beforeArthur Schiwon2021-06-301-10/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api to be able to edit multivalue propertiesArthur Schiwon2021-06-301-0/+98
| | | | | | | - adding as usual - deleting and scope setting via additional endpoint Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports multiple mail as editable fieldArthur Schiwon2021-06-301-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports additional emails on getUserArthur Schiwon2021-06-301-0/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Group may be null if backend doesn't support creating groupsDries Mys2021-06-051-0/+3
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Fixed indentationDries Mys2021-06-051-1/+1
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* [ProvisioningAPI] Allow specifying group display name during creationDries Mys2021-06-051-2/+6
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0411-30/+26
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix the get editable fields endpoint without a user idJoas Schilling2021-05-271-1/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26679 from ↵blizzz2021-05-133-16/+24
|\ | | | | | | | | nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning Fix unauthorized OCS status in provisioning
| * Fix unauthorized OCS status in provisioningJoas Schilling2021-05-123-16/+24
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | allow to set valid scopes only in AccountPropertyArthur Schiwon2021-05-121-1/+1
| | | | | | | | | | | | the auto-fallback to v2-local is removed as well to react on wrong input Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | provAPI to use only public API of IAccountManagerArthur Schiwon2021-05-083-37/+44
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Also check implementsAction methodJoas Schilling2021-04-271-3/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only return display name as editable when the user backend allows itJoas Schilling2021-04-271-6/+36
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also check the default phone region when the number has no country codeJoas Schilling2021-03-311-0/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Capability for federated scopeVincent Petry2021-03-261-0/+11
| | | | | | | | | Added additional capability in the provisioning API to signal whether the federation scope values can be used. This is based on whether the lookup server upload is enabled or not. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Change account property capability Vincent Petry2021-03-261-1/+1
| | | | | | | Include version number in capability Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
* Add capability for editable scopes in provisioning APIVincent Petry2021-03-262-0/+53
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Expose avatarScope through provisioning APIVincent Petry2021-03-262-0/+9
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* OCS allow reading and writing account property scopesVincent Petry2021-03-262-8/+55
| | | | | | | Extends the provisioning API to allow a user to get and set their own account property scopes. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Make extra user profile fields always editableVincent Petry2021-03-261-23/+8
| | | | | | | | The fields for phone number, address, website and twitter are now editable regardless whether federated sharing and the lookup server are enabled or not. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Only clear known users when we had at least one phonebook entryJoas Schilling2021-03-121-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename some parameters and methods to make the API more clearJoas Schilling2021-03-102-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a service to find out if a user knows another userJoas Schilling2021-03-102-30/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Delete matches when the user is being deletedJoas Schilling2021-03-102-0/+58
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Delete matches when a user changes their phone numberJoas Schilling2021-03-101-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Store when a user knows another user based on phone numberJoas Schilling2021-03-101-0/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix some psalm warningsJoas Schilling2021-03-101-17/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Provisioning API to IBootstrapRoeland Jago Douma2021-03-101-6/+13
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixed error after merge in UsersControllerRoeland Jago Douma2021-03-051-5/+6
| | | | | | | This was moved to the LoggerInterface so the recent merge of #25589 broke master. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #25589 from nextcloud/provisioning-api-invalid-argumentRoeland Jago Douma2021-03-051-0/+7
|\ | | | | forward invalid argument message to frontend when creating a user fails
| * forward invalid argument message to frontend when creating a user failsRobin Appelman2021-02-111-0/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>