• v0.19.0 d16136a73c

    v0.19.0
    All checks were successful
    Release / test (push) Successful in 36s
    Release / e2e (push) Successful in 6m26s
    Release / build (push) Successful in 1m51s
    Stable

    patillacode released this 2026-05-06 21:56:48 +02:00 | 5 commits to main since this release

    v0.19.0

    Admin: User Stats & Banner Messages

    The admin panel now shows per-user statistics and lets you set a banner for individual users.

    New User fields (applied via safe ALTER TABLE migration on startup):

    • last_login: timestamp of the user's most recent login
    • storage_bytes: disk usage across all uploaded images, recalculated on a schedule
    • banner_message: a warning or notice shown to the user on every page

    Admin user modal now surfaces: last login date, total storage used, entry count, and days written.
    Admins can set or clear a banner per user directly from the modal.
    The demo account gets a default banner explaining the periodic data reset.

    New scheduled task (recalculate_storage) runs alongside the existing cleanup and vacuum jobs, keeping
    storage_bytes up to date.

    All new strings are translated in both English and Spanish.

    Fix: Self-hosted Ko-fi Badge

    The Ko-fi support badge image is now served from /static/img/kofi1.png instead of the external CDN, avoiding a
    third-party request on the landing page.
    README description of the admin panel was also corrected.

    E2E Test Suite Refactor

    The flat tests/e2e/ directory has been reorganized into focused subdirectories:

    • test_auth/: login, logout, registration, rate limiting, demo user, password recovery
    • test_account/: password change, data management, recovery codes, demo restrictions
    • test_admin/: banner management, user deletion, admin tasks, user list, user stats
    • test_journal/: entry CRUD, image upload, navigation, sharing
    • journeys/ multi-feature end-to-end journeys: admin lifecycle, orphan image cleanup, recovery flow, share flow, user stats

    Also adds locale-switching tests and fixes an admin_page fixture leak (now uses an isolated browser context).

    Downloads