Skip to content

v3.2.150

Latest

Choose a tag to compare

@agit8or1 agit8or1 released this 01 Dec 19:10
309a1d7

Fixed

  • Scheduled and manual UrBackup server updates never ran (URB-5). Since 3.2.138 every update failed:
    systemd-run replaced ${...} in the helper's inline script with its own empty environment, which turned
    the script into a syntax error, and St0r only reported "no result within 30 minutes". The update unit now runs
    a helper action instead of a script, and St0r reports a unit that stops without a result at once, with the
    log's last line. The fixed helper is installed with the next St0r update, so the first scheduled UrBackup
    update after that is the first to run.
  • Changing your password no longer signs you out of the browser you changed it in (SEC-1, SEC-2). Since
    password changes started ending existing sessions, the change also cleared the session of the browser making it.
    The forced first-login password change therefore dropped the new administrator back on the sign-in page with no
    explanation. Every other session still ends; the browser that made the change gets a fresh session.

Testing

  • Frontend component and end-to-end tests (TST-4).
    • frontend/tests/components.test.mjs renders real pages with React in a happy-dom document against a fake API:
      two-factor setup and removal, the Users page's inline delete, the audit log page, and administrator-only
      navigation.
    • frontend/tests/e2e.test.mjs runs the real backend and frontend build on a throwaway MariaDB with the demo
      UrBackup mock, in headless Chromium. It covers the first-login password change, two-factor sign-in, a non-admin
      account refused administrator pages and APIs, inline deletion and the audit log. It found the sign-out above.
    • CI installs Chromium and requires both.