From b908ee61770dc78f8d8fbbbfc4f3c00d7877d42a Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 18 Nov 2026 08:01:26 +0100 Subject: feat(core): add dashboard overview Replace the root redirect with an authenticated dashboard showing received and outgoing status counts, recent activity, pending sends, retries, and queue depth. Persist the last completed source scan so operational status survives restarts and only advances after a successful, conclusive scan. --- tests/views/test_session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/views/test_session.py') diff --git a/tests/views/test_session.py b/tests/views/test_session.py index 7edee71..f110a26 100644 --- a/tests/views/test_session.py +++ b/tests/views/test_session.py @@ -436,8 +436,8 @@ def test_logout_ends_session(app: Flask, client: FlaskClient) -> None: assert "/login" in protected_response.headers["Location"] -def test_index_redirects_to_received(client: FlaskClient) -> None: +def test_index_requires_login(client: FlaskClient) -> None: response = client.get("/") assert response.status_code == HTTPStatus.FOUND - assert response.headers["Location"].endswith("/received") + assert "/login" in response.headers["Location"] -- cgit v1.3.1