GithubHelp home page GithubHelp logo

galupa / libreoffice-online-repo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arawa/libreoffice-online-repo

0.0 1.0 0.0 189 KB

LibreOffice Online module for Alfresco repository

Batchfile 0.38% Shell 0.39% FreeMarker 2.42% JavaScript 7.16% Java 89.64%

libreoffice-online-repo's Introduction

LibreOffice Online Alfresco Repository AMP module

This is an Alfresco Repository AMP module that adds WOPI host capabilities to Alfresco.
It does not implement the full WOPI protocol, merely the following endpoint interfaces:

  • CheckFileInfo
  • GetFile and
  • PutFile

This module was developed against Alfresco version 5.2.g.

Webapplication Open Platform Interface protocols

For information on WOPI, see http://wopi.readthedocs.io/projects/wopirest/en/latest/endpoints.html for the list of WOPI endpoints.

Installing

First install LibreOfficeOnLine. (See https://github.com/LibreOffice/online for the latest installation instructions).

See http://docs.alfresco.com/5.0/tasks/dev-extensions-tutorials-simple-module-install-amp.html for how to install this module in your Alfresco repository installation.

Add the following properties to your alfresco-global.properties file:

JDK 8+

The page module evaluator requires JDK higher than or equal to version 8.

Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and click on button "Download JDK".

There are installation instructions on that page as well. To verify that your installation was successful, run "java -version" on the command line. That should print the installed version of your JDK.

Contributing

Submit pull a pull request. You're also welcome to fork the code for your own purpose(s).

License

This code is released and distributed under the Mozilla Public License 2.0:

Reporting problems

Every self-respecting developer should have read link on how to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html.

After you've done that you can create issues in https://github.com/ArawaFr/libreoffice-online-repo/issues.

Changelog

version 1.3.0

  • Simply token cache mecanisme
  • Add ttl to token cache
  • Check Permission "READ" when creating token
  • Try to renew token when outdate (Prevent "Forbidden Error" after long inactivity)
  • Use secure NodeService in LOOLWPOITokenService (force check permission)
  • Permit to configure ttl token for testing

version 1.2.2

  • Add log to checkAccessToken

version 1.2.1

  • Fix bug that save empty version

version 1.2

  • Add implentation of X-LOOL-WOPI-Timestamp

version 1.1

  • Add compatibility with clustered environments
  • update to alfresco-sdk 2.2.0

version 1.0

  • Create lool:collaboraOnline aspect
  • webscript to add and remove lool:collaboraOnline aspect
  • Create lool:autosave property
  • webscript to clean history version

Features to consider

  • Support Save-As (TemplateSaveAs)
  • WOPI: added FollowUser_Changed notification
  • Support X-LOOL-WOPI-IsExitSave (libreoffice-6.2.0.1)
  • WOPI: Extend HideUserList to CheckFileInfo
  • insert remote image
  • file share functionality
  • document signing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.