Commit Graph

5961 Commits (3140daa1aa5156ea0b22208dbcef0c5464252cc0)

Author SHA1 Message Date
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
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
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 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
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
Git'Fellow 63fb254b6b
Merge pull request #55962 from nextcloud/backport/55955/stable31
[stable31] fix(dav): allow multiple link shares token in session
2025-11-15 13:11:20 +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
Daniel Calviño Sánchez a38fd8f976 test: Rename data providers to match the name of their tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 21:08:25 +07:00
Daniel Calviño Sánchez 6aa0fb70b2 test: Replace magic value with named constant of share type
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 21:08:25 +07:00
Daniel Calviño Sánchez 1d9e5d813d test: Rename parameters to show that they are expected values
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 21:08:25 +07:00
Daniel Calviño Sánchez 792506a736 test: Fix parameter documentation
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 21:08:25 +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 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
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
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
skjnldsv 68727491e0 fix(dav): allow multiple link shares token in session
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-10-23 16:16:37 +07:00
Joas Schilling 37a513f79a fix(l10n): Don't fallback from 3-letter languages to 2-letter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-16 11:43:22 +07:00
Ferdinand Thiessen 970122fa92
test: adjust test cases
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-13 23:05:45 +07:00
Thomas Citharel cad9728db7
feat(test-case): allow to use PHPUnit Group attributes to mark tests requiring database
Before that, only the annotation @group('DB') is possible to mark test classes as requiring the database. Now the \PHPUnit\Framework\Attributes\Group attribute can be used as long as PHPUnit 10+ is used.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-10-06 15:10:37 +07:00
Marcel Müller f23bcc5580 fix(appstore): Make appstore timeout configurable
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-09-30 15:18:45 +07:00
Robin Appelman 7162c3e8ed
feat: move primary object store configuration to a single place
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-24 18:39:21 +07:00
Andy Scherzinger 5a0ea20850
Merge pull request #55250 from nextcloud/backport/55142/stable31
[stable31] fix: Allow hyphen in appid
2025-09-23 08:22:06 +07:00
Benjamin Gaussorgues 98d30feb95
feat(db): add SSL/TLS support for PostgreSQL
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-09-22 14:59:54 +07:00
Côme Chilliet 315c0ea59c
fix: Allow hyphen in appid
It’s rare but exists for some apps not in the appstore.
Also added unit tests for cleanAppId and fixed small issues with it.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-22 10:03:08 +07:00
Marcel Klehr 62e63730df 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 09:36:19 +07:00
SebastianKrupinski e25d0dbf2d fix: aliases and capitalization of emails
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-16 22:05:47 +07:00
Andy Scherzinger 26f455b178
Merge pull request #55126 from nextcloud/backport/55122/stable31
[stable31] fix: Dispatch favorite event with an actual path
2025-09-15 18:46:43 +07:00
Louis Chemineau 939e08895f
fix(TagsTest): Declare `rootFolder` property
It was not caught by the CI on master, but is blocking in the backports.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 17:09:11 +07:00
Louis Chemineau d7775cba6a
fix: Dispatch favorite event with an actual path
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612, but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.

I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.

Fix https://github.com/nextcloud/activity/issues/2134

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 16:52:28 +07:00
Carl Schwan 47ce9c4c7b 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 13:37:35 +07:00
Côme Chilliet ae080bf8d8 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:42:58 +07:00
Joas Schilling 953a55c1db ci: Update testing certificates that expired after 10 years
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-25 11:18:59 +07:00
Misha M.-Kupriyanov 815003676e test(SearchComposerTest): add unit test for getProviders with mixed order values
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +07:00
Misha M.-Kupriyanov 407f7a1c74 test(SearchComposerTest): add unit tests for getProviders with allowed providers restriction and empty configuration
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +07:00
Misha M.-Kupriyanov 291c35cc47 test(SearchComposerTest): add test for provider icon generation
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +07:00
Misha M.-Kupriyanov dae4cfbd21 test(SearchComposerTest): add unit test for getProviders with multiple providers
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +07:00
Misha M.-Kupriyanov 09172cfe69 test(SearchComposerTest): add test for handling unknown search provider
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +07:00
Misha M.-Kupriyanov 5339e6115a test(SearchComposerTest): add unit tests for SearchComposer
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +07:00
Stephan Orbaugh b09dfb03b7
Merge pull request #54252 from nextcloud/backport/54203/stable31
[stable31] fix: fix oci string length with empty strings
2025-08-07 15:21:33 +07:00
Marcel Müller 5e6532d467 feat: Cache user keys
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-08-05 19:05:14 +07:00
John Molakvoæ 2792cd8c60
Merge pull request #54130 from nextcloud/backport/51602/stable31 2025-08-05 15:05:17 +07:00