Commit graph

3158 commits

Author SHA1 Message Date
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
Yohan Boniface
d54843bbe2 feat: add {layer} as popup variable (aka extended properties)
fix #2007
2024-07-22 10:41:46 +02:00
David Larlet
852d826dcd
docs-users: add article in French 2024-07-18 13:05:32 -04:00
David Larlet
1cb54613d0
docs-users: typo 2024-07-16 15:15:36 -04:00
David Larlet
6432e47a17
docs-users: add Towards uMap 3 articles (en+fr) 2024-07-16 15:09:32 -04:00
David Larlet
c5e7e91386
Merge pull request #1998 from umap-project/1997-help-zindex
fix: handle the 'auto' value special case for z-index
2024-07-16 08:30:08 -04:00
David Larlet
35be292c81
Merge pull request #2000 from umap-project/dependabot/pip/social-auth-app-django-5.4.2
chore: bump social-auth-app-django from 5.4.1 to 5.4.2
2024-07-15 13:50:26 -04:00
David Larlet
5436b1ee12
Merge pull request #1999 from umap-project/dependabot/pip/ruff-0.5.2
chore: bump ruff from 0.5.1 to 0.5.2
2024-07-15 13:42:16 -04:00
David Larlet
0d74cc21b2
Merge pull request #2001 from umap-project/dependabot/pip/mkdocs-material-9.5.29
chore: bump mkdocs-material from 9.5.28 to 9.5.29
2024-07-15 13:42:04 -04:00
dependabot[bot]
687851dd7f
chore: bump mkdocs-material from 9.5.28 to 9.5.29
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.28 to 9.5.29.
- [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.28...9.5.29)

---
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-15 17:40:55 +00:00
dependabot[bot]
7469337ff5
chore: bump social-auth-app-django from 5.4.1 to 5.4.2
Bumps [social-auth-app-django](https://github.com/python-social-auth/social-app-django) from 5.4.1 to 5.4.2.
- [Release notes](https://github.com/python-social-auth/social-app-django/releases)
- [Changelog](https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-social-auth/social-app-django/compare/5.4.1...5.4.2)

---
updated-dependencies:
- dependency-name: social-auth-app-django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 17:40:51 +00:00
dependabot[bot]
2e2cbf5520
chore: bump ruff from 0.5.1 to 0.5.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.1 to 0.5.2.
- [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.1...0.5.2)

---
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-15 17:40:45 +00:00
David Larlet
9609fafe93
fix: handle the 'auto' value special case for z-index
Fix #1997
2024-07-15 13:33:07 -04:00
David Larlet
4d2592992c
Merge pull request #1993 from umap-project/tableeditor-input
fix: remove padding from table editor inputs
2024-07-12 18:11:11 -04:00
Yohan Boniface
abbd0e4803 chore: move layers to modules/
This is a small step in the direction of spliting the data part
and the rendering part.

Basically in modules/data relies the data part, and in modules/rendering
the rendering part, which at some point in the history should be
the only place where we use and inherit from Leaflet, including utils
and such.
2024-07-12 23:21:41 +02:00
David Larlet
f5fd0eb6e9
fix: remove padding from table editor inputs
Also, decrease line-height of header cells
2024-07-12 14:23:54 -04:00
Yohan Boniface
54266c7d34 changelog 2024-07-12 19:02:32 +02:00
Yohan Boniface
764fbb4247 2.5.1 2024-07-12 19:01:42 +02:00
Yohan Boniface
163d24c7d0 fix: correct way to replace imports in collecstatic 2024-07-12 19:00:59 +02:00
Yohan Boniface
472f5578b8 changelog 2024-07-12 18:52:06 +02:00
Yohan Boniface
3226be1bdb 2.5.0 2024-07-12 18:46:45 +02:00
Yohan Boniface
8c58b06ce4 i18n 2024-07-12 18:34:03 +02:00
David Larlet
fd00c894a8
chore: fix markdown markup 2024-07-12 12:19:39 -04:00
David Larlet
f40387d5fc
Merge pull request #1968 from umap-project/filter-layer-3
Refactor the table editor including mass actions and filters
2024-07-12 12:18:47 -04:00
David Larlet
75e4679cc9
chore: fix tests 2024-07-12 12:12:29 -04:00
David Larlet
3db6655548
Merge pull request #1918 from umap-project/docs-major-versions
docs: Major version in case of server change(s)
2024-07-12 12:08:05 -04:00
David Larlet
645a8f5827
docs: Major version in case of server change(s) 2024-07-12 12:07:46 -04:00
David Larlet
3e20aff674
Merge pull request #1992 from umap-project/slideshow-fixes
Fix up following move of slideshow class to modules
2024-07-12 12:06:04 -04:00
David Larlet
f8cb195336
chore: back to this.properties for TableEditor 2024-07-12 12:02:28 -04:00
David Larlet
b63a0f7f2d
chore: better errors on name validation 2024-07-12 11:53:12 -04:00
David Larlet
85a4fda0ed
chore: use datalayer._propertiesIndex directly 2024-07-12 11:51:04 -04:00
David Larlet
238798acc3
chore: clean table editor CSS 2024-07-12 11:41:14 -04:00
David Larlet
7ce5646c54
chore: move computePosition to Positioned base class 2024-07-12 11:37:03 -04:00
Yohan Boniface
b4d13304f0 fix: add back slideshow.setOptions method, called from U.Map 2024-07-12 15:18:52 +02:00
Yohan Boniface
a51cc8102f fix: fix race condition when slideshow is in autostart mode
Given `setViewFromQueryString` is now async, the slideshow may start
before it is run and thus it has called `initCaptionBar`, so let's
call it directly (and it's not linked to query string, so…)
2024-07-12 15:16:42 +02:00
Yohan Boniface
a101309e03 wip: use Input not BlurInput in tableeditor
BlurInput adds a "check" button we don't want here.
2024-07-12 12:31:50 +02:00
Yohan Boniface
96c9bf9413 wip: set contextmenu x/y according to position in window 2024-07-12 12:21:30 +02:00
Yohan Boniface
4a6b271bbe wip: deal with escape in tableeditor input/textarea 2024-07-11 20:39:05 +02:00
Yohan Boniface
9f04f56c7c wip: use position: fixed for input/textarea in tableeditor
so it does not increase the cell width and does not change all
the table size.
Actually, there is still a small size change as we remove the cell
content before adding the input/textarea, but more subtle than before
2024-07-11 20:39:05 +02:00