Jan Holesovsky
37cb3c247a
loolwsd: We have only ms resolution anyway, clean this up.
2015-11-06 18:27:32 +01:00
Jan Holesovsky
fbb184d256
loolwsd: More readable timestamps, 100ns resolution.
...
Actually POCO doc claims 100ns resolution, but unfortunately it seems it is ms
only; will improve later in case it is necessary.
2015-11-06 12:07:29 +01:00
Andrzej Hunt
ab5b41b740
loolwsd: use length here too
2015-11-05 12:52:06 +01:00
Andrzej Hunt
09e823e750
loolwsd: tdf#94605 handle LOK_CALLBACK_CELL_CURSOR
2015-11-05 12:52:05 +01:00
Andrzej Hunt
b46bc1bcf6
loolwsd: update the bundled headers
2015-11-05 12:52:05 +01:00
Jan Holesovsky
c6743b4d64
loolwsd: Remove the potential leftover document before attempting to link.
...
Otherwise we create a copy, and at the moment, the copy is not copied back out
of the chroot jail; we should bind that to the .uno:Save callback...
2015-11-05 12:17:21 +01:00
Jan Holesovsky
7a88c9b959
loolwsd: Document unocommandresult in the protocol.
2015-11-04 13:33:11 +01:00
Jan Holesovsky
db38aaff1c
loolwsd: Handle LOK_CALLBACK_UNO_COMMAND_RESULT.
...
Also update according to the API change, and trigger the notification when
calling .uno:Save.
2015-11-03 19:29:50 +01:00
Jan Holesovsky
9f75fbd2fc
loolwsd: Update the bundled LOK to contain LOK_CALLBACK_UNO_COMMAND_RESULT.
2015-11-03 19:29:50 +01:00
Andras Timar
510db7bbdc
loolwsd: bump version after tarball
2015-10-30 13:19:45 +01:00
Andras Timar
16f8e75d1d
loolwsd: bump version before tarball
2015-10-30 13:19:45 +01:00
Andras Timar
87554d1be9
Collabora Office as requirement
2015-10-30 13:19:45 +01:00
Jan Holesovsky
2691d88909
Revert "loolwsd: Update systemplate with every startup of the service."
...
This is not a good idea, it takes too long for systemd, and times out.
This reverts commit b42409c388
.
2015-10-30 11:34:41 +01:00
Jan Holesovsky
b42409c388
loolwsd: Update systemplate with every startup of the service.
2015-10-30 10:40:22 +01:00
Andras Timar
2d37bbcc20
skip make check for rpmbuild
2015-10-29 16:32:03 +01:00
Andras Timar
3310c03a1a
loolwsd: bump version after tarball
2015-10-29 15:53:41 +01:00
Andras Timar
dd1c12fcd6
loolwsd: bump version before tarball
2015-10-29 15:50:46 +01:00
Miklos Vajna
1409ef11ec
loolwsd: allow duplicate messages for all message types expect tile
...
To be on the safe side, I only allowed "uno" previously, but Mihai
confirmed that the intention was to filter out "tile" duplicates, so
filter out only that.
2015-10-28 17:29:51 +01:00
Miklos Vajna
31982808f4
loolwsd: disable -Wshadow with self-built poco
...
poco itself isn't warning-free wrt. -Wshadow, so we can only use it if
it's at a location where the system suppresses such warnings.
2015-10-28 16:38:57 +01:00
Miklos Vajna
0fe05e6d91
loolwsd: -Werror=shadow
2015-10-28 10:55:27 +01:00
Miklos Vajna
3d613a443f
loolwsd: add paste testcase
...
Fails with commit cc24463f08
(loolwsd:
wrap lok::Document::paste(), 2015-10-27) reverted.
2015-10-28 10:42:29 +01:00
Miklos Vajna
b5ed22c4d9
loolwsd: avoid filtering out "duplicated" uno commands
...
Problem since commit 8f48dabf28
(loolwsd:
discard requests that are in the queue already, 2015-07-21), e.g.
"select-all, paste, select-all" doesn't have the same meaning as
"select-all, paste".
Quite possibly the condition should be inverted, and filtering out
should be done only for a few commands, like "tile"; but at least
filtering out "uno" is definitely problematic.
2015-10-28 10:28:27 +01:00
Miklos Vajna
cc24463f08
loolwsd: wrap lok::Document::paste()
2015-10-27 11:53:32 +01:00
Miklos Vajna
c2a681ff4d
loolwsd: update the bundled headers
2015-10-26 17:21:15 +01:00
Mihai Varga
58d7c99f19
loolwsd: added getChildId and insertFile methods
...
getChildId is used to get the chroot's name and insertFile inserts a the
/user/thedocument/insertfile/file_name file in the document
2015-10-22 18:32:19 +03:00
Mihai Varga
28f3555180
loolwsd: insert file HTTP request handler
...
The client send a file through an http post request, the handler saves
the file in a temporary directory then moves it in the specified chroot
2015-10-22 18:27:29 +03:00
Miklos Vajna
9917dd733f
HTTPPostTest::testConvertTo: fix accidentel copy&paste
2015-10-21 13:58:50 +02:00
Miklos Vajna
3ed78cce6f
loolwsd: add HTTP POST convert-to testcase
...
Fails with 8f90c38844
(loolwsd convert-to:
implement actual conversion, 2015-10-20) reverted.
2015-10-21 13:51:30 +02:00
Miklos Vajna
443486117a
loolwsd: cppunit skeleton
2015-10-21 12:06:02 +02:00
Miklos Vajna
71ce604adb
loolwsd: add initial reference.txt to document HTTP POST API
2015-10-20 18:10:40 +02:00
Miklos Vajna
8f90c38844
loolwsd convert-to: implement actual conversion
2015-10-20 15:41:42 +02:00
Miklos Vajna
355362f519
loolwsd convert-to: clean up temp directory in case format would be empty
2015-10-20 15:35:43 +02:00
Miklos Vajna
cdc0783c27
LOOLWSD: put file we get from convert-to to a temp. dir
...
Having a URL like file:///tmp/tmp13630baaaaa/test.txt allows retaining
the filename given by the user and still work with a URL.
We could try carrying around a memory buffer, but we would still have to
send it over the WS, so it's easier if we always work with URLs instead.
2015-10-20 15:00:20 +02:00
Miklos Vajna
847c65cb1c
LOOLSession: handle file:// in the ToPrisoner saveas input handler
2015-10-20 14:45:00 +02:00
Miklos Vajna
dc56637e11
loolwsd: don't try to exclude jails from tags
...
Don't pretend that we know where jails will be, the may be elsewhere. If
indexing jails/systemplate is problem, configure them outside the build
tree instead.
2015-10-20 14:18:02 +02:00
Miklos Vajna
4feb29d1df
LOOLSession: inform to-client session about completed save-as
2015-10-20 14:03:39 +02:00
Miklos Vajna
cc18cc702f
loolwsd: extraft filename from convert-to parameters
2015-10-19 16:03:55 +02:00
Miklos Vajna
f0ba09f3dd
LOOLSession: check for 0 _ws
2015-10-19 16:03:55 +02:00
Mihai Varga
0ea00afb99
loolwsd: allow the specification of the mime type
2015-10-16 19:45:57 +03:00
Mihai Varga
d7ceedac54
drop 'part' from downloadas protocol as it is no longer needed
2015-10-16 19:35:31 +03:00
Miklos Vajna
fed0cbc77c
loolwsd: -Werror=unused-parameter
2015-10-16 17:45:03 +02:00
Miklos Vajna
9212c1c321
loolwsd: convert-to handler skeleton
2015-10-16 17:38:24 +02:00
Miklos Vajna
63bf9a1329
loolwsd: invert this condition, so it's possible to add other cases
2015-10-16 15:47:39 +02:00
Miklos Vajna
700b7d08b7
loolwsd: allow frame size of 200K
...
I got:
WebSocketException: Insufficient buffer for payload size 113579
So double the allocated size: that seems to help.
2015-10-16 15:24:19 +02:00
Mihai Varga
84b7b128a0
loleaflet: fullscreen slideshow
...
We request svg exports for each slide which we then display in fulscreen
2015-10-16 14:07:45 +03:00
Tor Lillqvist
c639e76ac2
bugs.ccu#1248: Copy also locale data into systemplate
...
Let's hope the files I list is enough to cover both openSUSE 13.2 and
Debian 8.
2015-10-16 12:55:47 +03:00
Miklos Vajna
2cf417f863
loolwsd: update the bundled headers
2015-10-14 16:13:30 +02:00
Mihai Varga
0708e4440f
added a part parameter to the 'downloadas' command
...
We need it to export a specific slide to svg
2015-10-13 20:58:45 +03:00
Tor Lillqvist
7e78f3f0c6
bugs.ccu#1248: If locale is C, set it to en_US.utf8
2015-10-13 20:05:42 +03:00
Miklos Vajna
677de915ff
loolwsd: remove redundant LOK_CALLBACK_SEARCH_RESULT_COUNT handling
2015-10-13 14:54:59 +02:00