Dries Mys
e16682aeda
Effectively return a valid group as it would be the case in a real
situation. Returned group object is now used to set the displayname if
provided.
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years ago
Dries Mys
cb95b8de3f
Group may be null if backend doesn't support creating groups
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years ago
Dries Mys
644cb4154b
Fixed indentation
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years ago
Dries Mys
101153c11d
[ProvisioningAPI] Allow specifying group display name during creation
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
3 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Joas Schilling
94584ee788
Fix the get editable fields endpoint without a user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
b6c6527705
Fix unauthorized OCS status in provisioning
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Arthur Schiwon
8413ed9475
allow to set valid scopes only in AccountProperty
the auto-fallback to v2-local is removed as well to react on wrong input
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years ago
Arthur Schiwon
1e271e9f76
provAPI to use only public API of IAccountManager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years ago
Joas Schilling
03b467bd23
Also check implementsAction method
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
f67a10e8d0
Only return display name as editable when the user backend allows it
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Nextcloud bot
da17db0fdc
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
07278ed57d
[tx-robot] updated from transifex
3 years ago
Joas Schilling
2f99ae1120
Also check the default phone region when the number has no country code
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Vincent Petry
00d83a5db0
Capability for federated scope
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>
3 years ago
Vincent Petry
aac7b52c66
Change account property capability
Include version number in capability
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
3 years ago
Vincent Petry
b66af8a432
Add capability for editable scopes in provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Vincent Petry
b73df5846c
Add property scope tests for AccountManager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Vincent Petry
cb9d25c162
Enhance UsersControllerTest of provisioning API with scopes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Vincent Petry
2a312fe4e3
Expose avatarScope through provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Vincent Petry
266a6fb5f8
OCS allow reading and writing account property scopes
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>
3 years ago
Vincent Petry
5d14fd4396
Make extra user profile fields always editable
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>
3 years ago
Nextcloud bot
a81408a8e1
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
cb2745a541
[tx-robot] updated from transifex
3 years ago
Joas Schilling
5c3551cf2f
Only clear known users when we had at least one phonebook entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
61ed57b757
Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
c7be18c0d6
Add a service to find out if a user knows another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
7baefcfc74
Delete matches when the user is being deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
55a5d26c56
Delete matches when a user changes their phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
f62d9b50fd
Store when a user knows another user based on phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
a1e5090b3f
Fix some psalm warnings
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Roeland Jago Douma
e5b1d59dfd
Provisioning API to IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
128b682b7c
Fixed error after merge in UsersController
This was moved to the LoggerInterface so the recent merge of #25589
broke master.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Nextcloud bot
365d31743f
[tx-robot] updated from transifex
3 years ago
Roeland Jago Douma
cc744740b7
Remove deprecated \OCP\API
Time to remove this forgood now.
Remaining constant moved over
The world is a tiny bit better
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
dc7eb2bd85
LoggerInterface for provisioning API Controllers
Sweep swoop swaap swuup
away with the deprecated stuff
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Roeland Jago Douma
19e2136963
Update autoloader files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years ago
Nextcloud bot
9a90bfba32
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
c8f7a808fd
[tx-robot] updated from transifex
3 years ago
Joas Schilling
89d2eaca0a
Cleanup appinfo usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Robin Appelman
c6ce1eb557
forward invalid argument message to frontend when creating a user fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Nextcloud bot
8bb6bb53ad
[tx-robot] updated from transifex
3 years ago
Joas Schilling
9de00f3d24
This is 22
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
299f37c5d9
Update all composer autoloader files
The format changed between 2.0.8 and 2.0.9.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago
Nextcloud bot
7989247574
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
91864aeb40
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
6d291c3c19
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
1907cc197d
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
154d56d56f
[tx-robot] updated from transifex
3 years ago
Nextcloud bot
ca93c9708c
[tx-robot] updated from transifex
3 years ago