Commit graph

3332 commits

Author SHA1 Message Date
Yohan Boniface
f28ec81c36 2.6.1 2024-09-10 18:07:51 +02:00
Yohan Boniface
281d909d21
Merge pull request #2123 from umap-project/fix-anonymoususer-teams
fix: teams.all() called on anonymous user by mistake
2024-09-10 18:05:46 +02:00
Yohan Boniface
5f67c9c229 fix: do not call teams.all() on anonymous user
In the same move, refactor the can_edit/_view/_delete functions to
only take the request, which is what really happen in the code, and
adapt the test in that way.
2024-09-10 17:56:14 +02:00
David Larlet
2ff112d125
chore: fix changelog titles hierarchy 2024-09-10 11:36:37 -04:00
Yohan Boniface
2f9c6e973f changelog 2024-09-10 16:35:57 +02:00
Yohan Boniface
6194bb8258 2.6.0 2024-09-10 16:31:59 +02:00
Yohan Boniface
e4202eb609 i18n 2024-09-10 16:31:49 +02:00
Yohan Boniface
f9e0eb8016
Merge pull request #2122 from umap-project/browser-filter-without-name
fix: filter feature by displayName by default
2024-09-10 16:12:12 +02:00
Yohan Boniface
c58964d797 fix: filter feature by displayName by default
fix #2106
2024-09-10 10:02:41 +02:00
Yohan Boniface
ee4d20dd0a
Merge pull request #2120 from umap-project/dependabot/pip/django-5.1.1
chore: bump django from 5.1 to 5.1.1
2024-09-09 22:05:08 +02:00
dependabot[bot]
12f3b16387
chore: bump django from 5.1 to 5.1.1
Bumps [django](https://github.com/django/django) from 5.1 to 5.1.1.
- [Commits](https://github.com/django/django/compare/5.1...5.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 20:04:38 +00:00
Yohan Boniface
1316b949e7
Merge pull request #2119 from umap-project/dependabot/pip/pydantic-2.9.1
chore: bump pydantic from 2.8.2 to 2.9.1
2024-09-09 22:04:08 +02:00
Yohan Boniface
633981eb59
Merge pull request #2118 from umap-project/dependabot/pip/pytest-playwright-0.5.2
chore: bump pytest-playwright from 0.5.1 to 0.5.2
2024-09-09 22:03:47 +02:00
Yohan Boniface
2e22a60769
Merge pull request #2117 from umap-project/dependabot/pip/ruff-0.6.4
chore: bump ruff from 0.6.3 to 0.6.4
2024-09-09 22:03:33 +02:00
Yohan Boniface
7cba5e2f70
Merge pull request #2116 from umap-project/dependabot/pip/mkdocs-material-9.5.34
chore: bump mkdocs-material from 9.5.33 to 9.5.34
2024-09-09 22:03:20 +02:00
dependabot[bot]
aa3f8aa04f
chore: bump pydantic from 2.8.2 to 2.9.1
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.8.2 to 2.9.1.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.8.2...v2.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 17:28:05 +00:00
dependabot[bot]
deb2edfc62
chore: bump pytest-playwright from 0.5.1 to 0.5.2
Bumps [pytest-playwright](https://github.com/microsoft/playwright-pytest) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/microsoft/playwright-pytest/releases)
- [Commits](https://github.com/microsoft/playwright-pytest/compare/v0.5.1...v0.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 17:27:58 +00:00
dependabot[bot]
e208e1c010
chore: bump ruff from 0.6.3 to 0.6.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.3 to 0.6.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.6.3...0.6.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-09-09 17:27:54 +00:00
dependabot[bot]
3242227c4a
chore: bump mkdocs-material from 9.5.33 to 9.5.34
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.33 to 9.5.34.
- [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.33...9.5.34)

---
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-09-09 17:27:45 +00:00
Yohan Boniface
c14ab4198f changelog 2024-09-06 17:27:39 +02:00
Yohan Boniface
8c05937075 2.6.0b2 2024-09-06 17:25:31 +02:00
Yohan Boniface
b218fc572b i18n 2024-09-06 17:24:51 +02:00
Yohan Boniface
ae09c343d1
Merge pull request #2107 from umap-project/visible-vertexmarkers
wip: only show visible vertexmarkers and do not show when there are too much
2024-09-06 17:21:03 +02:00
Yohan Boniface
dc0cf50513 chore: bump Leaflet.Editable to 1.3.0 2024-09-06 17:01:07 +02:00
Yohan Boniface
7c94cc05ad
Merge pull request #2105 from umap-project/explicit-empty-rule
feat: add explicit empty/not empty check in conditional rules
2024-09-06 16:47:37 +02:00
Yohan Boniface
6d21d47af9 feat: add explicit empty/not empty check in conditional rules
Also fix boolean behaviour (only true was working)
2024-09-06 16:47:19 +02:00
Yohan Boniface
e0b8e88de4
Merge pull request #2112 from umap-project/bottom-controls-zindex
fix: move bottom controls below panels
2024-09-06 16:37:34 +02:00
Yohan Boniface
1ab9d2bda6
Merge pull request #2111 from umap-project/fix-bounds-isonscreen
fix: feature.isOnScreen is now passing the "bounds" argument
2024-09-06 16:30:01 +02:00
Yohan Boniface
d019a260c0 fix: move bottom controls below panels
fix #2103
2024-09-06 16:29:40 +02:00
Yohan Boniface
c879914eb8 fix: feature.isOnScreen is now passing the "bounds" argument
Otherwise, when using the browser, we'll end up using
this._map.getBounds(), but in this case the UI may not be in the
map (may be filtered).
2024-09-06 16:08:15 +02:00
Yohan Boniface
dd79e8f923
Merge pull request #2108 from umap-project/copy-as-geojson
feat: add a "Copy as GeoJSON" entry in the contextmenu
2024-09-05 18:46:40 +02:00
Yohan Boniface
b8abc03684 feat: add a "Copy as GeoJSON" entry in the contextmenu 2024-09-05 17:57:23 +02:00
Yohan Boniface
a67c800ee0 wip: add integration test coverring huge path geometry editing 2024-09-05 17:54:01 +02:00
Yohan Boniface
76c3f87f67 wip: only display visible vertexmarker and do not display if too much
This should improve the edit experience with huge geometries. So one
can still edit the properties event if the path is big, and should
zoom in to allow the geometry to be editable.
2024-09-05 17:17:35 +02:00
Yohan Boniface
64d63ff6cc changelog 2024-09-04 16:12:07 +02:00
Yohan Boniface
5010a09cd8 2.6.0b1 2024-09-04 16:06:08 +02:00
Yohan Boniface
a25dc0c5a1 i18n 2024-09-04 16:05:23 +02:00
Yohan Boniface
95cb396459
Merge pull request #2104 from umap-project/fix-anonymous-author
fix: do not try to display author name/url for anonymous maps
2024-09-04 16:01:30 +02:00
Yohan Boniface
ff014429b9
Merge pull request #2102 from umap-project/edit-circlemarker-properties
fix: do not fail when trying to edit a circlemarker
2024-09-04 16:00:55 +02:00
Yohan Boniface
31371cc38c
Merge pull request #2101 from umap-project/datalayers-control-expanded-with-onloadpanel
fix: make sure datalayersControl=expanded does not override onLoadPanel
2024-09-04 15:55:27 +02:00
Yohan Boniface
1d7ad0b4d1
Merge pull request #2099 from umap-project/register-fa-ir
fix: register fa-ir in LANG_INFO
2024-09-04 15:46:44 +02:00
Yohan Boniface
b6a8742abd
Merge pull request #2098 from umap-project/fix-ternary-value-comparison
fix: make sure to compare comparable values in ternary operators
2024-09-04 15:41:32 +02:00
Yohan Boniface
0d5f0b175a fix: do not try to display author name/url for anonymous maps 2024-09-04 15:39:48 +02:00
Yohan Boniface
71ceb87fe2 fix: make sure datalayersControl=expanded does not override onLoadPanel
This value of datalayersControl exists for retrocompat only (it's now
replaced by onLoadPanel=browser)
2024-09-04 15:00:14 +02:00
Yohan Boniface
4f9b4a80c3 fix: do not fail when trying to edit a circlemarker
And for now open the properties panel (geometry/position may be
edited later, when Leaflet.Editable knows about CircleMarker)
2024-09-04 14:36:03 +02:00
Yohan Boniface
c976a86982 fix: make sure to compare comparable values in ternary operators
Comparing `"null"` (in the HTML) and `null` (in the JS) was returning
false.
2024-09-04 11:32:14 +02:00
Yohan Boniface
0be0a3d1a9 feat: display language code in footer language selector 2024-09-04 11:31:56 +02:00
Yohan Boniface
9bde88a513 fix: register fa-ir in LANG_INFO
fix #2086
2024-09-04 11:31:56 +02:00
Yohan Boniface
185cc65f68
Merge pull request #2100 from umap-project/fix-tilelayer-plus-button
fix: tilelayer plus icon were never displayed
2024-09-04 11:31:28 +02:00
Yohan Boniface
ee7439a0f9 fix: tilelayer plus icon where never displayed
We were testing the length of the `_layers` property, which where
sliced to `maxShown` before…
2024-09-04 11:23:20 +02:00