KTim21 / ownpad

OwnPad is an ownCloud application that allows to create and open Etherpad and Ethercalc documents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ownpad — Etherpad and Ethercalc links in ownCloud

Ownpad is an ownCloud application that allows to create and open Etherpad and Ethercalc documents. This application requires to have access to an instance of Etherpad and/or Ethercalc to work properly.

This application works pretty much like files_etherpad but is a complete rewrite.

Configuration

In order to make Ownpad work, you need to go to the configuration panel and then fill the “Collaborative documents” section. There is no need to fill both Etherpad and Ethercalc hosts.

Afterwards, the “pad” and/or “calc” items will be available in the “+” menu from the “File” app.

Mimetype detection

Unfortunately, apps can’t declare new mimetypes on the fly. To make Ownpad work properly, you need to add two new mimetypes in the mimetypemapping.json file (at ownCloud level).

To proceed, just copy /resources/config/mimetypemapping.dist.json to /config/mimetypemapping.json (in the config/ folder at Nextcloud’s root directory; the file should be stored next to the config.php file)., and then add the two following lines just after the “_comment” lines.

"pad": ["application/x-ownpad"],
"calc": ["application/x-ownpad"],

If all other mimetypes are not working properly, just run the following command:

sudo -u www-data php occ files:scan --all

About

OwnPad is an ownCloud application that allows to create and open Etherpad and Ethercalc documents.

License:GNU Affero General Public License v3.0


Languages

Language:PHP 67.9%Language:JavaScript 27.1%Language:CSS 5.0%