aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
Commit message (Collapse)AuthorAgeFilesLines
* Split capabilityDaniel Calviño Sánchez2021-08-182-12/+21
| | | | | | | 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>
* Add missing files for Composer v2Christoph Wurst2021-08-134-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>
* fix UserController tests failing because of max_quota app value not provided ↵Julien Veyssier2021-07-301-0/+27
| | | | | | by mocks Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* 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>
* 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>
* [tx-robot] updated from transifexNextcloud bot2021-06-282-4/+4
|
* Bump app versionJoas Schilling2021-06-241-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Master is now 23Joas Schilling2021-06-241-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>
* 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-262-52/+11
| | | | | | | | 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>
* [tx-robot] updated from transifexNextcloud bot2021-03-232-0/+16
|
* [tx-robot] updated from transifexNextcloud bot2021-03-202-4/+4
|
* 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-103-30/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Delete matches when the user is being deletedJoas Schilling2021-03-104-0/+60
| | | | 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>