Commit Graph
61 Commits
Author SHA1 Message Date
Roman Perekhod f04062e6bd chore: [OCSRE-1629] bump reva 2026-10-26 16:37:46 +01:00
Roman PerekhodandClaude Opus 5.5 2f795bbedd fix(gateway): [OCSRE-1629] pass the TLS settings to the create home cache
The create home cache of the gateway (create_personal_space_cache_config)
got the NATS credentials, but it had no TLS settings. With TLS on the
NATS server, this cache could not connect.

Add CreateHomeCacheEnableTLS, CreateHomeCacheTLSInsecure and
CreateHomeCacheTLSRootCACertificate with the same variables as the
provider cache, and pass them to reva.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:09:49 +02:00
Roman Perekhod 50c6e0b1c0 chore: [OCSRE-1629] temporary bump reva and replace github.com/kobergj/plugins 2026-10-23 17:08:23 +02:00
Roman Perekhod 17c1844b09 fix: [OCISDEV-1528] skip a not-ready node before reusing a cached grpc client (#13147) 2026-10-19 16:38:43 +02:00
Michal Klos d066a6e11d fix: [stable-8.0][OCISDEV-855] bump reva (#13108) 2026-10-09 14:17:49 +02:00
Roman PerekhodandClaude Opus 5 450c4141f0 fix: [ocisdev-1433] fix public share, add The grpc clients keepalive and more (#13020)
* fix: the public share configuration and fixed graceful shutdown

* fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE

The setting closed healthy grpc connections on a timer so that clients would redo
their DNS lookup. It never helped against the failure it was reached for - a
connection whose peer stopped answering - because the age limit is enforced by
the server, the grace period was left at infinity so a request already in flight
was never ended, and any value without a unit suffix silently disabled it again.

Detecting a peer that stops answering is now the job of the grpc clients, which
ping the peer while a request is in flight. The servers here got the matching
enforcement policy so they accept those pings; the client side arrives with the
next reva bump.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests.

* chore: bump reva

* fix: The keepalive added to grpc clinet

* chore: bump reva

* build(deps): bump go 1.26.8, grpc-go dependency

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-02 10:02:54 +02:00
Michal Klosandkobergj ad3b71e0d7 fix(storage-users): [stable-8.0] add --orphaned upload session filter (#12919)
Backport of #12739. Bump reva (stable-8.0 backport, reva#730, merged as
40663c5) to pick up the fix for upload sessions whose node metadata can no
longer be read, and wire up the new Orphaned session filter:

    ocis storage-users uploads sessions --orphaned
    ocis storage-users uploads sessions --orphaned --clean

backports: https://github.com/owncloud/ocis/pull/12739

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: kobergj <jkoberg@owncloud.com>
2026-09-11 10:08:30 +02:00
Michal Klos fcbfecf376 feat: [stable-8.0][OCISDEV-1115] harden nats communication (#12790)
feat: [OCISDEV-1115] harden nats communication (#12777)

* feat: [OCISDEV-1115] harden nats communication

* feat: bump reva for tls-enabled stores
2026-08-14 12:13:42 +02:00
Michal KlosandRoman Perekhod cdb3ba2f67 feat: [OCISDEV-1032] ldap config and retry policy (#12672)
* feat: ldap config and retry policy

Co-authored-by: Roman Perekhod <2403905@gmail.com>
2026-07-30 18:49:55 +02:00
Lukas Hirt 9d9a03747c feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool (#12660)
* feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool

Bump the vendored reva dependency to pick up the opt-in bounded LDAP
connection pool (owncloud/reva#658, #665), and wire it into oCIS: add
pool_enabled/pool_size/pool_checkout_timeout config to auth-basic,
users, groups and graph, forward it into the reva config map for the
first three, and unify graph's identity backend onto reva's LDAP
client (utils.GetLDAPClientFromConfig) instead of its own hand-rolled
reconnecting client, now that reva implements PasswordModify and
ModifyWithResult on both LDAP clients. Pooling is off by default and
fully backwards compatible.

Signed-off-by: Lukas Hirt <info@hirt.cz>

* test(ldap): [OCISDEV-1031] run graph LDAP suites with pooling enabled in CI

Add a dedicated ldap-pool-tests job to acceptance-tests.yml that reruns
apiGraphUser/apiGraph/apiGraphGroup with OCIS_LDAP_POOL_ENABLED=true, so
concurrent behat requests exercise checkout/release, eviction and the
pooled PasswordModify/ModifyWithResult path end-to-end, in addition to
the existing pooling-disabled runs of the same suites.

Signed-off-by: Lukas Hirt <info@hirt.cz>

---------

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-07-30 09:34:52 +02:00
Michal Klos e23737705e fix: [backport][OCISDEV-873] *WithoutTrashbin space editor roles render files read-only in Web frontend (#12351)
fix: [OCISDEV-873] *WithoutTrashbin space editor roles render files read-only in Web frontend (#12346)

* fix: [OCISDEV-873] *WithoutTrashbin space editor roles render files as read-only in Web frontend

* fix: ci after godata bump

ocis CI bumped github.com/CiscoM31/godata from v1.0.10 → v1.0.11 as a transitive dependency of the reva bump. The new godata version parses "mail add 10 (invalid operator) as a parse error → 400 instead of unsupported operation → 501.

* fix ci: more precise role

* fix: bump reva to pull fix merged into reva
2026-05-21 17:51:05 +02:00
Roman Perekhod f35c67f653 fix the OCM share permission change notification handling 2026-04-29 10:56:55 +02:00
Julian Koberg c04811347f feat(graph): [OCISDEV-807] add SpaceEditorWithoutVersionsWithoutTrashbin role
Adds a new space membership role "Can edit" that allows creating, uploading,
downloading, editing, moving and deleting on a space without access to file
versions or the trashbin. Also bumps reva to include the corresponding role
constructor.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-04-23 15:21:28 +02:00
Julian Koberg 75426a75bf fix: bump reva version
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-03-09 11:04:02 +01:00
Roman Perekhod 1bdcf0ac51 fix:[OCISDEV-617] Expose the signature-auth attribute 2026-03-05 11:21:39 +01:00
Roman Perekhod de492f72de feat: bump go to 1.25
feat: bump mockery to v2.53.5

feat: bump govulncheck

feat: bump bingo to v0.10.0

force go-1.25.7

update thumbnail images for test
2026-02-10 13:56:03 +01:00
Michal Klos 57e063a9bd chore: bump reva (#11957) 2026-01-23 11:49:55 +01:00
Lukas Hirt a8efe46b10 feat(graph): [OCISDEV-458] [OCISDEV-459] add users instances
The user endpoint now returns the instances that the user is either
a member or a guest of and the cross instance reference.
2026-01-20 10:26:58 +01:00
Michal Klos 0bf8179b66 chore: bump reva 81e6e21 (#11922) 2026-01-19 11:04:22 +01:00
Lukas Hirt 664726cf02 chore: [OCISDEV-483] bump reva
This updates the ownCloud Reva dependency to commit `82c22e954c1cdabb62a14fbe5c1a4ec3e1dabd45`.
Changelog: Changelog: https://github.com/owncloud/reva/compare/82c22e954c1cdabb62a14fbe5c1a4ec3e1dabd45...a122a9538794530267743edfd5dc67b48aa90325
2025-11-13 10:58:52 +01:00
Julian Koberg 4d940649de feat: bump libre-graph-api-go
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-11-10 14:18:11 +01:00
Roman PerekhodandSaw-jan 304c3f1890 fix: [OCM] Specification Compliance (#11773)
* fix: [OCISDEV-450] fix ocm path

* fix: [OCM] Specification Compliance

* update the test

* fix: [OCISDEV-471] OCM: User can't change the federated share permission

* fix tests

* test: fix federated user regex

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

* test: fix federated user regex

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

* test: fix federated user regex

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

* test: adjust test expectations

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

* latest reva ocm changes

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-11-10 12:38:10 +01:00
Lukas Hirt 52b720e44e chore: bump reva
This updates the ownCloud Reva dependency to commit `82c22e954c1cdabb62a14fbe5c1a4ec3e1dabd45`.
Changelog: https://github.com/owncloud/reva/compare/cb98fe521deb55ae339d6ddc4a4b60d6d4da9e14...82c22e954c1cdabb62a14fbe5c1a4ec3e1dabd45
2025-10-20 10:54:36 +02:00
Julian Koberg caf84ecd9d feat: bump reva
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-10-01 16:09:34 +02:00
Julian Koberg da61782260 fix: clean uploads command
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-25 16:00:43 +02:00
Julian Koberg 285663a6f2 feat: bump reva
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-18 10:48:59 +02:00
Roman Perekhod 6b5e1d0276 [Build-deps]: bump reva latest 2025-09-16 09:32:49 +02:00
Roman Perekhod a917a93524 feat: [full-ci] reva bump 2025-09-04 09:42:53 +02:00
Roman Perekhod 55fe5bd3ec feat: [OCISDEV-147] use the signing-key for a public link 2025-08-19 17:42:26 +02:00
Roman Perekhod cee9e61e41 fix: [OCISDEV-176] Tolerate the empty request body for WebDAV operations 2025-07-14 14:41:59 +02:00
Julian Koberg 8fd7be6407 feat(ocis): Bump Reva
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-06-18 16:22:42 +02:00
Julian Koberg 77a5d94a60 fix(ocis): go mod vendor
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-06-12 14:48:00 +02:00
Julian Koberg b01403bf53 feat(ocis): Bump Reva
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-06-12 14:08:02 +02:00
dependabot[bot] 8f2101cf53 build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.8 to 3.4.11
Bumps [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) from 3.4.8 to 3.4.11.
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](https://github.com/go-ldap/ldap/compare/v3.4.8...v3.4.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 15:30:11 +02:00
Roman Perekhod 26cbb5396b feat: fix the graceful shutdown using the new ocis and reva runners 2025-05-28 12:21:50 +02:00
Roman Perekhod 828ee5240f Fix the reva log interceptor. Implemented the Unwrap interface to allow TUS middleware to handle correctly
SetReadDeadline and SetWriteDeadline functions
2025-05-23 11:00:21 +02:00
Julian Koberg 0a0ad656d4 feat(ocis): bump reva
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-05-02 14:25:40 +02:00
Michal Klos 2868947e63 chore: bump reva, go 1.24 2025-04-30 12:04:03 +02:00
Roman Perekhod 74cf69b5ec limited the length of tags 2025-04-15 12:20:16 +02:00
Michal Klos ba7987ff5b fix: ocm share notifications
eventsmiddleware OCMCoreShareCreated intercepted in ocis

wip: ocm share removed event

feat: userlog, ocm share handling

feat: formatted user notifications

feat: changelog

feat: resolve username of the sharer

fix: revert event field name change

feat: event config for reva omcore

fix: remove config for request interception

fix: getOCMUser

fix: config cleanup

feat: bump reva version

fix: go vendor

fix: remove unused
2025-04-01 12:26:09 +02:00
Roman Perekhod 624b962dbc [bump reva]Fix the SpaceMembershipExpired duplicate event 2025-03-13 15:04:25 +01:00
Roman Perekhod 4ec969a68c [full-ci] Fix the parent-id for the share-jail root 2025-03-06 11:10:51 +01:00
Julian Koberg dc444fa556 feat(ocis): use owncloud/reva
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-06 09:11:08 +01:00
Julian Koberg d8fa72ab7d fix(ocis): bump libregraph-api
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-17 13:28:23 +01:00
Ralf Haferkamp fa023ab43a chore: bump libre-graph-api-go 2024-09-23 10:49:49 +02:00
Ralf Haferkamp f1a02732ae Bump libregraph to latest 2024-08-20 17:58:20 +02:00
Jörn Friedrich Dreyer a3c7bd3182 bump libre graph api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-19 14:20:20 +02:00
jkoberg 0d604dfb9b feat(ocis): bump libre-graph-api-go
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-24 16:23:55 +02:00
Prarup Gurung 5327f90712 Used expirationDateTime key for graph api (#9278) 2024-05-30 11:05:29 +02:00
Florian Schade f34bb510b0 enhancement: inject the creation time into sharing permissions 2024-04-25 11:54:54 +02:00