Commit graph

237 commits

Author SHA1 Message Date
provokateurin
767da99d1d fix(provisioning_api): Pass on translated hint if password change fails
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-24 15:06:10 +00:00
Git'Fellow
738ddd289c
Merge pull request #48969 from nextcloud/backport/48766/stable29
[stable29] Fix disabled user list for subadmins
2024-10-31 08:09:41 +01:00
Côme Chilliet
d07a92d859 fix(provisioning_api): Fix getting disabled users for group admins
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-31 07:51:26 +01:00
Hamza Mahjoubi
6534e52ce3 fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-10-09 13:49:21 +02:00
Joas Schilling
1b405aae8f fix(provisioning): Support setting new app configs as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 06:08:48 +00:00
Arthur Schiwon
5d8f5d0853 fix(ProvisioningAPI): set typed config values by via API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-21 13:01:59 +00:00
Côme Chilliet
29e7294d9b
feat: Add back searching in disabled user list
When disabled users where moved to their own endpoint we overlooked
 search, so adding it back.
The search is done case-insensitive in uid and display name.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 14:58:43 +02:00
Ferdinand Thiessen
b495417cf6 fix(provisioning_api): Show warning but do not fail when listing accounts in case of users removed from backend but still in database
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-23 10:40:10 +00:00
Côme Chilliet
0b332ceac2 fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
Kate
05d020d726
Merge pull request #43877 from nextcloud/fix/provisioning_api/app-info-schema 2024-03-14 12:30:23 +01:00
Christopher Ng
77d2d3cf53 fix(settings): Fix always empty disabled users list for subadmins
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-11 17:21:46 -07:00
provokateurin
0565583c47
fix(provisioning_api): Fix AppInfo schema for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-02-27 23:41:33 +01:00
Ezhil Shanmugham
ef1d9c61e0 Fix: #41005 Resend welcome email
Signed-off-by: Ezhil Shanmugham <ezhil930@gmail.com>
2024-02-23 21:46:17 +01:00
Joas Schilling
e7a5d0cd5f
fix: Add bruteforce protection to email endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-14 21:14:25 +01:00
Vincent Petry
839ddaa354
feat: rename users to account or person
Replace translated text in most locations

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +01:00
rakekniven
14a8507ebf
fix(i18n): id -> ID
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-04 16:41:10 +01:00
Ferdinand Thiessen
a025611420
fix(provisioning_api): Translate exceptions shown in the frontend + replace some deprecations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-01 14:01:56 +01:00
provokateurin
b64ab5fba8
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:14:17 +01:00
Maxence Lange
f7d0c74b10 lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 -01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
jld3103
755de1e0b5 refactor: Rename OpenAPI type aliases to their namespaces
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
Côme Chilliet
e51d20479e
Check limit and offset parameters sent to controller
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-10 10:43:18 +02:00
Côme Chilliet
afcebd1e92
Fix api description for Users#getDisabledUsers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 14:50:12 +02:00
Côme Chilliet
cac3d465f0 Remove psalm @var annotations which should not be needed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet
a1255539b8 Add endpoint for getting disabled user list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
jld3103
c2d45cb172
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +02:00
Joas Schilling
0956b493b6
fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:54:21 +02:00
jld3103
38db3873a2
provisioning_api: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 10:29:08 +02:00
Alexander Piskun
bd19cd6cf9 to return correct code when group not found
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-22 13:18:43 +03:00
Joas Schilling
4809e8d9a9
fix(CI): Satisfy psalm by removing a now obsolete type check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-31 15:42:15 +02:00
Christoph Wurst
1381c4c157
feat(users): Store and load a user's manager
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +02:00
Joas Schilling
1c0aae9c54
fix(provisioning_api): Don't allow to configure the same additional email multiple times
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 08:41:37 +02:00
Christopher Ng
7bc8b543be Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 17:11:41 -07:00
jld3103
02f9c3a06f
Use implementations instead of interfaces for accessing private methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-30 12:33:46 +02:00
Julien Veyssier
c838bdb820
Merge pull request #36665 from nextcloud/fix/36539
Always set displayname and display-name for user data
2023-03-22 15:21:29 +01:00
Julius Härtl
3287eddbbc fix: Recalculate storage statistics on updating the quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
jld3103
77f7da9921
Always set displayname and display-name for user data
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-10 21:52:54 +01:00
Joas Schilling
614e3e2969
Merge pull request #36094 from nextcloud/bugfix/noid/user-info-api-exclude-storage
Only expose storage location to admins
2023-01-16 22:27:37 +01:00
Vincent Petry
c24884d014
Only expose storage location to admins
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:31:19 +01:00
Côme Chilliet
1de26c84dd
Tear down in catch of an Exception
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:54:55 +01:00
Côme Chilliet
4edb96080d
Catch Exceptions when loading storage data of users
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>
2023-01-12 12:01:21 +01:00
Joas Schilling
b4a29644cc
Add a const for the max user password length
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:23:43 +01:00
Carl Schwan
8dcd992ad4
Merge pull request #34940 from nextcloud/feat/add-mastodon
Add mastodon and reorganize profile info section
2022-11-22 17:47:04 +01:00
Carl Schwan
e35bcc9381 Fix tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 10:06:19 +01:00
Carl Schwan
d1209d8302 Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 08:40:12 +01:00
Carl Schwan
86d9626901 Add mastodon personal info field
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:28:56 +01:00
Vincent Petry
0b09531dc6
Don't use quota cache through user management
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>
2022-11-21 16:24:22 +01:00
Joas Schilling
ab055418c6
Fix password length limitation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-10 12:33:58 +02:00
Christopher Ng
8a15c629e2 Fix translation of user exists error server-side
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 22:56:18 +00:00
luz paz
9d26671f05 Fix typos in apps/ subdirectory
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>
2022-09-05 12:59:54 +00:00