summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2021-09-192-2/+18
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-09-172-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-09-156-2/+24
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-09-1416-4/+52
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-09-1316-30/+46
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-09-1214-0/+112
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* also allow admins to set the primary emailArthur Schiwon2021-09-101-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-103-7/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* enable the user to set a primary (notification) email address (backend)Arthur Schiwon2021-09-102-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-102-3/+26
| | | | | | | - 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-106-6/+139
| | | | | | | | | | | | - 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>
* fix UserController tests failing because of max_quota app value not provided ↵Julien Veyssier2021-08-231-0/+27
| | | | | | by mocks Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Merge pull request #28256 from nextcloud/enh/21045/stable22-quota-restrictionsPytal2021-08-232-0/+18
|\ | | | | [stable22] Add quota restrictions options
| * refs #21045 add app config to disable unlimited quota and to set max quotaChristopher Ng2021-08-202-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: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | [tx-robot] updated from transifexNextcloud bot2021-08-202-0/+14
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Add missing files for Composer v2Christoph Wurst2021-08-164-0/+383
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2021-08-042-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-08-0248-96/+48
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-07-152-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix incredible off-by-one-typo-errorArthur Schiwon2021-06-301-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* cleanupArthur Schiwon2021-06-302-14/+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>
* fix regexArthur Schiwon2021-06-301-1/+1
| | | | 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-302-0/+99
| | | | | | | - 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-302-0/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports additional emails on getUserArthur Schiwon2021-06-302-3/+20
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update AutoloaderLouis Chemineau2021-06-211-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Effectively return a valid group as it would be the case in a realDries Mys2021-06-051-2/+6
| | | | | | | situation. Returned group object is now used to set the displayname if provided. Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* 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-0419-45/+34
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix the get editable fields endpoint without a user idJoas Schilling2021-05-272-2/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26679 from ↵blizzz2021-05-135-26/+34
|\ | | | | | | | | nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning Fix unauthorized OCS status in provisioning
| * Fix unauthorized OCS status in provisioningJoas Schilling2021-05-125-26/+34
| | | | | | | | 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-085-68/+100
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Also check implementsAction methodJoas Schilling2021-04-272-5/+92
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only return display name as editable when the user backend allows itJoas Schilling2021-04-273-11/+67
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2021-04-252-0/+16
|
* [tx-robot] updated from transifexNextcloud bot2021-04-162-0/+16
|
* 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-262-0/+103
| | | | | | | | | 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-264-0/+55
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add property scope tests for AccountManagerVincent Petry2021-03-261-0/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Enhance UsersControllerTest of provisioning API with scopesVincent Petry2021-03-261-37/+140
| | | | 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>