Commit Graph
58 Commits
Author SHA1 Message Date
Alex 25b7c7cc88 fix(collaboration): use the edit action for Collabora in read/write mode (#4178) 2026-12-01 16:52:03 +01:00
André Duffeck 2b77cb9a17 Bump reva to v3.0.1 2026-11-17 12:45:18 +01:00
Florian Schade e848d469d5 fix(collaboration): mint the mobile view test token with the token manager secret (#3647) 2026-10-02 12:18:17 +02:00
Florian Schade 94448630e3 Merge pull request #3635 from fschade/feat-collaboration-eurooffice-mobile-view
feat(collaboration): mobile web view for EuroOffice
2026-10-02 10:16:08 +02:00
Florian Schade 8edd60296a feat(collaboration): mobile web view for EuroOffice 2026-10-01 16:13:42 +02:00
Florian Schade 24545be7ad fix(collaboration): harden wopi token handling 2026-09-30 16:40:44 +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
Michael Barz 4a0cc1004f Fix collaboration service name (#1577)
* fix: collaboration service name

* change: do not use app name in service name

* feat: make collaboration service name configurable

* test: fix test config
2025-09-29 10:06:05 +02:00
Jörn Friedrich Dreyer 314390f302 introduce AppURLs helper for atomic backgroud updates
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-09-23 12:54:05 +02:00
Alex 89b46a0035 fix: collabora use metrics instead of imperial metric system (#1086)
* fix: collabora use metrics instead of imperial metric system

* fix unit tests
2025-06-23 10:14:27 +02:00
Alex 6a62068c2a feat: hide close button in collabora (#828)
* feat: hide close button in collabora
2025-05-22 14:51:26 +02:00
André Duffeck e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer 6a2e433d0b collaboration test urls
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-15 10:49:29 +01:00
Jörn Friedrich Dreyer b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer 8e028f17e9 change module name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 09:58:18 +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