Skip to content

feat: move collaboration into the opencloud process - #314

Merged
v-scharf merged 2 commits into
mainfrom
refactor-wopi
Jun 22, 2026
Merged

v-scharf merged 2 commits into
mainfrom
refactor-wopi

Conversation

@micbar

@micbar micbar commented Jun 19, 2026

Copy link
Copy Markdown
Member

Description

The WOPI server runs inside the main OpenCloud process and is served by
the OpenCloud proxy on the main OpenCloud domain (OC_DOMAIN) under the /wopi and
/collaboration paths. It no longer needs its own domain.

@micbar
micbar requested review from Svanvith, fschade and v-scharf June 19, 2026 18:27
@micbar

micbar commented Jun 19, 2026

Copy link
Copy Markdown
Member Author

@Svanvith @ScharfViktor This should be appliable without a breaking change. It should just work.

I recommend also to backport it to the stable-7.2 branch.

@v-scharf v-scharf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested:

COMPOSE_FILE=docker-compose.yml:weboffice/euroffice.yml:traefik/opencloud.yml:traefik/euroffice.yml
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml

curl -k https://cloud.opencloud.test/wopi
I'm a teapot
v.scharf@Mac opencloud % curl -k https://cloud.opencloud.test/collaboration 
<!DOCTYPE html><html lang="en"><head><base href="/"/>
    <script>window.WEB_APPS_MAP = {"web-app-activities":"./web-app-activities-DYRqR-xd.mjs","web-app-admin-settings":"./web-app-admin-settings-dtfz7lBk.mjs","web-app-app-store":"./web-app-app-store-C-ACUug6.mjs","web-app-contacts":"./web-app-contacts-BPCYTRsj.mjs","web-app-epub-reader":"./web-app-epub-reader-Ciwo2-ju.mjs","web-app-external":"./web-app-external-CH0MOPX7.mjs","web-app-files":"./web-app-files-Bbtx5kHt.mjs","web-app-mail":"./web-app-mail-D1lBctGL.mjs","web-app-ocm":"./web-app-ocm-DQ_WGCr-.mjs","web-app-pdf-viewer":"./web-app-pdf-viewer-DYf6baSZ.mjs","web-app-preview":"./web-app-preview-C_-6NDUz.mjs","web-app-search":"./web-app-search-D812Tsmm.mjs","web-app-text-editor":"./web-app-text-editor-BIdNoDWy.mjs","web-app-webfinger":"./web-app-webfinger-xr95m9HI.mjs"}</script>
  • ✅ The document opens in Collabora/EuroOffice;
  • ✅ Collaborative mode works

Remarks:

needs remove: https://github.com/opencloud-eu/opencloud-compose/blob/main/external-proxy/collabora-exposed.yml#L4-L7

@micbar

micbar commented Jun 22, 2026

Copy link
Copy Markdown
Member Author

@micbar
micbar requested a review from v-scharf June 22, 2026 13:08
@v-scharf
v-scharf merged commit 3314522 into main Jun 22, 2026
@v-scharf
v-scharf deleted the refactor-wopi branch June 22, 2026 13:25
@micbar

micbar commented Jun 22, 2026

Copy link
Copy Markdown
Member Author

@ScharfViktor I think we need to backport that into stable-7.2

@v-scharf

Copy link
Copy Markdown
Contributor

I recommend also to backport it to the stable-7.2 branch.

I cannot port this pr to stable-7.2 due the euro-office changes. @micbar do we need euro-office in stable?

@v-scharf

Copy link
Copy Markdown
Contributor

@ScharfViktor I think we need to backport that into stable-7.2

done. #315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants