Commit graph

68 commits

Author SHA1 Message Date
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
Mihai Varga
6994e44222 loleaflet: getDocType method 2015-08-12 19:54:32 +03:00
Mihai Varga
f8c0f0b143 loleaflet: added option to fire 'updatescrolloffset' when scrolling 2015-08-12 19:43:15 +03:00
Mihai Varga
e7cd3a75ef loleaflet: getDocSize method for getting the size in pixels 2015-08-12 19:22:26 +03:00
Mihai Varga
e3ae95bfc9 loleaflet: get numberOfPages/Parts and getCurrentPart/Page mehtods 2015-08-12 19:16:34 +03:00
Mihai Varga
cd83b92370 loleaflet: rename 'searchnotfound' event to 'search'
Also added 'originalPhrase' and 'count' members to the event
2015-08-12 18:06:49 +03:00
Mihai Varga
396efe4806 loleaflet: parse the error cmd before firing the error event 2015-08-11 11:37:26 +03:00
Mihai Varga
1254dbd0b1 loleaflet: updated README with alltilesloaded event 2015-08-07 09:50:50 +03:00
Mihai Varga
1379326bcf loleaflet: on error fire 'error' events
Those events are now handled by a removable control
2015-08-06 17:41:56 +03:00