Jan Holesovsky 3bed81b4a9 cloudsuite: Implement the document loading via CloudSuite.
In order to work, we need a group that is shared between wwwrun (for owncloud)
and loolwsd; let's call it loolwww.  Then:

cd <www>/owncloud/apps/documents
mkdir documents-tmp
chown chown wwwrun:loolwww documents-tmp
chmod g+ws documents-tmp

ownCloud takes care of copying the files to this shared location, and back (in
the future).  It will also need to take care of the cleanup, at the moment the
files are leaked.
2015-10-28 15:57:51 +01:00
2015-09-30 20:48:29 +03:00
2015-10-23 00:43:41 -04:00
2015-10-21 00:23:01 +03:00
2015-09-30 20:48:29 +03:00
2015-09-18 01:03:28 +03:00
2015-05-04 00:12:43 +02:00
2015-07-18 22:26:17 +02:00
2015-08-27 01:27:06 +03:00
2015-07-08 21:17:20 +02:00

documents

Documents app for ownCloud

An ownCloud app to work with office documents alone and/or collaboratively.

Build Status

Known issues

Problem: Editor doesn't open. Spinner spins for ages.
Solution: Try to disable gzip for Documents app by adding the following line to your .htaccess:
SetEnvIf Request_URI .*/apps/documents/ajax/.* no-gzip dont-vary

Problem: Doc(x) support doesn't work
Solution: Install at least libreoffice-common and libreoffice-writer packages for your distro.
If you don't want to mess around with dependencies, you need simply install unoconv package. It will do the trick for you.

How to add more fonts

  • Upload font files to documents/css/fonts directory
  • Edit documents/css/fonts.css adding @font-face rule for each uploaded file

CloudSuite upgrade

Similar to WebODF upgrade below, but easier:

    ./src/updateWebODF.sh prepare
    ./src/updateWebODF.sh copy

WebODF upgrade

  1. Build WebODF:

     ./src/updateWebODF.sh prepare
    

or

    git clone https://github.com/kogmbh/WebODF.git webodf
    mkdir build
    cd build
    cmake ../webodf
    make all webodf-debug.js-target build-wodocollabtexteditor
  1. Refresh code and create a new branch:

     cd /path/to/documents
     git checkout master
     git pull --rebase
     git checkout -b new-branch
    
  2. Run upgrade script:

     ./src/updateWebODF.sh copy
     ./src/updateWebODF.sh patch
    
  3. Resolve confilcts in patches (if any). Commit changes.

  4. Update patches in /path/to/documents/src/patches according to conflicts. Commit changes.

  5. Test UI. Fix glitches by updating CSS. Commit changes.

  6. Run locale extraction script:

     ./src/updateWebODF.sh
    
  7. Commit changes

  8. Push the branch for testing

  9. You are done.

Description
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.
Readme 20 MiB
Languages
JavaScript 71.5%
PHP 24.4%
CSS 3.7%
Makefile 0.4%