Commit Graph
23878 Commits
Author SHA1 Message Date
VicDeo b120adb930 Do not expect FQDN in federated user id 2026-09-22 18:33:54 +02:00
Alex Ababii b69142157c fix(collaboration): restricted endpoints for collaboration service 2026-09-22 17:11:56 +02:00
dependabot[bot] b803e31336 build(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/sync/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-22 17:11:08 +02:00
dependabot[bot] 390f2e367a build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.70.0 to 0.71.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.70.0...zpages/v0.71.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-version: 0.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-22 16:30:05 +02:00
Pascal Bleser b8234f81d9 Merge pull request #3521 from pbleser-oc/feat/add-service-to-proxy-metrics
feat(proxy): add per-service metrics to the proxy service
2026-09-22 14:44:04 +02:00
Ralf Haferkamp 72a70c56ae chore: bump golangci-lint to latest release 2026-09-22 14:37:49 +02:00
Ralf Haferkamp 51cf668eaa chore: bump bingo to 0.10.0 2026-09-22 14:37:49 +02:00
Ralf Haferkamp ef97f41bac chore: bump golang build image to go 1.26 2026-09-22 14:37:49 +02:00
Viktor Scharf 2ebd9635c3 chore: bump version to 8.0.1 (#3548) 2026-09-22 13:50:56 +02:00
dependabot[bot] 9dbde7952d build(deps): bump github.com/olekukonko/errors from 1.2.0 to 1.3.0
Bumps [github.com/olekukonko/errors](https://github.com/olekukonko/errors) from 1.2.0 to 1.3.0.
- [Commits](https://github.com/olekukonko/errors/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/errors
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-21 10:28:36 +02:00
Andre Duffeck 65741f00bf Merge pull request #3556 from aduffeck/index-space-auth-session
Use an auth.Session for indexing spaces
2026-09-21 10:27:21 +02:00
Andre Duffeck 4e736079d9 Merge pull request #3569 from NickWalters/fix/collaboration-extension-case
fix(collaboration): match WOPI app extensions without case
2026-09-21 10:14:03 +02:00
André Duffeck e3e7465d2c Bump reva 2026-09-21 09:44:58 +02:00
Nick Walters bbebdf95ec fix(collaboration): match WOPI app extensions without case
The WOPI discovery response lists its extensions in lower case, and
OpenInApp looks them up with the extension of the file as it is on disk.
So a "report.DOCX" found no app url while a "report.docx" opened, and
the web UI reported that it could not contact the application, which
reads like the editor is down.

The extensions now go into the map in lower case and the lookup folds
the case as well, so both ends match whatever the app publishes. The log
line and the error also name the extension, because neither said which
file type had no app.

Fixes opencloud-eu/opencloud#3449
2026-09-21 00:55:31 +08:00
Viktor Scharf f293031e40 api-test: add CLI test for reindexing all spaces including disabled (#3560) 2026-09-18 17:22:57 +02:00
André Duffeck be3c7b674e Fix test 2026-09-18 12:01:48 +02:00
André Duffeck 8600cddb8f Switch to jwt v5 2026-09-18 12:01:32 +02:00
Pascal Bleser 36747cfbdc feat(proxy): add the service to the proxy metrics: re-add legacy metrics for compatibility
* re-add the metrics that were existing prior to this PR, to keep them
   for compatibility reasons with existing Grafana panels:
   - opencloud_proxy_requests_total
   - opencloud_proxy_errors_total
   - opencloud_proxy_duration_seconds

 * renamed new metric opencloud_proxy_request_total (that contains the
   service label) to opencloud_proxy_service_request_total

 * renamed new metric opencloud_proxy_duration_seconds (that contains
   the service label) to opencloud_proxy_service_duration_seconds
2026-09-18 09:52:33 +02:00
Pascal Bleser d768a9b0f9 feat(proxy): add the service to the proxy metrics
Improve the metrics for the proxy service.

 * extend the instrumenter middleware to add a label with the name of
   the service the request is being dispatched to

 * add a native Prometheus histogram that tracks the durations and also
   includes a label for the name of the service the request is being
   dispatched to, as well as a 'result' label ('success',
   'client-error', 'server-error') based on the HTTP status code of the
   response

 * add per-service gauge functions to count the number of in-flight
   requests

 * add a counter for routing failures, for when an inbound request
   cannot be mapped to a route

 * extend the route.RoutingInfo struct with a service attribute, and a
   Service() getter

 * remove the 'routing_failure_count' metric, as it is redundant
2026-09-18 09:52:33 +02:00
Alex Ababii e0bfca4a38 fix(graph): upd helper 2026-09-17 16:29:27 +02:00
Alex Ababii 1a06cf7bdf fix(graph): upd invite for guest links 2026-09-17 16:29:27 +02:00
Alex Ababii ee47a015f0 upd graph api drive recipient validation 2026-09-17 16:29:27 +02:00
Alex Ababii 89c7b13638 feat(graph): add guest mail invite permission 2026-09-17 16:29:27 +02:00
Alex Ababii 588c61cdb1 bumped libre graph api version, using recipient email check instead of recipient type in invite creation 2026-09-17 16:29:27 +02:00
Alex Ababii f28bc9dbc0 chore(graph): add config knob to disable/enable guest invites 2026-09-17 16:29:27 +02:00
Ralf Haferkamp f0416d9ff8 chore(graph): use existing constants for user type 2026-09-17 16:29:27 +02:00
André Duffeck 0bf63ac6fd feat(graph): Add support creating guest(mail) permissions 2026-09-17 16:29:27 +02:00
André Duffeck f6104a8dc5 Use an auth.Session for indexing spaces
This makes sure that the token does not expire if the indexing process
takes longer than the token lifetime.

This commit also makes sure that the authenticated context is reused
instead of generating a new context for each resource which is much more
efficient.
2026-09-17 09:57:30 +02:00
Benedikt Kulmann 071d8594c4 Merge pull request #3503 from opencloud-eu/fix-audit-log-docu
[SKIP CI] fix: add file_read documentation to audit log docu
2026-09-17 07:39:59 +02:00
dependabot[bot] 14edb2d449 build(deps): bump github.com/prometheus/client_model from 0.6.2 to 0.6.3
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.6.2...v0.6.3)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 17:30:54 +02:00
Alex Ababii a419485391 upd trash bin cli commands flags 2026-09-16 16:44:51 +02:00
Alex Ababii 43385ba6dc document params for thrash bin cli commands 2026-09-16 16:44:51 +02:00
Pascal Wengerter 002a2e43fb chore: regenerate mockery outputs 2026-09-16 14:57:41 +02:00
Pascal Wengerter dc5821eb3d fix: support Go 1.27 code generation 2026-09-16 14:57:41 +02:00
dependabot[bot] ef5892d058 build(deps): bump github.com/shamaton/msgpack/v2 from 2.4.1 to 2.4.2
Bumps [github.com/shamaton/msgpack/v2](https://github.com/shamaton/msgpack) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/shamaton/msgpack/releases)
- [Changelog](https://github.com/shamaton/msgpack/blob/v2.4.2/CHANGELOG.md)
- [Commits](https://github.com/shamaton/msgpack/compare/v2.4.1...v2.4.2)

---
updated-dependencies:
- dependency-name: github.com/shamaton/msgpack/v2
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 14:14:50 +02:00
Pascal Bleser 9f6ea88db5 chore(graph): use chi HTTP response wrapper instead of a homegrown one
* in the graph service's metrics, we use a homegrown response writer
   struct implementation to capture the status of the next handler's
   response: instead, use chi's implementation which is more
   sophisticated and battle tested
2026-09-16 13:57:42 +02:00
Thomas Schweiger 5efded002a fix: add file_read documentation to audit log docu 2026-09-16 13:34:06 +02:00
Jörn Friedrich Dreyer 07a089f51d Merge pull request #3428 from opencloud-eu/dependabot/go_modules/go.opentelemetry.io/otel/exporters/stdout/stdouttrace-1.46.0
build(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace from 1.45.0 to 1.46.0
2026-09-16 13:01:39 +02:00
dependabot[bot] ecb7924c7b build(deps): bump github.com/sirupsen/logrus from 1.10.1 to 1.10.2
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-version: 1.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 12:52:41 +02:00
Andre Duffeck ed488f9647 Merge pull request #3543 from aduffeck/do-not-timeout
Remove the timeout when reindexing spaces
2026-09-16 12:36:16 +02:00
Alex Ababii cb6ba6d536 Merge pull request #3533 from maki5/fix/auto_accept_shares
fix(shares): not auto accepting shares created by guest users
2026-09-16 11:53:14 +02:00
Alex Ababii b6072317c9 fix tests 2026-09-16 11:08:59 +02:00
Alex Ababii 9267286f49 upd reponse status for patchMe method on not allowed changes 2026-09-16 11:08:59 +02:00
Alex Ababii 2866cc7ee4 fix PatchMe method to prevent password change 2026-09-16 11:08:59 +02:00
zerox80andRalf Haferkamp e6699f31f1 Update services/proxy/README.md
Co-authored-by: Ralf Haferkamp <ralf@h4kamp.de>
2026-09-16 10:15:56 +02:00
zerox80 2d22a2cf07 fix(oidc): reject invalid audience settings during client setup 2026-09-16 10:15:56 +02:00
zerox80 0bcbb61339 docs(proxy): clarify IDP audience setup [docs-only] 2026-09-16 10:15:56 +02:00
zerox80 012d73c48e docs(proxy): document OIDC access token audience validation 2026-09-16 10:15:56 +02:00
zerox80 86d71dcdc3 feat(proxy): configure and enforce OIDC access token audiences 2026-09-16 10:15:56 +02:00
zerox80 6f85ee5296 feat(oidc): add access token audience validation 2026-09-16 10:15:56 +02:00