Commit Graph

37 Commits

Author SHA1 Message Date
Julian Koberg
8e8041ac8b fix(collaboration): [OCISDEV-781] return 200 OK for WOPI Lock in read-only modes
OnlyOffice sends a WOPI Lock request on document open regardless of whether
the user has write access. The Lock handler was calling SetLock with a
read-only CS3 token, which returned a permission error propagated as HTTP 500
to OnlyOffice, causing an error dialog on load.

Return 200 OK immediately for READ_ONLY and VIEW_ONLY view modes without
acquiring a CS3 lock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-04-24 13:15:33 +02:00
Roman Perekhod
b0c3d60cc1 fix: [OCISDEV-151] the watermark is visible to user with a viewer role in Collabora 2025-07-02 20:51:13 +02:00
Michal Klos
56a681defa fix: collaboration, missing LastModifiedTime 2025-05-21 09:41:51 +02:00
Michal Klos
e13fa5e39b fix: check jwt signed token 2025-05-07 12:03:13 +02:00
Roman Perekhod
c9e0547dce Fix pdf form creation for Onlyoffice 2025-03-26 16:35:03 +01:00
Julian Koberg
b979844791 feat(ocis): adjust reva imports
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 11:14:44 +01:00
Roman Perekhod
1d08e9f5ea use the context as a scopes carrier 2024-12-09 14:45:40 +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
ff8d674666 fix: adjust tests for the new config option 2024-11-05 13:20:28 +01:00
Michael Barz
406c8ca98d tests: add checks to unit tests 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
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
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
82a6a27d22 refactor: simplify ConnectorResponse creation 2024-08-09 13:33:23 +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
23077223b4 fix: adjust unit tests and remove duplicated call 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
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
6036b5a71f fix: adjust unit tests 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
Juan Pablo Villafáñez
b4e09e34ae fix: adjust unit tests 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
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
Roman Perekhod
eefe991487 added the watermark text for the Secure View mode 2024-05-14 23:54:07 +02:00
Juan Pablo Villafáñez
710a0b4561 test: add unit tests, adjust fileinfo 2024-04-17 15:54:51 +02:00