libervia-backend/libervia/backend/memory
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi e241075a34 core: Unseen message counter:
This patches add handling for unseen messages counter, and last message received. The
counters are retrieved from DB on startup, they updated in-memory. Frontend are expected
to have their own in-memory counter too, the backend one is used for re-sync (e.g.; on page
reload).

Bridge methods are added to retrieve the state, and indicate which message has been seen
last by user. A signal is sent on counter reset to all frontends can synchronise.

This is currently local only, but it should be compatible with a future XEP-0490 (Message
Displayed Synchronization) implementation.
2026-06-20 15:11:06 +02:00
..
migration sqla (mapping): fix missing PEP constraint: 2026-06-20 10:27:51 +02:00
__init__.py refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00
cache.py Dates update. 2026-03-31 12:57:17 +02:00
crypto.py Dates update. 2026-03-31 12:57:17 +02:00
disco.py memory (disco): Fix pending queries isolation and cancellation: 2026-05-14 11:43:59 +02:00
encryption.py Dates update. 2026-03-31 12:57:17 +02:00
memory.py core: Unseen message counter: 2026-06-20 15:11:06 +02:00
params.py core (memory): Modernize methods signature/docstrings of encrypt_value and decrypt_value: 2026-06-06 12:23:06 +02:00
persistent.py Dates update. 2026-03-31 12:57:17 +02:00
sqla.py core: Unseen message counter: 2026-06-20 15:11:06 +02:00
sqla_config.py Dates update. 2026-03-31 12:57:17 +02:00
sqla_mapping.py sqla (mapping): fix missing PEP constraint: 2026-06-20 10:27:51 +02:00