Commit graph

53 commits

Author SHA1 Message Date
Jan Holesovsky
5e96e32b56 bccu#1699: Use 256 pixels at 96dpi as the TWIPs size (3840 TWIPs). 2016-04-18 14:42:25 +02:00
Andras Timar
abe330d390 loleaflet: ws:// -> wss:// 2016-03-23 22:02:50 +01:00
Ashod Nakashian
ac65edc910 loleaflet: fixed sample and loadtest to support https
To run loadtest, point the browser to:
file:///abs/path/to/loleaflet/spec/loadtest.html

To run the sample, point the browser to:
file:///abs/path/to/loleaflet/debug/document/document_simple_example.html?file_path=/abs/doc/path/test.odt&host=wss://localhost:9980

Change-Id: If3e9aa2fc321e734ad912158b06ecb3370e37418
Reviewed-on: https://gerrit.libreoffice.org/23454
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-23 00:05:56 +00:00
Pranav Kant
8e799c6569 loleaflet: Fix unit tests to use secure websockets
Change-Id: I6441d994bde40fa97ffe65be8c2a78e114dd7316
2016-03-22 01:27:33 +05:30
Pranav Kant
1ab3caa192 loleaflet: Make SearchSpec work again
This broke after we changed 'searchAll' to 'highlightAll'.

Change-Id: I257b20a458a9ad3334b5e20fc110d0932eb63733
Reviewed-on: https://gerrit.libreoffice.org/22508
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-03-07 10:09:07 +00:00
Pranav Kant
a6f9cd430b loleaflet: Wait for 'partpagerectangles' before starting search
This is required because we want to test on which page search is
found, and we can not do it before we get results for
partpagerectangles.

Change-Id: I6f927ae27b91e62d86a8e46dc9c21ee9aa913894
Reviewed-on: https://gerrit.libreoffice.org/22507
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-03-07 10:07:52 +00:00
Jan Holesovsky
70a60dbadc loleaflet: Move the contextMenu to dist/. 2016-03-01 10:44:20 +01:00
Jan Holesovsky
0b2bf15ddd loleaflet: Move the scrollbar to dist/. 2016-03-01 10:44:20 +01:00
Pranav Kant
5332e3f48c loleaflet: Make tile benchmark test work again
This broke after we introduced 'tilecombine' message.

Change-Id: Id273a859b22cac6b50ba759241d0b36d27829700
2016-02-19 00:32:03 +05:30
Pranav Kant
cfe15bddee loleaflet: Fix incorrect function invocation
Thanks to 'jake lintspec'

Change-Id: Ie6af9e003bcdede5ff65c8aca4b6ab2827908310
2016-02-18 21:55:12 +05:30
Pranav Kant
78dfb5f3eb loleaflet: Allow adding/removing/renaming spreadsheets
This uses context menus using a jquery plugin:
Project: https://github.com/swisnl/jQuery-contextMenu
License: MIT

Change-Id: Ibab544555ace25e4f7816392eb048349f0c4c1e1
Reviewed-on: https://gerrit.libreoffice.org/22279
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-02-15 08:07:51 +00:00
Ashod Nakashian
22e129702e loleaflet: extended loadtest timeout to 6s
Change-Id: I6779cf37a9e320369b6dc06be2c691e9f6b99088
Reviewed-on: https://gerrit.libreoffice.org/21756
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-24 21:09:54 +00:00
Jan Holesovsky
9337f96ac5 loleaflet: L.Socket should not be global. 2016-01-14 10:05:04 +01:00
Mihai Varga
7c4d91d3ad loleaflet: jquery is needed by vex in tilebench 2015-12-04 12:57:52 +02:00
Mihai Varga
493d560203 loleaflet: the current tilebench replay only works for text docs 2015-12-04 10:12:48 +02:00
Mihai Varga
4a1ec210ed loleaflet: allow adding the file_path and host for tilebench 2015-12-04 10:12:48 +02:00
Mihai Varga
552514c35d loleaflet: hide the document container after running tilebench 2015-12-04 10:12:48 +02:00
Mihai Varga
c57cd5b468 loleaflet: remove the scrollbar from tilebench.html 2015-12-04 10:12:47 +02:00
Mihai Varga
7785694d64 loleaflet: downloadAs unit test 2015-10-20 11:54:23 +03:00
Mihai Varga
4ebcc3d2d2 loleaflet: remove event listeners after each test 2015-10-20 11:54:23 +03:00
Mihai Varga
80c34db3d1 loleaflet: removed unused variable from unit test 2015-10-20 11:54:22 +03:00
Mihai Varga
9b06a0df77 loleaflet: removed the old unit test 2015-10-20 11:54:22 +03:00
Mihai Varga
03ffa4e740 loleaflet: search unit tests 2015-10-20 11:54:22 +03:00
Mihai Varga
38718c1915 loleaflet: parts and pages unit tests 2015-10-20 11:54:22 +03:00
Mihai Varga
e5ba1f3860 loleaflet: permissions unit tests 2015-10-20 11:54:22 +03:00
Mihai Varga
f32b19eb39 loleaflet: updated unit test's description 2015-09-21 23:06:59 +02:00
Mihai Varga
c164163a8c loleaflet: load test update 2015-09-16 12:57:33 +03:00
Mihai Varga
12b1bf2b6e loleaflet: loadtest.html fix 2015-09-16 12:51:16 +03:00
Mihai Varga
bc72dcc329 loleaflet: renamed unoCmd to commandName 2015-09-15 11:52:55 +03:00
Mihai Varga
e8f3ea678b loleaflet: remove pause between tests 2015-09-14 09:07:35 +03:00
Mihai Varga
5c99a3f132 loleaflet: fixed the unit test 2015-09-11 13:21:37 +03:00
Mihai Varga
612400dcf2 loleaflet: automated loading test
run: make load-test
It generates the necessary 500 documents under spec/data/load-test and
spawns 20 nodejs clients
2015-09-11 10:41:23 +03:00
Mihai Varga
85127f19c2 loleaflet: removed lorem.odt and added other documents 2015-09-10 15:29:05 +03:00
Mihai Varga
d57100db3b loleaflet: test document 2015-09-08 12:01:59 +03:00
Mihai Varga
d7a1ffbe26 loleaflet: 20s timeout for loadtest 2015-09-07 10:24:30 +03:00
Mihai Varga
5b19c9231c loleaflet: don't prefetch in tilebench 2015-09-03 09:34:16 +03:00
Mihai Varga
d82488f0ce loleaflet: remove the scrollbar from tilebench 2015-09-02 20:53:20 +03:00
Mihai Varga
91b295fca5 loleaflet: updated the tests to reflect the new map initialization 2015-09-02 18:09:08 +03:00
Mihai Varga
c6e5a6b257 loleaflet: unit tests - some still fail 2015-08-20 19:05:12 +03:00
Mihai Varga
7bd000a8fc loleaflet: adapted some of the unit tests 2015-08-19 18:28:14 +03:00
Mihai Varga
7e7e458b1e loleaflet: headless load test 2015-08-19 11:48:49 +03:00
Mihai Varga
6dc45b5825 loleaflet: load test check if doc path is set 2015-08-19 11:48:49 +03:00
Mihai Varga
381f7182a4 loleaflet: updated the load test 2015-08-13 12:06:11 +03:00
Mihai Varga
653aa2c9ea loleaflet: tilebench cleanup 2015-08-11 17:29:38 +03:00
Mihai Varga
079b8c562f loleaflet: script to launch more clients
I think we need to use chrome as firefox doesn't load inactive tabs.
And also we need to load the clients (chrome tabs) synchronously as
starting too many tabs at once will cause it to fail.
2015-08-11 17:21:25 +03:00
Mihai Varga
f9a7c80031 loleafet: document loading test.
Opening loadtest.html in the browser launches a 'client' that opens
several documents and scrolls them
2015-08-11 17:20:12 +03:00
Mihai Varga
50399b8dba loleaflet: fire 'alltilesloaded' as a statusindicator event
This is fired all the new (empty) tiles have been loaded.
This is not fire for prefetched tiles
2015-08-07 09:45:47 +03:00
Mihai Varga
1f88357aa8 loleaflet: tilebench - replay an editing session
Sends recorded key input commands to the server over a period
about 20 seconds and then requests and empty tile so that the
'alltilesloaded' event is fired in the end, letting us know that the
editing session finished.
2015-07-27 17:53:18 +03:00
Mihai Varga
746c3cb747 loleaflet: updated the test to work with the new scrollbar control 2015-07-27 10:34:07 +03:00
Mihai Varga
75155481ac loleaflet: dynamically create the clipboard div 2015-07-23 17:17:56 +03:00