Commit Graph

284 Commits (master)

Author SHA1 Message Date
Skylar Ittner ef3f5b2a88 Merge upstream changes 6 years ago
Roeland Jago Douma ecfac31c21
Let DI handle the magic
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma 543cfe5242
Move Application also to lib
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma fb29fe72a3
Properly name classes
* All should be PSR-4

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma d92a80eacd
Fix: Undefined index: canonical_webroot
The public page uses the document template but doesn't set the
canonical_webroot properly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
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) 6 years ago
Skylar Ittner a43eaaad55 Merge 'upstream/master' and 'multihost_tor' into 'master' 6 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>
6 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
Skylar Ittner cef4179de3 Translate internal URL to external when needed 7 years ago
Skylar Ittner 6ff27cb17f Add internal access URL (hopefully) 7 years ago
Skylar Ittner d5478678a7 Add dynamic hostname switching so requests always go to the host the client is currently using 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>
7 years ago
Lukas Reschke 58134ab0a2
Gracefully handle exception
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago