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
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
Michael Barz
903b513d9c
fix: implement review
2024-08-30 16:27:36 +02:00
Michael Barz
bfa3dd07bc
feat: office 365 proxy support
2024-08-30 16:20:04 +02:00
Juan Pablo Villafáñez
fe1712ebca
fix: adjust unit tests
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
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
a5d27b2f98
feat: include additional metadata for tracing the collaboration service
2024-08-05 13:15:12 +02:00
Juan Pablo Villafáñez
243f2febab
fix: code review fixes
2024-08-02 12:27:49 +02:00
Juan Pablo Villafáñez
8ef9bd4499
fix: retry delete request if we get a "too_early" code
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
fb72684c24
fix: explicitly set the HTTP status for the access log
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
d35e588532
fix: adjust updated code
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
94d191f624
refactor: simplify code
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
23077223b4
fix: adjust unit tests and remove duplicated call
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
90fab1d4f0
fix: code adjustments based on the wopi validator
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
3c227f6131
test: add unit tests for the rename operation
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
80cac903c9
test: adjust unit tests
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
78195bba2e
feat: add renameFile operation, improve logs and docs
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
1c3f7cd35a
test: add unit test for the new operations and include some fixes
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
9417e3c7a0
fix: use constants for the names of the ranges
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
135613f8f2
test: adjust logs and fix CI
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
6036b5a71f
fix: adjust unit tests
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
b5b9f8d189
feat: implement putRelativeFile and deleteFile endpoints
2024-07-31 12:50:41 +02:00
Juan Pablo Villafáñez
21c3ae10a7
feat: add support for utf7 encoding for some WOPI operations
2024-07-31 12:50:41 +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
Christian Richter
c99550984e
change providerv1beta1.Reference to pointer
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-07-12 12:00:18 +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
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
eefe991487
added the watermark text for the Secure View mode
2024-05-14 23:54:07 +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
9b4233e690
test: include interfaces, add mocks and add unit tests in adapter
2024-04-17 15:54:51 +02:00