f255c3c8a5
feat(websockets): Authenticate with signed tokens.
...
Authentication is now done using a signed token provided by the Django
server, sent by the JS client and checked by the WebSocket server.
The token contains a `permissions` key that's checked to ensure the user
has access to the map "room", where events will be shared by the peers.
2024-06-07 18:21:30 +02:00
e2b9b161e6
feat(websockets): First SyncEngine appearance
...
A new SyncEngine module has been added to the JavaScript code. It aims
to sync the local changes with remote ones. This first implementation
relies on a websocket connection.
2024-06-07 18:21:30 +02:00
1128348db6
feat(WebSockets): Features a WebSocket server.
...
There is one "room" per map, and the server relays messages to all the
other connected peers.
Messages are checked for compliance with what's allowed as a security
measure. They should also be checked in the clients to avoid potential
attack vectors.
2024-06-07 18:21:30 +02:00
ee3dbb85ca
doc: update cookie-related comment
2024-06-07 18:21:30 +02:00
2daeaf12e0
WIP
2024-06-07 18:21:30 +02:00
c1fe86747b
feat(settings): Expose settings as a dict.
...
This makes it possible to use them in standalone scripts, when using
`django.settings.configure(**settings_dict)`.
2024-06-07 18:21:30 +02:00
Yohan Boniface
ef94389c03
Merge pull request #1881 from umap-project/help-module
...
chore: move help to a separate module
2024-06-06 06:41:41 +02:00
Yohan Boniface
c70951a994
chore: move help to a separate module
2024-06-05 19:42:15 +02:00
Yohan Boniface
d3599fbe9e
Merge pull request #1879 from umap-project/dependabot/pip/ruff-0.4.7
...
chore: bump ruff from 0.4.5 to 0.4.7
2024-06-05 11:46:47 +02:00
Yohan Boniface
b7b39fa2f5
i18n
2024-06-05 10:50:21 +02:00
dependabot[bot]
befc9b3ec2
chore: bump ruff from 0.4.5 to 0.4.7
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.4.5 to 0.4.7.
- [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.4.5...v0.4.7 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 08:49:29 +00:00
Yohan Boniface
56e401dea5
Merge pull request #1878 from umap-project/dependabot/pip/uwsgi-2.0.26
...
chore: bump uwsgi from 2.0.25.1 to 2.0.26
2024-06-05 10:48:42 +02:00
Yohan Boniface
2430a43445
Merge pull request #1877 from umap-project/dependabot/pip/requests-2.32.3
...
chore: bump requests from 2.32.2 to 2.32.3
2024-06-05 10:48:20 +02:00
Yohan Boniface
f256d7a75a
Merge pull request #1880 from umap-project/dependabot/pip/hatch-1.12.0
...
chore: bump hatch from 1.11.1 to 1.12.0
2024-06-05 10:48:01 +02:00
dependabot[bot]
e3c21151f9
chore: bump hatch from 1.11.1 to 1.12.0
...
Bumps [hatch](https://github.com/pypa/hatch ) from 1.11.1 to 1.12.0.
- [Release notes](https://github.com/pypa/hatch/releases )
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.11.1...hatch-v1.12.0 )
---
updated-dependencies:
- dependency-name: hatch
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 17:58:28 +00:00
dependabot[bot]
a037d36ae0
chore: bump uwsgi from 2.0.25.1 to 2.0.26
...
Bumps [uwsgi](https://uwsgi-docs.readthedocs.io/en/latest/ ) from 2.0.25.1 to 2.0.26.
---
updated-dependencies:
- dependency-name: uwsgi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 17:58:09 +00:00
dependabot[bot]
a1050be5e8
chore: bump requests from 2.32.2 to 2.32.3
...
Bumps [requests](https://github.com/psf/requests ) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 17:58:03 +00:00
Yohan Boniface
a6c028ebad
Merge pull request #1875 from umap-project/caption-layer-order
...
fix: display layer in naturel order in caption
2024-06-03 15:17:36 +02:00
Yohan Boniface
50d16b633c
fix: display layer in naturel order in caption
...
This was broken in e6b4a54499
fix #1874
2024-06-03 14:57:20 +02:00
Yohan Boniface
88103f284a
Merge pull request #1868 from umap-project/fix-layer-old-storage
...
fix: support old storage options when importing a umap file
2024-05-30 16:14:45 +02:00
Yohan Boniface
5f5805dc09
fix: support old storage options when importing a umap file
2024-05-30 15:05:45 +02:00
Yohan Boniface
3a12865d62
Merge pull request #1867 from umap-project/catch-xml-error
...
fix: show message in case of xml parsing error
2024-05-29 20:17:40 +02:00
Yohan Boniface
442928f608
Merge pull request #1865 from umap-project/popup-newlines
...
fix: refactor new line management in popups
2024-05-29 20:03:27 +02:00
Yohan Boniface
ac17037b76
Merge pull request #1864 from umap-project/caption-title
...
fix: caption title rendering on multiple lines
2024-05-29 20:02:14 +02:00
David Larlet
49007cf680
Merge pull request #1838 from umap-project/docs-articles
...
docs: aggregate articles in English and French
2024-05-29 13:49:55 -04:00
Yohan Boniface
16ab193b5d
fix: show message in case of xml parsing error
...
fix #1866
2024-05-29 11:51:47 +02:00
Yohan Boniface
fa2bef85d3
fix: refactor new line management in popups
...
Basically, we do not add `<br>` anymore, but instead let the newline
and use the css `white-space: pre-line;`. Also remove new lines after
title.
While doing that change, I needed to reorder regex so the ones needing
a newline before would still have it (bullets points).
I've added tests and removed some to cover those changes.
fix #1854
2024-05-29 10:35:25 +02:00
Yohan Boniface
fe74ffb008
fix: caption title rendering on multiple lines
...
fix #1853
2024-05-29 08:59:26 +02:00
David Larlet
7f3149af08
Merge pull request #1862 from umap-project/dependabot/pip/ruff-0.4.5
...
chore: bump ruff from 0.4.4 to 0.4.5
2024-05-27 13:50:18 -04:00
dependabot[bot]
19e2d2f7de
chore: bump ruff from 0.4.4 to 0.4.5
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.4.4 to 0.4.5.
- [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.4.4...v0.4.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 17:50:11 +00:00
David Larlet
61881f973c
Merge pull request #1863 from umap-project/dependabot/pip/mkdocs-material-9.5.25
...
chore: bump mkdocs-material from 9.5.24 to 9.5.25
2024-05-27 13:49:46 -04:00
David Larlet
172bf8a3b0
Merge pull request #1861 from umap-project/dependabot/pip/requests-2.32.2
...
chore: bump requests from 2.32.0 to 2.32.2
2024-05-27 13:49:32 -04:00
David Larlet
f9519b119f
Merge pull request #1860 from umap-project/dependabot/pip/hatch-1.11.1
...
chore: bump hatch from 1.11.0 to 1.11.1
2024-05-27 13:49:23 -04:00
dependabot[bot]
170e6dfddf
chore: bump mkdocs-material from 9.5.24 to 9.5.25
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.5.24 to 9.5.25.
- [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.24...9.5.25 )
---
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-05-27 17:40:58 +00:00
dependabot[bot]
8d0309e553
chore: bump requests from 2.32.0 to 2.32.2
...
Bumps [requests](https://github.com/psf/requests ) from 2.32.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.0...v2.32.2 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 17:40:33 +00:00
dependabot[bot]
7ebb684a25
chore: bump hatch from 1.11.0 to 1.11.1
...
Bumps [hatch](https://github.com/pypa/hatch ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/pypa/hatch/releases )
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.11.0...hatch-v1.11.1 )
---
updated-dependencies:
- dependency-name: hatch
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 17:40:22 +00:00
David Larlet
01fae419ba
docs: (fr) add article arbres remarquables
2024-05-27 11:43:19 -04:00
Yohan Boniface
2b4a9738a3
Merge pull request #1859 from umap-project/fix-max-height-panel-responsive
...
fix: panel condensed height should never be bigger than screen
2024-05-25 09:21:04 +02:00
Yohan Boniface
c10bc27fed
fix: panel condensed height should never be bigger than screen
2024-05-24 18:39:11 +02:00
Yohan Boniface
a6a31a19a9
Merge pull request #1856 from umap-project/importer-module
...
chore: move importer to modules/
2024-05-23 19:47:38 +02:00
Yohan Boniface
ebf9be296d
chore: move importer to modules/
2024-05-23 19:32:07 +02:00
Yohan Boniface
109545d006
chore: prettier
2024-05-23 18:26:36 +02:00
Yohan Boniface
0c9c79195a
Merge pull request #1846 from umap-project/autocomplete-module
...
chore: move autocomplete to modules/
2024-05-23 15:43:25 +02:00
Yohan Boniface
1836647c00
chore: move autocomplete to modules/
2024-05-23 15:10:46 +02:00
David Larlet
d6a20b3dda
Merge pull request #1847 from umap-project/ui-to-modules
...
chore: move ui to dedicated modules
2024-05-22 13:05:32 -04:00
David Larlet
ef705a862e
Merge pull request #1851 from umap-project/audio-video-tags
...
fix: allow audio and video tags (+attributes) in HTML
2024-05-22 12:52:16 -04:00
David Larlet
d4830f6128
Merge pull request #1852 from umap-project/1848-invert-star-icons
...
fix: invert star icons when map is starred or not
2024-05-22 12:51:58 -04:00
David Larlet
5f29b8b0d5
fix: invert star icons when map is starred or not
...
Fixes #1848
2024-05-22 11:05:44 -04:00
David Larlet
5b624167c0
fix: allow audio and video tags (+attributes) in HTML
...
Refs https://forum.openstreetmap.fr/t/umap-audio-video-et-panneau-lateral/2804/2
2024-05-22 10:54:24 -04:00
Yohan Boniface
776d92e7cc
chore: add minimal dialog class to replace custom made help box
2024-05-22 14:00:53 +02:00