Commit Graph

83 Commits

Author SHA1 Message Date
André Duffeck
e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer
db39b8ed3b use opencloudurl
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 11:13:08 +01:00
Jörn Friedrich Dreyer
7284acdfeb local occurences
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-15 11:19:04 +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
Roman Perekhod
8d1f990abd Made GetScopeByKeyPrefix function as a private method of the FileConnector 2024-12-10 10:08:30 +01:00
Roman Perekhod
1d08e9f5ea use the context as a scopes carrier 2024-12-09 14:45:40 +01:00
Roman Perekhod
ebfcf5a164 use generic wopiContext.scope decoder 2024-12-09 14:45:39 +01:00
Roman Perekhod
8d83ac4459 fixed the FileInfo.BreadcrumbFolderURL in a collaboration api 2024-12-09 14:45:39 +01:00
Martin
21c584c2e8 Merge pull request #10447 from owncloud/collaboration_remove_lockname_config
feat: use only the app name in order to name the lock
2024-11-05 17:11:47 +01:00
Michael Barz
dddc6fbdb5 fix: wopi lock header in get lock response 2024-11-05 15:35:43 +01:00
Juan Pablo Villafáñez
8d80b5ca25 fix: remove obsolete configuration option 2024-11-05 14:44:20 +01:00
Juan Pablo Villafáñez
eb1736d099 feat: use only the app name in order to name the lock 2024-11-05 14:43:20 +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
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
924f77f044 fix: adjust unit tests 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
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
Michael Barz
e40b7240bf feat: template feature
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2024-10-17 08:47:02 +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
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