Ashod Nakashian
571ff06906
loolwsd: canceltiles re-designed using tilecache instead of queue
...
Change-Id: I4b9ba91ee08bc9dd8d27df275e303f5517d9740c
Reviewed-on: https://gerrit.libreoffice.org/28526
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:44:56 +00:00
Ashod Nakashian
fad6715f7d
loolwsd: guard against processing commands before fully loading
...
Change-Id: Iac915074728f616d81b05558b886998855326a2e
Reviewed-on: https://gerrit.libreoffice.org/28525
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:42:39 +00:00
Ashod Nakashian
a674fc7e8f
loolwsd: logs and formatting
...
Change-Id: Ic3ec268cdc1962814654c7be676da62375494f66
Reviewed-on: https://gerrit.libreoffice.org/28524
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:41:31 +00:00
Ashod Nakashian
494feedd8d
loolwsd: unittest cleanup
...
Change-Id: I60b8c783b16f37530d208f1fdad029d97996e4cc
Reviewed-on: https://gerrit.libreoffice.org/28523
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:40:25 +00:00
Ashod Nakashian
5158818d82
loolwsd: getDocSize -> parseDocSize
...
Change-Id: I82ee96d6fde8d8c379547d05d7bbb8213a474a4f
Reviewed-on: https://gerrit.libreoffice.org/28522
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:39:43 +00:00
Ashod Nakashian
88f3a213b0
loolwsd: first character of 404 messages are trimmed
...
For some reason Poco trims the first character
of 404 and other HTTP error messages.
We need to prefix messages with a space to
avoid having the first character chopped-off.
Change-Id: I8cbda9f4b5df894418f1dedf390b8b43a61e5d11
Reviewed-on: https://gerrit.libreoffice.org/28521
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:37:21 +00:00
Ashod Nakashian
492268913b
loolwsd: grep-friendly logs
...
Log entries now prefix the log-level so
it is now trivial to filter-in or -out
a particular class of logs (for example
errors).
Change-Id: I8033d1780a49dd8a3244e63f867377f0c64e9d9f
Reviewed-on: https://gerrit.libreoffice.org/28520
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:36:56 +00:00
Ashod Nakashian
d8a38f5859
loolwsd: startup logs
...
Change-Id: I90e7debbe881eafc9d65f4ff6a5d5f39d8277c0e
Reviewed-on: https://gerrit.libreoffice.org/28519
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:36:25 +00:00
Ashod Nakashian
42624adf19
loolwsd: fixup unittests
...
Change-Id: Icf3dea11654cf43a8aa86fadc1f1276d796719c3
Reviewed-on: https://gerrit.libreoffice.org/28518
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:35:55 +00:00
Ashod Nakashian
38a84d2c90
loolwsd: log the tile version after rendering
...
Change-Id: Id0d532bbf2d836a31ba90f1a47664bd7261a1779
Reviewed-on: https://gerrit.libreoffice.org/28517
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:35:05 +00:00
Ashod Nakashian
1e2dd2d61f
loolwsd: TileCacheTests cleanup
...
Change-Id: I6d09ed3216d4e3651f72c0387c8cc6f2a7d5cc90
Reviewed-on: https://gerrit.libreoffice.org/28516
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:34:24 +00:00
Ashod Nakashian
5ffcafa736
loolwsd: CPPUNIT_TEST_NAME can be regex
...
To run selective tests only, CPPUNIT_TEST_NAME
envar can be defined to hold the test-name,
for example TileCacheTests::testClientPartImpress.
Now it's possible to pass a regex value instead,
for example TileCacheTests::testC.* to run both
TileCacheTests::testClientPartImpress and
TileCacheTests::testClientPartCalc.
Change-Id: I96aa1ce242fd8afaf073527777be50308dce867c
Reviewed-on: https://gerrit.libreoffice.org/28515
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-31 04:33:45 +00:00
Henry Castro
cd40f694ab
loolwsd: test: optimal column/row width/height
2016-08-30 17:47:59 -04:00
Pranav Kant
d223f2a0e4
loleaflet: Notifications when new user joins, leaves
...
Change-Id: I71b9ffb82fa2a0104df6f2600558b1b094f1195f
2016-08-30 20:39:01 +05:30
Pranav Kant
394054ecbf
loleaflet: Include username in removeview signal
...
Change-Id: I6b9cdf2712d130d09c7bddcbe68042eacfacb8bb
2016-08-30 20:39:01 +05:30
Pranav Kant
aca73d2ac5
loleaflet: Don't use input for userlist; use menu list
...
Change-Id: I29244e3989fa5ca52c701c05996669cd548a0109
2016-08-30 20:39:01 +05:30
Pranav Kant
491876b537
loleaflet: Show cursor name on hover
...
Change-Id: Ibca3a5e80a21c83e27ba47a6fe39f788a261c1e5
2016-08-30 20:38:42 +05:30
Pranav Kant
c4a01564e6
loleaflet: Cursor name timeout increased to 3s
...
Change-Id: I9fb36c90669af91a9da557e43de263a7900d66d9
2016-08-30 20:38:42 +05:30
Andras Timar
56370e60e8
loleaflet: font + l10n for Users dropdown
2016-08-30 11:50:53 +02:00
Pranav Kant
76884fc020
loolwsd: Remove unused method
...
Change-Id: I9fcd2610c9cd27a32a9a835801ef627a631a85da
Reviewed-on: https://gerrit.libreoffice.org/28485
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:46:18 +00:00
Pranav Kant
db5efae2b8
loolwsd: Handle user names with spaces; encode/decode properly
...
Change-Id: I209bbd63686db8112529a3442a13a6162ce14d60
Reviewed-on: https://gerrit.libreoffice.org/28484
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:46:09 +00:00
Pranav Kant
5e4af61658
loleaflet: Use names echoed from loolwsd for cursors
...
Change-Id: Ibcb513889c41aa9ec34903fbe68e3dc28d2d1802
Reviewed-on: https://gerrit.libreoffice.org/28483
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:46:00 +00:00
Pranav Kant
7d48cd6f17
loolwsd: Echo back view information to clients
...
View information as of now includes viewid and username
associated with the view.
Change-Id: If0c4957eb56962eb4b1b1d0c1189dc300fa6b857
Reviewed-on: https://gerrit.libreoffice.org/28482
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:45:47 +00:00
Pranav Kant
67444eeb80
loolwsd: Pass sessions' usernames to core
...
Change-Id: I8c81c02fafd2cb9d0048729401e082bb422e299b
Reviewed-on: https://gerrit.libreoffice.org/28481
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:45:37 +00:00
Pranav Kant
3d29df6f99
loleaflet: Show a user list in bottom toolbar
...
Change-Id: I5aa87a6da3c6af9da0138bdfe51fbb707a47ba3e
Reviewed-on: https://gerrit.libreoffice.org/28480
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:45:28 +00:00
Pranav Kant
10d4c96b51
remove edit lock from UI
...
Change-Id: Ib437e1576efae45ca717b7eef8e3c535165b0c16
Reviewed-on: https://gerrit.libreoffice.org/28479
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:44:58 +00:00
Pranav Kant
7536deab8e
loleaflet: addView and removeView map methods
...
Change-Id: I6ad2013f3378969822ba20e578d5b2b1cc26ec60
Reviewed-on: https://gerrit.libreoffice.org/28478
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:44:47 +00:00
Pranav Kant
3d8b73da8b
loleaflet: Infrastructure for user list
...
Change-Id: If06d014174479d3d05397422c000ca47c51c819e
Reviewed-on: https://gerrit.libreoffice.org/28477
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-08-30 07:44:35 +00:00
Miklos Vajna
e4bbc15132
Avoid inclusion of deprecated C++ headers
...
Change-Id: I29abf3feeb8419f4e15ccb8dc7c34c086696ce07
2016-08-30 09:06:47 +02:00
Tor Lillqvist
86afada76e
Update bundled LibreOfficeKit include files from LO core master
2016-08-29 17:54:28 +03:00
Tor Lillqvist
7d4ab644f8
Add REDLINE_TABLE_ENTRY_MODIFIED
2016-08-29 17:22:35 +03:00
Tor Lillqvist
4409ccd222
Don't crash if there is no "rendering" in the options JSON of the load message
2016-08-29 17:22:35 +03:00
Tor Lillqvist
ccdac2f767
Adapt the GET after 8cc367638f
...
The thing to GET is now lool/ws/ + the actual document URL.
2016-08-29 17:22:35 +03:00
Pranav Kant
f8ebb54af0
loolwsd: Receive WOPI userid, username
...
Change-Id: I0bd5e5a155b8f8486fbeffb1c1413d5e9c177fc3
2016-08-29 19:39:50 +05:30
Pranav Kant
c67c85793b
loolwsd: Inform opening view about existing views
...
Change-Id: I84de6f78ffa21f3018e987e9e0bfeafd0cfb2b52
2016-08-29 18:37:57 +05:30
Pranav Kant
f6217133f4
loolwsd: view ids - unsigned -> int
...
Change-Id: I4bc2aa109143dd4cfd88a49c1988b66ae134d647
2016-08-29 17:57:23 +05:30
Miklos Vajna
7e3225dceb
LOOLKit: avoid unnecessary copy-initialization
...
Change-Id: I14a4bb7803676173ac164ff8bd7e9eeaa6031f75
2016-08-29 09:23:15 +02:00
Andras Timar
7535d95d44
loolwsd: fix xml tag mismatch
2016-08-29 09:02:56 +02:00
Pranav Kant
06b869bb63
loolwsd: -Werror,-Wpointer-bool-conversion
...
isSSLTermination() was added in b0619d387b
Change-Id: I63a702023b6a096154b510653bed885331e8e22d
2016-08-29 10:53:56 +05:30
Ashod Nakashian
f3ca27e512
loleaflet: double-click on repair entry to jump to state
...
Change-Id: I19dc530df0e36b83b6e19922a1a32d495324c3a8
Reviewed-on: https://gerrit.libreoffice.org/28443
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-28 22:37:27 +00:00
Andras Timar
274d68644d
loolwsd: handle HTTP HEAD request for /
2016-08-28 23:06:30 +02:00
Andras Timar
1403a7999a
loolwsd: add loolstress to rpm
2016-08-28 23:06:30 +02:00
Andras Timar
05a7101789
loolwsd: add missing headers to dist
2016-08-28 23:06:30 +02:00
Andras Timar
b0619d387b
loolwsd: add support of SSL termination
2016-08-28 23:06:30 +02:00
Ashod Nakashian
03921a0769
loolwsd: unittest cleanups
...
Change-Id: Ic383915012ac1c254960d976cc89d3f7c1a2cb02
Reviewed-on: https://gerrit.libreoffice.org/28440
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-28 18:50:11 +00:00
Henry Castro
f87edc7367
loleaflet: update menu repair
2016-08-28 10:06:00 -04:00
Henry Castro
ab780acd0a
loleaflet: add document repair toolbar item
2016-08-28 09:08:18 -04:00
Henry Castro
fa2a99459f
loolwsd: add fake .uno:DocumentRepair
...
Avoid double round trip requesting command value pair
.uno.Redo, .uno:Undo
2016-08-28 09:03:45 -04:00
Henry Castro
d36ff0afda
loolwsd: avoid exception, commandName empty
2016-08-28 09:00:04 -04:00
Henry Castro
fa96352881
loleaflet: add L.Control.DocumentRepair
2016-08-28 08:57:27 -04:00