Commit Graph

7331 Commits (9d290ada3249100dc25ed78bc9b0c29907ea81f7)

Author SHA1 Message Date
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
yemkareems 67eb432cb8
Merge branch 'stable30' into backport/52880/stable30 2025-08-26 18:21:38 +07:00
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 +07:00
yemkareems d66c29ab9f
fix: composer run cs:fix
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-08-26 10:13:10 +07:00
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 +07: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 +07:00
Benjamin Gaussorgues f6504e7f02
Merge pull request #54263 from nextcloud/backport/54233/stable30 2025-08-07 16:03:53 +07: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 +07: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 +07: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 +07:00
Kate d4ab8912a6
Merge pull request #54132 from nextcloud/backport/51602/stable30 2025-08-05 22:12:22 +07: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 +07: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 +07:00
SebastianKrupinski 0641006b02 fix: check if properties exist before using them
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-07-28 12:03:50 +07:00
諏訪子 37c62842c4 fix(settings): fix test
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:25 +07:00
諏訪子 3817a4b445 fix(settings): change Mastodon only URI to webfinger
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:23 +07: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 +07: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 +07: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 +07: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 +07:00
Joas Schilling cfa2eddd90
test: Speed up comments test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-21 08:31:25 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Ferdinand Thiessen 832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +07: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 +07:00
Benjamin Gaussorgues b6b9c3d211
Merge pull request #52232 from nextcloud/backport/52223/stable30 2025-04-24 14:23:20 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 6f5fc70df4
Merge pull request #52077 from nextcloud/backport/52075/stable30 2025-04-11 13:40:32 +07:00
Joas Schilling 32d30f8f67
fix(federation): Fix returning "no display name" after cache result
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-10 12:37:59 +07:00
skjnldsv 71dfb43f8f fix(files_sharing): fix share creation error handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-09 15:22:18 +07:00
Joas Schilling 2593702243
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-09 13:57:24 +07:00
Benjamin Gaussorgues bad8f54232
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 11:30:15 +07:00
Christoph Wurst 181561771b
fix(session): Only mark sessions of permanent tokens as app passwords
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-04-03 10:15:11 +07:00
Richard Steinmetz 550d8d9fce
fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 12:23:45 +07:00
Julius Knorr 6d5b5a2cc1 test: Adapt tests to properly use valid email addresses
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-30 01:35:25 +07:00