Commit graph

135 commits

Author SHA1 Message Date
80f7efc810 tests(sync): Test that marker sync works properly
This commit handles the start and stop of the websocket server during
the tests, using the xprocess library
2024-06-07 18:21:30 +02:00
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
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
2daeaf12e0 WIP 2024-06-07 18:21:30 +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
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
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
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
Yohan Boniface
03f6080148
Merge pull request #1844 from umap-project/dependabot/pip/requests-2.32.0
chore: bump requests from 2.31.0 to 2.32.0
2024-05-21 07:43:49 +02:00
dependabot[bot]
54d903416e
chore: bump ruff from 0.4.3 to 0.4.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.3 to 0.4.4.
- [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.3...v0.4.4)

---
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-21 05:35:09 +00:00
Yohan Boniface
845c2db812
Merge pull request #1840 from umap-project/dependabot/pip/mkdocs-material-9.5.24
chore: bump mkdocs-material from 9.5.23 to 9.5.24
2024-05-21 07:34:15 +02:00
Yohan Boniface
a6b2bb8333
Merge pull request #1839 from umap-project/dependabot/pip/pytest-8.2.1
chore: bump pytest from 8.2.0 to 8.2.1
2024-05-21 07:32:37 +02:00
dependabot[bot]
b7aab12935
---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 05:32:25 +00:00
Yohan Boniface
c3cc6ad577
Merge pull request #1842 from umap-project/dependabot/pip/hatch-1.11.0
chore: bump hatch from 1.10.0 to 1.11.0
2024-05-21 07:32:05 +02:00
dependabot[bot]
14d13b46f6
chore: bump psycopg from 3.1.18 to 3.1.19
Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.1.18 to 3.1.19.
- [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst)
- [Commits](https://github.com/psycopg/psycopg/compare/3.1.18...3.1.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 17:15:37 +00:00
dependabot[bot]
cd0ade6403
chore: bump hatch from 1.10.0 to 1.11.0
Bumps [hatch](https://github.com/pypa/hatch) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.10.0...hatch-v1.11.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-05-20 17:15:31 +00:00
dependabot[bot]
ca5e2aaa80
chore: bump mkdocs-material from 9.5.23 to 9.5.24
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.23 to 9.5.24.
- [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.23...9.5.24)

---
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-20 17:15:09 +00:00
dependabot[bot]
fd7fba6b24
chore: bump pytest from 8.2.0 to 8.2.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 17:15:03 +00:00
dependabot[bot]
7c84576f1f
chore: bump mkdocs-material from 9.5.21 to 9.5.23
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.21 to 9.5.23.
- [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.21...9.5.23)

---
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-17 15:23:09 +00:00
Yohan Boniface
0a30530a3e
Merge pull request #1815 from umap-project/dependabot/pip/mkdocs-static-i18n-1.2.3
chore: bump mkdocs-static-i18n from 1.2.2 to 1.2.3
2024-05-17 17:22:47 +02:00
Yohan Boniface
a1084e0c7b
Merge pull request #1816 from umap-project/dependabot/pip/pytest-playwright-0.5.0
chore: bump pytest-playwright from 0.4.4 to 0.5.0
2024-05-14 18:45:58 +02:00
dependabot[bot]
47f894babc
chore: bump django from 5.0.5 to 5.0.6
Bumps [django](https://github.com/django/django) from 5.0.5 to 5.0.6.
- [Commits](https://github.com/django/django/compare/5.0.5...5.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 17:36:24 +00:00
dependabot[bot]
027a0a1498
chore: bump pytest-playwright from 0.4.4 to 0.5.0
Bumps [pytest-playwright](https://github.com/microsoft/playwright-pytest) from 0.4.4 to 0.5.0.
- [Release notes](https://github.com/microsoft/playwright-pytest/releases)
- [Commits](https://github.com/microsoft/playwright-pytest/compare/v0.4.4...v0.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 17:36:06 +00:00
dependabot[bot]
7d08564bc6
chore: bump mkdocs-static-i18n from 1.2.2 to 1.2.3
Bumps [mkdocs-static-i18n](https://github.com/ultrabug/mkdocs-static-i18n) from 1.2.2 to 1.2.3.
- [Changelog](https://github.com/ultrabug/mkdocs-static-i18n/blob/main/docs/changelog.md)
- [Commits](https://github.com/ultrabug/mkdocs-static-i18n/compare/1.2.2...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs-static-i18n
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 17:36:02 +00:00
David Larlet
4123714f76
Ability to specify a unique id for doc sections 2024-05-08 21:17:00 -04:00
Yohan Boniface
1b326b3a18
Merge pull request #1799 from umap-project/dependabot/pip/hatch-1.10.0
chore: bump hatch from 1.9.7 to 1.10.0
2024-05-08 18:55:27 +02:00
dependabot[bot]
a4e057b8b1
chore: bump hatch from 1.9.7 to 1.10.0
Bumps [hatch](https://github.com/pypa/hatch) from 1.9.7 to 1.10.0.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.9.7...hatch-v1.10.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-05-08 16:54:26 +00:00
Yohan Boniface
9ed2286c5b
Merge pull request #1798 from umap-project/dependabot/pip/django-5.0.5
chore: bump django from 5.0.4 to 5.0.5
2024-05-08 18:54:13 +02:00
dependabot[bot]
61f72c99f4
chore: bump ruff from 0.4.2 to 0.4.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.2 to 0.4.3.
- [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.2...v0.4.3)

---
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-06 17:43:57 +00:00
David Larlet
77f284dd8d
chore: bump mkdocs from 1.5.3 to 1.6.0 2024-05-06 13:37:47 -04:00
dependabot[bot]
40950c86ae
chore: bump mkdocs-material from 9.5.18 to 9.5.21
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.18 to 9.5.21.
- [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.18...9.5.21)

---
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-06 17:03:57 +00:00
dependabot[bot]
a08d73a6ea
chore: bump django from 5.0.4 to 5.0.5
Bumps [django](https://github.com/django/django) from 5.0.4 to 5.0.5.
- [Commits](https://github.com/django/django/compare/5.0.4...5.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 17:03:44 +00:00
Yohan Boniface
2cb22dc4b0
Merge pull request #1778 from umap-project/dependabot/pip/pytest-8.2.0
chore: bump pytest from 8.1.1 to 8.2.0
2024-05-01 17:08:36 +02:00
dependabot[bot]
b75d1e47df
chore: bump hatch from 1.9.4 to 1.9.7
Bumps [hatch](https://github.com/pypa/hatch) from 1.9.4 to 1.9.7.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.9.4...hatch-v1.9.7)

---
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-01 14:30:49 +00:00
Yohan Boniface
8c6f7d6a3f
Merge pull request #1780 from umap-project/dependabot/pip/pymdown-extensions-10.8.1
chore: bump pymdown-extensions from 10.8 to 10.8.1
2024-05-01 16:30:06 +02:00
dependabot[bot]
8157be0f7d
chore: bump ruff from 0.4.1 to 0.4.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.1 to 0.4.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.4.1...v0.4.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-04-29 17:19:32 +00:00
dependabot[bot]
37283a2a4d
chore: bump pymdown-extensions from 10.8 to 10.8.1
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.8 to 10.8.1.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.8...10.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:19:17 +00:00
dependabot[bot]
373c999f8f
chore: bump pytest from 8.1.1 to 8.2.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 17:19:06 +00:00
Yohan Boniface
45812432fc chore: bump python-social-auth
cf https://github.com/python-social-auth/social-app-django/issues/568
2024-04-25 09:21:24 +02:00
Yohan Boniface
ec7bf88a43
Merge pull request #1773 from umap-project/dependabot/pip/social-auth-app-django-5.4.1
chore: bump social-auth-app-django from 5.4.0 to 5.4.1
2024-04-24 21:15:34 +02:00
Yohan Boniface
6c70081794
Merge pull request #1770 from umap-project/dependabot/pip/uwsgi-2.0.25.1
chore: bump uwsgi from 2.0.25 to 2.0.25.1
2024-04-24 21:11:00 +02:00
David Larlet
1def6ad075
Merge pull request #1769 from umap-project/dependabot/pip/ruff-0.4.1
chore: bump ruff from 0.3.7 to 0.4.1
2024-04-24 15:10:50 -04:00