Commit Graph

84 Commits

Author SHA1 Message Date
Juan Pablo Villafáñez 02aef4d308 fix: wrong return value in the verify 2024-07-25 13:16:07 +02:00
Juan Pablo Villafáñez 7134374a2e fix: use int64 instead of bigInt 2024-07-25 13:16:07 +02:00
Juan Pablo Villafáñez 36d9a8c425 feat: proof keys verification for the collaboration service 2024-07-25 13:16:07 +02:00
Juan Pablo Villafáñez d47364dedb feat: [WIP] use proof keys to ensure requests come from trusted source
Basic code handling is in the proofkeys package. The idea is to
implement it as a middleware and hook it after the wopicontext
middleware.
Note that we need a way to switch this middleware off in case there are
problems with the verification, even though it should be active by
default.
2024-07-25 13:15:02 +02:00
Michael Barz 4c63ddc439 tests: add and adapt unit tests 2024-07-24 21:32:32 +02:00
Michael Barz 08cb228500 feat: add new locks parser for microsoft office online server 2024-07-24 21:16:32 +02:00
Michael Barz 006c67a5db feat: add more logging to the collaboration service 2024-07-19 11:03:28 +02:00
Juan Pablo Villafáñez d69bc2c1c6 fix: explicitly set the HTTP status header for the access log 2024-07-18 12:40:20 +02:00
Juan Pablo Villafáñez 0a33b934c1 feat: use info level for access log to the collaboration service 2024-07-18 10:48:08 +02:00
Michael Barz 5b3dd4dcba Merge pull request #9586 from fschade/cleanup-removals
chore!: remove deprecated configuration values
2024-07-16 13:30:02 +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
Florian Schade 31272dc168 chore!: remove deprecated configuration values 2024-07-12 10:15:38 +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 Richter 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 Richter 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 Richter 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 Richter 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
mmattel 109a3ae2f4 [docs-only] Fix envvar description 2024-06-25 08:30:24 +02:00
jkoberg 672ec3811c feat(ocis): deprecate gateway envvars
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-24 16:25:22 +02:00
Juan Pablo Villafáñez ab636a611f fix: use constants for the properties 2024-06-21 13:32:38 +02:00
Juan Pablo Villafáñez cfc39fac24 fix: simplify property assignment 2024-06-21 10:51:04 +02:00
Juan Pablo Villafáñez b4e09e34ae fix: adjust unit tests 2024-06-21 10:51:04 +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
Juan Pablo Villafáñez 1a7f713133 fix: use (undocumented) collabora properties, such as "supportLocks"
SupportLocks property is required for collabora to use locks. The
collaboration service requires locks in order to saves files, so without
such support collabora wouldn't be able to save files.
2024-06-21 10:51:04 +02:00
Juan Pablo Villafáñez d175317295 fix: add comment and fix unit tests 2024-06-21 10:51:04 +02:00
Juan Pablo Villafáñez 7360cd115e fix: use correct name during init and use app name as provider 2024-06-21 10:51:04 +02:00
Juan Pablo Villafáñez 1f1b818056 fix: change var naming for CI 2024-06-21 10:48:30 +02:00
Juan Pablo Villafáñez 573f3a25bc fix: adjust unit tests 2024-06-21 10:48:30 +02:00
Juan Pablo Villafáñez 116bd2c414 feat: explicit provider for WOPI apps to handle fileinfo 2024-06-21 10:48:30 +02:00
Michael Barz b04f3209d4 chore: prepare release, bump version 2024-06-19 19:45:57 +02:00
Michael Barz 5d99688161 docs: use placeholder for next release 2024-06-04 10:28:42 +02:00
Jörn Friedrich Dreyer 3db878e8db Merge pull request #9165 from wkloucek/collaboration-fixes
collaboration fixes
2024-05-31 13:49:10 +02:00
Jörn Friedrich Dreyer 6f7f05d8f9 add comment
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-31 10:59:12 +02:00
Jörn Friedrich Dreyer 2e3d9e10ee remove WOPI when talking about collaboration apps
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2024-05-31 08:17:49 +02:00
Jörn Friedrich Dreyer be6271b54f default to Collabora
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-30 16:01:04 +02:00
Jörn Friedrich Dreyer 933b1eb76c default to collabora online
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-30 11:09:02 +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
Willy Kloucek 1e13072ea0 fix service namespaces 2024-05-24 12:43:53 +02:00