Dennis Francis
8b2eae423c
setup mocha framework for testing TS classes/functions
...
... and add a few test-cases for CPointSet.empty()
* The tests are written in TS and compiled to JS before Mocha framework
runs them using 'npm test' via 'make check'.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I16e28404af76754b6bbb67c6743ca7d0f2701233
2021-02-12 12:02:13 +05:30
Michael Meeks
136f20b386
Use jsdom to load and execute our CSS, HTML and JS.
...
Change-Id: Ia7414e1fd19bf7ebfa29274d1acac5cee4837341
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-01-16 12:18:47 +00:00
Michael Meeks
c7d0de0877
Start of using NodeJS to do load simulation.
...
Change-Id: Id27ff406adc2269665aca0bbb54dd2102a4c7c74
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-01-16 12:18:47 +00:00
Henry Castro
226a3116e0
loleaflet: sort the packages in package.json
...
I am using the "npm" version 7.0.12, and after
bundling the "loleaflet", the "package.json" is modified.
Let's sort permanently so I cannot get contaminated with
something that I did not touch in my source directory files.
Change-Id: I6a1e6d6b3f1b2898288f06de85fc0307b62cbbeb
Signed-off-by: Henry Castro <hcastro@collabora.com>
2020-12-04 15:54:04 -04:00
Ayhan Yalçınsoy
ec4d35a53a
loleaflet: eslint v.bump to 6.0.0 #396
...
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Change-Id: I08f7cc953aa6434fccbc92d74570c62a43c7dad9
2020-11-10 22:53:23 +03:00
ihristova11
d6dfd80ee8
chore: bump eslint version to 5.0.0
...
Change-Id: I156d6a560130e232378dc3c6804a95f0ba03418d
2020-10-23 01:40:50 +03:00
Muhammet Kara
5c5b23d912
loleaflet: Bump eslint version to 4.18.2
...
Change-Id: Icace27211809731d5dcbde6cd9cb11998efecac7
2020-10-21 00:20:54 +03:00
Pelin Kuran
bb5e112920
loleaflet: Bump eslint version to 4.0.0
...
Change-Id: I4d04d5f2037c6af61050f94d28e7781a14cc1210
2020-10-20 23:05:13 +03:00
Andras Timar
25764d83ca
change git repo URL and product name in package.json files
...
Change-Id: I15b786fa1fb3be78c4fe6e83777fc7df396de434
2020-10-05 14:04:40 +02:00
Henry Castro
d7353acf96
loleaflet: introduce "stylelint" a modern linter for CSS
...
Change-Id: I8a7427eeb3b838baac8a6669d5313dc0d53d9ddd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102199
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 17:33:12 +02:00
gokaysatir
489155f3a7
leaflet: update jquery package.
...
Change-Id: I1d637b957808ae5938cf2ee7fe5c3f20e6b9cc52
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95856
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-11 13:00:52 +02:00
gokaysatir
a0748dda45
leaflet: Introduce typescript. Initiate a modal library with typescript.
...
Change-Id: I92113f7552f938f0874e8b16904e8bef0b5249a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95624
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
2020-06-09 14:33:40 +02:00
gokaysatir
9d0fc3801d
leaflet: update d3 package.
...
Change-Id: I3afe1021edf9e77ff7a62de0a0d4478c974af57b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95534
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-04 21:21:37 +02:00
gokaysatir
5f07429b6b
leaflet: Update admin console & drop bootstrap package.
...
Change-Id: I9243393693c2464f2e9a4d24cccf9c5f3415e2ef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95468
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:56:16 +02:00
gokaysatir
6f6c0a32e5
leaflet: update jquery-ui package with lightness them.
...
Change-Id: I8273c2f7d8b46f63f582c11c2c0e81c303e04bcb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95352
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:55:07 +02:00
gokaysatir
ba64819ef8
update uglifyify package.
...
Change-Id: Ib7badc17f087d4abbf04d8f683229a4b92faff76
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95265
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-01 20:02:11 +02:00
gokaysatir
d4fcf7c537
update uglify-css package.
...
Change-Id: If6c173393cf49d283db646d72f8770d0b2600ed7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95262
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-01 17:28:48 +02:00
gokaysatir
ee098941a8
update uglify-js package.
...
Change-Id: Ic1298127d186a094e81ffc58a9ed35f82948cb1f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95267
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-01 17:16:13 +02:00
gokaysatir
c71ba8714b
update jquery-mousewheel package.
...
Change-Id: Ib570f53cc1ca41bb8f5344562417e4490b9a04f0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95281
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-01 16:11:51 +02:00
gokaysatir
77c887c04b
update jquery-contextmenu package.
...
Change-Id: I709a865619add00b8c580fc4fbecfeb1a2d451a9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95278
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-01 16:11:14 +02:00
gokaysatir
d478b2d030
update select2 package.
...
Change-Id: I8ff53d838e80011f110bd427e26adcd372d9a2fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95217
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-01 15:30:30 +02:00
gokaysatir
460eeb81c7
update browserify package.
...
Change-Id: I470b0ca73af87d56278059ac16483fa4a1bd2723
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95167
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-30 22:35:38 +02:00
gokaysatir
d77189ff2b
update browserify-css package.
...
Change-Id: Ia4a81da4fb07f6ab8788e1ed4549d5ca8c122911
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95168
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-30 14:02:34 +02:00
gokaysatir
880868ca6c
update autolinker package.
...
Change-Id: I53c642763212d958fb0a860fcfbd8f4bbe7b37ff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95166
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 22:13:20 +02:00
gokaysatir
43325dec72
remove @types/jquery package from package json.
...
Change-Id: I330f252e1ae5be331ee48ee86d35cdf171f93dbe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95160
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 19:35:30 +02:00
gokaysatir
6a32779901
remove exorcist package.
...
Change-Id: I8a351e4dbe0022efd8c48aa87044b1aff541c6cc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95164
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 19:34:26 +02:00
gokaysatir
160acdc5cb
update sanitize-url package
...
Change-Id: I4cc68a010f54afc02777c140b28e41c07a0011fe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95158
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-29 18:13:18 +02:00
Henry Castro
5cc7ba2d77
loleaflet: import sanitize-url.js library
...
The file was imported from node_modules/@braintree/sanitize-url/index.js
the main reason is to analyze the source code, debug and patch
if necessary
To obtain the source code from npm repository
make libs
To bundle the file sanitize-url.js
browserify braintree-sanitize-url/index.js --standalone sanitizeUrl > sanitize-url.js
Change-Id: I7869a1349648ae1f8f2194859ebb398b1a73733e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89055
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-20 13:20:44 +01:00
Alexandru Vlăduţu
ef1669b389
loleaflet: update vex.js library
...
Change-Id: I6b32c6a60a27aa27eb32784bb73e40c979f67def
Reviewed-on: https://gerrit.libreoffice.org/71726
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-05-03 12:17:02 +02:00
Alexandru Vlăduţu
0821940ae7
loleaflet: check document hyperlink before open
...
Change-Id: Ie2b1ba8baf49136fa805ab5b3a52f7b7fb5827df
Reviewed-on: https://gerrit.libreoffice.org/70113
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-02 14:45:13 +02:00
Alexandru Vlăduţu
765fac1d0d
loleaflet: remove unnecessary dependency from package.json
...
Change-Id: If0ee24f31bcf47b2f5570ade95165cad9f8e5eae
Reviewed-on: https://gerrit.libreoffice.org/70109
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-04-02 07:59:42 +02:00
Alexandru Vlăduţu
338563ab45
loleaflet: update shrinkpack
...
Updated shrinkpack to work with (relatively) new versions of npm: https://github.com/JamieMason/shrinkpack/issues/83
The new version stores the tars in the 'archived-packages' folder and not the 'node_shrinkwrap' one, that's why there are so many files in the diff.
Change-Id: Iebcadaeee0e27f831b7ff16a50819a908e7f05a6
Reviewed-on: https://gerrit.libreoffice.org/69878
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-03-28 09:27:07 +01:00
Henry Castro
70848989ad
loleaflet: update node_shrinkwrap
...
Change-Id: Ibd1b6ed55d8ed7485e6a82cf3e698eb2cbafd034
2019-03-06 22:27:29 -04:00
Szymon Kłos
0eb1bcb8ce
Zoom & move LOKDialogs using gestures
...
Change-Id: I313ef0ed1b801d8a3d3aadfca7c2eb001499e7db
2018-12-07 12:39:28 +01:00
Szymon Kłos
c9ddadfcaf
Added modification indicator
...
Change-Id: Iba028758671ec4e9bd7db375a2511d2d3699aa55
2018-12-07 12:39:27 +01:00
Tor Lillqvist
393c8ff278
Move the malihu-custom-scrollbar-plugin js and css into our tree for hacking
...
I plan to add some hacks into it to fix the horrible jumping around
after touch-based interaction, specifically for the iOS app.
Change-Id: Ia6cfbfe7f487b52ba7652e49eb3fdb59af0c82ae
2018-11-15 18:33:41 +02:00
Henry Castro
52be172307
loleaflet: update node_shrinkwrap
...
Change-Id: Icf4683c074c6c4dc6e478412230a431137bdb7fa
2018-05-27 07:55:55 -04:00
Andras Timar
b1948bff68
remove unused evol-colorpicker
...
Change-Id: I3eaf2040aa8cfaefb7861c33bceac7c1e5d7866a
Reviewed-on: https://gerrit.libreoffice.org/54806
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-05-25 23:07:15 +02:00
Henry Castro
02f646c298
loleaflet: upgrade eslint to 3.0.0
...
npm-shrinkwrap.json.in was generated using npm@5.1.0
Change-Id: I367d06f4720e536554c4826db292f566a0a7256b
2018-05-24 10:33:26 -04:00
Henry Castro
8618885b31
use Makefile to build loleaflet
...
Concatenate and minify all javascript files in the release build but not
in the debug build. Also, it is enabled to use a build directory
Change-Id: Ia120447a827cfe236241ddf188bf43a088f877a7
Reviewed-on: https://gerrit.libreoffice.org/52802
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-10 20:30:16 +02:00
Henry Castro
80bbab39f0
loleaflet: browserify-css, use the global transform option
...
Change-Id: I058c3befc8c89d67faf35bf3ab0142893c3b7b47
2018-04-29 18:15:21 -04:00
Henry Castro
14d1ac6883
loleaflet: remove not used w2ui package
...
Change-Id: I2a1c27cc437c02d228c148fd4527d99e55a1b4e9
2018-04-04 10:03:34 -04:00
Andras Timar
6f2d06c779
Revert "Revert "NPM Shrinkwrap: Upgrade to new format (v5)""
...
This reverts commit c0a902ba81
.
2018-03-07 13:28:07 +01:00
Andras Timar
c0a902ba81
Revert "NPM Shrinkwrap: Upgrade to new format (v5)"
...
This reverts commit 37e7e95304
.
2018-03-05 17:44:17 +01:00
Samuel Mehrbrodt
37e7e95304
NPM Shrinkwrap: Upgrade to new format (v5)
...
Should be backwards compatible with npm 2,3 and 4
Change-Id: Ie40f39af4b6fb618916df33d9cdd2fc62e4bc592
Reviewed-on: https://gerrit.libreoffice.org/50191
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-02-22 16:51:03 +01:00
Pranav Kant
3a10c48013
loleaflet: new dependency - autolinker - link what can be linked
...
... in annotations. Emails, phone numbers, email address and what not.
We are not sending the generated markup, eg: the html <a> tags back to
LO core, only the representation in the UI is linkified.
Autolinker license: MIT
https://www.npmjs.com/package/autolinker
Change-Id: I8df3676a9eb6122884defb6bc3da87d30f993b04
2017-04-24 20:31:06 +05:30
Pranav Kant
774a9a6e16
Remove devtools-detect as one of the dependencies
...
Usage of this module was removed in
2bbab9bf94
Change-Id: I7fdde32cdf52fa0d33859fc4cda58d4daed40254
2016-12-15 14:15:10 +05:30
Miklos Vajna
655915da05
leaflet: bundle timeago JS module
...
And start using it in DocumentRepair.
Change-Id: I8d2b8af4d2e0dcc7cf8082c9d7adbc633df1c387
2016-09-30 17:12:01 +02:00
Pranav Kant
26ff7ce80e
loleaflet: Add exorcist to dependency tree
...
This is required for separating source maps from our bundles.
2016-08-11 16:27:21 +05:30
Pranav Kant
65b83c0409
loleaflet: Minify our js bundle
2016-08-11 15:55:49 +05:30