Commit graph

19 commits

Author SHA1 Message Date
Robin Appelman
aa15f9d16d
chore: run rector
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-07-01 22:45:52 +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
Côme Chilliet
ed5b7ae161
chore: re-apply current rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-13 11:45:33 +01:00
Ferdinand Thiessen
fbef47a5d7
fix(AccountManager): Sanitize social media handles
Ensure to only accept valid X and fediverse handles.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 11:58:24 +01:00
John Molakvoæ (skjnldsv)
8fb64b886a
fix(settings): pronouns UsersControllerTest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-18 13:30:33 +02:00
Ferdinand Thiessen
bd46a00def
test(settings): fix AccountMigratorTest when using PNG avatars
PNG is lossless so we test the imported file for equality with the exported file,
but the changed asset was never imported into Nextcloud so it was never initially scaled.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-14 15:52:21 +02:00
Andy Scherzinger
1d451d44a2 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-13 14:15:32 +02:00
Andy Scherzinger
ec5b60af28
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-03 20:33:31 +02:00
Jake Nabasny
f863290572
feat(ldap): sync additional properties to profile and SAB
Synced from LDAP to profile:
- Date of birth

Synced from LDAP to SAB (via the profile):
- Biography
- Date of birth

Original code by Jake Nabasny (GitHub: @slapcat)

Co-authored-by: Jake Nabasny <jake@nabasny.com>
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-30 12:01:13 +02:00
Carl Schwan
f244406ebd Update composer autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 13:35:17 +01:00
Christopher Ng
98bc98ac98 Add profile config migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-01 15:27:37 +00:00
Vincent Petry
78c8e57896
Fix migrators according to exceptions
Fixed syntax errors.
Removed if condition for copyToFolder since it's void now.
Change signature of setMigratorVersions to also be void.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:52:40 +02:00
Pytal
209a2a6a4b
Merge pull request #31866 from nextcloud/test-avatar-migration 2022-04-11 10:45:40 -07:00
Côme Chilliet
eed6330b92 Adapt AccountMigratorTest to id change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +00:00
Christopher Ng
8e7372df44 Add comment explaining avatar basename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 18:03:33 +00:00
Christopher Ng
6e62c3ddc5 Remove unnecessary array_diff
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 18:02:49 +00:00
Christopher Ng
32fc848fcf Test avatar migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-07 00:44:06 +00:00
Christopher Ng
3fb420115d Improve strictness of account file regex
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-07 00:24:48 +00:00
Christopher Ng
8aa9ea7402 Test migration of account information
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-06 02:11:13 +00:00