Pranav Kant
be84ac71f8
Explicit is better than implicit
...
For consistency, lets close the opened user login session here
also.
2016-07-18 17:09:27 +05:30
Pranav Kant
45d76a1c68
Add support for opening and editing files from external storage
2016-07-18 16:17:44 +05:30
Pranav Kant
82906c7cd7
No need to make the user login here, and fix incorrect userid
...
Setting up FS is enough to get the correct file version. No need
to make the user login here.
File version would be in owner's FS, not editor, so
s/editorid/ownerid/
2016-07-18 11:11:52 +05:30
Pranav Kant
e0da6fa8d1
Create a dummy memory session before signing in as user
...
Since this WOPI Put method is executed when loolwsd hits owncloud
server, it has no session or probably invalid session data. Even
though WOPI Put file operation initiated by loolwsd succeds, i.e
file is successfully put into owncloud storage and versioned, it
returns an HTTP 500 Internal server error as response to loolwsd
which causes problem on loolwsd side messing up its state.
Following trace can be observed in webserver's error logs after
HTTP 500 is returned:
PHP Fatal error: Uncaught exception 'Exception' with message 'Session has been closed - no further changes to the session are allowed'
in /var/www/html/owncloud9/lib/private/session/internal.php:135
Stack trace:
#0 /var/www/html/owncloud9/lib/private/session/internal.php(60): OC\\Session\\Internal->validateSession()
#1 /var/www/html/owncloud9/lib/private/session/cryptosessiondata.php(150): OC\\Session\\Internal->set('encrypted_sessi...', 'e747091469b9905...')
#2 /var/www/html/owncloud9/lib/private/session/cryptosessiondata.php(64): OC\\Session\\CryptoSessionData->close()
#3 [internal function]: OC\\Session\\CryptoSessionData->__destruct()
#4 {main}\n thrown in /var/www/html/owncloud9/lib/private/session/internal.php on line 135
Creating a dummy memory session, setting it as current session,
and then setting the desired user session seems to address this
problem and does not emit HTTP 500 anymore.
2016-07-18 11:11:49 +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
fc81c07f70
Saving through WOPI registers the change as the owner
2016-06-18 20:06:02 -04:00
Ashod Nakashian
0c508a09e0
Support for file versioning in WOPI
2016-06-17 10:27:35 -04:00
Pranav Kant
bb01949a9a
Use new owncloud9 addMenuEntry plugin
...
... to add new odf files from main 'Files' app
2016-06-15 22:38:08 +05:30
Pranav Kant
b138109820
Don't load all documents when only one is clicked on from 'Files'
2016-06-09 20:17:36 +05:30
Andras Timar
8534ee60ba
CA chain cert name change
2016-06-07 12:29:28 +02:00
Andras Timar
39b860ffa2
do not query UI language for each doc, it's same for all
2016-06-03 15:00:28 +02:00
Andras Timar
e22151a2b5
Pass the lang paramater to loleaflet from ownCloud user settings, which controls UI language
2016-05-29 00:16:27 +02:00
Andras Timar
cb271b50e5
Merge pull request #47 from timar/master
...
frame-src is deprecated on Firefox, but Safari wants it
2016-04-18 15:19:47 +02:00
Jan Holesovsky
69a2880800
Send the hint too.
2016-04-18 15:18:20 +02:00
Andras Timar
8f61bbe08f
frame-src is deprecated on Firefox, but Safari wants it
2016-04-18 15:16:15 +02:00
Henry Castro
efcf28abc2
Add ulrsrc attribute when create new documents
2016-04-16 17:41:43 -04:00
Jan Holesovsky
ea47464459
More improvements in the error handling.
2016-04-15 16:55:15 +02:00
Jan Holesovsky
2508e550fc
Content Security Policy: frame-src is deprecated, use child-src instead.
2016-04-13 19:07:37 +02:00
Jan Holesovsky
155f9578fc
MemCache is not mandatory any more; but used if available.
2016-04-13 19:07:37 +02:00
Jan Holesovsky
80cc8bf197
Improved error messages around discovery.xml.
2016-04-12 15:18:28 +02:00
Andras Timar
faf5c1007f
allow HTTP-only mode for testing/trial
2016-04-08 12:48:53 +02:00
Andras Timar
2b302fa1af
local file access method is deprecated by WOPI
2016-03-31 16:24:16 +02:00
Ashod Nakashian
38c1b87435
wopi: support for file sharing and authentication
2016-03-23 21:58:13 -04:00
Ashod Nakashian
dc05bb09f5
wopi: CheckFileInfo handler added
2016-03-23 21:58:12 -04:00
Andras Timar
f3eaa1683d
use SSL
2016-03-23 22:03:39 +01:00
Henry Castro
0d243cbc60
Clear cache when saves admin settings
2016-03-17 10:00:46 -04:00
Henry Castro
119e5ca38c
Fix inconsistent validation bug
2016-03-17 09:58:11 -04:00
Henry Castro
3a8b677bfd
Add response error page
2016-03-16 23:46:13 -04:00
Henry Castro
c168936107
Allow domain websocket URI
2016-03-16 09:04:35 -04:00
Andras Timar
a32c1e2be3
remove unused webODF unstable setting
2016-03-15 00:23:17 +01:00
Andras Timar
f0f3e42c0e
remove dead code (from Collabora Online perspective)
2016-03-14 23:34:29 +01:00
Ashod Nakashian
4585de5261
Pass fileId to get path
2016-03-13 23:23:57 -04:00
Henry Castro
14eda814f5
Read discovery.xml capabilities
2016-03-10 08:00:52 -04:00
Ashod Nakashian
30a22ef7e7
WOPI GetFile and PutFile added and document loader updated
2016-03-09 08:42:47 -05:00
Henry Castro
13692a5d3b
Request discovery.xml from WOPI client
2016-03-09 08:54:56 -04:00
Henry Castro
2d2edffa80
Add initial cache support
2016-03-09 08:50:49 -04:00
Henry Castro
85f3079b47
Post WOPI url iframe
2016-03-05 18:57:23 -04:00
Henry Castro
3a607668cc
Add template response wopi_url
2016-03-05 18:14:16 -04:00
Henry Castro
08dbf236d9
Add WOPI client settings
2016-03-05 17:40:47 -04:00
Andras Timar
407df19d7a
remove temp file only when all edit instances are closed
2016-02-23 15:35:21 +01:00
Andras Timar
7e43957711
enable shared view of the same document
2016-01-12 15:26:40 +01:00
Andras Timar
d290e21b40
remove trailing whitespaces
2016-01-12 15:20:38 +01:00
Victor Dubiniuk
447610b260
Fix appid
2015-12-16 18:04:32 +03:00
Jan Holesovsky
e587fce1da
cloudsuite: Construct more reasonable names + copy mtime.
...
So that we are able to use the cloudsuite tile caching.
2015-11-05 11:54:39 +01:00
Jan Holesovsky
91e49449f3
cloudsuite: Cleanup when the document is closed.
2015-11-05 11:15:45 +01:00
Jan Holesovsky
e6593def87
cloudsuite: Add buttons to create new spreadsheet and new presentation.
2015-11-04 21:49:23 +01:00
Jan Holesovsky
37f61b4056
cloudsuite: Fix the 'New document' button to always create new text documents.
2015-11-04 16:58:18 +01:00
Jan Holesovsky
aa0a8f666a
cloudsuite: Implement the saving back.
2015-11-04 13:15:22 +01:00
Jan Holesovsky
302317ca47
cloudsuite: Fix starting of editing directly from the Files view.
2015-10-30 17:48:32 +01:00