Commit graph

15163 commits

Author SHA1 Message Date
Christoph Wurst
7b38b3049f fix(log): map all warnings to warn log level, notice to info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-05-27 06:22:44 +00:00
Robin Appelman
fe29175144
Merge pull request #52884 from nextcloud/backport/52873/stable30
[stable30] fix: improve error message when cache rename source can't be found
2025-05-25 16:50:16 +02:00
Kate
4d63308cbf
Merge pull request #52990 from nextcloud/backport/52972/stable30 2025-05-23 14:31:24 +02:00
Joas Schilling
e269df3bc8 fix: Fix warning when crash reporter fails to get loaded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-20 20:30:19 +00:00
provokateurin
8ed7fdafaf
fix(SetupManager): Include home and root providers when registering mounts
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-20 15:14:08 +02:00
Akhil
bdc3521619 fix: Throw exception in PreviewManager when preview is not available
Signed-off-by: Akhil <akhil@e.email>
2025-05-20 11:32:54 +00:00
Kate
119727d74a
Merge pull request #52759 from nextcloud/backport/49352/stable30 2025-05-19 06:44:24 +02:00
Robin Appelman
09e1ecd15b
Merge pull request #52867 from nextcloud/backport/51603/stable30
[stable30] Add command to list orphan objects
2025-05-16 21:36:28 +02:00
Louis
921c98e4df
Merge pull request #52696 from nextcloud/backport/49903/stable30 2025-05-16 16:23:56 +02:00
Daniel
4f583f073c
Merge pull request #52881 from nextcloud/backport/50234/stable30
[stable30] fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
2025-05-16 13:17:22 +02:00
Daniel
327ce31c66
Merge pull request #52814 from nextcloud/backport/52798/stable30
[stable30] fix: log requests exceeding the rate limiting
2025-05-16 13:11:52 +02:00
Christoph Wurst
87dcb67da4
Merge pull request #52803 from nextcloud/backport/52782/stable30
[stable30] feat(log): Log the request id sent with the request
2025-05-16 10:59:34 +02:00
Robin Appelman
a4f0a9c7ca fix: improve error message when cache rename source can't be found
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 16:34:39 +00:00
Robin Appelman
86206e9bac fix: keep IObjectStoreMetaData in private namespace for backports
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 18:00:35 +02:00
Joas Schilling
b6a8287ce1 fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-15 17:52:02 +02:00
Robin Appelman
ca6e59c820
Merge pull request #52824 from nextcloud/backport/52775/stable30
[stable30] fix unjailedroot of nested jails if there are other wrappers in between
2025-05-15 14:57:11 +02:00
Robin Appelman
9da4ebd650 feat: add command to list objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:13:06 +02:00
Robin Appelman
042934a99f feat: add command to get object metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 14:13:06 +02:00
Robin Appelman
855f3f1b4f
Merge pull request #52763 from nextcloud/backport/52706/stable30
[stable30] feat: add more encryption checks to info:file
2025-05-15 14:05:34 +02:00
Robin Appelman
b253b70d16
Merge pull request #52761 from nextcloud/backport/52707/stable30
[stable30] fix: throw a better error if we can't get the encrypted header size
2025-05-15 14:03:07 +02:00
Robin Appelman
195358eb8e fix: fix unjailedroot of nested jails if there are other wrappers in between
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-14 20:08:02 +02:00
Robin Appelman
e5aabded60 test: add test for nested cache jail unjailedroot
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-14 20:06:56 +02:00
Daniel Kesselberg
0edd50647e fix: log requests exceeding the rate limiting
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-14 12:55:05 +00:00
Côme Chilliet
01e2e30767 fix(log): Only log client request id if present, and at the end
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 08:07:46 +00:00
Côme Chilliet
acf03a2389 feat(log): Log the request id sent with the request
This should help matching client logs with server logs, hopefully.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 08:07:45 +00:00
Robin Appelman
f2798bf0d4 fix: improve handling of newFolder race condition handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 11:59:28 +00:00
Robin Appelman
fa135d9535 fix: throw a better error if we can't get the encrypted header size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 14:14:59 +02:00
Robin Appelman
0fe56ce669 feat: add more encryption checks to info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:27:29 +00:00
Robin Appelman
87a4bff4ee chore: cleanup leftover debug statement
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:59:53 +02:00
Robin Appelman
eade5703ba fix: get object size from stream where possible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:59:47 +02:00
Robin Appelman
6632669157 fix: don't perform the extra buffering in s3 stream write when the stream size is known
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:58:34 +02:00
Robin Appelman
b1ad63666f fix: use php://temp instead of php://memory for multi-part upload buffer
this should reduce potential memory issues if the limit is set very high

Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-12 11:58:23 +02:00
Robin Appelman
697a20ef2a fix: restore updated encrypted version when copying versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-08 18:57:17 +00:00
Louis Chemineau
a7dcc5ce33
fix(blurhash): Use preview API to generate the previews
This allows to benefit from all the checks done by the preview API.

This also use the newly introduced `cacheResult` argument to limit disk usage.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 14:58:12 +02:00
Louis Chemineau
f7315ef008 feat(previews): Support in memory preview request
This allows callers to use the API without increasing the disk usage.

Example: blurhash generation, where we request a preview for all uploaded pictures, but don't want to necessarily store that preview.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 12:19:21 +00:00
Ferdinand Thiessen
832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02:00
John Molakvoæ
c4865cb7a4
Merge pull request #52523 from nextcloud/fixIncParam30 2025-04-30 12:24:19 +02:00
Luka Trovic
03d11b3980 feat(admin_audit): write admin audit log for login failed
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-04-29 20:07:19 +02:00
Git'Fellow
b751eea309 fix(JSResourceLocator): fix incorrect parameter being used
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-04-29 19:08:23 +02:00
Ferdinand Thiessen
588b191f3d fix(32bit): use PHP_INT_MAX where needed
* Typo from https://github.com/nextcloud/server/pull/52392

`0xFFFF` is only 2 bytes, but we need either `0xFFFFFFFF` or maybe a bit
easier to read `PHP_INT_MAX`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-28 19:23:37 +00:00
Ferdinand Thiessen
b27d92537e fix(32bit): make pack compatible with 32bit PHP
The `P` formatter is 64bit only - we need to manually pack the 64bit.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-28 19:23:37 +00:00
Côme Chilliet
3646da59f3 fix: Fix copying to the root of another mountpoint
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-04-28 10:23:21 +00:00
Joas Schilling
c0072b8f10 fix(config): Censor more app configs in system report
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 11:03:57 +00:00
Benjamin Gaussorgues
b6b9c3d211
Merge pull request #52232 from nextcloud/backport/52223/stable30 2025-04-24 14:23:20 +02:00
Benjamin Gaussorgues
db71a2b2c9
feat(ip): add configurable IPv6 subnet for BFP and throttling
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-24 09:41:32 +02:00
Andy Scherzinger
344e282039
Merge pull request #52381 from nextcloud/backport/52361/stable30
[stable30] fix(objectstorage): add retry attempts to S3 connection
2025-04-23 22:55:18 +02:00
Andy Scherzinger
7322e16eb2
Merge pull request #52386 from nextcloud/backport/51994/stable30
[stable30] fix(federation): allows equal signs in federation id
2025-04-23 22:53:54 +02:00
Andy Scherzinger
0e7f928ccc
Merge pull request #52238 from nextcloud/backport/50465/stable30
[stable30] fix: Check that user actually can validate password for js
2025-04-23 22:32:49 +02:00
Maxence Lange
c3f431d4fe fix(federation): allows equal signs in federation id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-23 19:23:40 +00:00
Anna Larch
cae5c4f02b fix(objectstorage): add retry attempts to S3 connection
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-04-23 18:40:07 +00:00