Commit graph

2392 commits

Author SHA1 Message Date
David Larlet
d4ba1afd10
Merge pull request #1682 from umap-project/dependabot/pip/pytest-8.1.1
chore: bump pytest from 8.0.2 to 8.1.1
2024-03-27 17:12:14 -04:00
Yohan Boniface
90ced76a11 fix: honour old_id in datalayers= query string parameter
fix #1714
2024-03-27 22:10:38 +01:00
Yohan Boniface
c92d24100f
Merge pull request #1716 from umap-project/refactor-init-center
chore: refactor initCenter and controls ordering
2024-03-27 21:38:22 +01:00
Yohan Boniface
42c33ab23e
Merge pull request #1713 from umap-project/remove-js-tests
Remove js tests
2024-03-27 21:37:53 +01:00
Yohan Boniface
e0ff82298a chore: move table editor tests to PW 2024-03-27 21:06:46 +01:00
Yohan Boniface
4669053b18 chore: refactor initCenter and controls ordering
We had an issue (not in Github :p) where a map was not loading
because the defaultView was set to "data", and the layers were
remote data layers. In this case, when computing the remote URL,
we allow to replace georelated variables (like east, west, north,
lat…), which needs the map to have a view.
So:
- the default view was expecting the data to be loaded (="data")
- the data to be loaded needed a default view…

So instead of adding yet another call to _setDefaultView in an
edge case, we reordered the way we initialize the map elements:

- first we initialize the controls (because initCenter needs the
  locate control to exist)
- then we call initCenter
- then we initialize the tile layers (because the miniMap needs it
  to render itself)
- then we call renderControls
2024-03-27 20:14:43 +01:00
Yohan Boniface
ca8f7bf280 chore: add openmap fixture 2024-03-27 13:01:01 +01:00
Yohan Boniface
490a1a6e19 chore: port DataLayer.js tests to PW 2024-03-27 13:00:45 +01:00
Yohan Boniface
6a1fb44085 chore: add leaflet-configure.js in test loaded scripts 2024-03-27 13:00:45 +01:00
Yohan Boniface
b1fbccbdc5 chore: move Map and import tests to PW 2024-03-27 13:00:45 +01:00
Yohan Boniface
8392a748f1
Merge pull request #1704 from umap-project/remove-js-tests
chore: move js tests to PW
2024-03-26 08:55:20 +01:00
Yohan Boniface
c57469ee8b chore: move part of Polyline.js tests to PW 2024-03-26 08:50:55 +01:00
Yohan Boniface
1a2482f1e4 chore: move Polygon integration tests to PW 2024-03-26 08:50:55 +01:00
David Larlet
b3d54ab1f3
Merge pull request #1708 from umap-project/dependabot/pip/ruff-0.3.4
chore: bump ruff from 0.3.3 to 0.3.4
2024-03-25 16:06:42 -04:00
dependabot[bot]
799d004abe
chore: bump ruff from 0.3.3 to 0.3.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.3 to 0.3.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/v0.3.3...v0.3.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-03-25 20:02:12 +00:00
Yohan Boniface
4fcda97293
Merge pull request #1709 from umap-project/dependabot/pip/mkdocs-material-9.5.15
chore: bump mkdocs-material from 9.5.14 to 9.5.15
2024-03-25 21:00:51 +01:00
Yohan Boniface
db2a0bc74f changelog 2024-03-25 20:18:00 +01:00
Yohan Boniface
bd438605f3 2.1.2 2024-03-25 20:13:54 +01:00
Yohan Boniface
99207638d9 fix: make sure to order datalayer versions by time
When we changed from id to uuid, we broke the sorting, which
supposed to have a constant id as string prefix from version to
the other.
2024-03-25 20:13:34 +01:00
Yohan Boniface
258262ae14 fix: do not try to read undefined message on error in request.js 2024-03-25 19:44:14 +01:00
Yohan Boniface
73c5a963d9 chore: split lint and format recipes 2024-03-25 19:28:20 +01:00
dependabot[bot]
56708bbd30
chore: bump mkdocs-material from 9.5.14 to 9.5.15
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.14 to 9.5.15.
- [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.14...9.5.15)

---
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-03-25 17:42:11 +00:00
Yohan Boniface
b9e27fc885 chore: change default playwright timeout to 5000ms 2024-03-25 15:20:16 +01:00
Yohan Boniface
5d8706c261 chore: remove Permissions tests from JS and update PW ones 2024-03-25 15:20:16 +01:00
Yohan Boniface
98f1e48df9 chore: move Choropleth tests to PW 2024-03-25 15:20:16 +01:00
Yohan Boniface
288c7983fc fix: Path.replace called instead str.replace 2024-03-25 14:40:48 +01:00
Yohan Boniface
8d9468df00 2.1.0 2024-03-25 13:55:08 +01:00
Yohan Boniface
9d407c6b06 i18n 2024-03-25 13:52:48 +01:00
Yohan Boniface
c43e27e2e1 chore: bump Leaflet.i18n 2024-03-22 18:08:33 +01:00
David Larlet
851b1daf33
Merge pull request #1705 from umap-project/1700-see-all
fix: See all button closing panel
2024-03-22 13:01:57 -04:00
David Larlet
d1784b64a8
fix: See all button closing panel
Fixes #1700
2024-03-22 12:30:04 -04:00
David Larlet
985483b7d0
Initiate changelog for 2.1.0 2024-03-22 12:19:58 -04:00
Alexis Métaireau
998732b070 chore: move URLs tests to mocha cli 2024-03-22 17:05:40 +01:00
Alexis Métaireau
41da376f50 chore: use mocha locally to run the tests 2024-03-22 17:04:32 +01:00
Yohan Boniface
15964b2edb chore: lint 2024-03-22 11:16:32 +01:00
Yohan Boniface
f8d08ea539 chore: more pw tests 2024-03-22 11:10:56 +01:00
Yohan Boniface
9e3eef341e chore: move exports tests from js to playwright 2024-03-22 10:50:50 +01:00
Yohan Boniface
543744408f
Merge pull request #1695 from umap-project/dependabot/pip/ruff-0.3.3
chore: bump ruff from 0.3.2 to 0.3.3
2024-03-19 08:31:31 +01:00
dependabot[bot]
e2c249b4c9
chore: bump ruff from 0.3.2 to 0.3.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.2 to 0.3.3.
- [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/v0.3.2...v0.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 07:16:04 +00:00
Yohan Boniface
dd9dd77f3c
Merge pull request #1696 from umap-project/dependabot/pip/hatch-1.9.4
chore: bump hatch from 1.9.3 to 1.9.4
2024-03-19 08:15:29 +01:00
Yohan Boniface
65467c0e41
Merge pull request #1697 from umap-project/dependabot/pip/mkdocs-material-9.5.14
chore: bump mkdocs-material from 9.5.13 to 9.5.14
2024-03-19 08:15:16 +01:00
dependabot[bot]
82002fea0a
chore: bump mkdocs-material from 9.5.13 to 9.5.14
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.13 to 9.5.14.
- [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.13...9.5.14)

---
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-03-18 17:27:23 +00:00
dependabot[bot]
279124a2d9
chore: bump hatch from 1.9.3 to 1.9.4
Bumps [hatch](https://github.com/pypa/hatch) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.9.3...hatch-v1.9.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 17:26:58 +00:00
David Larlet
1bba89e72a
Merge pull request #1681 from umap-project/dependabot/pip/pymdown-extensions-10.7.1
chore: bump pymdown-extensions from 10.7 to 10.7.1
2024-03-15 09:48:48 -04:00
dependabot[bot]
d1c59a3e78
chore: bump pymdown-extensions from 10.7 to 10.7.1
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.7 to 10.7.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.7...10.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 13:36:14 +00:00
David Larlet
eca9662e0c
Merge pull request #1684 from umap-project/dependabot/pip/mkdocs-material-9.5.13
chore: bump mkdocs-material from 9.5.12 to 9.5.13
2024-03-15 09:35:42 -04:00
David Larlet
74d05b3290
Merge pull request #1683 from umap-project/dependabot/pip/ruff-0.3.2
chore: bump ruff from 0.3.0 to 0.3.2
2024-03-15 09:35:34 -04:00
Yohan Boniface
01e94d45dc
Merge pull request #1666 from umap-project/almet/fix-same-second-last-modified
fix: Replace Last-Modified with custom headers
2024-03-14 18:15:36 +01:00
Yohan Boniface
093eb6b56b
Merge pull request #1690 from umap-project/photon-location-bias
fix: only use location bias in search for close zoom
2024-03-14 14:53:30 +01:00
Yohan Boniface
375ef69b1b fix: only use location bias in search for close zoom
And add a lower location bias
2024-03-14 14:45:39 +01:00