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.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Victor Dubiniuk d10c384476 Fix documentCreate test 9 years ago
appinfo Update appinfo to actual state 9 years ago
assets Move the expected FFS response to the assets 10 years ago
controller Kill OC_FileProxy references 9 years ago
css Add Google Crosextra Caladea substitution for Cambria 9 years ago
img remove shadow effect from icon, reduce size 10 years ago
js Encode token in viewer 9 years ago
l10n [tx-robot] updated from transifex 9 years ago
lib Test using the config in the instance temp folder 9 years ago
src Patch for Tollbar 9 years ago
templates Drop useless execution bits 9 years ago
tests Fix documentCreate test 9 years ago
.scrutinizer.yml adding scrutinizer.yml 9 years ago
.travis.yml Update the branches.only setting in .travis.yml 9 years ago
README.md Fix build target 9 years ago
admin.php Add config page and settings 10 years ago
index.php Enable by default. Skip loading if disabled 9 years ago
personal.php Default documents dir for upload. Ref #49 11 years ago
public.php Revert "Fix stylesheets loading in pipeline mode. Ref #348" 10 years ago
settings.php rename office -> documents 11 years ago

README.md

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

WebODF upgrade

  1. Build WebODF:

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

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

     ./src/updateWebODF.sh /path/to/WebODF/buildDir
    
  4. Resolve confilcts in patches (if any). Commit changes.

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

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

  7. Run locale extraction script:

     ./src/updateWebODF.sh
    
  8. Commit changes

  9. Push the branch for testing

  10. You are done.