You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.