Commit graph

2616 commits

Author SHA1 Message Date
David Larlet
5e3058e54b
Merge pull request #1631 from umap-project/no-global-map-namespace
chore: generate messages following map creation
2024-02-20 08:23:38 -05:00
David Larlet
69df1bb092
Merge pull request #1632 from umap-project/fix-docs-l-u
docs: update namespace of uMap objects
2024-02-20 08:23:22 -05:00
David Larlet
db451acccf
Merge pull request #1633 from umap-project/docs-docker
docs: add a note for Docker install and SECRET_KEY
2024-02-20 08:23:11 -05:00
Yohan Boniface
eb755c02c6 chore: attempt to fix randomly failing test 2024-02-20 13:59:59 +01:00
Yohan Boniface
2fa1d42ee7 i18n 2024-02-20 12:27:36 +01:00
Yohan Boniface
ab8c69e990 fix: picto category title was added after the related pictograms 2024-02-20 12:25:00 +01:00
Yohan Boniface
0de52cd1f6 docs: fix bad rendering in settings 2024-02-20 08:55:00 +01:00
Yohan Boniface
89742fe992
Merge pull request #1627 from umap-project/dependabot/pip/mkdocs-material-9.5.10
chore: bump mkdocs-material from 9.5.7 to 9.5.10
2024-02-20 08:41:36 +01:00
Yohan Boniface
631be9c284
Merge pull request #1628 from umap-project/dependabot/pip/uwsgi-2.0.24
chore: bump uwsgi from 2.0.23 to 2.0.24
2024-02-20 08:34:22 +01:00
dependabot[bot]
85d73834ff
chore: bump mkdocs-material from 9.5.7 to 9.5.10
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.7 to 9.5.10.
- [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.7...9.5.10)

---
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-02-20 07:34:22 +00:00
Yohan Boniface
376e65ff4d
Merge pull request #1629 from umap-project/dependabot/pip/ruff-0.2.2
chore: bump ruff from 0.2.1 to 0.2.2
2024-02-20 08:33:35 +01:00
David Larlet
16e7991a3d
docs: add a note for Docker install and SECRET_KEY
Refs #1618
2024-02-19 17:46:13 -05:00
David Larlet
35acbde4e2
docs: update namespace of uMap objects 2024-02-19 17:11:10 -05:00
David Larlet
5c0ca55f8c
chore: generate messages following map creation
Also, reuse the `U` global namespace for `MAP`.
2024-02-19 17:08:48 -05:00
dependabot[bot]
3d203f6814
chore: bump ruff from 0.2.1 to 0.2.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.1 to 0.2.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/v0.2.1...v0.2.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-02-19 17:30:26 +00:00
dependabot[bot]
e7519195a5
chore: bump uwsgi from 2.0.23 to 2.0.24
Bumps [uwsgi](https://uwsgi-docs.readthedocs.io/en/latest/) from 2.0.23 to 2.0.24.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 17:30:16 +00:00
Yohan Boniface
61d3e70ae0
Merge pull request #1624 from umap-project/raise-post-process
chore: raise error if any in storage post_process
2024-02-19 16:01:40 +01:00
Yohan Boniface
8ca3a2248d chore: raise error if any in storage post_process
I'm not totally sure it's the way to go (maybe ignoring here is
fine ?), but it seems still more usefull to have a proper error
instead of a python error a few lines forward.
2024-02-19 13:47:57 +01:00
Yohan Boniface
8cbed32f3d 2.0.2 2024-02-19 10:05:30 +01:00
Yohan Boniface
2e2119420b fix: run collectstatic first in Docker entrypoint
Otherwise when calling any other django command, when loading
umap.urls, it will try to read the static manifest, which is not
existing or not up to date yet.
2024-02-19 10:03:47 +01:00
David Larlet
5776be71cb
Merge pull request #1620 from umap-project/fix-1619
fix: Do not use compress anymore for Docker image
2024-02-18 11:09:33 -05:00
David Larlet
875c7c4c69
fix: Do not use compress anymore for Docker image
Fixes #1619
2024-02-18 10:22:24 -05:00
Yohan Boniface
e72bc3fb8e i18n 2024-02-17 22:27:15 +01:00
David Larlet
71febbaf3f
Getting ready for 2.0.0 2024-02-16 11:27:14 -05:00
Yohan Boniface
2b196ab614
Merge pull request #1614 from umap-project/fix-send-edit-link
fix: send edit link was using old post method
2024-02-16 16:55:36 +01:00
Yohan Boniface
217aec5556
Merge pull request #1615 from umap-project/default-from-email
chore: replace settings.FROM_EMAIL by settings.DEFAULT_FROM_EMAIL
2024-02-16 16:40:16 +01:00
Yohan Boniface
8eb2a518f1
Merge pull request #1613 from umap-project/fix-star-control
fix: star control was using old post method
2024-02-16 14:46:33 +01:00
Yohan Boniface
49718c8aff
Merge pull request #1617 from umap-project/fix-dashboard-preview
fix: dashboard preview was still calling L.U.
2024-02-16 14:46:12 +01:00
Yohan Boniface
1a67d01c61 chore: replace deprecated FORM_RENDERER setting 2024-02-16 12:40:37 +01:00
Yohan Boniface
434a292878 fix: dashboard preview was still calling L.U. 2024-02-16 12:36:05 +01:00
Yohan Boniface
1db2455d51 chore: replace settings.FROM_EMAIL by settings.DEFAULT_FROM_EMAIL
DEFAULT_FROM_EMAIL is a Django standard setting
2024-02-16 11:49:38 +01:00
Yohan Boniface
4c224fccbc fix: send edit link was using old post method 2024-02-16 11:43:29 +01:00
Yohan Boniface
b3ce523ba2 fix: star control was using old post method
Also, only display it if the user is already logged in, given
we do not deal anymore with login during ajax calls.
2024-02-16 10:59:25 +01:00
Yohan Boniface
3f3392952c 2.0.0a3 2024-02-15 15:10:27 +01:00
Yohan Boniface
97a54b898c changelog 2024-02-15 15:01:58 +01:00
Yohan Boniface
c2853e289f i18n 2024-02-15 14:56:39 +01:00
Yohan Boniface
6c70f80a37
Merge pull request #1610 from umap-project/tableeditor-set-properties
fix: reset table editor properties after creating a new one
2024-02-15 14:53:38 +01:00
Yohan Boniface
a8e37500dd fix: reset table editor properties after creating a new one 2024-02-15 11:50:44 +01:00
Yohan Boniface
a3d1655041
Merge pull request #1595 from umap-project/last-used-icons
feat: show last used pictograms in a separate tab
2024-02-15 11:02:03 +01:00
Yohan Boniface
2dd7266d21 feat: show recent picto in a separate tab 2024-02-15 10:56:07 +01:00
Yohan Boniface
126e47eef9 feat: show last used pictograms in list
This feature was planned in the initial rework of the pictogram
form UI, but not yet done. Some recent discussion in the OSM French
forum reactivated the need for it.

cf https://forum.openstreetmap.fr/t/marker-and-marker-colors/21051
2024-02-15 10:54:59 +01:00
Yohan Boniface
188a535f7d
Merge pull request #1609 from umap-project/default-picto-white
fix: make default picto always white for now
2024-02-15 10:54:29 +01:00
Yohan Boniface
9e805ea8da fix: make default picto always white for now
fix #1594
2024-02-14 18:41:07 +01:00
Yohan Boniface
34608f55c1
Merge pull request #1592 from umap-project/zoomto-from-qs
feat: allow to set zoomTo from query string
2024-02-14 18:34:04 +01:00
Yohan Boniface
709674b7d9
Merge pull request #1607 from umap-project/osm-oauth2
chore: migrate to OAuth 2 for OpenStreetMap backend
2024-02-14 18:31:57 +01:00
David Larlet
81be0df171
Merge pull request #1605 from umap-project/change-license-agpl
Switch license from WTFPL to AGPLv3
2024-02-14 12:27:36 -05:00
Yohan Boniface
7d543ff1b0
Merge pull request #1608 from umap-project/fix-panel-animatezoom
fix: do not try to animate the panel
2024-02-14 18:27:15 +01:00
Yohan Boniface
0dc49d2de3 fix: do not try to animate the panel
The panel inherits from the classic Popup, but given it's fixed on
the UI, it does not make sense to try to move it, and it some
situation there is a race condition that make Leaflet try to animate
but this fails
2024-02-14 17:54:48 +01:00
Yohan Boniface
a99ee90e15 chore: migrate to OAuth 2 for OpenStreetMap backend
fix #1279
2024-02-14 11:30:16 +01:00
Yohan Boniface
c378d5dc60 feat: allow to set zoomTo from query string
When using data/dataUrl querystring, uMap will import data at load,
and will set view using this data bounds. In some situation (Deveco),
the user wants to control the max zoom of the final view.

Also add labelKey and showLabel to be parsed from query string, still
for Deveco needs.
2024-02-13 18:00:23 +01:00