Commit graph

2535 commits

Author SHA1 Message Date
Alexis Métaireau
51889f3238 chore: fetch datalayer index name before dropping it.
This can be helpful in situations where the name of the index is not known, as it can be with pre 1.0 deployed instance.

This commit also generates the UUIDs directly using an SQL statement.
2024-02-26 15:01:19 +01:00
Alexis Métaireau
ff4870730a chore: ensure old-format layers' versions are returned 2024-02-26 15:01:19 +01:00
Alexis Métaireau
99d7b8a6e1 chore: ruff format 2024-02-26 15:01:19 +01:00
Alexis Métaireau
f869d77f2c chore: update migrations 2024-02-26 15:01:19 +01:00
Alexis Métaireau
d18a32b5d3 chore: use path rather than re_path in urls.py 2024-02-26 15:01:19 +01:00
Alexis Métaireau
1415f96c6f chore: fix tests 2024-02-26 15:01:19 +01:00
Alexis Métaireau
c5fd72fe2b chore: use Django JSON serializer when calling json.dumps 2024-02-26 15:01:19 +01:00
Alexis Métaireau
c46f59e3dd chore: Use datalayers' UUIDs in the views 2024-02-26 15:01:19 +01:00
Alexis Métaireau
6b7efda37a chore: replace datalayer ids with uuids 2024-02-26 15:01:19 +01:00
Alexis Métaireau
d5b1821117 chore: format templates 2024-02-26 09:11:57 +01:00
datendelphin
6c07aefa70
path was doubled
If I wanted to import path "maki", that tried to open "maki/maki/pictogram.svg"
2024-02-25 10:50:13 +01:00
David Larlet
3fee658938
chore: Use CSS variables 2024-02-23 14:49:28 -05:00
David Larlet
6300696a22
Merge branch 'master' into css-vars 2024-02-23 14:37:09 -05:00
Alexis Métaireau
702713e768 chore: add missing string parameter 2024-02-22 17:10:52 +01:00
Alexis Métaireau
f9175e98b9 chore: change generateID() implementation 2024-02-22 16:45:21 +01:00
Alexis Métaireau
bcd650e844 chore: add ids on features 2024-02-22 16:32:18 +01:00
Yohan Boniface
371af7827f fix: zoomControl rendered twice
fix #1644
2024-02-21 23:24:37 +01:00
Yohan Boniface
76ed2200cf
Merge pull request #1637 from umap-project/fix-iconurl-order
fix: picto category title was added after the related pictograms
2024-02-20 14:39:37 +01:00
Yohan Boniface
7d7eb37772
Merge pull request #1639 from umap-project/fix-statics-test
chore: attempt to fix randomly failing test
2024-02-20 14:23:46 +01:00
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