Commit Graph
49 Commits
Author SHA1 Message Date
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
Roman PerekhodandMartin 39e3d33820 [full-ci] feat: ocisdev-533 graph (#12108)
* feat: Implemet the vault-storage

feat: Separate the storage-users and graph to handle

feat: move the space create cache

configurate the vault srorage Postprocessing

hide the assignment of the MountID to VaultStorageProviderID behind a flag to avoid the ID mismatch

configurate the proxy to create the vault home space

update the filter

Make the graph able to handle vault prefix. no extra service needed

apply the vault filter to sharedbyme and sharedwithme

added vault-storage docker

use squashed reva

fix the finishUpload event

restict webdav copy/move from the vault

feat: provide the mfa to webdav and grpc

feat: refactoring: provide the mfa to webdav and grpc

mfa collaboration

fix GetRootDriveChildren and more

fix: send the MFA header in HTTP clients from the collaboration service

provide the default storage user vault configuration

update create_home middleware

Update deployments/examples/ocis_full/vault-storage.yml

Co-authored-by: Martin <github@diemattels.at>

Update services/gateway/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/graph/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/graph/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/storage-users/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/proxy/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/storage-users/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update deployments/examples/ocis_full/vault-storage.yml

Co-authored-by: Martin <github@diemattels.at>

bump reva

deduplicate the requireMFA middeware on vault routes. fix AppendPlainToOpaque.

added the changlog and comments

* feat: add the vault mode search

* Update changelog/unreleased/enhancement-vault-storage.md

Co-authored-by: Martin <github@diemattels.at>

* update the readme. the reva vault storage provider configuration disabled by default

* feat: [OCISDEV-531] add vault capabilities to the OCS capabilities endpoint

* the port range allocated. the configuration updated.

---------

Co-authored-by: Martin <github@diemattels.at>
2026-05-15 16:53:05 +02:00
Roman PerekhodandMartin 27a5223dc9 feat: [issues/OCISDEV-305] Enable the mobile web view for OnlyOffice … (#11661)
* feat: [issues/OCISDEV-305] Enable the mobile web view for OnlyOffice (EE)

* Update services/collaboration/README.md

Co-authored-by: Martin <github@diemattels.at>

* Update services/collaboration/README.md

Co-authored-by: Martin <github@diemattels.at>

* Update services/collaboration/pkg/config/app.go

Co-authored-by: Martin <github@diemattels.at>

* Update services/collaboration/pkg/config/wopi.go

Co-authored-by: Martin <github@diemattels.at>

---------

Co-authored-by: Martin <github@diemattels.at>
2025-09-21 20:16:01 +02:00
Michal Klos e13fa5e39b fix: check jwt signed token 2025-05-07 12:03:13 +02:00
Julian Koberg b979844791 feat(ocis): adjust reva imports
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 11:14:44 +01:00
Roman Perekhod db91d35238 Fixed Collaboration file extension check to case-insensitive comparison 2025-01-30 18:31:43 +01:00
Jörn Friedrich Dreyer b57da8128e use gateway selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 16:45:44 +01:00
Juan Pablo Villafáñez ff8d674666 fix: adjust tests for the new config option 2024-11-05 13:20:28 +01:00
Juan Pablo Villafáñez 32607b2481 refactor: change App.Provider to App.Product 2024-11-05 11:57:14 +01:00
Juan Pablo Villafáñez c822522b65 feat: include a provider option to allow custom app names 2024-11-05 11:57:14 +01:00
Juan Pablo Villafáñez b8f8ca813e feat: use short tokens as access tokens
The "real" access token will be stored using the short token as key.
This short token will be sent to the clients to be used as access token
for the WOPI server.

This is configurable, and requires a store in order to keep the tokens.
2024-10-24 08:46:54 +02:00
Michael Barz e40b7240bf feat: template feature
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2024-10-17 08:47:02 +02:00
Michael Barz bfa3dd07bc feat: office 365 proxy support 2024-08-30 16:20:04 +02:00
Ralf Haferkamp 109b23966c bump some jwt related go modules to current version
go-jwt/jwt to v5.2.1
MicahParks/keyfunc to v2.1.0
2024-08-26 15:35:15 +02:00
Juan Pablo Villafáñez fe1712ebca fix: adjust unit tests 2024-08-21 13:43:04 +02:00
Juan Pablo Villafáñez 3d287da5ce refactor: simplify getting the app url for collabora 2024-08-21 13:43:04 +02:00
Juan Pablo Villafáñez 5ddd51ea84 refactor: simplify openInApp code and remove hostViewUrl (and edit) 2024-08-21 13:43:04 +02:00
Juan Pablo Villafáñez 9e7d570c79 fix: verify file id in URL matches the one inside the access token
We're using the file id from the access token, so changing the file id
in the URL shouldn't matter. However, the file id must represent a
single file.
It will also help to detect unwanted changes in the URL.
2024-08-13 15:04:19 +02:00
Juan Pablo Villafáñez b5b9f8d189 feat: implement putRelativeFile and deleteFile endpoints 2024-07-31 12:50:41 +02:00
Christian Richter c99550984e change providerv1beta1.Reference to pointer
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 12:00:18 +02:00
Christian Richter 58c3c66429 ignore empty language setting & adapt tests
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:30:54 +02:00
Christian Richter 174afe379e Merge branch 'disable_collabora_chat' of github.com:dragonchaser/ocis into disable_collabora_chat 2024-07-12 09:25:47 +02:00
Christian Richter 5359d6ddee adapt test
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:24:25 +02:00
Christian RichterandMichael Barz 010cccde91 Make disable chat configurable
Co-authored-by: Michael Barz <mbarz@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:24:25 +02:00
Christian RichterandMichael Barz 04529e18e9 Add missing language variables
Co-authored-by: Michael Barz <mbarz@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:24:25 +02:00
Christian Richter a0528d4dfb make sonarcloud happy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:24:25 +02:00
Christian Richter 543f9ac08b adapt test
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:24:25 +02:00
Christian Richter cfb145f03c disable collabora chat
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-12 09:24:25 +02:00
Michael Barz d4fef06ef9 tests: add lang to opaque 2024-07-11 21:59:18 +02:00
Christian Richter 16ced06cad adapt test
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-11 21:19:25 +02:00
Christian RichterandMichael Barz 73c7a4a1a5 Make disable chat configurable
Co-authored-by: Michael Barz <mbarz@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-11 21:19:25 +02:00
Christian RichterandMichael Barz c3ae99dea2 Add missing language variables
Co-authored-by: Michael Barz <mbarz@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-11 21:19:25 +02:00
Christian Richter 0ce6a01874 make sonarcloud happy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-11 21:19:25 +02:00
Christian Richter 7d6d57d997 adapt test
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-11 21:19:25 +02:00
Christian Richter 9d567e8efd disable collabora chat
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-11 21:19:25 +02:00
Michael Barz 7860cb8a6f fix: polish secure view 2024-07-04 17:14:40 +02:00
Juan Pablo Villafáñez 668eb5c34b fix: append the app name to the service name for parallel deployment
This will allow multiple collaboration services to target 2, 3 or more
different WOPI apps. It's expected that each different collaboration
service is deployed in a different container or host
2024-06-21 10:51:04 +02:00
Jörn Friedrich Dreyer ad76face07 reduce config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-29 15:40:17 +02:00
Jörn Friedrich Dreyer 955c195411 incorporate feedback
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-24 14:53:02 +02:00
Jörn Friedrich Dreyer 1ed03c12f2 try using viewOnlyToken to download file if available
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-17 13:58:29 +02:00
Roman Perekhod fb43919e0a fixed OpenInApp URL 2024-05-09 23:12:20 +02:00
Juan Pablo Villafáñez 57b50c8587 docs: add missing documentation to functions 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez f248d7bba3 test: allow injection of gateway client in grpc service and add tests 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez d85d24b5c5 docs: add code documentation 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez c163e668c9 fix: avoid direct access to proto fields 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez 0a413223b9 refactor: move wopi context and related to middleware package 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez 8fcc626d7b ci: adjust code for sonarcloud issues 2024-04-17 15:54:51 +02:00
Juan Pablo Villafáñez ecc235bbec chore: Add readme file and adjust configuration for better defaults 2024-04-17 15:54:50 +02:00
Juan Pablo Villafáñez 3e90402350 feat: Add new collaboration service (WOPI) 2024-04-17 15:54:50 +02:00