Commit graph

15472 commits

Author SHA1 Message Date
F. E Noel Nfebe
edfa015058
Merge pull request #52401 from nextcloud/backport/52299/stable31
[stable31] refactor: Thumbnail Generator logging and tests
2025-04-24 20:53:44 +02:00
Misha M.-Kupriyanov
aa9c1ddb09 fix(previews): avoid large file downloads for remote movie storage
Prevent downloading entire movie files from remote storage (e.g., S3)
when the 'moov atom' is located at the end of the file.

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-04-24 12:52:47 +00:00
nfebe
73c447027e refactor: Thumbnail Generator logging and tests
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-24 08:49:16 +00:00
Andy Scherzinger
68d4864cf8
Merge pull request #51996 from nextcloud/backport/51927/stable31
[stable31] fix(systemtags): emit assign and unassign bulk tagging events
2025-04-24 10:00:49 +02:00
Joas Schilling
3923eaba04 feat(profile): Add an API to get the profile field data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-24 00:50:11 +02:00
Andy Scherzinger
b41ba29d19
Merge pull request #52387 from nextcloud/backport/51994/stable31
[stable31] fix(federation): allows equal signs in federation id
2025-04-24 00:36:17 +02:00
Andy Scherzinger
f1438a7a03
Merge pull request #52237 from nextcloud/backport/50465/stable31
[stable31] fix: Check that user actually can validate password for js
2025-04-23 23:59:45 +02:00
John Molakvoæ (skjnldsv)
f249a487ff fix(systemtags): emit assign and unassign bulk tagging events
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-23 23:14:57 +02:00
zorn-v
bd59116171 Check that user actually can validate password for js
Signed-off-by: zorn-v <zorn7@yandex.ru>
2025-04-23 22:35:52 +02:00
Maxence Lange
e82cdba53f fix(federation): allows equal signs in federation id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-23 19:23:52 +00:00
Anna Larch
d393e98c9e fix(objectstorage): add retry attempts to S3 connection
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-04-23 18:40:23 +00:00
Ferdinand Thiessen
1be7c65047
Merge pull request #52233 from nextcloud/backport/52223/stable31
[stable31] feat(security): add configurable IPv6 subnet for BFP and throttling
2025-04-23 13:54:15 +02:00
nfebe
84469a42af feat: add logging to preview generation
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-22 23:43:58 +02:00
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
Benjamin Gaussorgues
a8bcff1388 feat(ip): add configurable IPv6 subnet for BFP and throttling
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-17 07:03:46 +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