Copy of Nextcloud richdocuments app, but with modifications so all traffic goes over clearnet/CJDNS/Tor/I2P/whatever instead of having a single default hostname.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
Iet uz failu
Pranav Kant c166c7b189 Respect default settings
Support for default settings when there is none provided by user
was already in lib/appconfig.php

But we were using the CoreConfig object always which queries the
database; lets use the appConfig object so that if the value is
missing in the database, we still have the default value to take
care of the app.
pirms 8 gadiem
appinfo Respect default settings pirms 8 gadiem
assets remove unused assets pirms 8 gadiem
controller Respect default settings pirms 8 gadiem
css Add restore button to the revision history sidebar pirms 8 gadiem
img Set app icon pirms 8 gadiem
js Make NewFileMenu's display name translatable pirms 8 gadiem
l10n [tx-robot] updated from transifex pirms 8 gadiem
lib Use non strict comparison to validate token pirms 8 gadiem
templates we don't package and apparently we don't need 3rdparty/webodf/dojo-app.css pirms 8 gadiem
tests internal name: richdocuments, name: Collabora Online, version: 0.9.0 pirms 8 gadiem
.gitignore updated .gitignore pirms 8 gadiem
.scrutinizer.yml adding scrutinizer.yml pirms 9 gadiem
.travis.yml Skip Oracle and hhvm for now pirms 8 gadiem
CONTRIBUTING.md Add CONTRIBUTING.md pirms 9 gadiem
Makefile get version number from appinfo/info.xml pirms 8 gadiem
README.md better README pirms 8 gadiem
admin.php Fix appid pirms 8 gadiem
owncloud-collabora-online.spec.in set default WOPI Client URL for rpm pirms 8 gadiem
personal.php Fix appid pirms 8 gadiem
public.php remove unused css pirms 8 gadiem
settings.php Fix appid pirms 8 gadiem

README.md

richdocuments ownCloud application to integrate Collabora Online

Installation

make dist

Creates a tarball. The contents should go under owncloud/apps/richdocuments.

rpmbuild -ba -vv owncloud-collabora-online.spec

Creates an RPM package (tested only with openSUSE). The CODE VM uses it.

Memcache is a requirement (tested only with APCu). Install php-apcu, php5-apcu, or whatever this package is called on your Linux distro, and add the following line to owncloud/config/config.php:

'memcache.local' => '\OC\Memcache\APCu',

From command line you can use:

occ config:system:set --value='\OC\Memcache\APCu' memcache.local

You can enable richdocument application from the command line:

occ app:enable richdocuments

You need to configure the WOPI Client URL, which is where the LibreOffice Online WebSocket Daemon (loolwsd) is listening. It is in Admin - Collabora Online section in ownCloud, or you can set it from command line:

occ config:app:set --value='https://<hostname or IP address>:<port>' richdocuments wopi_url

Default port is 9980. If loolwsd was compiled without SSL (like in the CODE VM), you have to write http instead of https. If you use SSL, and you get the following error:

cURL error 60: SSL certificate problem: self signed certificate in certificate chain

You have to add the CA cert manually to ownCloud trusted cert storage:

cat ca-chain.cert.pem >> owncloud/resources/config/ca-bundle.crt