Commit Graph
23892 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer adfc2ba5bb chore: bump reva to 295fe6437
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-09-24 13:51:23 +02:00
Jörn Friedrich Dreyer 040c3bf08e Merge pull request #3591 from opencloud-eu/port-11693
fix(storage-users): publish CleanUpload event instead of purging directly
2026-09-24 12:44:56 +02:00
Jörn Friedrich Dreyer caa28372aa chore: bump reva to 7fa82c610
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-09-24 11:42:05 +02:00
Jörn Friedrich Dreyer 27c42ad135 fix(storage-users): publish CleanUpload event instead of purging directly
Ported from owncloud/ocis#11693. The uploads clean command now emits an events.CleanUpload event via the event stream rather than calling Purge directly. Requires the corresponding reva bump (vendor changes pulled in separately).
2026-09-24 11:21:28 +02:00
dependabot[bot] 596680c8a2 build(deps): bump github.com/onsi/gomega from 1.42.1 to 1.43.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.42.1 to 1.43.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.42.1...v1.43.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.43.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 09:02:32 +02:00
dependabot[bot] 24a6d0ca2b build(deps): bump google.golang.org/grpc from 1.83.2 to 1.84.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.83.2 to 1.84.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.83.2...v1.84.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.84.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 08:21:15 +02:00
Jörn Friedrich Dreyer bd4d6e8386 Merge pull request #3585 from opencloud-eu/port-11108
feat: postprocessing logs
2026-09-23 18:44:18 +02:00
dependabot[bot] a1050885eb build(deps): bump github.com/beevik/etree from 1.7.1 to 1.8.0
Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/beevik/etree/releases)
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/beevik/etree/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/beevik/etree
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-23 17:42:37 +02:00
Michal Klos f090b32c9a feat: postprocessing logs
cleanup and fix the upload id

tweak error messages

(cherry picked from commit f7e53bb94698875efd092abaa6f38b6608dad4d4)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-09-23 17:05:01 +02:00
Viktor Scharf 624380e725 run cli tests with decomposed nightly (#3580) 2026-09-23 16:49:26 +02:00
Sawjan Gurungandv.scharf 8b024b8f1c [decomposed] test(api): remove passing notification tests from expected failure (#3555)
* test: remove passing notification tests from expected failure

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* fix cleanupEmptyTrashBin.feature:5 test for decomposed

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-09-23 16:44:57 +02:00
dependabot[bot] 1b95daf527 build(deps): bump golang.org/x/image from 0.45.0 to 0.46.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.45.0 to 0.46.0.
- [Commits](https://github.com/golang/image/compare/v0.45.0...v0.46.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-23 11:56:46 +02:00
dependabot[bot] a2318852bc build(deps): bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.14.5 to 2.15.0.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/RELEASES.md)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.14.5...v2.15.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-version: 2.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-23 09:54:35 +02:00
dependabot[bot] 17d665b54f build(deps): bump golang.org/x/text from 0.41.0 to 0.42.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.41.0...v0.42.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-23 07:58:00 +02:00
Jörn Friedrich Dreyer 98d699e362 add posixfs index command
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-09-23 07:57:56 +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