Peter Ringelmann
cf67d29c91
style(provisioning_api): apply php-cs-fixer
...
-e
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-04-29 16:26:29 +02:00
Peter Ringelmann
c8f3c0423e
fix(provisioning_api): allow clearing display name via editUserMultiField
...
Map empty string to userId since User::setDisplayName() rejects ""
-e
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-04-29 16:26:29 +02:00
Peter Ringelmann
2bfdd86561
fix(settings): auth guards, NcSelectUsers migration, form cleanup
...
Mirror editUser permission checks in editUserMultiField. Swap NcSelect
:user-select for NcSelectUsers. Extract helpers into userFormUtils.ts.
Simplify UserList form init, drop unused Vue import. Update E2E tests.
-e
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-04-29 16:26:29 +02:00
Peter Ringelmann
f96730587f
feat(provisioning_api): implement editUserMultiField PATCH endpoint
...
Add atomic multi-field user update with collected validation errors,
IAppConfig migration, and corresponding Vuex store action/mutation.
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-04-29 16:26:29 +02:00
Peter Ringelmann
01ab485c95
test(provisioning_api): add failing tests for editUserMultiField endpoint
...
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-04-29 16:26:29 +02:00
Côme Chilliet
173a338f76
chore: Adapt provisioning_api tests to code changes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-02-03 15:01:50 +01:00
Carl Schwan
11cf69d8ba
fix(psalm): Fix static analysis issues in apps/*/tests
...
There are still 1200 more to fix before we can enable static analysis
for the tests.
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-16 12:00:51 +01:00
Ferdinand Thiessen
0dd8e5e32e
feat(settings): allow to set own timezone in personal settings
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 12:35:31 +02:00
yemkareems
aa227f1c55
feat: add bluesky to accounts, show the same in profile edit and visibility option, in view profile and also in sharing tab
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-08-08 08:06:45 +00:00
skjnldsv
74d6494290
fix(provisioning_api): catch failed user creation
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-14 10:34:22 +02:00
skjnldsv
027471b146
fix: force lowercase emails
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-10 09:10:01 +02:00
Robin Appelman
aa15f9d16d
chore: run rector
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-07-01 22:45:52 +02:00
Jana Peper
6f1e441e9a
fix: unit tests
...
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-18 17:31:33 +02:00
Joas Schilling
460d3e8ba9
test: Migrate settings and provisioning_api to PHPUnit10
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-16 23:10:14 +02:00
provokateurin
eb98e99530
fix(settings): Handle email change restriction separately from display name change restriction
...
Co-authored-by: provokateurin <kate@provokateurin.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 19:06:25 +02:00
Robin Appelman
8b46ec2abb
Merge pull request #49476 from nextcloud/ocs-user-info-quota-optimize
...
perf: use more optimized way to get user storage info in ocs user info
2025-01-16 17:03:57 +01:00
Côme Chilliet
de8c450e5f
fix(tests): Fix getLastLogin expectation in UsersControllerTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:23 +01:00
Côme Chilliet
a8a2ca42a4
fix: Return timestamps in unix format rather than milliseconds
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2025-01-07 16:30:23 +01:00
Côme Chilliet
df8397e2ca
fix(tests): Adapt tests to firstLogin new feature
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +01:00
Robin Appelman
118ff883b0
perf: use more optimized way to get user storage info in ocs user info when possible
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-06 16:56:14 +01:00
Côme Chilliet
0353134a45
chore(provisioning_api): Add tests for getDisabledUserDetails
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-17 15:43:57 +02:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +02:00
Christopher Ng
96035d2de3
test: Fix tests
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-08 17:16:56 -07:00
Hamza Mahjoubi
9be2f060f9
fix: provision api's status codes
...
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-30 17:19:32 +02:00
John Molakvoæ (skjnldsv)
26abc86eca
feat: add profile pronouns
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 22:20:36 +02:00
Christoph Wurst
49dd79eabb
refactor: Add void return type to PHPUnit test methods
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00
Louis Chemineau
26beedef36
test(users): Adapt tests to new admin delegation checks
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 19:58:44 +02:00
Andy Scherzinger
afa48a4e0e
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:00:00 +02:00
rakekniven
c951eead73
Update UsersControllerTest.php
...
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-04 19:07:01 +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
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
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
Julien Veyssier
69a1fe206f
adjust tests after #36665
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-03-23 18:07:43 +01:00
Côme Chilliet
0753be3ff2
Fix a few tests that were using too big int values for 32bits
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +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
Carl Schwan
e35bcc9381
Fix tests
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 10:06:19 +01:00
Christopher Ng
4de19e9f85
Fix test failure introduced in https://github.com/nextcloud/server/pull/33819
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:56:42 +00:00
Joas Schilling
a0f5aebb89
Fix unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-06 14:27:18 +02:00
Joas Schilling
3235785c24
Fix exception handling when profile data is too long
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-09 22:07:46 +02:00
Christopher Ng
7215148a24
Add new account properties
...
- 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>
2021-10-19 04:44:40 +00:00
Arthur Schiwon
27865d03c0
use specific email getter where necessary
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
Julien Veyssier
7cc1b62883
fix UserController tests failing because of max_quota app value not provided by mocks
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-30 16:32:08 +02:00
Arthur Schiwon
ad0a11b2bf
cleanup
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 01:03:44 +02:00
Arthur Schiwon
3da9064f9d
prov api reports multiple mail as editable field
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:11 +02:00
Arthur Schiwon
13818005a3
prov api reports additional emails on getUser
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:10 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
blizzz
0ab5b3e265
Merge pull request #26679 from nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning
...
Fix unauthorized OCS status in provisioning
2021-05-13 23:39:20 +02:00
Joas Schilling
b6c6527705
Fix unauthorized OCS status in provisioning
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 08:16:07 +02:00
Arthur Schiwon
1e271e9f76
provAPI to use only public API of IAccountManager
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-08 01:20:17 +02:00