63 Commits

Author SHA1 Message Date
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
Victor Dubiniuk
447610b260 Fix appid 2015-12-16 18:04:32 +03:00
Victor Dubiniuk
488d68de6a A few fixes by scrutinizer 2015-09-19 00:37:16 +03:00
Victor Dubiniuk
98db623f07 Remove getL10N 2015-09-18 21:47:24 +03:00
Victor Dubiniuk
b8917435f3 Use different entry points for users and guests 2015-09-18 21:47:19 +03:00
Victor Dubiniuk
dfc91185f0 Remove private and deprecated API calls 2015-08-28 19:32:54 +03:00
VicDeo
1e6160adce Merge pull request #536 from owncloud/code-checker
Remove deprecated API usage
2015-08-27 18:21:11 +03:00
Victor Dubiniuk
52f251a8af Remove deprecated API usage. Step 3 2015-08-27 18:02:43 +03:00
Victor Dubiniuk
58725da687 Remove deprecated API usage. Step 2 2015-08-27 01:27:06 +03:00
Victor Dubiniuk
3fbf3237e2 WebODF uses timestamps with milliseconds 2015-08-25 21:30:49 +03:00
Victor Dubiniuk
e24b01bdd6 Skip non-supported mimes 2015-01-23 19:03:49 +03:00
Victor Dubiniuk
5cef103648 Group members by userId. Ref #125 2014-11-19 19:56:27 +03:00
VicDeo
da3705e8b7 Merge pull request #402 from owncloud/optype-as-a-separate-field
Use a separate field for optype.
2014-11-13 22:04:09 +03:00
Victor Dubiniuk
0f19d74f69 Improve filtering for member/cursor operations 2014-11-13 20:29:48 +03:00
Victor Dubiniuk
59a095e98d updateMember is not used currently 2014-11-13 01:34:44 +03:00
Victor Dubiniuk
65de023e94 Use a separate field for optype. No more LIKE in queries 2014-11-13 01:20:54 +03:00
Victor Dubiniuk
8f9b3fb867 Move ops sync to a separate method 2014-11-12 00:15:20 +03:00
Victor Dubiniuk
aa7efd6835 Insert has no arguments 2014-11-11 21:00:33 +03:00
Victor Dubiniuk
932684b782 Remove View model. Get permissions from FileInfo 2014-11-11 03:42:49 +03:00
Victor Dubiniuk
1a545d4941 Remove info routes and action 2014-09-08 21:11:58 +03:00
Victor Dubiniuk
b63560edae Fix guest access 2014-08-23 21:43:28 +03:00
Victor Dubiniuk
fbb931c91e Db_Member -> Db\Member 2014-08-04 21:00:58 +03:00
Victor Dubiniuk
214c6dfa36 Db_Op -> Db\Op 2014-08-04 20:56:24 +03:00
Victor Dubiniuk
7356dcfae3 Db_Session -> Db\Session 2014-08-04 20:51:50 +03:00
Victor Dubiniuk
14398d6979 One more method annotation 2014-05-14 19:24:58 +03:00
Victor Dubiniuk
c8f70c8998 Add missing asterisk 2014-05-14 18:39:50 +03:00
Victor Dubiniuk
6dd14dab72 Add annotations 2014-05-14 00:44:04 +03:00
Victor Dubiniuk
8f3bc0daa8 Reduce complexicity 2014-04-11 23:12:23 +03:00
Victor Dubiniuk
13b73b12c1 Store share token to guest users 2014-04-11 01:11:13 +03:00
Victor Dubiniuk
f81e41dc63 Further switch to member is_guest property 2014-04-11 01:07:59 +03:00
Victor Dubiniuk
a3cc3b3ce3 Pass file instance to genesys 2014-04-11 01:07:59 +03:00
Victor Dubiniuk
461c3ef999 Cleanup Session class 2014-04-11 01:07:59 +03:00
Victor Dubiniuk
8f47b86278 Add translatable guest postfix for guests 2014-04-11 01:03:41 +03:00
Victor Dubiniuk
857c03a103 Move File out of controller 2014-04-11 01:03:41 +03:00
Victor Dubiniuk
f26e107504 No more barrier to enter for guests. Closes #200 2014-03-14 20:49:17 +03:00
Victor Dubiniuk
673e541531 Fixing disconnection injected twice 2014-03-05 18:51:25 +03:00
Victor Dubiniuk
5b804c1d4e Op cleanup 2014-02-12 17:28:26 +03:00
Victor Dubiniuk
e3f6e4d48a Add title when shared by link. Fixes #202 2014-02-12 16:56:44 +03:00