Commit Graph
1025 Commits
Author SHA1 Message Date
Alex Ababii 38e836b956 fix(permissions): bump reva 2026-11-20 17:27:32 +01:00
Alex Ababii ee62e17fa3 feat(permissions): bump reva to related pr, upd acceptance tests affected by permissions change 2026-11-20 17:24:48 +01:00
Alex Ababii c0b845b13f fix(graph): bump libre-graph-api-go 2026-11-19 23:08:50 +01:00
Alex Ababii 1bf81a7ff1 fix(graph): upd guest share type for driveitems 2026-11-19 16:57:24 +01:00
Jörn Friedrich Dreyer 9649d259d0 build: bump reva to the ocm gateway selector fix
The received OCM storage and the ocmshares auth manager both resolved
a single gateway client at startup and kept using it. They now keep a
gateway selector and get a client per call, like the other reva
services.

related: https://github.com/opencloud-eu/reva/pull/1034

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-19 15:06:07 +01:00
Jörn Friedrich Dreyer 4f093f73f6 build: bump reva to the ocm share permission fixes
We bump reva to 0093d72f4c9d, the merge of
https://github.com/opencloud-eu/reva/pull/1035 on reva main. This
brings in the OCM unshare and permission change notifications, the ocm
core share events and the fixes to the permissions of OCM shares, on
top of the invite and provider fixes already on reva main.

It also pulls in the revision cleanup from
https://github.com/opencloud-eu/reva/pull/895. Its strategy defaults
to empty, which keeps all revisions, so nothing changes until we wire
up the option.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-19 13:16:11 +01:00
Jörn Friedrich Dreyer 34d5ffe173 feat(sharing): allow disabling the creation of new shares
We now have two global opt-out switches that stop users from creating
new shares while everything that already exists keeps working:

OC_DISABLE_NEW_USER_SHARES rejects new user, group and federated shares
in graph and reva. Adding members to a space is still possible: graph
skips space roots, based on the stat result, like reva does.

OC_DISABLE_NEW_PUBLIC_LINKS rejects new public links and turning an
internal link into a public link in reva.

The frontend, graph, sharing and ocm services read them. Both default
to false.

We bump reva to 37496dc6abd3, which contains
https://github.com/opencloud-eu/reva/pull/1022

Ported from `owncloud/ocis#12542`, with the flags inverted.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-17 15:36:28 +01:00
André Duffeck 2b77cb9a17 Bump reva to v3.0.1 2026-11-17 12:45:18 +01:00
Pascal Bleser a7789f8462 graph: rate limit the personal data export
Each personal data export collects all events of the user and writes
them into the user's personal space, so starting exports over and over
puts load on the system. Limit how many exports a user can start to 5
per minute, configurable with GRAPH_EXPORT_PERSONAL_DATA_RATE_LIMIT
(0 disables the limit). Requests beyond it get a 429 with a
Retry-After header.

The limit uses a new middleware, RateLimitPerAuthenticatedUser. It
counts requests by the id of the authenticated user rather than by the
URL, so that variations of the URL, such as a trailing slash, can't get
around it. It comes after the check that users only export their own
data, so that requests for other users don't count against any limit.
The counters are kept in memory by every instance of the graph service.

This adds the dependency github.com/go-chi/httprate v0.16.1 (MIT), from
the authors of the chi router that the service already uses. It is used
instead of a limiter of our own, because counting requests in sliding
time windows correctly under concurrency is easy to get wrong, and the
library is maintained and tested for exactly that. It brings no further
modules: the two it needs are already required. There are no known
vulnerabilities in it, and govulncheck reports none.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-13 18:25:47 +01:00
Jörn Friedrich Dreyer ede21a0ac6 Merge branch 'main' into workpagages
The only conflicts were the reva bump in go.mod, go.sum and vendor.
main moved to reva v2.52.2, workpagages already points to reva main
036856689, which contains v2.52.2, so we keep that and re-vendor.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-13 17:03:53 +01:00
Jörn Friedrich Dreyer 454c05afc9 build: bump reva to workpackages 7ff1d6fb1
Brings in https://github.com/opencloud-eu/reva/pull/1001, which merges
reva main into workpackages: the typed storage results, the fix for
synchronous uploads stuck in processing (moved to the upload
coordinator), the main-queue replica fix and the posix id cache fail
fast.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-13 15:21:45 +01:00
Andre Duffeck f314b17fce Merge pull request #3925 from opencloud-eu/chore/drop-enable-vips
drop the enable_vips build flag
2026-11-13 12:38:28 +01:00
Jörn Friedrich Dreyer 0d969c3179 thumbnails: drop the enable_vips build flag
The thumbnails service now always resizes in pure Go. Deployments that
want more formats, webp output or an attention crop run a real imagor
and point WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in service
stays as a minimal fallback that keeps working when imagor or libvips
have to be taken out, for example during a security issue.

Without cgo dependencies the docker images link statically again and no
longer need the vips packages. The vips parity run in CI goes away, the
regular test run already covers the pure Go build.

The preview fixtures of the acceptance tests were rendered by libvips,
so they are regenerated with the pure Go build. Text previews now lose
their left edge: the 640x480 text canvas is filled into a square box
and the pure Go build crops the centre, where libvips' attention crop
kept the left side with the text.

part of https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-12 15:41:35 +01:00
Jörn Friedrich Dreyer 0da2e8954a build: bump reva to workpackages fa3c9e289
Picks up the space manager checks from
https://github.com/opencloud-eu/reva/pull/990 and
https://github.com/opencloud-eu/reva/pull/993.

go-chi and go-jose move up because reva requires the newer versions.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-12 11:13:35 +01:00
Jörn Friedrich Dreyer f9918ea698 build: bump reva to workpackages c5a650fe2
Picks up https://github.com/opencloud-eu/reva/pull/978: a failed blob
commit now logs the space and node id, and the last attempt logs that
we give up. This runs the rest of the `owncloud/reva#733` port through
the opencloud CI.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-12 11:11:30 +01:00
Jörn Friedrich Dreyer 2c19a49b6b build: bump reva to workpackages
Pins reva to the workpackages branch (2d4db7d27), which carries the
upload coordinator and the other WP1 storage changes on top of reva
main. Once workpackages lands in reva main this becomes a regular bump
to main.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-12 11:11:30 +01:00
2435420f69 [full-ci] chore: bump reva to 2.52.2 (#3955)
* chore: bump reva to 2.52.2

* Merge pull request #42 from opencloud-eu/fix-web-theme-merge

fix(web): merge copies of the theme sources so themeDefaults is never mutated

* Merge pull request #43 from opencloud-eu/fix-search-trailing-not

fix(search): handle missing operands in the bleve compiler

* Merge pull request #44 from opencloud-eu/fix-search-highlight-escaping

fix(search): escape file content in OpenSearch highlights

---------

Co-authored-by: Ralf Haferkamp <r.haferkamp@opencloud.eu>
Co-authored-by: Florian Schade <f.schade@icloud.com>
2026-11-11 14:14:34 +01:00
dependabot[bot] 23399cdcff build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 17:20:56 +01:00
dependabot[bot] 5f349fa28a build(deps): bump github.com/nats-io/nats.go from 1.54.0 to 1.55.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.54.0 to 1.55.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.54.0...v1.55.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-version: 1.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 17:20:10 +01:00
dependabot[bot] 4234cc047e build(deps): bump github.com/kovidgoyal/imaging from 1.8.23 to 1.9.0
Bumps [github.com/kovidgoyal/imaging](https://github.com/kovidgoyal/imaging) from 1.8.23 to 1.9.0.
- [Release notes](https://github.com/kovidgoyal/imaging/releases)
- [Commits](https://github.com/kovidgoyal/imaging/compare/v1.8.23...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/kovidgoyal/imaging
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 17:19:36 +01:00
dependabot[bot] 057e6ecd1f build(deps): bump github.com/KimMachineGun/automemlimit
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/KimMachineGun/automemlimit/releases)
- [Commits](https://github.com/KimMachineGun/automemlimit/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/KimMachineGun/automemlimit
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-03 18:50:35 +01:00
dependabot[bot] 4c63c900c0 build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.14 to 3.4.15
Bumps [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) from 3.4.14 to 3.4.15.
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](https://github.com/go-ldap/ldap/compare/v3.4.14...v3.4.15)

---
updated-dependencies:
- dependency-name: github.com/go-ldap/ldap/v3
  dependency-version: 3.4.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-03 18:36:26 +01:00
dependabot[bot] 2a0f4d47ee build(deps): bump github.com/tidwall/gjson from 1.19.0 to 1.20.0
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.19.0 to 1.20.0.
- [Commits](https://github.com/tidwall/gjson/compare/v1.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-29 09:26:38 +01:00
dependabot[bot] 5d745311f7 build(deps): bump github.com/davidbyttow/govips/v2 from 2.19.0 to 2.20.0
Bumps [github.com/davidbyttow/govips/v2](https://github.com/davidbyttow/govips) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/davidbyttow/govips/releases)
- [Commits](https://github.com/davidbyttow/govips/compare/v2.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/davidbyttow/govips/v2
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-28 14:49:40 +01:00
dependabot[bot] 242117714d build(deps): bump github.com/onsi/ginkgo/v2 from 2.33.0 to 2.33.1
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.33.0 to 2.33.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.33.0...v2.33.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-28 14:49:11 +01:00
dependabot[bot] 832771aa88 build(deps): bump github.com/shamaton/msgpack/v2 from 2.4.2 to 2.4.4
Bumps [github.com/shamaton/msgpack/v2](https://github.com/shamaton/msgpack) from 2.4.2 to 2.4.4.
- [Release notes](https://github.com/shamaton/msgpack/releases)
- [Changelog](https://github.com/shamaton/msgpack/blob/v2.4.4/CHANGELOG.md)
- [Commits](https://github.com/shamaton/msgpack/compare/v2.4.2...v2.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-28 14:48:53 +01:00
dependabot[bot] 83615f23e5 build(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-version: 2.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-28 09:25:43 +01:00
dependabot[bot] 8c3a6cf16b chore(deps): bump github.com/beevik/etree from 1.8.0 to 1.8.1
Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.8.0 to 1.8.1.
- [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.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-28 09:24:42 +01:00
dependabot[bot] e19c043bb6 build(deps): bump github.com/davidbyttow/govips/v2 from 2.18.0 to 2.19.0
Bumps [github.com/davidbyttow/govips/v2](https://github.com/davidbyttow/govips) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/davidbyttow/govips/releases)
- [Commits](https://github.com/davidbyttow/govips/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/davidbyttow/govips/v2
  dependency-version: 2.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-28 09:24:02 +01:00
Viktor Scharf ae4970d92c chore: bump reva to 2.52.0 (#3820) 2026-10-27 12:46:43 +01:00
André Duffeck 964b4c0016 Bump reva 2026-10-23 12:37:09 +02:00
Dominik Schmidt 32f4ee02e8 feat(webdav): let a deployment add the types a preview is made of
webdav, graph and ocdav read the same list, so a configured type is
announced and attempted by all three. A type the generator cannot answer
is refused at startup, and ocdav takes the types from its own
configuration instead of importing an OpenCloud package, which the
vendored reva carries until opencloud-eu/reva#885 lands.
2026-10-19 14:57:35 +02:00
Alex Ababii 6a527692ef feat(authguest): bump libre-graph-api-go to latest main 2026-10-16 11:05:47 +02:00
Florian Schade 39c3868c49 chore: bump reva to latest main 2026-10-14 22:16:52 +02:00
micbar 38e2dbc54e chore: bump reva to latest main 2026-10-14 12:04:17 +02:00
micbar e766ed7c83 fix: bump reva again for status code fix 2026-10-14 09:27:40 +02:00
micbar 24b49bf399 chore: bump reva to latest main 2026-10-13 17:01:40 +02:00
Alex Ababii 5a661c0d5c feat(guestauth): bump libre_graph_api version 2026-10-13 09:49:20 +02:00
micbar 4febcf9de5 chore: bump reva to latest main 2026-10-12 12:50:17 +02:00
André Duffeck 1d07633ff6 Bump reva 2026-10-09 15:25:42 +02:00
micbar 1dee937e72 chore: bump reva to latest main 2026-10-09 13:28:27 +02:00
André Duffeck 50a004b04f Bump reva 2026-10-07 16:22:23 +02:00
dependabot[bot] b45592b8e1 build(deps): bump github.com/onsi/ginkgo/v2 from 2.32.1 to 2.33.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.32.1 to 2.33.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.32.1...v2.33.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-07 07:21:33 +00:00
dependabot[bot] 3f7d649ca7 build(deps): bump github.com/open-policy-agent/opa from 1.19.1 to 1.21.1
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.19.1 to 1.21.1.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v1.19.1...v1.21.1)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.20.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-06 13:46:22 +00:00
André Duffeck 3858d7ec50 Bump reva to pull in the new capability 2026-10-06 13:25:09 +02:00
Jörn Friedrich Dreyer 2a05417d7a chore: bump reva to 2.51.0 2026-10-05 14:12:21 +02:00
Michael Barz a3255422b8 chore: bump reva to latest main (#3642) 2026-10-02 15:53:08 +02:00
Dominik Schmidt 2a00f7c34a chore: bump libre-graph-api-go to v1.0.8
First tagged release carrying the merged search spec: the search query
endpoint with aggregations (metricDefinition/searchMetric,
geohashDefinition, aggregationFilterToken), sortProperty and the
auth-guest additions.
2026-10-02 12:48:21 +02:00
Jörn Friedrich Dreyer 076a3b0212 build(deps): bump go-micro to v4.11.4-0.20260929213538-cd412c159a26
Point the go-micro.dev/v4 replace at the latest main-v4 maintenance
branch commit in butonic/go-micro (cd412c15) instead of the v4.11.3
tag. The new base is upstream v4.11.1 plus the registry cache
node-TTL fixes (upstream #2715, #2736, #2740), the concurrent map
access fix (upstream #2794), plus further dependency updates and test
fixes on the maintenance branch.

The branch also modernizes go-micro's own go.mod (go 1.26, lego,
dario.cat/mergo v1, x/deque v2, ...), and MVS pulls the aligned
versions into this module: lego v4.35.2 -> lego/v5 v5.5.2,
go-jose/go-jose/v4 -> v4.1.5, gofrs/flock -> v0.13.1,
mattn/go-isatty -> v0.0.24, go.uber.org/zap -> v1.28.0, x/net ->
0.59.0, miekg/dns -> 1.1.73, moby api/client, ProtonMail/go-crypto
-> 1.5.2, klauspost/compress -> 1.20.1, gorilla/handlers -> 1.5.2,
gobwas/ws -> 1.4.0, nxadm/tail -> 1.4.11, ...

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-10-01 11:14:15 +02:00
dependabot[bot] f7e6d5d0dd build(deps): bump github.com/nats-io/nats.go from 1.53.1 to 1.54.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.53.1 to 1.54.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.53.1...v1.54.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-version: 1.54.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-24 13:35:18 +02:00