Commit Graph

13 Commits (7ef24654cf0963bc9e27e2846fabea706b1a1cc5)

Author SHA1 Message Date
Lukas Reschke 7ef24654cf
Public editing
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke 75af90b4f1
Cleanup source code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Pranav Kant a12ff8d0d2 security: Support WOPI's PostMessageOrigin
Adds a new property PostMessageOrigin to WOPI's CheckFileInfo.
The inner frame then only sends message to target with origin
mentioned in this property.

Also implement editor initialization WOPI specs. Inner frame
sends a App_LoadingStatus message to us when ready, and we send
Host_PostmessageReady when we are ready.
8 years ago
Pranav Kant 7e64777f4a Store canwrite property in DB
Move whether the file is editable or not logic when generating a
token and store it in the DB with the access token instead of
checking it dynamically in WOPI calls.
8 years ago
Pranav Kant 20d2ce582a Don't ignore non-updatable files
Don't discriminate with these files; let them have the right to
join the session or generate access token like other sessions
8 years ago
Robin Appelman cfd3bb662a Use non strict comparison to validate token
On my setup this is needed to load a document

Maybe related to using postgres
8 years ago
Pranav Kant 45d76a1c68 Add support for opening and editing files from external storage 8 years ago
Pranav Kant 3235b886ad Add a revision history sidebar 8 years ago
Ashod Nakashian 0517f76c32 Shared documents now show correct editor's name in the change hisotry 8 years ago
Ashod Nakashian 0c508a09e0 Support for file versioning in WOPI 8 years ago
Andras Timar ef78d87173 PHP syntax error on Ubuntu 14.04 LTS
syntax error, unexpected '*', expecting ',' or ';' at /var/www/owncloud/apps/richdocuments/lib/db/wopi.php#28
8 years ago
Ashod Nakashian 38c1b87435 wopi: support for file sharing and authentication 8 years ago
Ashod Nakashian be97780451 WOPI Token table and database plumbing added 8 years ago