umap/umap
Yohan Boniface 476c160fd5 wip(sync): clean stale username from redis
We wanted to use the HEXPIRE command, but discovered that this command
is only available since the Redis 7.4 version (the latest), and this version
does not have an OSI compliant licence, so it is generally not installable
through common packages managers. The OSS fork is Valkey, but it still does
not have the HEXPIRE command.

So we decide to clean those keys manually, and in order no do this clean
task at each websocket connection, we only do it when we are the first user
to connect to a given map.

Co-authored-by: David Larlet <david@larlet.fr>
2025-01-23 17:20:21 +01:00
..
bin [style] Format the code 2023-11-24 23:31:18 +01:00
locale i18n 2024-12-26 11:23:28 +01:00
management wip(sync): use django-channels to serve websockets 2025-01-23 17:16:44 +01:00
migrations chore: add basic tests for S3 storage 2024-12-10 19:03:19 +01:00
settings wip(sync): use the correct URL for websocket 2025-01-23 17:17:16 +01:00
static wip(sync): only return peers with an active connection 2025-01-23 17:20:21 +01:00
storage chore: make S3 dependencies optional 2024-12-11 19:16:17 +01:00
sync wip(sync): clean stale username from redis 2025-01-23 17:20:21 +01:00
templates wip: internalize FormBuilder and move to module 2025-01-07 18:07:14 +01:00
templatetags fix: do not call teams.all() on anonymous user 2024-09-10 17:56:14 +02:00
tests wip(sync): add Redis to CI and configure tests settings 2025-01-23 17:20:21 +01:00
__init__.py 2.8.2 2024-12-26 11:24:46 +01:00
admin.py chore: display user maps in admin and add in csv export 2024-09-24 20:07:03 +02:00
apps.py Prepare for Django 4.x 2023-02-22 15:19:38 +01:00
asgi.py wip(sync): websocket server with ASGI and PostgreSQL LISTEN/NOTIFY 2025-01-23 17:16:44 +01:00
autocomplete.py [style] Format the code 2023-11-24 23:31:18 +01:00
context_processors.py feat: add a setting to prevent users from editing their profile 2024-09-12 14:23:50 -04:00
decorators.py chore: lint python imports 2024-12-23 13:16:11 -05:00
fields.py chore: factorize json.dumps in an util function. 2024-03-05 11:25:37 +01:00
forms.py feat: introduce Map.share_status=DRAFT and DELETED 2024-12-10 15:14:12 +01:00
managers.py [style] Format the code 2023-11-24 23:31:18 +01:00
middleware.py [style] Format the code 2023-11-24 23:31:18 +01:00
models.py chore: cache DataLayer._reference_version 2024-12-10 19:03:19 +01:00
urls.py feat: support storing layer data in S3 like servers 2024-12-10 18:51:58 +01:00
utils.py wip(sync): use the correct URL for websocket 2025-01-23 17:17:16 +01:00
views.py wip(sync): use the correct URL for websocket 2025-01-23 17:17:16 +01:00
wsgi.py chore: bump ruff 2024-03-05 17:23:49 +01:00