Commit Graph

275 Commits (373ff1adb4afdf8c8ede8bc8f61d88814267e1ee)

Author SHA1 Message Date
Patrik Kernstock c1f708f61d Fix settings canonical webroot (#173)
* Use same order as in setSettings() func below

Signed-off-by: Patrik Kernstock <info@pkern.at>

* Fixed Canonical-Webroot setting

The Canonical-Webroot setting was not read properly on the /settings/admin/richdocuments settings page. So this also fixes the notices when visting the admin page: "Undefined index: canonical_webroot at /apps/richdocuments/templates/admin.php#44"

Signed-off-by: Patrik Kernstock <info@pkern.at>
6 years ago
Pranav Kant 327dd432ad Fix public link user relative (#170)
* Fixes #164 Don't allow relative save if it's a public link

* Fix "no name for guest user"

Check if editor is equal to null, not ''
6 years ago
Pranav Kant a08c0b7a5e Add support for adding canonical webroot (#157)
See cc42c7f46c

for details
6 years ago
Pranav Kant 2c3d9ae8d9 Add support for PutRelativeFile for Save As. (#136) 7 years ago
Lukas Reschke 9bf62db3aa Add option to enable the app only for users in a specific group (#135)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 12bb8c055b Add avatar to UserExtraInfo (#130)
* Add avatar to UserExtraInfo

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>

* Only add UserExtraInfo is version higher than 13

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Pranav Kant 21504eb5a8 support for external apps (#124) 7 years ago
Pranav Kant e9f9711421 Use fileId instead of dir 7 years ago
Andreas Böhler c4b794360a Fix editing publicly shared documents 7 years ago
Andras Timar aa4df2e800 Restore 'Enable edit for specific groups' feature, fixes #66 7 years ago
Pranav Kant a9b13e12a9 Undefined owneruid 7 years ago
Pranav Kant 65769bd861 Include support for X-LOOL-WOPI-Timestamp
See for more detailed message:
https://github.com/owncloud/richdocuments/pull/178
7 years ago
Pranav Kant 7fce081dd7 Merge pull request #88 from pranavk/extshare
Use the file owner from the share object, if available
7 years ago
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.
7 years ago
Pranav Kant 3f4aa7b23e Don't throw exception when user not found
It might be a public link share.
7 years ago
Pranav Kant 3940ec64c7 Show Display Name of user, not its uid in userlist 7 years ago
Pranav Kant c14ff8fee8 Guard encryption support 7 years ago
Andras Timar 142a85400a Merge pull request #52 from pranavk/enc
Support opening encrypted files
7 years ago
Andras Timar 75f0423957 Merge pull request #63 from pranavk/usernames
Register the change under user's name when saving the document
7 years ago
Andras Timar 6d9054e6f3 Merge pull request #60 from pranavk/ooxml
Revert "Remove unrequired route"; respect OOXML settings again
7 years ago
Andras Timar 4ffef00aca Fix issue#68: undefined variable instanceId 7 years ago
Pranav Kant 0f086cfe87 Register the change under user's name when saving the document 7 years ago
Pranav Kant eef417f05b Support opening encrypted files 7 years ago
Pranav Kant 0c14789cc3 Revert "Remove unrequired route"; respect OOXML settings again
This reverts commit aa89c908a7.
7 years ago
Pranav Kant 9bb400714c Fix file revisions 7 years ago
Andras Timar 9b88e6b38c Merge pull request #37 from gabor-udvari/master
Add logging and template to unhandled exceptions
7 years ago
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.
7 years ago
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.
7 years ago
Pranav Kant 66935d4bed Send file path to the client also, fix revision history 7 years ago
Morris Jobke 9d85827409 Merge pull request #27 from nextcloud/fix-for-files_versions
Make files_versions work again
7 years ago
Lukas Reschke f590ad9208 Merge pull request #11 from timar/master
add rtf and txt as supported file formats
7 years ago
Andras Timar 86fb4ead72 '==' and '!=' are discouraged 7 years ago
michag86 c72f22e180 Make files_versions work again
Added some lines which were lost after rewrite with version 1.1.22.
7 years ago
Morris Jobke 18d3498a50
Add icon to admin page sidebar
* follow up to nextcloud/server#3151

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Andras Timar e5eb15cbc5 set the correct language tag expected by JS (typo fix) 7 years ago
Andras Timar b565415e1c set the correct language tag expected by JS 7 years ago
Lukas Reschke 9cd9258dbb
Append instance id to rev history
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 1441bdc594
Add instance id to file id
For multitenancy

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 719b159a44
v1.1.24
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 7ff4d5bb52
Add OwnerId
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke 58134ab0a2
Gracefully handle exception
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke cb8e416343
Catch exceptions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke 5dd6344629
Delete cached discovery file if settings are changed
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke aa89c908a7
Remove unrequired route
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke 88a93503ca
Properly use an integer
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
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
Lukas Reschke f304fd4629
New admin pages
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