Commit graph

36 commits

Author SHA1 Message Date
Yohan Boniface
e44e0df69a tests: fix 90% of the javascript tests 2024-02-05 07:23:15 +01:00
David Larlet
65f1cdd6b4
lint: use eslint with a browserslist configuration 2024-01-29 16:44:04 -05:00
Yohan Boniface
70ae3e4bd8 Upgrade leaflet.photon to 0.9.0
This release fixes the API domain
2023-12-22 11:13:03 +01:00
Yohan Boniface
fe9f4b4a48 WIP: POC of using Leaflet.IconLayers as tilelayers switcher 2023-12-15 11:40:52 +01:00
Yohan Boniface
4936a97218 Use step=any by default for FloatInput
This is fixed in Leaflet.FormBuilder itself
2023-11-23 12:29:52 +01:00
Yohan Boniface
aa6a488ef1 Remove ChromaJS dependency from package.json 2023-10-12 08:41:07 +02:00
Yohan Boniface
739626351c Choropleth: replace chromajs by colorbrewer + simple-statistics
simple-statistics has a few advantages:
- faster
- more accurate kmeans algo
- Jenks-Fisher algo

Also, I suspect will use it again for next step, which is Bubble
mode layer.
2023-10-11 19:36:12 +02:00
Yohan Boniface
8e12e6cf24 POC of a choropleth layer 2023-10-10 21:16:01 +02:00
David Larlet
f6dbb7d45b
Correct url type for background url templates 2023-09-22 12:10:53 -04:00
dependabot[bot]
b7b160c808
Bump growl and mocha
Removes [growl](https://github.com/tj/node-growl). It's no longer used after updating ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Removes `growl`

Updates `mocha` from 2.5.3 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v2.5.3...v10.2.0)

---
updated-dependencies:
- dependency-name: growl
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 16:20:54 +00:00
Yohan Boniface
798aea100f Bump leaflet.locatecontrol 2023-08-22 18:10:41 +02:00
Yohan Boniface
7f7951ec79 Bump Leaflet.MarkerCluster to 1.5.3 2023-08-22 18:08:37 +02:00
Yohan Boniface
209d7bb843 Bump Leaflet.i18n 2023-08-22 16:37:26 +02:00
Yohan Boniface
1508b137ca Use maintained fork of togeojson
fix #1192
2023-08-08 09:02:22 +02:00
Yohan Boniface
08fed332cb Bump Leaflet to 1.9.4
Changelog:

https://github.com/Leaflet/Leaflet/blob/main/CHANGELOG.md

Sounds safe for us. Tested localy. Tests pass. Inch Allah.
2023-07-11 16:01:39 +02:00
Yohan Boniface
666fed3d9c Be more strict when coordinates are set manually
cf https://forum.openstreetmap.fr/t/impossible-de-charger-la-carte-carte-acteurs-naturels-batiment/15607/7
2023-06-23 08:07:49 +02:00
Yohan Boniface
e1d3a95cce Allow to make vendors without Makefile
So we can use a lighter node image in Docker
2023-06-05 13:19:14 +02:00
Yohan Boniface
cf071eda85 Remove mocha-phantomjs for now, as it sometimes break Docker build 2023-06-05 11:49:36 +02:00
Yohan Boniface
309db975af
Merge branch 'master' into master 2023-06-02 17:34:49 +02:00
David Larlet
fd3f854a9c
Use DOMPurify to escape malicious input from user 2023-05-30 14:22:04 -04:00
David Larlet
c5b19728f0 Fix sinon’s fakeServer’s URLs with /?date param
Since this commit 97e2df0a8d tests were broken because the URL has an extra date parameter to update the cache for datalayers. With the new regexp, we match these new URLs with the fakeServer from sinon.

Also update sinon to v15.
2023-05-26 13:39:58 -04:00
David Larlet
838bd73458 Install and apply Lebab for JS arrows’ conversions 2023-05-12 14:04:59 -04:00
David Larlet
f43742212b Apply PrettierJS to the whole codebase 2023-05-12 13:57:03 -04:00
Yohan Boniface
03897e9b0c Upgrade Uglify-JS 2023-05-02 18:13:26 +02:00
Yohan Boniface
71ac1f48db Bump Leaflet.Measurable 2023-05-02 17:47:31 +02:00
Yohan Boniface
492f0dc59c bump leaflet.formbuilder 2023-02-28 14:14:43 +01:00
Duvel
4f98297c99
Removed suspended phantomjs and allows for arm64 2022-11-27 16:23:47 +01:00
Aleksejs Popovs
c4415e1e99 Vendor leaflet.locatecontrol 2022-11-24 13:55:09 -05:00
Yohan Boniface
4c9e82f6ab Remove grunt 2021-09-16 11:54:57 +02:00
Yohan Boniface
838edf8972 Bump Leaflet.Editable 2018-09-05 22:13:35 +02:00
Yohan Boniface
1ce1ea9f58 Update Leaflet.MarkerCluster to 1.4.0 2018-09-05 21:37:56 +02:00
Yohan Boniface
08ff6e53a3 Update Leaflet to 1.3.4 2018-09-05 21:35:16 +02:00
Yohan Boniface
2b3f930f98 Bump csvtogeojson 2018-09-05 19:57:28 +02:00
Yohan Boniface
d1c134150f Upgrade Leaflet.Photon to 0.8.0 2018-08-30 09:38:31 +02:00
Yohan Boniface
a0bff73401 Fix generate_js_locale paths 2018-06-02 14:44:01 +02:00
Yohan Boniface
19d2b39423 Leaflet.Storage is now integrated inside this repository 2018-06-02 12:21:40 +02:00