Commit Graph
62 Commits
Author SHA1 Message Date
Roman PerekhodandClaude Opus 4.8 aa9aa9b454 fix: [OCISDEV-810] fix the space role and custom role checks (#12540)
* fix: [OCISDEV-810] fix the space role and custom role checks

* test: [OCISDEV-810] expect 400 when updating a share to a disabled role

The update (PATCH) permission handlers now enforce the admin role
allowlist, consistent with invite. Updating a share to a disabled role
(Secure Viewer, Denied, Space Editor Without Versions) therefore returns
400 instead of the previous silent 200. Update the @issue-10768 scenarios
to assert the new, correct behavior.

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

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 15:13:52 +02:00
Matteo 380273bb84 Feat/ocisdev 949/disable direct sharing (#12542)
* build(deps): [OCISDEV-949] bump reva to v2.0.0-20260709150645-a9d5432e6f7f

Includes owncloud/reva#651, which adds the enable_user_sharing and
enable_public_sharing config options this feature depends on.

* feat: [OCISDEV-949] add options to disable direct and public sharing

Adds two independent, per-deployment config options:

- OCIS_ENABLE_USER_SHARING (default true), read by the frontend, graph,
  sharing and ocm services. When false, creating new user, group or
  federated shares is rejected (via reva's usershareprovider and
  ocmshareprovider, and via the graph Invite endpoint for the modern web
  client), the legacy sharees search endpoint returns no results, and
  the files_sharing.user.enabled / user_enumeration.enabled capabilities
  report false so the web UI hides the "share with people" search.
  Space membership invites are exempt.

- OCIS_ENABLE_PUBLIC_SHARING (default true), read by the frontend and
  sharing services. When false, creating new public links is rejected
  via reva's publicshareprovider, and files_sharing.public.enabled
  reports false so the web UI hides public link creation.

The two settings are fully independent of each other.
2026-07-10 11:59:08 +02:00
Michal Klos 6d31212600 fix: [OCISDEV-756] harden ocm create share (#12496)
* fix: harden ocm create share

* chore: bump traefik
2026-07-08 13:26:43 +02:00
Roman Perekhod f3d2bc0557 fix: [OCISDEV-828] Fix the response code on deleting a non-existing link share on a space (#12266)
fix: Return 404 when deleting a non-existing link share on a space
2026-06-22 14:10:44 +02:00
Juan Pablo Villafañez 4945eb6833 Autoprop (#12386)
* feat: metadata autopropagation

* feat: autoprop support for MFA / vault mode

* fix: replace some http clients with reva ones

* chore: required lib update

* fix: adjust unit tests and generate new mocks

* fix: apply autopropagation to all regular graph routes

* chore: updated reva dependency

* fix: return the right decorator for the thumbnails

* fix: remove autopropagation headers in the proxy
2026-06-19 10:43:41 +02:00
LarsJurgensen 1ff20df320 chore: bump reva to 806e6 (#12439)
chore: bump reva to 806e6cde7fe5c5ecc9d6cf6372fa67120cd0c344
2026-06-16 10:14:24 +00:00
Roman Perekhod d7a7cd9033 feat: [OCISDEV-720] fix public link (#12332) 2026-05-21 17:55:15 +02:00
Matteo 7d566c1ea2 feat: expose MFA session duration as configurable capability (#12335) 2026-05-21 15:32:26 +02:00
Michal Klos a091d099ce 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 09:47:20 +00:00
Roman Perekhod 9e0ebd2c25 feat: bump reva to latest 2026-05-15 13:23:55 +02:00
Julian Koberg ee264345ca 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-27 09:23:36 +02:00
Roman Perekhod 571977947b feat: bump reva to latest 2026-03-24 09:38:24 +01:00
Roman Perekhod 837fff3ab6 feat: bump reva to latest 2026-03-04 16:02:26 +01:00
Roman Perekhod 16f14898e1 feat: bump reva to latest 2026-02-23 17:40:18 +01:00
Lukas Hirt db06952566 feat(graph): [OCISDEV-602] add space ID to incoming shares
Added the `spaceId` to the incoming shares. This is aligning the graph
API with the WebDAV API where the clients can use `spaceid` property.
This change allows clients to get the space ID directly instead of
having to parse the resource ID.
2026-02-16 14:21:38 +01:00
Roman Perekhod 5be7db71b9 fix:[OCISDEV-617] Expose the signature-auth attribute 2026-02-13 12:20:12 +01:00
Roman Perekhod da5e63dfe3 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

bump reva to latest
2026-02-10 16:27:52 +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