Commit graph

14 commits

Author SHA1 Message Date
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