Commit graph

2018 commits

Author SHA1 Message Date
Yohan Boniface
01083516bd changelog 2024-01-25 17:05:38 +01:00
Yohan Boniface
466470984a 1.14.0a5 2024-01-25 15:58:54 +01:00
Yohan Boniface
9ee9c5892e
Merge pull request #1559 from umap-project/fix-list.delete
fix: replace `list.delete` call by the proper `remove` method
2024-01-25 15:58:16 +01:00
Yohan Boniface
9825e57277
Merge pull request #1558 from umap-project/fix-datalayer-resetting-on-save
fix: prevent datalayer to resetting to an old version on save
2024-01-25 15:51:42 +01:00
Yohan Boniface
bc8084af97 fix: replace list.delete call by the proper remove method 2024-01-25 15:49:01 +01:00
Yohan Boniface
53ad987aea fix: prevent datalayer to resetting to an old version on save
This happens in collaborative mode only.

cf #1536
cf #1537

cf https://forum.openstreetmap.fr/t/probleme-de-sauvegarde-des-cartes/20596
cf https://forum.openstreetmap.fr/t/umap-soucis-de-debutants/20538
cf https://forum.openstreetmap.fr/t/probleme-de-maj-des-icones/20565
2024-01-25 15:42:00 +01:00
Yohan Boniface
dc22cf823f 1.14.0a4 2024-01-22 14:42:12 +01:00
Yohan Boniface
abbc5237bd chore: try to force browser to load Leaflet script soon
Leaflet file is the bigger, and it is otherwise only loaded
when the browser understand that it needs it, which means when
global.js is parsed, which means after all scripts have been loaded.
2024-01-22 14:41:22 +01:00
Yohan Boniface
7ae742ca70 chore: add grey background to body on map page to prevent blinking
Otherwise the DOM loads and create a white script before the JS is
parsed and ready to display the map. This is due to using modules
and scripts in defer mode.
2024-01-22 14:41:21 +01:00
David Larlet
7729035288
Merge pull request #1549 from umap-project/vendors-minified-sourcemaps
Use minified versions + sourcemaps of vendor statics
2024-01-21 15:09:38 -05:00
David Larlet
7c4009965a
Use minified versions + sourcemaps of vendor statics 2024-01-21 14:02:16 -05:00
Yohan Boniface
b9b8550073 1.14.0a3 2024-01-19 17:52:24 +01:00
Yohan Boniface
969b02e7a0
Merge pull request #1544 from umap-project/compress-static
feat: compress static in collectstatic post_process
2024-01-19 17:51:13 +01:00
Yohan Boniface
283ad44515 chore: do not try to create source maps for now
It's more complex than what we thought.
2024-01-19 17:43:18 +01:00
Yohan Boniface
541fbd4e56 docs: remove mentions of compress / django-compressor 2024-01-19 17:16:38 +01:00
Yohan Boniface
23af4c60cd chore: move UmapManifestStaticFilesStorage to a dedicated file 2024-01-19 17:16:35 +01:00
David Larlet
df3ed76f3e
feat: generate/link source map files for JS and CSS 2024-01-19 09:22:09 -05:00
Yohan Boniface
4541578b9b feat: compress static in collectstatic post_process 2024-01-19 12:27:21 +01:00
Yohan Boniface
5a6f1c1bcc chore: remove unused import 2024-01-17 22:27:05 +01:00
Yohan Boniface
031cff7435 1.14.0a2 2024-01-17 20:15:26 +01:00
Yohan Boniface
23715bef04 fix: gitignore should only ignore static/ dir at rool level 2024-01-17 20:14:21 +01:00
Yohan Boniface
11045345fc i18n 2024-01-17 18:50:24 +01:00
Yohan Boniface
3f76f64d82 1.14.0a1
Removing django-compressor, and testing before doing a proper release
2024-01-17 18:49:06 +01:00
Yohan Boniface
016f74753f
Merge pull request #1539 from umap-project/no-compressor
Use custom storage instead of django-compressor
2024-01-17 18:47:48 +01:00
Yohan Boniface
6d358a1f71 chore: make sure linters only run inside umap/ folder
No venv/, no node_modules/, not tmp/…
2024-01-17 18:44:08 +01:00
Yohan Boniface
96ae7ddbc7 chore: deactivate custom statics manager for test by default
And add one file that run it and check all js files are loaded.
2024-01-17 18:42:46 +01:00
Yohan Boniface
1b8e6164ed fix: use dynamic path for locale javascript 2024-01-17 16:36:17 +01:00
David Larlet
656e29c72b
Use custom storage instead of django-compressor 2024-01-17 09:09:00 -05:00
Yohan Boniface
3e5927f65e Release JS module introduction as an alpha package
We want to test it live before an official release
2024-01-15 18:37:46 +01:00
Yohan Boniface
8026c16926 i18n 2024-01-15 18:32:51 +01:00
Alexis Métaireau
3e63768fc0 docs: clarify how to use JS libs 2024-01-15 14:58:43 +01:00
Yohan Boniface
9054d35f0f
Merge pull request #1463 from umap-project/almet/js/client-routing
Add support for JS modules (+module for URLs handling)
2024-01-15 14:46:56 +01:00
Alexis Métaireau
de8e806b28 docs: document how dependencies are handled 2024-01-15 14:44:55 +01:00
Alexis Métaireau
78945d03fa build: pin versions in pyproject.toml 2024-01-15 12:46:54 +01:00
Alexis Métaireau
1eb0f352c9 Expose the MAP variable at the global scope to ease debugging 2024-01-15 12:15:35 +01:00
Yohan Boniface
4c5b94d572
Merge pull request #1511 from umap-project/docs/template-changes
docs: document changed templates
2024-01-13 18:52:09 +01:00
Alexis Métaireau
b75e3bedd7 docs: include the release process 2024-01-11 11:56:13 +01:00
Stephan Geisler
e40d4584f9 fix typo in settings.md 2024-01-11 11:48:48 +01:00
Stephan Geisler
2c94f6afbe Update settings.md
Description added on how to create a superuser in order to be able to use the ENABLE_ACCOUNT_LOGIN parameter (result of issue: #1520)
2024-01-11 11:48:48 +01:00
Yohan Boniface
66d2345841 Escape map settings in map_fragment.html 2024-01-11 11:13:13 +01:00
David Larlet
40a58787c5
Merge pull request #1508 from umap-project/dependabot/pip/hatch-1.9.1
chore: bump hatch from 1.7.0 to 1.9.1
2024-01-10 20:39:39 -05:00
dependabot[bot]
d5a27d9f27
chore: bump hatch from 1.7.0 to 1.9.1
Bumps [hatch](https://github.com/pypa/hatch) from 1.7.0 to 1.9.1.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.7.0...hatch-v1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 01:39:28 +00:00
David Larlet
0d36d90be8
Merge pull request #1507 from umap-project/dependabot/pip/djlint-1.34.1
chore: bump djlint from 1.31.0 to 1.34.1
2024-01-10 20:38:57 -05:00
David Larlet
61e83460c2
Merge pull request #1504 from umap-project/dependabot/pip/uwsgi-2.0.23
chore: bump uwsgi from 2.0.21 to 2.0.23
2024-01-10 20:38:07 -05:00
David Larlet
08e50567de
Merge pull request #1516 from umap-project/umap-components
Set a umap-fragment web component for lists
2024-01-10 20:35:11 -05:00
David Larlet
5d758ebc0d
Create a dedicated js/components folder 2024-01-10 14:31:54 -05:00
David Larlet
7b5b5b1b22
Set a umap-fragment web component for lists 2024-01-09 14:49:14 -05:00
Alexis Métaireau
4b34a7d300 merge index.js with global.js 2024-01-08 19:29:43 +01:00
Alexis Métaireau
7c697f7529 Merge @ybon changes 2024-01-08 18:49:03 +01:00
Yohan Boniface
c6ce22f319 Also run login javascript when page is loaded 2024-01-08 18:43:54 +01:00