collaboraonline / collabora-drupal Goto Github PK
View Code? Open in Web Editor NEWCollabora Online Drupal module
License: Mozilla Public License 2.0
Collabora Online Drupal module
License: Mozilla Public License 2.0
See
https://sdk.collaboraonline.com/docs/How_to_integrate.html#further-differences-to-wopi
We must handle the modification dates to avoid overriding.
Implement getDocumentType and canEdit in CoolUtil
getDocumentType give a string for the type of document this is. It is checked against a static list.
canEdit indicate with can save as this format.
In the fullscreen edit, add the closebutton and the postmessage code to handle it.
The close button presence should be a parameter.
Currently the access token is not generated nor verified.
Figure out how we can define permissions specific to Collabora for Drupal users.
WOPI put file provide save reasons.
See https://sdk.collaboraonline.com/docs/advanced_integration.html#putfile-headers
WOPI should use File (and file ID) and not Media.
There is a 1:n relationship for File -> Media (File can be in several Media)
Preview seems to only work on files.
PutFile should also return LastModifiedTime
See https://sdk.collaboraonline.com/docs/advanced_integration.html#detecting-external-document-change
Allow inserting remote images in a document from the media in Drupal.
Add options for customizing COOL, like CSS and other UI bits.
.csv is not allowed as a document. This is Drupal, but can we register it?
Installation documentation:
When trying to view a document if the COOL server isn't reachable for the discovery URL, then we should display a clear error message.
The security should be reviewed.
Notable areas:
The current ttl is set to 1hours in the token JWT payload.
access_token_ttl
WOPI Put file isn't implemented yet.
Have an edit route that does like the view.
Make view read-only always.
The editor should be embedded inside the template, to show the admin and other user logged in links.
Currently it's just bare.
Also we need a close box.
Remove the final /
on wopi base
This should happen when saving the preferences to avoid the 302 requests.
By default I can't upload documents bigger than 2MB. It seems to be a Drupal limitation / configuration
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.