Commit graph

7338 commits

Author SHA1 Message Date
Salvatore Martire
8731ad4a02 fix: add X-User-Id header to logout response before clearing the user session
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2026-02-09 10:49:02 +00:00
Joas Schilling
26d7e32786
fix(l10n): Fix language selection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-01-14 18:05:23 +01:00
provokateurin
9e0389058d
feat(CertificateManager): Add option to specify the default certificates bundle path
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-12-01 11:59:50 +01:00
Robin Appelman
5cda1696d1 fix: ensure all object store configuration have distict bucket names
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-30 21:54:48 +01:00
Robin Appelman
349ca3056c fix: make bucket mapper work with new multi-object-store config
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-30 21:54:48 +01:00
Robin Appelman
58fe27aa5b feat: allow object store configuration aliases for easier migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-30 21:54:48 +01:00
Robin Appelman
b0c79ab896 feat: allow configuring multiple objectstore configurations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-30 21:54:48 +01:00
Daniel Kesselberg
9ff15ad4f4
fix: validate filename when creating file from template
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-11-04 16:23:17 +01:00
Andy Scherzinger
f407d42e94
Merge pull request #55168 from nextcloud/backport/55164/stable30
[stable30] fix(TaskProcessing): Cache task types by user language
2025-11-02 20:06:53 +01:00
Robin Appelman
bdd96f8124 feat: move primary object store configuration to a single place
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-30 10:38:13 +02:00
provokateurin
1fd72c9fe8
fix(core): Stop abusing the cache for avatar upload
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-26 19:34:58 +02:00
Benjamin Gaussorgues
8fbd7633fe
feat(db): add SSL/TLS support for PostgreSQL
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-09-22 15:03:46 +02:00
Marcel Klehr
984f6023aa fix(TaskProcessing): Cache task types by user language
fixes https://github.com/nextcloud/assistant/issues/357

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-18 10:34:08 +02:00
Carl Schwan
5b49932b30 fix(auth): Fix invalid unique constraint violation catch
UniqueConstraintViolationException is no longer throw but instead a
OCP\DB\Exception is.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-15 18:04:18 +02:00
provokateurin
6c86622070
fix(deps): Update @nextcloud/vue to v8.29.2
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-31 16:30:45 +02:00
yemkareems
67eb432cb8
Merge branch 'stable30' into backport/52880/stable30 2025-08-26 18:21:38 +05:30
Côme Chilliet
75f9eda087 fix(tests): Fix fopen in mock returning null which is not a valid return
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-26 08:36:15 +02:00
yemkareems
d66c29ab9f
fix: composer run cs:fix
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-08-26 10:13:10 +05:30
Robin Appelman
9cef07386d refactor: split off value casting out of config:system:set command
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 04:21:24 +00:00
Joas Schilling
1699cb70f0
ci: Update testing certificates that expired after 10 years
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 13:34:17 +02:00
Benjamin Gaussorgues
f6504e7f02
Merge pull request #54263 from nextcloud/backport/54233/stable30 2025-08-07 16:03:53 +02:00
Stephan Orbaugh
d308e61847
Merge pull request #54251 from nextcloud/backport/54203/stable30
[stable30] fix: fix oci string length with empty strings
2025-08-07 15:21:44 +02:00
Côme Chilliet
a79ced0f98
chore(encryption): Adapt tests to code changes
Also pulled tests refactors from master to avoid conflicts

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-07 10:57:07 +02:00
Daniel Calviño Sánchez
775124af5f fix: Fix button alignment for email templates in Outlook
The button group generated in email templates is expected to show the
two buttons side by side in a single row, but in Outlook both buttons
took the full width of the wrapper row and each button was shown in
its own row. To solve that the buttons are wrapped in an additional
table that shows each button in its own cell, limiting their width and
showing them in a single row; this is done conditionally and only
applied in Outlook, so it should not affect other clients.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-08-06 19:50:55 +02:00
Kate
d4ab8912a6
Merge pull request #54132 from nextcloud/backport/51602/stable30 2025-08-05 22:12:22 +02:00
Robin Appelman
fead082998 fix: fix oci string length with empty strings
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-05 10:18:47 +00:00
Côme Chilliet
3dac67991b chore(tests): Adapt DefaultShareProviderTest to new constructor parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:22:33 +00:00
SebastianKrupinski
0641006b02 fix: check if properties exist before using them
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-07-28 12:03:50 -04:00
諏訪子
37c62842c4 fix(settings): fix test
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:25 +00:00
諏訪子
3817a4b445 fix(settings): change Mastodon only URI to webfinger
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:23 +00:00
Arthur Schiwon
cc4699aea1 fix: unbloc ffmpeg on some broken videos
Co-authored-by: Joas Schilling <coding@schilljs.com>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-03 10:47:19 +02:00
Louis Chemineau
79a0cdade4
test: add test that object store folder copy preserves folder size
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-06-02 12:00:59 +02:00
Stephan Orbaugh
0d394fc9e9
Merge pull request #52988 from nextcloud/backport/50157/stable30
[stable30] feat(UserMountCache): Emit events for added, removed and updated mounts
2025-05-27 13:24:15 +02:00
provokateurin
a8b96fd4f8
feat(UserMountCache): Emit events for added, removed and updated mounts
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-26 08:34:45 +02:00
Joas Schilling
cfa2eddd90
test: Speed up comments test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-21 08:31:25 +02:00
Côme Chilliet
383ed0089d chore: Add an autoload.php file for tests relying on core class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-19 15:44:05 +00: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
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
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
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
Joas Schilling
e12b2d4b4a
fix(loginflow): Fix type error when password could not be decrypted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-05 09:46:31 +02:00
Ferdinand Thiessen
832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02:00
Joas Schilling
f0927e1356
fix(occ): Fix autocompletion of config:app:* commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 15:01:54 +02: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
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
Louis Chemineau
9bed21a8d7 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 16:18:42 +02:00
John Molakvoæ
6f5fc70df4
Merge pull request #52077 from nextcloud/backport/52075/stable30 2025-04-11 13:40:32 +02:00