💀 Nextcloud Documents is 💀 DEPRECATED 💀 UNDEAD 💀 collaborative editing of rich-text documents.
Перейти к файлу
Jos Poortvliet abe7a83f02
Merge pull request #5 from nextcloud/jospoortvliet-patch-1
Update README.md
2018-01-02 18:11:01 +01:00
appinfo 0.14.0 2016-08-09 20:50:23 +03:00
assets Move the expected FFS response to the assets 2014-11-05 18:05:06 +03:00
controller Fix upload 2016-07-13 00:14:28 +03:00
css Fix share dropdown 2015-09-30 20:48:29 +03:00
img adjust app icon to fit new filetype icons 2015-09-03 16:12:19 +02:00
js Merge pull request #645 from owncloud/share-escape 2016-08-09 19:58:26 +03:00
l10n [tx-robot] updated from transifex 2017-04-06 00:43:19 +02:00
lib Case share id to string 2016-07-07 08:31:18 +02:00
src Update build script and instructions 2015-06-12 18:33:19 +03:00
templates Fix upload 2016-07-13 00:14:28 +03:00
tests getPath throw exception since 9.0 2016-04-01 01:19:38 +03:00
.gitignore Update build script and instructions 2015-06-12 18:33:19 +03:00
.scrutinizer.yml adding scrutinizer.yml 2015-05-04 00:12:43 +02:00
.travis.yml Fix phpunit version to be used 2017-04-03 23:00:27 +02:00
CONTRIBUTING.md Add CONTRIBUTING.md 2015-07-08 21:17:20 +02:00
README.md Update README.md 2017-09-25 09:49:39 +02:00
admin.php Remove deprecated API usage. Step 2 2015-08-27 01:27:06 +03:00
personal.php Remove deprecated API usage. Step 2 2015-08-27 01:27:06 +03:00
public.php Remove private and deprecated API calls 2015-08-28 19:32:54 +03:00
settings.php Remove deprecated API usage. Step 2 2015-08-27 01:27:06 +03:00

README.md

documents

Documents app for Nextcloud

A Nextcloud app to work with office documents alone and/or collaboratively. It can open ODF documents and supports the basic features around text markup and inserting images. Tables can be displayed and edited but not created. Most other features are not supported. As the Documents app does not import documents to an internal representation and export them upon saving, editing will rarely damage documents, even if it can't display or handle elements.

Deprectated 💀

Sadly, WebODF is no longer developed and the company behind it has closed up. We might continue to try to keep Documents compatible with Nextcloud releases. But, as browsers change and office document formats evolve, the WebODF engine itself is expected to start exhibiting more and more issues over time and it will cease to function at some point. Unless a significant time effort can be invested in WebODF, there is not much that can be done about this.

We suggest to migrate to Collabora Online.

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:

     ./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.