Commit Graph

15693 Commits (stable31)

Author SHA1 Message Date
Côme Chilliet 93fc060260
Merge pull request #57106 from nextcloud/backport/55813/stable31
[stable31] fix(shares): Fix infinite loop when all shares are invalid
2025-12-16 10:22:56 +07:00
F. E Noel Nfebe 0311fb3e7b
Merge pull request #56970 from nextcloud/backport/56758/stable31
[stable31] fix: Fix orphan shares blocking moving other shares
2025-12-16 00:24:53 +07:00
Côme Chilliet 79d0ed428d fix(shares): Fix infinite loop when hide_disabled_user_shares is yes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-15 19:18:19 +07:00
Côme Chilliet 37b105eff9 feat(log): Add script name and occ command to log details
This will help when troubleshooting issues. For web request we have
 method and url, but for cron and occ currently we have no way to know if
 it’s one or the other and which command.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-15 16:58:53 +07:00
Elizabeth Danzberger f0abd9250f fix(templates): deduplicate provider templates
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
2025-12-12 18:19:28 +07:00
Joas Schilling 0caff489aa
fix(comments): Check comment object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-12-11 07:58:27 +07:00
Côme Chilliet 75171b879a fix: Log missing nodes of shares at debug level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-10 18:25:24 +07:00
Côme Chilliet 7a4d9ecf51 fix: Fix orphan shares blocking moving other shares
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-12-10 18:25:24 +07:00
nfebe e7ce70744d 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-12-04 12:05:01 +07:00
nfebe 8d5dcbce79
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>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-12-03 12:53:39 +07:00
provokateurin e67c8e739e feat(ObjectStore): Allow overriding arguments per bucket
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-12-01 16:44:41 +07:00
provokateurin 3140daa1aa
feat(CertificateManager): Add option to specify the default certificates bundle path
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-12-01 11:57:26 +07:00
Carl Schwan dac253c0a3 feat(profiler): Use gzdecode/gzencode to parse profiles
See 42a80727f9/src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php (L299)

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-11-30 19:23:16 +07:00
Kent Delante 8706dadcf0
Merge pull request #56616 from nextcloud/backport/56565/stable31
[stable31] feat: emit an event when an S3 bucket is created
2025-11-27 10:26:42 +07:00
Sebastian Krupinski 8fc0532be0
Merge pull request #56667 from nextcloud/backport/55476/stable31
[stable31] fix(l10n): do not consider user language when getting the generic one
2025-11-26 10:32:16 +07:00
Richard Steinmetz e429a689d8 fix(l10n): do not consider user language when getting the generic one
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-11-25 15:43:47 +07:00
Kent Delante bf4c094741 feat: emit an event when an S3 bucket is created
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-11-25 20:16:21 +07:00
Louis Chmn 8afe1dd53a 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-25 09:19:09 +07:00
Robin Appelman 6b02bb1366
Merge pull request #56557 from nextcloud/backport/52786/stable31
[stable31] allow configuring multiple object store backends
2025-11-24 17:09:19 +07:00
Robin Appelman d1a760d618
fix: ensure all object store configuration have distict bucket names
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-20 15:36:14 +07:00
Robin Appelman 6d487ac990
fix: make bucket mapper work with new multi-object-store config
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-20 15:36:13 +07:00
Robin Appelman f21dcac9ef
feat: allow object store configuration aliases for easier migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-20 15:36:11 +07:00
Robin Appelman 832c77ab52
feat: add command to get user objectstore config mappings
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-20 15:16:43 +07:00
Robin Appelman ff74df3528
feat: allow configuring multiple objectstore configurations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-20 15:16:39 +07:00
Marcel Müller 35a86d6f96 feat: Add option to update the public key of a user
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-11-19 12:42:58 +07:00
Joas Schilling aa654dca44
fix(unified-search): Register config lexicon of core so the default is working
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-19 09:43:40 +07:00
Côme Chilliet 96ab777817 feat(login): Add rememberme checkbox
Only present if allowed by configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-11-17 14:16:40 +07:00
Côme Chilliet 231e01d252 chore: Improve typing and codestyle in LoginData
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-11-17 14:16:40 +07:00
Benjamin Frueh 563fa568d3 fix: Clear mount cache when file storage changes during move
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
2025-11-13 14:09:36 +07:00
Maxence Lange 822744cc29 fix(team-api): get all teams details in a single request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-11-12 21:21:55 +07:00
Robin Appelman 09089193d2
Merge pull request #56406 from nextcloud/backport/56255/stable31
[stable31] make failed availability check apply in the same request
2025-11-12 22:59:21 +07:00
Daniel Calviño Sánchez f92244d04a
Merge pull request #56385 from nextcloud/backport/52012/stable31
[stable31] Fix user collaborators returned when searching for mail collaborators
2025-11-12 21:37:36 +07:00
Daniel Calviño Sánchez a4bf16e779 fix: Fix user collaborators returned when searching for mail collaborators
The MailPlugin collaborator returned results for both user and mail
collaborators, but it was registered only for mail collaborators. While
it might make sense to move the user results to the UserPlugin instead
that change would be more complex and riskier, so for now the MailPlugin
is now registered for both user and mail collaborators and the results
are limited only to the registered type.

As the plugins are registered only with their class and then resolved
when needed using dependency injection it is not possible (as far as I
know) to provide an explicit parameter in the constructor to
differentiate whether the MailPlugin should return user or mail
collaborators. To overcome this two subclasses are introduced,
MailByMailPlugin and UserByMailPlugin, which just hardcode in their
constructor the collaborator type that their parent MailPlugin must use,
and those subclasses are the ones registered instead of the MailPlugin
(which still contains all the logic).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 21:08:25 +07:00
Robin Appelman edb370d2ac chore: better type hints for `getAvailability`
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-12 17:45:41 +07:00
Robin Appelman 2221c69219 fix: make failed availability check apply in the same request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-12 17:45:41 +07:00
Joas Schilling 6a60d9daf2
feat(rate-limit): Allow overwriting the rate limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-12 10:58:20 +07:00
nfebe 6a1fdf5498 fix: Make TrustedServers optional in RemotePlugin
The federation app is not always installed, causing errors when
TrustedServers is injected as a hard dependency. This change makes
the dependency optional by using nullable types and null-safe
operators, defaulting to false when unavailable.

Modified backport of #55893 which are required for
the stable31 backport to function correctly.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-11 12:09:05 +07:00
nfebe 26c452c6ee fix: Include email when searching share suggestions
Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-11-11 12:09:05 +07:00
nfebe 75179f9520 fix(sharing): Adapt share suggestions to match trusted servers configs
When `show_federated_shares_to_trusted_servers_as_internal` is enabled
but `show_federated_shares_as_internal` is not, filter federated share
suggestions to only include trusted servers. Previously, searching for
an email address would suggest non-trusted federated servers.

Resolved: #54511
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-11-11 12:09:05 +07:00
Louis 770de1c775
Merge pull request #56234 from nextcloud/backport/56215/stable31
[stable31] feat(EphemeralSessions): Introduce lax period
2025-11-06 15:29:13 +07:00
Louis Chmn 41f3ec8d95 feat(EphemeralSessions): Introduce lax period
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-06 10:24:45 +07:00
Joas Schilling 4fe190a76a
fix(jobs): Limit command jobs to known cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-05 13:51:42 +07:00
Daniel Kesselberg fecaddf4cc
fix: validate filename when creating file from template
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-11-04 16:08:49 +07:00
provokateurin 9d456a6988 fix(Mailer): Log errors
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-10-30 11:02:59 +07:00
Joas Schilling 34b7b18297
Merge pull request #56031 from nextcloud/backport/55989/stable31
[stable31] fix(profiler): Harden profiler writes
2025-10-28 10:50:10 +07:00
Joas Schilling 2c0d6d9cd1
Merge pull request #55976 from nextcloud/backport/55819/stable31
[stable31] fix(federation): Allow outgoing and incoming federation with oCIS federated cloud ids
2025-10-28 08:42:16 +07:00
Joas Schilling b821573806
fix(profiler): Harden profiler writes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-27 16:36:57 +07:00
Joas Schilling 580dbeadbc fix(bfp): Trim meta data so it can still be stored
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-27 14:12:15 +07:00
Joas Schilling caa89fb548 fix(federation): Allow outgoing federation with oCIS federated cloud ids
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-24 09:56:08 +07:00
SebastianKrupinski 9648a3f37e fix: iMip reply from outlook.com does not contain organizer property
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-10-23 12:14:00 +07:00