Commit graph

7324 commits

Author SHA1 Message Date
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
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 +02: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 +00: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 +02: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 +02: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 +02: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 +02: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 +01:00
Julius Knorr
ebe943207d fix: Do not build encrypted password if there is none
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-03-28 15:18:03 +01:00
Christoph Wurst
cf130f43d7
Merge pull request #51538 from nextcloud/backport/51380/stable30
[stable30] fix(cardav): only show users from enabled addressBooks in contacts menu
2025-03-26 14:54:36 +01:00
Ferdinand Thiessen
d0402dee06 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-24 11:46:43 +00:00
Hamza Mahjoubi
e55a375ae3 fix(cardav): only show useres from enabled addressBooks in contacts menu
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-21 15:14:46 +01:00
Ferdinand Thiessen
4d9e4d8bcf
test: fix CI when running Karma tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-17 20:33:46 +01:00
Ferdinand Thiessen
86d2c5cbc8
fix(mime-types): adjust compiled mime types and sign
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-12 15:29:25 +01:00
Ferdinand Thiessen
c0003fbd9c
fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:52:07 +01:00