Commit graph

2640 commits

Author SHA1 Message Date
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
Yohan Boniface
86de16521f Refactor icon element create and constrast 2024-01-08 11:52:15 +01:00
dependabot[bot]
d50b0527af
chore: bump djlint from 1.31.0 to 1.34.1
Bumps [djlint](https://github.com/Riverside-Healthcare/djlint) from 1.31.0 to 1.34.1.
- [Release notes](https://github.com/Riverside-Healthcare/djlint/releases)
- [Changelog](https://github.com/djlint/djLint/blob/master/.releaserc)
- [Commits](https://github.com/Riverside-Healthcare/djlint/compare/v1.31.0...v1.34.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-06 13:32:00 +00:00
Alexis Métaireau
6669728bbf docs: Update the links in the README, remove the badges 2024-01-06 14:31:46 +01:00
dependabot[bot]
fd6c88ecff
chore: bump uwsgi from 2.0.21 to 2.0.23
Bumps [uwsgi](https://uwsgi-docs.readthedocs.io/en/latest/) from 2.0.21 to 2.0.23.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-06 13:31:45 +00:00
Alexis Métaireau
f030183888 Create dependabot.yml 2024-01-06 14:31:20 +01:00
Yohan Boniface
ecd4c73a7e Add basic facet search integration test 2024-01-04 13:33:38 +01:00
Yohan Boniface
ab82fd975f
Merge pull request #1478 from umap-project/preview-map-on-click
Preview map only on click in user’s dashboard
2024-01-03 22:17:55 +01:00
Yohan Boniface
37b97403dc Use neutral button for preview in user dashboard 2024-01-03 21:49:20 +01:00
Yohan Boniface
d54b0e94b7 Only close ui panel if it is open
When calling ui.closePanel, this will fire "panel:closed", which
is listened by uMap to blindly call map.invalidateSize, which
creates trouble in the dashboard preview: when pressing twice ESC
key (eg. when switching from a preview to another), the map would pan once
to the north east (I guess because invalidateSize is called while
the map is not displayed, but not sure).
2024-01-03 21:25:20 +01:00