Commit graph

2399 commits

Author SHA1 Message Date
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
502cd4cded chore: remove support for settings starting with LEAFLET_STORAGE_
They are deprecated since 1.0
2024-01-17 11:39:06 +01:00
Yohan Boniface
fb63588ac5 chore: use https://umap-project.org link in map footer 2024-01-17 11:25:47 +01:00
Yohan Boniface
cf13d15753 fix: honour datalayersControl=expanded in querystring
fix #1525
2024-01-16 19:58:10 +01:00
Yohan Boniface
9f377da1b2 Introduce UMAP_HOME_FEED to control which maps are shown on the home page
For now we have only three modes:
- latest, which is the default and shows the last updated maps
- highlighted, which shows only the map that have been starred by a least
  one staff member
- None, which does not show any map
2024-01-16 12:31:50 +01:00
Yohan Boniface
4227e171f3 fix: empty file input when closing the importer panel
Otherwise, we cannot import anything else than a file, even when
closing and reopening the panel. User needs to refresh the page.
2024-01-16 12:28:59 +01: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
dependabot[bot]
87b7c5627e
chore: bump vermin from 1.5.2 to 1.6.0
Bumps [vermin](https://github.com/netromdk/vermin) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/netromdk/vermin/releases)
- [Commits](https://github.com/netromdk/vermin/compare/v1.5.2...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 11:47:35 +00: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
David Larlet
df76ffd80e
feat: Create an oEmbed endpoint for maps
Fix #162
2024-01-11 15:08:10 -05: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
Yohan Boniface
ce22a2ee74 Only load Leaflet once, as module 2024-01-08 18:43:54 +01:00
Alexis Métaireau
95212dbdf5 [refactor] Use JS modules for client URL routing
Also expose some vendorized libs as modules in `modules/vendors.js`
2024-01-08 18:43:54 +01:00
Alexis Métaireau
d303330f2e chore: use system-specific modifier when running tests 2024-01-08 18:42:18 +01:00
Yohan Boniface
20814dd73c changelog 2024-01-08 16:52:56 +01:00
Alexis Métaireau
aef8afee6c docs: document changed templates 2024-01-08 16:51:41 +01:00
Yohan Boniface
fca2c13eb7 1.13.1 2024-01-08 16:49:02 +01:00
Yohan Boniface
5b74faf895
Merge pull request #1512 from umap-project/fix-contrastedicon-with-cluster
fix: icon element is undefined when clustered
2024-01-08 16:44:00 +01:00
Yohan Boniface
067d74de9f fix: icon element is undefined when clustered 2024-01-08 16:35:41 +01:00
Yohan Boniface
16a42025b5 changelog 2024-01-08 13:51:14 +01:00
Yohan Boniface
242a2469ac 1.13.0 2024-01-08 13:45:10 +01:00
Yohan Boniface
d0c560e29a i18n 2024-01-08 13:43:48 +01:00
Yohan Boniface
0f1e13b994 chore: fix failing JS test 2024-01-08 13:31:02 +01:00
Yohan Boniface
08c5d47ee8
Merge pull request #1509 from umap-project/datalayer-counter
feat(browser): add counter in datalayer headline
2024-01-08 12:52:07 +01:00
Yohan Boniface
47d0ed8836 docs: mention tests in release process 2024-01-08 12:51:11 +01:00
Yohan Boniface
2812431722 feat(browser): add counter in datalayer headline 2024-01-08 12:46:06 +01:00
Yohan Boniface
cea5e30582
Merge pull request #1499 from umap-project/dedicated-layer-settings
Move layer specific settings to a dedicated fieldset
2024-01-08 12:30:41 +01:00
Yohan Boniface
75ff147371 Move layer specific settings to a dedicated fieldset
cf #1490
2024-01-08 12:25:40 +01:00
Yohan Boniface
fe61acd6c1
Merge pull request #1479 from umap-project/osm-template
Add a popup template to showcase OpenStreetMap data
2024-01-08 12:10:48 +01:00
Yohan Boniface
ba6371381a Better margin around popup title icon 2024-01-08 12:00:19 +01:00