Commit Graph

16157 Commits (a784bdadcf420a0ceeaeb9f22234b1b8b97177b2)

Author SHA1 Message Date
Robin Appelman a784bdadcf
Merge pull request #56407 from nextcloud/backport/56255/stable32
[stable32] make failed availability check apply in the same request
2025-11-12 22:49:23 +07:00
Maxence Lange 166f43a80f
Merge pull request #55762 from nextcloud/backport/54953/stable32
[stable32] fix(team-api): get all teams details in a single request
2025-11-12 20:25:30 +07:00
Daniel Calviño Sánchez 14aef68eaf
Merge pull request #56393 from nextcloud/backport/52012/stable32-fix-user-collaborators-returned-when-searching-for-mail-collaborators
[stable32] Fix user collaborators returned when searching for mail collaborators
2025-11-12 18:46:20 +07:00
Robin Appelman dbf084054e chore: better type hints for `getAvailability`
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-12 17:45:55 +07:00
Robin Appelman 8b3f4da52f fix: make failed availability check apply in the same request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-11-12 17:45:55 +07:00
Daniel Calviño Sánchez 16c26101d0 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 13:22:25 +07:00
provokateurin 258956e09e fix(AppFramework): Check for responder existence
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-11-12 10:46:36 +07:00
Joas Schilling 826fe1a918
feat(rate-limit): Allow overwriting the rate limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-12 10:55:06 +07:00
Maxence Lange 83badb3427 fix(team-api): get all teams details in a single request
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-11-10 16:55:55 +07:00
Micke Nordin 0db7d64e50 fix(ocm): align discovery process with OCM spec
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-11-10 09:55:19 +07:00
Louis Chmn a8695aef3c feat(EphemeralSessions): Introduce lax period
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-06 10:24:34 +07:00
Joas Schilling cb383571a2
Merge pull request #56220 from nextcloud/backport/56190/stable32
[stable32] fix(activity): do not loop affected userIDs twice
2025-11-06 08:52:54 +07:00
Anna Larch ebeae82305 fix(activity): do not loop affected userIDs twice
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-11-05 12:49:38 +07:00
Joas Schilling 344f84c1d9
fix(jobs): Limit command jobs to known cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-11-05 11:05:36 +07:00
Fiehe Christoph 91434f1893
fix(s3): expose request_checksum_calculation and response_checksum_validation
Fix https://github.com/nextcloud/server/issues/56077

This commit makes the configuration settings 'request_checksum_calculation' and 'response_checksum_validation' of the S3Client from the AWS SDK for PHP configurable.

Signed-off-by: Fiehe Christoph <c.fiehe@eurodata.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-11-03 16:07:08 +07:00
Ferdinand Thiessen 1929cbc4ae refactor(theming): migrate `ThemingDefaults` to `OCP\AppFramework\Services\IAppConfig`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-01 17:14:02 +07:00
provokateurin 27abee1132 fix(Mailer): Log errors
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-10-30 11:03:21 +07:00
Andy Scherzinger 56a79b91a4
Merge pull request #56056 from nextcloud/backport/55471/stable32
[stable32] fix(OCM): align parameter naming with spec and extend OCMProvider
2025-10-28 22:34:21 +07:00
Andy Scherzinger 7c1a16bc15
Merge pull request #55980 from nextcloud/backport/55306/stable32
[stable32] Validate filename when creating file from template
2025-10-28 21:59:40 +07:00
Micke Nordin 55b980bcbd fix(ocm): include provider field in OCMProvider serialization
- Add `provider` to `jsonSerialize()` output of OCMProvider.
- Ensures discovery consumers receive provider identifier along with
  endpoint, version, and resources.

Signed-off-by: Micke Nordin <kano@sunet.se>
2025-10-28 20:22:43 +07:00
Micke Nordin 6a0a31b60b fix(ocm): ensure capabilities are set on OCMProvider from discovery data
- Call `setCapabilities()` with `capabilities` field when available.
- Prevents loss of provider capability information during discovery.

Signed-off-by: Micke Nordin <kano@sunet.se>
2025-10-28 20:22:43 +07:00
Ferdinand Thiessen 866bc8e239 fix(Memcache): ensure global prefix depends on enabled apps
- ensure the prefix is changed when an app is (dis)enabled
- ensure the app ids are included in the hash instead of only the
  version numbers
- ensure hash is deterministic by always use the same order.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-28 16:04:25 +07:00
Joas Schilling 7fbdcbc773
Merge pull request #55977 from nextcloud/backport/55819/stable32
[stable32] fix(federation): Allow outgoing and incoming federation with oCIS federated cloud ids
2025-10-28 08:42:27 +07:00
Joas Schilling 06f6a1f177
Merge pull request #56030 from nextcloud/backport/55989/stable32
[stable32] fix(profiler): Harden profiler writes
2025-10-27 17:03:08 +07:00
Joas Schilling cf84994687 fix(profiler): Harden profiler writes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-27 14:35:57 +07:00
Joas Schilling 130f90d727 fix(bfp): Trim meta data so it can still be stored
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-27 14:12:29 +07:00
Daniel Kesselberg ac1fd94839 fix: validate filename when creating file from template
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-24 10:53:37 +07:00
Joas Schilling 167fa3fd3c fix(federation): Allow outgoing federation with oCIS federated cloud ids
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-24 09:56:23 +07:00
skjnldsv 6c11437295 fix: join accounts_data instead of preferences when searching users
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-10-23 10:12:40 +07:00
Benjamin Gaussorgues 51fce3b158
Merge pull request #55884 from nextcloud/backport/55864/stable32 2025-10-21 17:07:33 +07:00
Maxence Lange ee9d5b96b4 fix(lexicon): switch bool value to non-lazy
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-10-21 12:19:01 +07:00
Maxence Lange 895f2984bf fix(lexicon): execute repair step
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-10-21 13:18:16 +07:00
Andy Scherzinger 9c35c9a441
Merge pull request #55816 from nextcloud/backport/55634/stable32
[stable32] fix(ocm): format notifications
2025-10-17 14:26:18 +07:00
Maxence Lange b9b7931b7c feat(route): globalsiteselector as root url generator
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-10-16 21:56:01 +07:00
Maxence Lange d881ad365e fix(ocm): format notifications
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-10-16 21:17:33 +07:00
Joas Schilling 27838d141d 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:35 +07:00
Andy Scherzinger 4cae924ead
Merge pull request #55763 from nextcloud/backport/54819/stable32
[stable32] fix: iMip reply from outlook.com does not contain organizer property
2025-10-16 10:07:57 +07:00
Andy Scherzinger 6bc2b77ec0
Merge pull request #55292 from nextcloud/backport/55282/stable32
[stable32] fix: create room/resource calendar synchronously
2025-10-16 00:47:21 +07:00
SebastianKrupinski 34f92a05c5 fix: iMip reply from outlook.com does not contain organizer property
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-10-14 19:29:19 +07:00
Côme Chilliet d84f1466e0 fix: Fix crash in files_version about uninitialized property
Fix "Typed property OC\\Files\\Cache\\Cache::$storage must not be accessed before initialization"

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-10-14 18:32:37 +07:00
Daniel Kesselberg 6ee39e6d05
fix: disable mp3 preview provider
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-13 17:54:37 +07:00
Ferdinand Thiessen 919701ce24 fix(Collaboration\UserPlugin): ensure full match is included in results
When searching we need to:
1. check if sharing is limited to groups
  - if yes only include those
  - otherwise continue
2. check if there are restrictions to groups or phonebook
3. check if full match is included

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-13 13:41:56 +07:00
Ferdinand Thiessen b9b42cfa7a feat(Share\IManager): add `matchUserId` method and update docs
Add missing `matchUserId` method for full-match-autocomplete options
and update docs to make it clearer what each options exactly means.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-13 13:41:56 +07:00
Louis Chmn 2ad19b99f9 fix(S3): Only append streams if non-seekable
Later, when we rewind the stream in `writeMultiPart` during retry, both streams were rewinded, so the resulting stream was bigger than expected.

Inspired by https://github.com/aws/aws-sdk-php/blob/master/src/S3/ObjectUploader.php#L136-L146

Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-10 12:43:32 +07:00
Marcel Klehr 552ef44568 fix(FileAccess): Make getAncestorInStorage pass sharding tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-09 07:51:58 +07:00
Marcel Klehr 38f2bf6f98 fix(FileAccess): Try to fix type error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-09 07:51:58 +07:00
Marcel Klehr bb82cff328 fix(FileAccess): Chunk parent query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-09 07:51:58 +07:00
Marcel Klehr 5117f9ab1e fix(FileAccess): Make getByAncestorInStorage sharding ready
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-09 07:51:58 +07:00
Kate 9667e8c7f5
Merge pull request #55326 from nextcloud/backport/55289/stable32 2025-10-07 18:45:51 +07:00
Marcel Klehr d82899e160 fix(TaskProcessing): Increase MAX_TASK_AGE to 6 months
to comply with the EU AI act

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-10-07 06:22:57 +07:00