Julius Knorr
4120493856
Merge pull request #52039 from nextcloud/backport/52008/stable31
...
[stable31] fix: Proper order for checking path prefix for getting file by id from cache
2025-04-22 08:45:04 +02:00
Joas Schilling
9821d3d20a
Merge pull request #52256 from nextcloud/backport/52224/stable31
...
[stable31] fix(usermanager): Don't throw when checking if a too long user id is an existing user
2025-04-21 14:20:18 +02:00
Ferdinand Thiessen
f42ca3a383
Merge pull request #52248 from nextcloud/backport/52240/stable31
...
[stable31] fix(mail): use matching text color for primary elements
2025-04-18 16:23:53 +02:00
Joas Schilling
c34a5d2f6e
fix(usermanager): Don't throw when checking if a too long user id is an existing user
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-17 14:55:12 +00:00
Arthur Schiwon
09e3b93eed
fix(Log): revert swich to ?? operator
...
false is expected, not null. The changed caused "user" in the log files
to be false instead of "--", which is breaking behaviour.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-17 13:20:29 +00:00
Ferdinand Thiessen
dada9b5c1c
fix(mail): use matching text color for primary elements
...
when we use the default primary as background color we have to use the
default primary text color as well.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-17 10:43:58 +00:00
Louis Chemineau
27ed921ad5
fix: Transfer ownership with S3 as primary
...
When using S3 as primary storage, transferring ownership with the `--move` option fail with the following error:
`SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-45b963397aa40d4a0063e0d85e4fe7a1' for key 'fs_storage_path_hash'`
The `--move` option moves the entire home folder from one account to another.
The error means that the move failed because the destination folder already exist in `oc_filecache`.
- With S3 as primary storage, folders only exists as entries in `oc_filecache`.
- With S3 as primary storage, `moveFromStorage(...)` only moves the cache entry, as nothing needs to be moved on disk. This cache move does not delete potentially pre-existing destination folder.
- With Local storage, `moveFromStorage(...)` calls `rename(...)` which delete pre-existing folder.
- `transfer(...)`: 687a4d9ac7/apps/files/lib/Service/OwnershipTransferService.php (L112)
- `oneTimeUserSetup(...)`: 687a4d9ac7/lib/private/Files/SetupManager.php (L261-L262)
- `mkdir(...)`: 687a4d9ac7/lib/private/Files/ObjectStore/ObjectStoreStorage.php (L91-L135)
- `moveFromStorage(...)`: 687a4d9ac7/lib/private/Files/ObjectStore/ObjectStoreStorage.php (L635-L636)
Delete pre-existing folder in `moveFromStorage(...)`
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-16 10:19:17 +02:00
Ferdinand Thiessen
8c087c8436
Merge pull request #52043 from nextcloud/backport/52013/stable31
...
[stable31] fix: Handle missing share providers when promoting reshares
2025-04-14 17:19:31 +02:00
Maxence Lange
46a3b18dd1
fix(setup): ignore missing theming app
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-12 15:33:41 +02:00
Joas Schilling
0c3c61c4be
Merge pull request #52068 from nextcloud/backport/52066/stable31
...
[stable31] fix(federation): Don't load the addressbook when resolving a cloud ID
2025-04-11 13:44:22 +02:00
John Molakvoæ
e75f3df9a1
Merge pull request #52078 from nextcloud/backport/52075/stable31
2025-04-11 13:29:53 +02:00
Joas Schilling
a9d126a219
fix(federation): Fix returning "no display name" after cache result
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-11 12:32:23 +02:00
Joas Schilling
878c4d5597
fix(federation): Don't load the addressbook when resolving a cloud ID
...
Instead we delay the lookup of the display name until it is actually used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-11 12:32:22 +02:00
Oleksander Piskun
9543f9822a
fix(taskprocessing): use the event for AppAPI to get list of AI providers
...
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
2025-04-11 07:59:40 +00:00
skjnldsv
f81ef274dd
fix(files_sharing): fix share creation error handling
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-09 15:22:32 +00:00
Joas Schilling
8c460c9f58
Revert "refactor(RichObjectStrings): Only log error if key or value is not string in validator"
...
This reverts commit 23a61a2b42 .
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-09 08:29:43 +02:00
Julius Knorr
e5209d4076
fix: Catch old cached paths and fetch the new one
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-08 20:08:50 +02:00
Julius Knorr
49f2228570
fix: Proper order for checking path prefix for getting file by id from cache
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-08 20:08:50 +02:00
Daniel Calviño Sánchez
a9437209b9
fix: Handle missing share providers when promoting reshares
...
The provider for mail shares is not available when the "sharebymail" app
is disabled, and in that case a "ProviderException" is thrown when
trying to get it.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-04-08 13:34:11 +00:00
provokateurin
23a61a2b42
refactor(RichObjectStrings): Only log error if key or value is not string in validator
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-08 11:17:10 +00:00
Benjamin Gaussorgues
fffde28b51
feat(ip): use larger IPv6 range by default
...
Some providers assign `/48` IPv6 blocks instead of `/64` so it sounds safer
to use this mask by default.
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-08 09:16:13 +00:00
Arthur Schiwon
774b85a125
Merge pull request #51984 from nextcloud/backport/51942/stable31
...
[stable31] fix(cache): always require updates if mtime is null
2025-04-07 19:53:11 +02:00
provokateurin
bc1e1a064e
Revert "refactor: add migration for email setting"
...
This reverts commit e7859f0dac .
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-07 08:20:15 +00:00
Ferdinand Thiessen
45cd76224e
fix(cache): always require updates if mtime is null
...
- Resolves https://github.com/nextcloud/server/issues/51941
Due to strong typings we introduced the parameter needs to be an
integer. Previously it was `null` which was equal to `0`.
So if there is no storage mtime we need to update the cache.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 08:17:16 +00:00
Ferdinand Thiessen
00580b369e
fix: ensure enabled themes are set on the template
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-04 09:23:45 +02:00
Andy Scherzinger
11934e5e1f
Merge pull request #51906 from nextcloud/backport/51905/stable31
...
[stable31] fix(session): Only mark sessions of permanent tokens as app passwords
2025-04-03 12:33:18 +02:00
Louis
5d1a7b7b1f
Merge pull request #51880 from nextcloud/backport/51870/stable31
...
[stable31] fix: Use login name to check the password
2025-04-03 10:18:49 +02:00
Christoph Wurst
81a8e83bf8
fix(session): Only mark sessions of permanent tokens as app passwords
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-03 08:10:56 +00:00
Ferdinand Thiessen
93d8e7e8a5
refactor: add migration for email setting
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 09:03:42 +02:00
provokateurin
67948fa7ed
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-03 09:03:42 +02:00
Louis Chemineau
81e70c99cb
fix: Use login name to check the password
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-02 17:21:19 +00:00
Andy Scherzinger
c6f10f3e18
Merge pull request #51869 from nextcloud/backport/51866/stable31
...
[stable31] fix: use proper migration sorting when checking if a migration needs to be executed
2025-04-02 18:45:15 +02:00
Robin Appelman
28c63750f9
fix: use proper migration sorting when checking if a migration needs to be executed
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-02 12:52:52 +00:00
Richard Steinmetz
1653cd2dea
fix(oauth2): retain support for legacy ownCloud clients
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 12:05:18 +02:00
Ferdinand Thiessen
ff172e178e
fix(webauthn): do not require bcmath or gmp - not needed anymore
...
The extensions are not required anymore but only recommended for
performance. See also:
https://github.com/web-auth/webauthn-framework/issues/213
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +02:00
Christoph Wurst
dfb0b38acc
perf(cron): Delay (re)checking timed jobs
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-31 15:33:59 +00:00
Côme Chilliet
911830df8a
Merge pull request #51376 from nextcloud/backport/51108/stable31
...
[stable31] Fix disabled user list for SAML group subadmin
2025-03-31 15:41:10 +02:00
Louis Chemineau
749b4f4d22
chore: Refactor callForSeenUsers to use getSeenUsers
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:01:02 +00:00
Louis Chemineau
cd3d955e21
feat: Implement getSeenUsers to iterate over users
...
This method uses an iterator.
This is lighter on resources and gives more control to the caller
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:01:02 +00:00
Côme Chilliet
3ed1c0c214
chore: Remove now unused methods from User manager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Côme Chilliet
171886ae6b
fix: Correctly count disabled users for SAML groups subadmins
...
If too many users return -1 as for LDAP so that link is shown
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Julius Knorr
4308f0019b
fix: filter out contacts with invalid email addresses in sharee completion
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 22:37:07 +01:00
Ferdinand Thiessen
ef1a73a8dc
fix(IFilenameValidator): correctly handle case insensitivity
...
- forbidden names and forbidden base names are case **insensitive**
so we need to check all lowercase here.
- add test that config value is also read case insensitive.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-28 20:54:23 +01:00
Julius Knorr
1642cd1ff1
fix: Do not build encrypted password if there is none
...
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 15:18:27 +01:00
Marcel Klehr
0273b4d0ba
perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equals
...
to improve performance by using the db index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-28 14:46:30 +01:00
Ferdinand Thiessen
770e4e5238
Merge pull request #51770 from nextcloud/backport/51501/stable31
...
[stable31] fix: add event status and participant status
2025-03-28 14:35:37 +01:00
John Molakvoæ
fa2b03d759
Merge pull request #51753 from nextcloud/backport/50121/stable31
...
[stable31] fix(theming): enforce theme also for login
2025-03-28 09:36:24 +01:00
SebastianKrupinski
d977d50151
fix: add event status and participant status
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-28 04:34:44 -04:00
Andy Scherzinger
9ea72adb99
Merge pull request #51688 from nextcloud/backport/51490/stable31
...
[stable31] fix(database): Cast users count to integer
2025-03-28 07:42:17 +01:00
Ferdinand Thiessen
be2f75efb8
fix(theming): enforce theme also for login
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-27 11:15:31 +00:00