Commit graph

76 commits

Author SHA1 Message Date
Andras Timar
7a199b9703 typo: tets -> tests
Change-Id: I8cd938c99c9087ebf2db85e361fecfa916d3adbe
2018-03-07 12:08:55 +01:00
Samuel Mehrbrodt
4c9872188f Add non-obtrusive notification method (infobar-alike)
This reuses the vex dialogs and pushes notifications to the bottom right area.
Converted the limit reached notification to this new type.

Change-Id: I20f0c1202eecde028e70156f02ba31497ef2f9b9
2018-02-22 14:28:09 +01:00
Pranav Kant
dbadff5551 loleaflet: Be more specific in README instructions regarding update
An `npm update` on my local tries to update all the modules to latest
version; surely we don't want it everytime only one module update is
required.

Change-Id: I2f79e77ae23edb9b8f8248ac7535e014b7b3218d
2017-08-04 17:44:57 +05:30
Ashod Nakashian
5cac95e6a9 loleaflet: remove pagepartrectangles request and handling in loleaflet
Change-Id: Ib83e7c0ca05a7d7d1a3d30675ef3cf5804f5ac4c
2017-02-05 21:59:22 -05:00
Samuel Mehrbrodt
1f2d04a5e4 Online, not on-line
Change-Id: I93a8322dceca7c1ed95449c6aeb4ae854b982957
Reviewed-on: https://gerrit.libreoffice.org/33886
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-03 13:47:30 +00:00
Pranav Kant
582bfbeb7f Update path
Change-Id: Ic0654f64ee5ba9e4678cca42ceea4a5958a01c66
2017-01-13 20:33:45 +05:30
Tor Lillqvist
8fe58df759 An updated preview of a slide should be broadcast to all document clients
Amazingly, this (my third attempt) seems to work.

Add a boolean 'forAllClients' parameter to the loleafget getPreview()
function, and pass it as true in the location where a new preview of
an edited slide is requested.

Add a parameter 'broadcast' to the 'tile' (request) message. Set to
'yes' in the above case. When subscribing to a such tile rendering,
subscribe all sessions of the document.

While at it, drop the default values for the parameters of the
TileDesc constructor. I dislike default values...

Change-Id: Idb438f11c953d791fafe4c890e0497d8dfbaa733
Reviewed-on: https://gerrit.libreoffice.org/29591
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2016-11-21 07:07:18 +00:00
Tor Lillqvist
c99379d67f The 'invalidatepreview' event handling seems to be unimplemented
No need to fire it if nothing happens. Just confuses a reader of the
code.

I don't really understand JavsScript events etc, so if I have
misunderstood something, feel free to revert.
2016-10-06 15:43:41 +03:00
Pranav Kant
93c114d0f4 Update README 2016-08-16 11:17:00 +05:30
Pranav Kant
af36ebeae2 loleaflet: Update README regarding source-maps and .gitignore 2016-08-11 16:39:54 +05:30
Pranav Kant
a08f05e938 loleaflet: Port to new API based build process; remove older ones 2016-08-11 14:55:23 +05:30
Pranav Kant
9b9e5199e0 loleaflet: Update README 2016-08-09 20:28:10 +05:30
Ashod Nakashian
045f0b6388 loleaflet: npm requirement and upgrade instructions added
Change-Id: Id769931cfef8c6c1cc291b12ed399484f6b19f97
Reviewed-on: https://gerrit.libreoffice.org/27972
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-08 03:54:06 +00:00
Pranav Kant
b99d51616c loleaflet: Update README for updating dependencies 2016-08-03 15:45:01 +05:30
Pranav Kant
5b6df600a7 loleaflet: Modularize all of the js; use browserify
Don't include each third party script in a separate <script> tag,
rather have one single main.js file require'ing these different
scripts. Then `browserify' on main.js which bundles everything
into a single bundle.js containing all of the dependencies.

Also add these 3rd party scripts such as jquery, jquery-ui,
select2 etc. using npm, rather than manually downloading their
files from the internet. This should ease the process of managing
these front-end dependencies; upgrade process should be very easy
now.
2016-08-03 15:45:01 +05:30
Pranav Kant
efbd0a4940 loleaflet: Fix incorrect info in README 2016-08-03 15:45:01 +05:30
Andras Timar
f540fb087c loolwsd: document new command line options in READMEs 2016-06-27 09:41:41 +02:00
Pranav Kant
b230dcb26f loleaflet: Kill modules.zip
... and save ~3MB of space.

Change-Id: Iaa5cb62936d66044b657e6a507237a90f1d0a537
2016-06-06 16:28:57 +05:30
Andras Timar
af36a3bd13 document --allowlocalstorage and --admincreds 2016-04-20 11:35:31 +02:00
Pranav Kant
06bc5cf33e Update READMEs for SSL and Admin panel
Change-Id: I7b511071ab286474b35f40f40839aa2c44fa53f1
2016-03-22 16:09:22 +05:30
Tor Lillqvist
e96629b371 It is apparently intended that one uses the mocha built here, not a system one
On many/some distros, the system mocha is a much (?) older version,
which uses a wildly different output format, which is confusing.
2016-03-07 13:04:42 +02:00
Tor Lillqvist
70b7ee6d65 Fix typos 2016-02-29 16:46:42 +02:00
Jan Holesovsky
0bb8d0f1c3 loleaflet: Rename searchAll() to highlightAll() for clarity.
The previous work changed the behaviour of searchAll so that it does not
create a real selection, but instead adds additional mean of highlight, so
that it is possible to show all the results, and travel them at the same time.

The usage is now:

* call once the highlightAll()
* and then traverse the results using search()
2016-01-25 22:42:38 +01:00
Mihai Varga
7e44e639d8 loleaflet: better document the unit tests 2015-12-21 17:18:59 +02:00
Andras Timar
7be69dde9e typos 2015-11-11 15:58:24 +01:00
Jan Holesovsky
b068d9622c loleaflet: Add 'commandresult' event.
It's the loleaflet equivalent of the LOK_CALLBACK_UNO_COMMAND_RESULT callback.
2015-11-04 13:27:23 +01:00
Miklos Vajna
71ce604adb loolwsd: add initial reference.txt to document HTTP POST API 2015-10-20 18:10:40 +02:00
Mihai Varga
62184cffb4 loleaflet: documented the print event 2015-10-19 11:31:20 +03:00
Mihai Varga
ed35ac63f6 loleaflet: searchAll method 2015-10-19 10:44:54 +03:00
Mihai Varga
1588dd5f5d loleaflet: map.getPageSizes - returns the size of each page
In twips and pixels
2015-10-15 19:33:37 +03:00
Mihai Varga
3ba0bd6aeb loleaflet: mention reference.html in README 2015-10-15 19:33:37 +03:00
Mihai Varga
113a312023 loleaflet: we now have getPreview and getCustomPreview methods
getPreview can be used to request a preview of a page or a part while
getCustomPreview can be used to get a preview of a user defined section
of the document
2015-10-15 19:33:37 +03:00
Mihai Varga
cf089ccf2a tdf#94607 downloadAs command handler
We use a hidden iframe to download the document. Once we have the url
for it, we set iframr.src = url
Also added map.downloadAs(name, format, options) method
2015-10-09 16:14:38 +03:00
Mihai Varga
07a305df80 loleaflet: partpagerectangles command integration
An event is fired with the page dimensions.
Also the current page number is updated based on which page contains
the current view's center
2015-09-30 13:29:10 +03:00
Mihai Varga
fc5d617737 loleaflet: renamed remaining currentPart to selectedPart 2015-09-15 17:53:27 +03:00
Mihai Varga
bc72dcc329 loleaflet: renamed unoCmd to commandName 2015-09-15 11:52:55 +03:00
Mihai Varga
5fa9c364c8 loleaflet: font / style feedback 2015-09-14 20:15:08 +03:00
Mihai Varga
76b15ea303 loleaflet: increase/decrease indent buttons 2015-09-10 12:57:11 +03:00
Mihai Varga
9a23b7abb9 loleaflet: renamed setStyle to applyStyle 2015-09-10 11:29:19 +03:00
Mihai Varga
87fae7f854 loleaflet: fonts control 2015-09-10 11:26:47 +03:00
Mihai Varga
c904486115 loleaflet: use the commandvalues server cmd 2015-09-10 09:48:33 +03:00
Mihai Varga
12da97f394 loleaflet: mention about removePreviewUpdate 2015-09-07 17:20:20 +03:00
Mihai Varga
ee34470c73 loleaflet: mention about tilepreview event 2015-09-07 17:20:10 +03:00
Mihai Varga
2a2eb14532 loleaflet: option for automatically updating the previews 2015-09-02 17:20:27 +03:00
Mihai Varga
ccffd33a3b loleaflet: README update 2015-09-01 18:15:43 +03:00
Andras Timar
ecf6e091b2 loleaflet README: npm is provided by nodejs package 2015-08-21 17:14:09 +02:00
Mihai Varga
438e400859 loleaflet: document style setter and getter 2015-08-19 11:48:49 +03:00
Mihai Varga
b5688840ad loleaflet: mention how to run the tests 2015-08-19 11:48:49 +03:00
Mihai Varga
5da0423ec3 loleaflet: changed method name to getCurrent*Number 2015-08-13 13:18:56 +03:00
Mihai Varga
d7262c57e0 loleaflet: method to get a preview of the document 2015-08-13 13:01:09 +03:00