Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Michael Barz
406c8ca98d
tests: add checks to unit tests
2024-10-24 22:57:21 +02:00
Michael Barz
c4bd2f3987
fix: add missing urls to putRelative
2024-10-24 22:57:21 +02:00
Juan Pablo Villafáñez
af178155e4
fix: change introductionVersion for the store variables
2024-10-24 14:54:51 +02:00
Martin Mattel
6e23662a73
text fix
2024-10-24 11:07:11 +02:00
Juan Pablo Villafáñez
b3f72d7a4d
chore: typos and minor consistency changes for sonarcloud
2024-10-24 09:56:54 +02:00
Juan Pablo Villafáñez
924f77f044
fix: adjust unit tests
2024-10-24 08:46:54 +02:00
Juan Pablo Villafáñez
6782b243ae
feat: switch to md5 + timestamp
...
MD5 will make the token shorter. The timestamp will help to prevent
collisions since the tokens must be generated at the same nanosecond
(assuming the md5 sum generates the same hash, which is unlikely).
Using MD5 shouldn't be a security issue. The "real" access token is
already encrypted, and it's visible and accessible if short tokens
aren't used.
2024-10-24 08:46:54 +02: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
Martin
a12384d58f
Merge pull request #10397 from kobergj/ReplaceNext
...
[docs-only] Pin NEXT version
2024-10-23 16:48:02 +02:00
jkoberg
42f18ca500
docs(ocis): pin NEXT version
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-10-23 14:35:20 +02:00
Martin Mattel
8070889ce8
Fix envvar deprecations for 7.0.0
2024-10-22 18:47:08 +02:00
Jörn Friedrich Dreyer
6b97c74c40
require tls 1.2
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 10:56:04 +02:00
Roman Perekhod
c16a2ea2cf
checks added
2024-10-17 19:03:14 +02:00
Florian Schade
0437722353
Bugfix: Fix health and ready endpoint checker configurations
2024-10-17 14:34:04 +02:00
Michael Barz
e40b7240bf
feat: template feature
...
Signed-off-by: Michael Barz <mbarz@owncloud.com >
2024-10-17 08:47:02 +02:00
Florian Schade
0671039474
enhancement: add readyz and healthz check handler
2024-10-14 08:39:42 +02:00
Florian Schade
c82a7c560e
enhancement: use global ready and health handlers
2024-10-14 08:39:42 +02:00
Michael Barz
c384692d45
Merge pull request #10174 from owncloud/wopi-host-urls
...
feat: add wopi host and sharing urls
2024-09-30 10:02:40 +02:00
Michael Barz
00c9302d82
feat: add wopi host and sharing urls
2024-09-30 08:48:51 +02:00
Jörn Friedrich Dreyer
514062309b
address code smells, refactor error handling
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-09-26 16:48:07 +02:00
Jörn Friedrich Dreyer
cc56111194
extract newHttpRequest method
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-09-26 15:06:23 +02:00
Roman Perekhod
286b293c94
Fixed an issue when the collaboration service registers apps also for binary and unknown mime types.
2024-09-24 13:46:22 +02:00
Michael Barz
04ebb3def5
fix: use dedicated config values for grpc TLS
2024-09-23 16:52:02 +02:00
Michael Barz
0ce0ac5af7
fix: add missing error handling
2024-09-23 16:39:30 +02:00
Michael Barz
6cf7841f4c
chore: remove unused helper method
2024-09-23 12:58:03 +02:00
Michael Barz
8cd9176e49
fix: always select next gateway client
2024-09-23 12:47:36 +02:00
Juan Pablo Villafáñez
153502189d
fix: return 404 code if file isn't found on CheckFileInfo request
2024-09-19 10:51:28 +02:00
Juan Pablo Villafáñez
4fcf6c1863
fix: include additional logging in the wopicontext middleware
2024-09-18 13:19:16 +02:00
Juan Pablo Villafáñez
8a02b926a5
fix: missing return in the tracing middleware if we want to skip it
2024-09-17 17:57:44 +02:00
Martin Mattel
12964dd8e5
[docs-only] Fix office365 texts
2024-09-02 10:40:31 +02:00
Michael Barz
903b513d9c
fix: implement review
2024-08-30 16:27:36 +02:00
Michael Barz
90b36a4f64
docs: changelog, README, variable descriptions
2024-08-30 16:20:04 +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
Jörn Friedrich Dreyer
e552196042
update gateway service endpoint descriptions
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Update services/gateway/README.md
Co-authored-by: Martin <github@diemattels.at >
fix env tag
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-08-26 11:03:44 +02:00
Jörn Friedrich Dreyer
84e87cd722
set the configured protocol transport for service metadata
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-08-23 20:51:17 +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 Villafañez
bb78b16079
Merge pull request #9771 from owncloud/collaboration_connector_refactor
...
Collaboration connector refactor
2024-08-13 11:37:56 +02:00
Juan Pablo Villafáñez
29700046d7
docs: add missing code comments in the middlewares
2024-08-12 12:00:42 +02:00
Juan Pablo Villafáñez
82a6a27d22
refactor: simplify ConnectorResponse creation
2024-08-09 13:33:23 +02:00
Juan Pablo Villafáñez
2d3de81117
refactor: change test names
2024-08-08 15:35:41 +02:00
Juan Pablo Villafáñez
132defd738
refactor: adjust unit tests to refactored code
2024-08-08 15:35:08 +02:00
Juan Pablo Villafáñez
6d9717f6d1
refactor: simplify and homogenize connector code
2024-08-07 18:34:58 +02:00
Juan Pablo Villafáñez
eb40aa0460
feat: include X-WOPI-SessionId header in the logs and tracing
2024-08-06 13:36:25 +02:00
Juan Pablo Villafáñez
083a2e1484
feat: include tracing for grpc openInApp function
2024-08-05 13:15:12 +02:00
Juan Pablo Villafáñez
a5d27b2f98
feat: include additional metadata for tracing the collaboration service
2024-08-05 13:15:12 +02:00