Граф коммитов

266 Коммитов

Автор SHA1 Сообщение Дата
Andras Timar aa4df2e800 Restore 'Enable edit for specific groups' feature, fixes #66 2017-06-14 14:17:21 +02:00
Pranav Kant a9b13e12a9 Undefined owneruid 2017-06-07 20:42:13 +05:30
Pranav Kant 65769bd861 Include support for X-LOOL-WOPI-Timestamp
See for more detailed message:
https://github.com/owncloud/richdocuments/pull/178
2017-06-06 21:31:47 +05:30
Pranav Kant 7fce081dd7 Merge pull request #88 from pranavk/extshare
Use the file owner from the share object, if available
2017-06-05 21:00:24 +05:30
Pranav Kant ee09fb0748 Use the file owner from the share object, if available
Fixes #85

When a link is shared on external storage and user is not logged in, the
owner returned by the $file object is null. Use owner information from
the $share object whenever available.
2017-06-02 00:21:07 +05:30
Pranav Kant 3f4aa7b23e Don't throw exception when user not found
It might be a public link share.
2017-06-01 23:26:50 +05:30
Pranav Kant 3940ec64c7 Show Display Name of user, not its uid in userlist 2017-05-25 19:05:33 +05:30
Pranav Kant c14ff8fee8 Guard encryption support 2017-05-25 17:07:21 +05:30
Andras Timar 142a85400a Merge pull request #52 from pranavk/enc
Support opening encrypted files
2017-05-25 11:52:07 +02:00
Andras Timar 75f0423957 Merge pull request #63 from pranavk/usernames
Register the change under user's name when saving the document
2017-05-25 11:47:24 +02:00
Andras Timar 6d9054e6f3 Merge pull request #60 from pranavk/ooxml
Revert "Remove unrequired route"; respect OOXML settings again
2017-05-25 11:46:46 +02:00
Andras Timar 4ffef00aca Fix issue#68: undefined variable instanceId 2017-05-24 15:11:42 +02:00
Pranav Kant 0f086cfe87 Register the change under user's name when saving the document 2017-05-20 01:18:44 +05:30
Pranav Kant eef417f05b Support opening encrypted files 2017-05-20 00:02:21 +05:30
Pranav Kant 0c14789cc3 Revert "Remove unrequired route"; respect OOXML settings again
This reverts commit aa89c908a7.
2017-05-19 23:56:27 +05:30
Pranav Kant 9bb400714c Fix file revisions 2017-05-11 21:09:46 +05:30
Andras Timar 9b88e6b38c Merge pull request #37 from gabor-udvari/master
Add logging and template to unhandled exceptions
2017-04-20 15:01:11 +02:00
Gábor Udvari e45982b487 Add logging and template to unhandled exceptions
A lot of users are getting an uninformative Access Forbidden page after
using the official setup instructions like in #21. Logging and showing
the actual exception will help troubleshooting these issues.
2017-04-08 17:28:26 +02:00
Pranav Kant 4c1943b956 Bin unused params
These were passed earlier and used when creating a document from the
dedicated richdocument's app page. But since that page is gone now and they
are not used anymore, lets bin them.
2017-04-05 16:02:25 +05:30
Pranav Kant 66935d4bed Send file path to the client also, fix revision history 2017-03-24 23:22:39 +05:30
Morris Jobke 9d85827409 Merge pull request #27 from nextcloud/fix-for-files_versions
Make files_versions work again
2017-03-24 11:50:02 -06:00
Lukas Reschke f590ad9208 Merge pull request #11 from timar/master
add rtf and txt as supported file formats
2017-03-20 14:24:12 +01:00
Andras Timar 86fb4ead72 '==' and '!=' are discouraged 2017-03-14 11:59:37 +01:00
michag86 c72f22e180 Make files_versions work again
Added some lines which were lost after rewrite with version 1.1.22.
2017-03-10 09:25:22 +01:00
Morris Jobke 18d3498a50
Add icon to admin page sidebar
* follow up to nextcloud/server#3151

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-24 12:16:54 -06:00
Andras Timar e5eb15cbc5 set the correct language tag expected by JS (typo fix) 2017-01-18 10:16:34 +01:00
Andras Timar b565415e1c set the correct language tag expected by JS 2017-01-18 10:08:18 +01:00
Lukas Reschke 9cd9258dbb
Append instance id to rev history
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-03 20:31:35 +01:00
Lukas Reschke 1441bdc594
Add instance id to file id
For multitenancy

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-03 19:55:04 +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 7ff4d5bb52
Add OwnerId
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 14:07:12 +01:00
Lukas Reschke 58134ab0a2
Gracefully handle exception
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 09:18:25 +01:00
Lukas Reschke cb8e416343
Catch exceptions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 09:14:33 +01:00
Lukas Reschke 5dd6344629
Delete cached discovery file if settings are changed
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 09:13:21 +01:00
Lukas Reschke aa89c908a7
Remove unrequired route
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 01:01:01 +01:00
Lukas Reschke 88a93503ca
Properly use an integer
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 00:59:30 +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
Lukas Reschke f304fd4629
New admin pages
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-06 14:09:19 +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
Pranav Kant 84dbbafe70 Formatting 2016-09-14 11:48:25 +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
Pranav Kant eb79866efd Fix path for shared documents 2016-06-28 14:24:26 +05:30
Pranav Kant 440eb9e27c Add missing mtime field to processed documents 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