16 Commits

Author SHA1 Message Date
Pranav Kant
9bb400714c Fix file revisions 2017-05-11 21:09:46 +05:30
Andras Timar
86fb4ead72 '==' and '!=' are discouraged 2017-03-14 11:59:37 +01:00
Lukas Reschke
719b159a44
v1.1.24
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-13 11:29:36 +01:00
Lukas Reschke
7ef24654cf
Public editing
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 00:57:01 +01:00
Lukas Reschke
75af90b4f1
Cleanup source code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-06 21:09:40 +01:00
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.
2016-10-27 17:57:46 +05:30
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.
2016-10-19 21:12:29 +05:30
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
2016-10-19 21:12:29 +05:30
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
2016-07-19 15:04:32 +02:00
Pranav Kant
45d76a1c68 Add support for opening and editing files from external storage 2016-07-18 16:17:44 +05:30
Pranav Kant
3235b886ad Add a revision history sidebar 2016-06-28 14:24:26 +05:30
Ashod Nakashian
0517f76c32 Shared documents now show correct editor's name in the change hisotry 2016-06-18 20:43:00 -04:00
Ashod Nakashian
0c508a09e0 Support for file versioning in WOPI 2016-06-17 10:27:35 -04:00
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
2016-04-05 14:20:05 +02:00
Ashod Nakashian
38c1b87435 wopi: support for file sharing and authentication 2016-03-23 21:58:13 -04:00
Ashod Nakashian
be97780451 WOPI Token table and database plumbing added 2016-03-09 08:40:48 -05:00