📑 Collabora Online for Nextcloud
Перейти к файлу
Julius Härtl 3e7cf1715d
Merge pull request #1685 from nextcloud/dependabot/npm_and_yarn/babel/core-7.14.8
Bump @babel/core from 7.14.6 to 7.14.8
2021-07-28 17:15:27 +02:00
.github Pin mariadb version to 10.5 for now 2021-07-14 16:13:52 +02:00
.tx Update backport 2021-07-15 14:29:07 +02:00
appinfo Bump version to 4.2.1 2021-07-28 16:49:49 +02:00
assets Very minimal document templates for Collabora Online 2020-09-10 11:33:30 +02:00
css Always update versions tab when the file is open 2020-10-13 14:35:56 +02:00
docs Emit WOPI postmessages through the nextcloud event bus 2021-05-05 16:07:02 +02:00
img Move css to the bundles 2020-05-20 14:08:21 +02:00
l10n [tx-robot] updated from transifex 2021-07-28 02:49:47 +00:00
lib Merge pull request #1655 from mikekaganski/master 2021-07-14 13:12:11 +02:00
src l10n: Change to uppercase 2021-07-22 09:23:28 +02:00
templates Update bundles names 2021-03-30 09:33:27 +02:00
tests Check for share token permissions 2021-07-14 12:34:15 +02:00
.eslintignore Move to webpack build 2019-07-16 07:39:15 +02:00
.eslintrc.js Cleanup eslint 2021-04-01 14:05:45 +02:00
.gitignore Run php linter on github actions 2020-06-23 13:37:52 +02:00
.nextcloudignore Update krankerl config 2020-04-01 09:28:54 +02:00
.scrutinizer.yml adding scrutinizer.yml 2015-05-04 00:12:43 +02:00
.stylelintrc.js Add stylelint 2019-07-16 07:39:43 +02:00
CHANGELOG.md Bump version to 4.2.1 2021-07-28 16:49:49 +02:00
Makefile Small makefile adjustments 2019-02-14 12:50:48 +01:00
README.md Add a message regarding potential compatability 2020-11-10 09:59:52 -05:00
babel.config.js Move to @nextcloud/babel-config 2021-03-30 17:17:18 +02:00
composer.json Add psalm 2021-04-21 13:34:32 +02:00
composer.lock Bump psalm/phar from 4.7.3 to 4.8.1 2021-06-26 01:01:37 +00:00
issue_template.md Update issue_template.md 2017-04-18 13:06:31 +02:00
krankerl.toml Update krankerl config 2020-04-01 09:28:54 +02:00
mkdocs.yml Add documentation 2020-02-02 11:40:41 +01:00
package-lock.json Merge pull request #1685 from nextcloud/dependabot/npm_and_yarn/babel/core-7.14.8 2021-07-28 17:15:27 +02:00
package.json Merge pull request #1685 from nextcloud/dependabot/npm_and_yarn/babel/core-7.14.8 2021-07-28 17:15:27 +02:00
psalm.xml Add psalm 2021-04-21 13:34:32 +02:00
tsconfig.json Use ES6 target for typescript 2020-05-11 12:18:10 +02:00
webpack.js Lint fix 2021-03-30 09:33:33 +02:00

README.md

Collabora Online

Build Status Scrutinizer Code Quality irc

A Nextcloud app integrating Collabora Online into your Nextcloud!

Development setup

Just clone this repo into your apps directory (Nextcloud server installation needed). Additionally, npm and Node.js are needed for installing JavaScript dependencies and building the frontend code.

Once npm and Node.js are installed, this can be done by running:

npm ci
npm run dev

Installation

Server

You will need an working Collabora Online server to connect to. Find out more about Nextcloud and Collabora Online, and how to setup an server here: https://nextcloud.com/collaboraonline/

Note: it is possible to use Collabora Onlines integration with re-compiled and/or re-branded backends. This app may work with other WOPI Edtiors such as LibreOffice Online but it is not tested.

Nextcloud app

In your Nextcloud, simply navigate to »Apps«, choose the category »Office & text«, find the Collabora Online app and enable it. Then open the administrator settings, navigate to the »Collabora Online« tab and specify your Collabora Online server.

Nextcloud/Collabora Online relation

For the latest information about the Collabora Online and Nextcloud releases, please visit the:

Apps page of Collabora.

Federated editing / Global Scale

Collaborative editing of federated documents requires richdocuments version 3.4 on all involved servers. Besides that the following conditions must be met:

  • Make sure the remote server is added as a trusted server
  • Allow any domain to embed Collabora Online in a frame: <frame_ancestors>https://*</frame_ancestors> must be set in loolwsd.xml

Note: Due to our content security policy we cannot open a document on a remote instance without reloading the page to allow Nextcloud embedding the remote collabora instance in a frame.

Scripted installation (Ubuntu), Server + Nextcloud app

The developers of the Nextcloud VM has made a script that you can use. Please remember to check the variables in the script to suit your config before you run it, though it should work out of the box on all Ubuntu servers from 16.04 an upwards.

The only thing you must have prepared before you run the script is to have SSL (https://) on your Nextcloud domain and to setup a DNS record to a new domain that you will host Collabora on (office.domain.com for example) and point that your server. SSL is set up with Let's Encrypt.

To get the script, please type the folloing command: wget https://github.com/nextcloud/vm/blob/master/apps/collabora.sh and then run the script with sudo bash nextant.sh.

Please report any issues regarding the script in the Nextcloud VM repo.

Support

Enterprise users who need a more reliable and scalable solution can take advantage of Nextcloud GmbH's optional support contract for Collabora Online. Find out more about Enterprise support for Collabora Online over here: https://nextcloud.com/enterprise/