Commit graph

3146 commits

Author SHA1 Message Date
David Larlet
ccb6ad57cd
fix: uppercased AS in Dockerfile 2024-08-02 11:08:44 -04:00
David Larlet
c6b2dbd04c
fix: avoid vendorizing lealfet useless files 2024-08-02 10:13:55 -04:00
David Larlet
5c7624a08e
fix: avoid vendorizing markercluster sources 2024-08-02 10:06:27 -04:00
David Larlet
cf00069017
fix: avoid vendorizing leaflet.toolbar sources 2024-08-02 10:01:57 -04:00
David Larlet
4125bd1be0
chore: include vendorized static dependencies 2024-08-02 09:54:54 -04:00
Yohan Boniface
5a0b75fd33
Merge pull request #2027 from umap-project/tableditor-direct-import
chore: import TableEditor directly from layer
2024-07-31 22:53:19 +02:00
Yohan Boniface
3c5d3e09ba
Merge pull request #2035 from umap-project/fix-georss
fix: fix georss import
2024-07-31 22:43:28 +02:00
Yohan Boniface
144c757e0f chore: remove old TableEditor.js tests file 2024-07-31 22:42:23 +02:00
Yohan Boniface
222e69fbf4 chore: import TableEditor directly from layer 2024-07-31 22:42:22 +02:00
Yohan Boniface
6de5dabcc6 fix: fix georss import 2024-07-31 22:31:43 +02:00
David Larlet
2240ec7f50
Merge pull request #2037 from umap-project/correct-dockerfile-statics-path
fix: Correct Dockerfile statics path
2024-07-31 09:31:06 -04:00
David Larlet
96b5a85989
fix: Correct Dockerfile statics path 2024-07-31 08:47:43 -04:00
David Larlet
8c7ff52f5f
Merge pull request #2031 from umap-project/dependabot/pip/ruff-0.5.5
chore: bump ruff from 0.5.4 to 0.5.5
2024-07-29 21:25:13 -04:00
David Larlet
f692fd2510
Merge pull request #2029 from umap-project/dependabot/pip/mkdocs-material-9.5.30
chore: bump mkdocs-material from 9.5.29 to 9.5.30
2024-07-29 21:25:01 -04:00
David Larlet
c240357922
fix: do not rely on the hasChildNodes() method
Introduced in 5ba1c28408

TIL: `hasChildNodes()` is sensitive to white spaces.
2024-07-29 21:15:24 -04:00
dependabot[bot]
27bfa3e07c
chore: bump ruff from 0.5.4 to 0.5.5
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.4...0.5.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 17:18:36 +00:00
dependabot[bot]
472cd88cfc
chore: bump mkdocs-material from 9.5.29 to 9.5.30
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.29 to 9.5.30.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.29...9.5.30)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 17:18:21 +00:00
David Larlet
5ba1c28408
chore: reformat templates with djlint 2024-07-29 10:53:34 -04:00
Yohan Boniface
8fc061429a chore: only run lint on our /js/
(Otherwise it will run on vendors…)
2024-07-29 16:40:57 +02:00
David Larlet
6b34c30f90
chore: correct gitignore pattern for root dirs 2024-07-29 10:36:55 -04:00
Yohan Boniface
daa6e37073
Merge pull request #2019 from umap-project/features-to-modules
wip: first step in moving features to modules (work in progress)
2024-07-29 16:35:42 +02:00
Yohan Boniface
703e3315b2
Merge pull request #2014 from umap-project/dependabot/npm_and_yarn/multi-e6246414b5
chore: bump minimist, csv2geojson and osmtogeojson
2024-07-29 16:32:57 +02:00
Yohan Boniface
671d88296f wip: remove print 2024-07-29 16:24:59 +02:00
Yohan Boniface
cd439bb7d0 wip: remove umap.features.js 2024-07-29 16:24:59 +02:00
Yohan Boniface
65c5cb5ab5 wip: refactor isolateShape 2024-07-29 16:24:59 +02:00
Yohan Boniface
cd30f49773 wip: move back click handler to Leaflet Marker/Path
We tried to have only one listened at map level, but we get into
troubles with bindTooltip({permanent: false} and MarkerClusterGroup
stoping the event to each the map.

Let's go back to previous behaviour, and try later to clean this
event management.
2024-07-29 16:24:59 +02:00
Yohan Boniface
1bbdaa4c90 wip: do not try to redraw cluserized marker 2024-07-29 16:24:59 +02:00
Yohan Boniface
565f6d87b6 wip: fix editing Point coordinates by hand
For now we edit ui._latlng, but in an ideal world, we should edit
Point coordinates and then sync to the ui Marker.
2024-07-29 16:24:59 +02:00
Yohan Boniface
25d12420b2 wip: fix popup position for markers
Not sure what changed during the refactor, but now all popups
where opening at click position (plus the popupAnchor for markers).
2024-07-29 16:24:59 +02:00
Yohan Boniface
f80d471203 wip: do not sync twice on commit 2024-07-29 16:24:59 +02:00
Yohan Boniface
a022619625 wip: refactor DataLayer.geojsonToFeatures and fix sync tests 2024-07-29 16:24:59 +02:00
Yohan Boniface
081323dc8a wip: (almost) fix tests 2024-07-29 16:24:59 +02:00
Yohan Boniface
7aa07709b3 wip: first step in moving features to modules (work in progress) 2024-07-29 16:24:56 +02:00
Yohan Boniface
f196bda25f
Merge pull request #2024 from umap-project/permissions-to-modules
chore: move permissions to modules
2024-07-29 15:53:52 +02:00
Yohan Boniface
e2d8201321 chore: move permissions to modules 2024-07-29 15:18:25 +02:00
Yohan Boniface
aae75d86e9
Merge pull request #2008 from umap-project/layer-var-in-popup
feat: add {layer} as popup variable (aka extended properties)
2024-07-23 21:49:04 +02:00
Yohan Boniface
ab34765c30
Merge pull request #1989 from umap-project/layer-to-modules
chore: move layers to modules/
2024-07-23 21:42:22 +02:00
Yohan Boniface
186ad537f3 chore: add docs for using variables 2024-07-23 21:33:55 +02:00
Yohan Boniface
6b67ce26a1 feat: expose marker altitude in variables (as "alt") 2024-07-23 21:33:55 +02:00
David Larlet
a624cd2446
Merge pull request #2011 from umap-project/dependabot/pip/pytest-8.3.1
chore: bump pytest from 8.2.2 to 8.3.1
2024-07-22 13:52:30 -04:00
dependabot[bot]
4aaf9d4d08
chore: bump minimist, csv2geojson and osmtogeojson
Bumps [minimist](https://github.com/minimistjs/minimist) to 1.2.8 and updates ancestor dependencies [minimist](https://github.com/minimistjs/minimist), [csv2geojson](https://github.com/mapbox/csv2geojson) and [osmtogeojson](https://github.com/tyrasd/osmtogeojson). These dependencies need to be updated together.


Updates `minimist` from 0.0.5 to 1.2.8
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v0.0.5...v1.2.8)

Updates `csv2geojson` from 5.1.1 to 5.1.2
- [Changelog](https://github.com/mapbox/csv2geojson/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/mapbox/csv2geojson/commits)

Updates `osmtogeojson` from 3.0.0-beta.3 to 3.0.0-beta.5
- [Changelog](https://github.com/tyrasd/osmtogeojson/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/tyrasd/osmtogeojson/compare/3.0.0-beta.3...3.0.0-beta.5)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
- dependency-name: csv2geojson
  dependency-type: direct:production
- dependency-name: osmtogeojson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 17:51:39 +00:00
David Larlet
592a9753f4
Merge pull request #2012 from umap-project/dependabot/pip/ruff-0.5.4
chore: bump ruff from 0.5.2 to 0.5.4
2024-07-22 13:50:37 -04:00
dependabot[bot]
13c7dbcbcb
chore: bump ruff from 0.5.2 to 0.5.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.2 to 0.5.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.2...0.5.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 17:40:15 +00:00
dependabot[bot]
4eabc907d0
chore: bump pytest from 8.2.2 to 8.3.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 17:40:05 +00:00
Yohan Boniface
ef4e33a6ec
Merge pull request #2010 from umap-project/var-null
Fix variable pointing to null value displayed instead of the fallback
2024-07-22 17:58:15 +02:00
David Larlet
a8468cb4fa
chore: modern JS 2024-07-22 09:58:17 -04:00
Yohan Boniface
8d39932e94
Merge pull request #2009 from umap-project/fix-sortkey-help
fix: broken sortKey help
2024-07-22 15:57:45 +02:00
Yohan Boniface
6b4b6ce53b fix: do not consider null as value in greedyTemplate
cf #820#issuecomment-2227821746
2024-07-22 11:56:10 +02:00
Yohan Boniface
da8e206cd0 chore: pass biome on utils unittests 2024-07-22 11:55:35 +02:00
Yohan Boniface
67ec77fd8a fix: broken sortKey help
And move properties to shema.js. Given those keys does not have
a "guessable" handler, let's have a "customHandlers" prop to deal
with those (instead of keeping them outside of the schema…)

fix #2006
2024-07-22 11:09:25 +02:00