Commit Graph
194 Commits
Author SHA1 Message Date
Michal Klos fcbfecf376 feat: [stable-8.0][OCISDEV-1115] harden nats communication (#12790)
feat: [OCISDEV-1115] harden nats communication (#12777)

* feat: [OCISDEV-1115] harden nats communication

* feat: bump reva for tls-enabled stores
2026-08-14 12:13:42 +02:00
Julian KobergandClaude Sonnet 4.6 39bb128c91 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 15:36:17 +02:00
Martin Mattel 68c58c62d9 [docs-only] Change curie to semver in envvars plus script update 2026-01-13 10:11:17 +01:00
Lukas Hirt 080d7c400b fix(collaboration): [OCISDEV-484] remove leading dot from file extension
This removes the leading dot from the file extension during registration.
This fixes a bug where the `COLLABORATION_WOPI_DISABLED_EXTENSIONS` config
was ignored. Technically, admins could set the env var with leading dots
as well. However, documentation always specifies this without leading dots.
2025-11-11 14:12:40 +01:00
Lukas HirtandMartin f5046f6f65 docs: improve env var description
Co-authored-by: Martin <github@diemattels.at>
2025-10-21 11:21:00 +02:00
Lukas Hirt 7974895fd9 feat(collaboration): [OCISDEV-336] support disabling editors by extensions
We have extended the configuration of collaboration service to support
disabling editors for specific file extensions.
2025-10-21 10:47:46 +02:00
Martin Mattel 20625b71c9 [docs-only] A first set of doc changes for 7.3 2025-09-22 12:37:33 +02:00
Roman PerekhodandMartin 27a5223dc9 feat: [issues/OCISDEV-305] Enable the mobile web view for OnlyOffice … (#11661)
* feat: [issues/OCISDEV-305] Enable the mobile web view for OnlyOffice (EE)

* Update services/collaboration/README.md

Co-authored-by: Martin <github@diemattels.at>

* Update services/collaboration/README.md

Co-authored-by: Martin <github@diemattels.at>

* Update services/collaboration/pkg/config/app.go

Co-authored-by: Martin <github@diemattels.at>

* Update services/collaboration/pkg/config/wopi.go

Co-authored-by: Martin <github@diemattels.at>

---------

Co-authored-by: Martin <github@diemattels.at>
2025-09-21 20:16:01 +02:00
Juan Pablo Villafañez a46cd29cc9 Merge pull request #11573 from owncloud/otelhttp_for_tracing
Otelhttp for tracing
2025-08-07 13:48:02 +02:00
861b20dc9d chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9 (#11570)
* chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9

Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.5 to 1.0.9.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.5...v1.0.9)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.0.9
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: adjust to tablewriter 1.0.9 (AI-powered)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* update to NewTable

* bring back a Footer

* fix the tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2025-08-06 09:39:49 +02:00
Juan Pablo Villafáñez 01a9713b52 feat: use otelhttp for tracing, fix tracing in proxy
otelchi and other custom solutions have been replaced with otelhttp to
trace HTTP requests; new middleware is provided to be used across the
platform.

The proxy service will use a custom HTTP client to forward the headers
needed for telemetry automatically (also based on otelhttp)
2025-07-31 11:06:33 +02:00
Juan Pablo Villafáñez a388c8d642 feat: Homogenize tracing of requests to other services
The "tracing.GetNewRequest" and "tracing.GetNewRequestWithContext" aims
to replace the "http.NewRequest" and "http.NewRequestWithContext"
respectively by including tracing data.

For requests that have been already created, such as the case of some
reva requests, "tracing.InjectTracingHeaders" is provided.

Note that some outgoing requests might be required NOT to use tracing
headers.
2025-07-18 14:40:55 +02:00
Juan Pablo Villafáñez 641fa42f8d chore: add otlp as supported tracing type
This is just for documentation purposes. There is no code change.
2025-07-14 15:29:16 +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
Roman Perekhod 4fc4822696 collect the errors from group runner 2025-06-13 16:14:41 +02:00
Roman Perekhod d31ca63af1 set default timeouts and clean up 2025-05-28 12:21:50 +02:00
Roman Perekhod e1325ca40f to separate controll ower the http and grpc driven services 2025-05-28 12:21:50 +02:00
Juan Pablo Villafáñez 399a24e9b6 feat: use runners to startup the services 2025-05-28 12:21:49 +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 db91d35238 Fixed Collaboration file extension check to case-insensitive comparison 2025-01-30 18:31:43 +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
Ralf Haferkamp 4c8a36f0d4 Bump golang-jwt/jwt to v5
Seems this was missed in 109b23966c
2024-11-21 17:56:31 +01:00
Juan Pablo Villafáñez 904491c2b2 fix: properly return an error and use cache for public keys if possible 2024-11-18 11:01:34 +01:00
Jörn Friedrich Dreyer b57da8128e use gateway selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 16:45:44 +01:00
Jörn Friedrich Dreyer 1a429115c2 register services after they are ready
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 10:38:23 +01:00
Juan Pablo Villafáñez 3d654683da fix: copy app name if product name isn't provided 2024-11-06 15:27:20 +01:00
Martin 9b03acb9ad Merge pull request #10475 from owncloud/mmattel-patch-1
[docs-only] Update collaboration envvar descriptions
2024-11-05 17:39:00 +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
Martin b6d33acc83 [docs-only] Update collaboration envvar descriptions
As discussed with @micbar
2024-11-05 17:09:17 +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 1e8b5fae70 fix: add product name to the registration info 2024-11-05 11:57:14 +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 f9510e028e fix: proofkeys validation with proxy 2024-11-04 21:00:24 +01:00
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