Louis
5bf67fd206
Merge pull request #56745 from nextcloud/artonge/feat/files_sharing/support_priority_in_template_providers
...
feat(files_sharing): Support priority in public template providers
2025-12-04 12:58:44 +07:00
Louis Chmn
10b82c8bf8
feat(files_sharing): Support priority in public template providers
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-12-04 10:59:58 +07:00
Nextcloud bot
e5367e11ba
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-12-04 00:14:05 +07:00
Daniel Kesselberg
f977a7fec6
fix(s3): make data integrity protections opt-in
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-12-02 21:03:26 +07:00
Joas Schilling
7a5c79b0f2
Merge pull request #56629 from nextcloud/carl/autoloader-bump
...
chore: Bump autoloader files for new composer version
2025-12-02 16:58:01 +07:00
F. E Noel Nfebe
68b9108ca6
Merge pull request #55811 from nextcloud/fix/public-share-group-exclusion-access
...
fix(sharing): Allow public share access for everyone
2025-12-02 15:41:59 +07:00
Benjamin Gaussorgues
86c2dd467d
Merge pull request #56758 from nextcloud/fix/fix-orphan-share-blocking-moves
2025-12-02 10:45:40 +07:00
Carl Schwan
d877262e07
chore: Bump autoloader files for new composer version
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-02 10:32:44 +07:00
nfebe
6bccaf778a
fix(sharing): Allow public share access for everyone
...
When a logged-in user accesses a public share link in the same browser,
the system was incorrectly checking if that user's groups were excluded
from creating link shares. This caused share not found errors for users
in excluded groups, even though public shares should be accessible to anyone
with the link.
The group exclusion setting (`shareapi_allow_links_exclude_groups`) is
intended to restrict share creation, not share access. Public shares
are meant to be anonymous and accessible regardless of the viewer identity
or group membership.
We now check the exclusion for the share creator and not the viewer.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-12-02 09:45:18 +07:00
Côme Chilliet
f453411d59
fix: Log missing nodes of shares at debug level
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-02 09:33:07 +07:00
Kate
1b14fff939
Merge pull request #56772 from nextcloud/feat/object-store/per-bucket-arguments-override
2025-12-01 17:43:55 +07:00
provokateurin
2ab29a69e0
feat(ObjectStore): Allow overriding arguments per bucket
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-12-01 16:06:05 +07:00
Ferdinand Thiessen
15229e0b4e
fix(Memcache): use different cache key when in maintenance mode
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-01 14:43:23 +07:00
provokateurin
0c3a872908
feat(CertificateManager): Add option to specify the default certificates bundle path
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-12-01 10:47:23 +07:00
Côme Chilliet
8d64e076ee
fix: Fix orphan shares blocking moving other shares
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-01 09:43:39 +07:00
Andy Scherzinger
3da9905c8f
Merge pull request #56717 from nextcloud/enh/noid/taskpro-optional-watermarking
...
Add a boolean 'addWatermarking' attribute to taskprocessing tasks
2025-11-28 15:40:35 +07:00
Anna Larch
ace9ba487e
fix(logger): add back lost params for logger methods
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-11-27 13:44:07 +07:00
Julien Veyssier
b4f7fe2cb6
feat(taskprocessing): add a boolean 'includeWatermark' to taskprocessing tasks and pass it to ISynchronousWatermarkingProvider::process
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-11-27 11:32:08 +07:00
Nextcloud bot
590d83993b
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-27 00:13:37 +07:00
Louis Chmn
73c6b17fae
fix(View): Normalize path in `getAbsolutePath`
...
This allow to match files more consistently in HookConnector::getNodeForPath
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-25 19:30:53 +07:00
Louis Chmn
b344b5323d
fix(collaboration): Replace NonExisting* check on `NodeDeletedEvent` by a try/catch
...
Deleted nodes are always non existing, but some of them have a fileInfo.
This ensure that we still run the cleanup but in a safe way.
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-25 19:30:53 +07:00
Sebastian Krupinski
fac380fb88
Merge pull request #55476 from nextcloud/fix/l10n/generic-language-no-user
...
fix(l10n): do not consider user language when getting the generic one
2025-11-25 10:42:56 +07:00
Louis
0b3041586b
Merge pull request #55981 from nextcloud/artonge/fix/encryption/increment_lastChunkNr
...
fix(encryption): Increment `lastChunkNr` when size is off
2025-11-25 10:18:43 +07:00
nfebe
40246d9a19
fix(sharing): Add isTrustedServer flag to lookup results
...
When `show_federated_shares_to_trusted_servers_as_internal` is enabled,
lookup server results were being filtered out because they lacked the
`isTrustedServer` flag. This adds the flag to lookup results by:
- Injecting TrustedServers service into LookupPlugin
- Adding `server` and `isTrustedServer` fields to each lookup result
- Updating tests to reflect new structure
This ensures lookup results from trusted servers appear in internal
sharing while non-trusted servers are correctly filtered out.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-24 23:32:40 +07:00
Joas Schilling
00e1264ade
Merge pull request #56416 from nextcloud/fix/clear-mount-cache-on-storage-change
...
fix: Clear mount cache when file storage changes during move
2025-11-24 14:03:41 +07:00
Kent Delante
96672e1c4d
feat: emit an event when an S3 bucket is created
...
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-11-24 19:37:18 +07:00
Andy Scherzinger
9e2f07b7d4
Merge pull request #56395 from nextcloud/carl/cache-bucket-exists
...
perf(s3): Cache whether bucket exists
2025-11-24 12:13:27 +07:00
Nextcloud bot
5549200851
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-23 00:13:36 +07:00
Louis Chmn
30d567fd0e
fix(encryption): Increment lastChunkNr when size is off
...
When computing the unencrypted file size, we need the size of the last encrypted chunk as its size is usually not the regular 8192 bits.
To avoid reading the whole file, we seek directly to that last chunk based on the expected file size. When the expected file size is smaller than the actual one, we have a logic in place to continue reading until we reach the end of the file.
In that logic, we forgot to increment the `$lastChunkNr` which is important when we later check the signature of the chunk.
This commit adds that missing increment.
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-21 17:34:19 +07:00
Carl Schwan
a228ffa641
refactor(s3): Readability
...
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2025-11-20 16:50:14 +07:00
Carl Schwan
d4356e6491
refactor(ServerVersion): Add missing type hinting
...
And mark the class as consumable and readonly.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-20 16:48:26 +07:00
Tobias Kaminsky
6f0537b4e9
Merge pull request #56494 from nextcloud/carl/result-improv
...
Improve IResult
2025-11-20 15:38:17 +07:00
Benjamin Frueh
989b75ee43
fix: Clear mount cache when file storage changes during move
...
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
2025-11-20 09:15:28 +07:00
Nextcloud bot
d400b38000
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-20 00:14:17 +07:00
nfebe
3030783785
feat(objectstore): add configurable S3 retry attempts
...
Add retriesMaxAttempts parameter to S3 objectstore configuration
to allow customization of AWS SDK retry behavior for handling
unreliable network conditions or proxy issues.
Defaults to 5 retries (AWS SDK default) if not specified.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-19 16:17:43 +07:00
Marcel Müller
8e04afc2b1
Merge pull request #56451 from nextcloud/feat/noid/update-user-keys
...
feat: Add option to update the public key of a user
2025-11-19 13:42:30 +07:00
Carl Schwan
90f4b98424
refactor(IResult): Un-deprecate fetch and fetchAll
...
But still add a note that the new methods are preferred.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-19 10:53:03 +07:00
Marcel Müller
234f183f8e
feat: Add option to update the public key of a user
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-11-19 10:51:43 +07:00
Nextcloud bot
2d9d612ec1
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-19 00:13:53 +07:00
Robin Appelman
9fcc2937aa
Merge pull request #56515 from nextcloud/s3-meta-encode
...
Encode s3 metadata as base64 if needed
2025-11-18 22:23:24 +07:00
Robin Appelman
a7d130c598
Revert "fix(ObjectStoreStorage): Encode original-path in writeStream by @frabe1579"
...
This reverts commit 4b4b39e7ec .
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-18 19:53:17 +07:00
Carl Schwan
503a65ddd0
refactor: Run rector
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-18 17:45:54 +07:00
Carl Schwan
3682dbbf5e
feat(result): Update result wrapper with new doctrine methods
...
- fetch is replaced with fetchAssociative/fetchNumeric/fetchOne with
better type hinting
- Same with fetchAll
- And add iterateAssociative/iterateNumeric which are nicer to use than
a `while ($row = $result->fetch()) {}`
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-18 17:45:13 +07:00
Robin Appelman
8194be795d
fix: encode s3 metadata as base64 if needed
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-18 16:06:57 +07:00
Joas Schilling
7c870a8f67
fix(db)!: Deprecate JSON fields due to problems with querying and selecting
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-18 11:58:33 +07:00
Joas Schilling
60bfab2421
fix(db): Fix Oracle JSON handling
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-18 11:58:33 +07:00
Joas Schilling
4676b12a32
fix(db): Fix comparing JSON data in MySQL and MariaDB
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-18 11:58:32 +07:00
Joas Schilling
fb8caecbb0
fix(db): Fix JSON handling in WHERE statements for postgres
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-18 11:58:31 +07:00
Nextcloud bot
83a0e8a7a5
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-11-18 00:14:24 +07:00
Stephan Orbaugh
3a26574f29
Merge pull request #56243 from nextcloud/fix/noid/share-permissions-attribute
...
Fix potentially broken shares from the past
2025-11-17 14:07:49 +07:00