richdocuments/README.md

65 lines
1.9 KiB
Markdown
Raw Normal View History

2013-08-27 20:11:11 +02:00
documents
=========
2013-09-30 21:39:58 +03:00
2014-05-27 21:51:51 +02:00
Documents app for ownCloud
An ownCloud app to work with office documents alone and/or collaboratively.
2013-09-30 21:39:58 +03:00
2014-05-13 14:33:04 +02:00
[![Build Status](https://travis-ci.org/owncloud/documents.svg?branch=master)](https://travis-ci.org/owncloud/documents)
### 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`
2013-09-30 21:39:58 +03:00
**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.
2013-09-30 21:39:58 +03:00
### 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
2015-01-13 17:00:34 +03:00
### CloudSuite upgrade ###
Similar to WebODF upgrade below, but easier:
./src/updateWebODF.sh prepare
./src/updateWebODF.sh copy
2015-01-13 17:00:34 +03:00
### WebODF upgrade ###
1. Build WebODF:
2015-01-13 17:29:06 +03:00
2015-06-12 18:25:28 +03:00
./src/updateWebODF.sh prepare
or
2015-01-13 17:29:06 +03:00
git clone https://github.com/kogmbh/WebODF.git webodf
mkdir build
cd build
cmake ../webodf
2015-06-12 18:25:28 +03:00
make all webodf-debug.js-target build-wodocollabtexteditor
2015-01-13 17:00:34 +03:00
2. Refresh code and create a new branch:
2015-01-13 17:29:06 +03:00
cd /path/to/documents
git checkout master
git pull --rebase
git checkout -b new-branch
2015-01-13 17:00:34 +03:00
3. Run upgrade script:
2015-01-13 17:29:06 +03:00
2015-06-12 18:25:28 +03:00
./src/updateWebODF.sh copy
./src/updateWebODF.sh patch
2015-01-13 17:29:06 +03:00
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.