Documents app for ownCloud
An ownCloud app to work with office documents alone and/or collaboratively.
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.
- Upload font files to documents/css/fonts directory
- Edit documents/css/fonts.css adding
@font-face
rule for each uploaded file
-
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
-
Refresh code and create a new branch:
cd /path/to/documents git checkout master git pull --rebase git checkout -b new-branch
-
Run upgrade script:
./src/updateWebODF.sh copy ./src/updateWebODF.sh patch
-
Resolve confilcts in patches (if any). Commit changes.
-
Update patches in
/path/to/documents/src/patches
according to conflicts. Commit changes. -
Test UI. Fix glitches by updating CSS. Commit changes.
-
Run locale extraction script:
./src/updateWebODF.sh
-
Commit changes
-
Push the branch for testing
-
You are done.