Skip to content
/ ownpad Public
forked from otetard/ownpad

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

License

Notifications You must be signed in to change notification settings

KTim21/ownpad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 67.9%
  • JavaScript 27.1%
  • CSS 5.0%