Commit graph

2666 commits

Author SHA1 Message Date
David Larlet
d6a20b3dda
Merge pull request #1847 from umap-project/ui-to-modules
chore: move ui to dedicated modules
2024-05-22 13:05:32 -04:00
David Larlet
ef705a862e
Merge pull request #1851 from umap-project/audio-video-tags
fix: allow audio and video tags (+attributes) in HTML
2024-05-22 12:52:16 -04:00
David Larlet
d4830f6128
Merge pull request #1852 from umap-project/1848-invert-star-icons
fix: invert star icons when map is starred or not
2024-05-22 12:51:58 -04:00
David Larlet
5f29b8b0d5
fix: invert star icons when map is starred or not
Fixes #1848
2024-05-22 11:05:44 -04:00
David Larlet
5b624167c0
fix: allow audio and video tags (+attributes) in HTML
Refs https://forum.openstreetmap.fr/t/umap-audio-video-et-panneau-lateral/2804/2
2024-05-22 10:54:24 -04:00
Yohan Boniface
776d92e7cc chore: add minimal dialog class to replace custom made help box 2024-05-22 14:00:53 +02:00
Yohan Boniface
8e446dbe70 chore: move panel.js to ui/ subfolder 2024-05-22 11:50:59 +02:00
Yohan Boniface
2ed9bc65ee chore: move tooltip to a dedicated module 2024-05-22 11:40:48 +02:00
Yohan Boniface
8ddc570e23 chore: move alert to dedicated module 2024-05-22 11:39:16 +02:00
Yohan Boniface
03f6080148
Merge pull request #1844 from umap-project/dependabot/pip/requests-2.32.0
chore: bump requests from 2.31.0 to 2.32.0
2024-05-21 07:43:49 +02:00
Yohan Boniface
d92a0abde4
Merge pull request #1841 from umap-project/dependabot/pip/ruff-0.4.4
chore: bump ruff from 0.4.3 to 0.4.4
2024-05-21 07:43:39 +02:00
dependabot[bot]
54d903416e
chore: bump ruff from 0.4.3 to 0.4.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.3 to 0.4.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.4.3...v0.4.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-05-21 05:35:09 +00:00
Yohan Boniface
845c2db812
Merge pull request #1840 from umap-project/dependabot/pip/mkdocs-material-9.5.24
chore: bump mkdocs-material from 9.5.23 to 9.5.24
2024-05-21 07:34:15 +02:00
Yohan Boniface
a6b2bb8333
Merge pull request #1839 from umap-project/dependabot/pip/pytest-8.2.1
chore: bump pytest from 8.2.0 to 8.2.1
2024-05-21 07:32:37 +02:00
dependabot[bot]
b7aab12935
---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 05:32:25 +00:00
Yohan Boniface
c3cc6ad577
Merge pull request #1842 from umap-project/dependabot/pip/hatch-1.11.0
chore: bump hatch from 1.10.0 to 1.11.0
2024-05-21 07:32:05 +02:00
Yohan Boniface
eb0e769010
Merge pull request #1843 from umap-project/dependabot/pip/psycopg-3.1.19
chore: bump psycopg from 3.1.18 to 3.1.19
2024-05-21 07:31:47 +02:00
dependabot[bot]
14d13b46f6
chore: bump psycopg from 3.1.18 to 3.1.19
Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.1.18 to 3.1.19.
- [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst)
- [Commits](https://github.com/psycopg/psycopg/compare/3.1.18...3.1.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 17:15:37 +00:00
dependabot[bot]
cd0ade6403
chore: bump hatch from 1.10.0 to 1.11.0
Bumps [hatch](https://github.com/pypa/hatch) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.10.0...hatch-v1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 17:15:31 +00:00
dependabot[bot]
ca5e2aaa80
chore: bump mkdocs-material from 9.5.23 to 9.5.24
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.23 to 9.5.24.
- [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.23...9.5.24)

---
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-05-20 17:15:09 +00:00
dependabot[bot]
fd7fba6b24
chore: bump pytest from 8.2.0 to 8.2.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.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.0...8.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 17:15:03 +00:00
Yohan Boniface
7e9afd5dbe changelog 2024-05-17 17:48:50 +02:00
Yohan Boniface
c44e7ec38d 2.3.1 2024-05-17 17:45:55 +02:00
Yohan Boniface
8f17d6848a i18n 2024-05-17 17:44:26 +02:00
Yohan Boniface
6113ac362e
Merge pull request #1837 from umap-project/browser-show-list
fix: always display data in browser unless in "layers" mode
2024-05-17 17:42:32 +02:00
Yohan Boniface
6294886faa
Merge pull request #1829 from umap-project/panel-mode
fix: make explicit default panel modes
2024-05-17 17:39:47 +02:00
Yohan Boniface
bce739065a
Merge pull request #1802 from CampaniaGuy/master
Expanded docker.md documentation
2024-05-17 17:38:15 +02:00
Yohan Boniface
1d8440a04d
Update docs/config/icons.md 2024-05-17 17:38:04 +02:00
Yohan Boniface
06f5b4447f fix: always display data in browser unless in "layers" mode 2024-05-17 17:36:19 +02:00
Yohan Boniface
667735aa97
Merge pull request #1836 from umap-project/dependabot/pip/mkdocs-material-9.5.23
chore: bump mkdocs-material from 9.5.21 to 9.5.23
2024-05-17 17:35:40 +02:00
dependabot[bot]
7c84576f1f
chore: bump mkdocs-material from 9.5.21 to 9.5.23
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.21 to 9.5.23.
- [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.21...9.5.23)

---
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-05-17 15:23:09 +00:00
Yohan Boniface
0a30530a3e
Merge pull request #1815 from umap-project/dependabot/pip/mkdocs-static-i18n-1.2.3
chore: bump mkdocs-static-i18n from 1.2.2 to 1.2.3
2024-05-17 17:22:47 +02:00
Yohan Boniface
b09b6d9813
Merge pull request #1818 from umap-project/dependabot/pip/pymdown-extensions-10.8.1
chore: bump pymdown-extensions from 10.7.1 to 10.8.1
2024-05-17 17:22:18 +02:00
Yohan Boniface
dfb78b32b3
Merge pull request #1822 from umap-project/switch-dark-color
feat: use accent color for switch and multichoices on dark background
2024-05-17 17:21:51 +02:00
Yohan Boniface
77ed24fb95
Merge pull request #1823 from umap-project/fix-location
fix: error when clicking on the geolocate button
2024-05-17 17:21:33 +02:00
Yohan Boniface
0e24e3041e
Merge pull request #1832 from umap-project/delete-datalayer-propagate
fix: do not close blindly editPanel when deleting a layer
2024-05-17 17:20:36 +02:00
Yohan Boniface
284ef1d7f3 feat: remove defaultPanelMode from now
After discussion, we prefer to go with decent defaults and see
how it goes.
2024-05-17 17:18:05 +02:00
Yohan Boniface
aa67d6d09d
Merge pull request #1834 from umap-project/modifier-shift
fix: do not consider shortcuts if shift is also pressed
2024-05-17 17:04:05 +02:00
Yohan Boniface
cac3c63ac0
Merge pull request #1835 from umap-project/classif-to-toggle
chore: replace DomUtil.classIf by classList.toggle
2024-05-17 17:02:35 +02:00
Yohan Boniface
6327c988ab fix: do not close blindly editPanel when deleting a layer
fix #498
fix #1831
2024-05-17 17:01:47 +02:00
Yohan Boniface
26d4b439cd chore: replace DomUtil.classIf by classList.toggle
cf #1342
2024-05-17 16:51:25 +02:00
Yohan Boniface
630de6d749 fix: do not consider shortcuts if shift is also pressed
fix #1452
2024-05-17 16:08:40 +02:00
Yohan Boniface
cdd20988ac
Merge pull request #1833 from umap-project/do-not-close-panel-on-save
fix: do not autoclose panel blindly after map save
2024-05-17 15:31:22 +02:00
Yohan Boniface
26c9f913e3 fix: do not autoclose panel blindly after map save
fix #1139
cf #1831
2024-05-17 15:19:10 +02:00
Yohan Boniface
c860866fe9 feat: add defaultPanelMode setting
cf https://forum.openstreetmap.fr/t/umap-2-3-changement-de-gestion-des-pop-up/23680/3

Trying to make this panel expanded/condenses thing simpler and more intuitive.

It's mode can be set:
- by explicitely setting defaultPanelMode = xxx
- or, if defaultPanelMode is undefined, with sensible default when there is
  an onLoadPanel defined, and to respect previous uMap behaviour
- or, if defaultPanelMode is unset, and some feature opens in the panel, it
  will be set to expanded (here again to respect previous behaviour
- then, when user change it manually (by clicking on the toggle button), then
  we should never change it automatically, and respect the previous mode when
  reopening the panel

(We are only talking about the left panel, here.)
2024-05-16 19:48:19 +02:00
Yohan Boniface
3a19b921a7 chore: prettier 2024-05-16 12:18:07 +02:00
Yohan Boniface
571154e4f3 fix: error when clicking on the geolocate button
fix #1812
2024-05-15 15:17:50 +02:00
David Larlet
44b8433216
Merge pull request #1810 from umap-project/docs-more
docs: Tutorials review and improvements
2024-05-14 13:06:47 -04:00
Yohan Boniface
00ad05bb82 feat: use accent color for switch and multichoices on dark background 2024-05-14 18:59:05 +02:00
Yohan Boniface
a1084e0c7b
Merge pull request #1816 from umap-project/dependabot/pip/pytest-playwright-0.5.0
chore: bump pytest-playwright from 0.4.4 to 0.5.0
2024-05-14 18:45:58 +02:00