1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/accounts/tests
catborise 93d3cc7238 fix(accounts): SSH keys with spaced comments, one token per create, OTP errors
- An SSH public key whose comment holds spaces (ssh-keygen -C "John Doe
  laptop") is accepted; only the type and the key are checked.
- The created API token is shown by a GET after a redirect, so reloading
  the page no longer creates a second token the user never sees.
- The OTP login page shows field errors instead of an empty error box.
- A user without a local password (an LDAP user) is not offered a password
  change that could never succeed.
2026-10-26 16:14:37 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_account_page.py fix(accounts): a user's page shows permissions as marks, says when there are no VMs, deletes keys 2026-10-26 11:48:40 +03:00
test_admin_email_otp.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_admin_password.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_api_tokens.py fix(accounts): SSH keys with spaced comments, one token per create, OTP errors 2026-10-26 16:14:37 +03:00
test_audit_rows.py feat(logs): every VM operation writes an audit row the VM's Logs tab finds by UUID 2026-10-24 14:14:53 +03:00
test_change_password_permission.py fix(accounts): SSH keys with spaced comments, one token per create, OTP errors 2026-10-26 16:14:37 +03:00
test_checks.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_email_otp.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_first_login_password.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_login_lockout.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_otp_login.py fix(accounts): SSH keys with spaced comments, one token per create, OTP errors 2026-10-26 16:14:37 +03:00
test_security_fixes.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_unique_email.py fix(accounts): an email address belongs to one user, so "Lost OTP?" reaches it 2026-10-26 11:19:42 +03:00
test_utils.py fix(accounts): SSH keys with spaced comments, one token per create, OTP errors 2026-10-26 16:14:37 +03:00
test_views.py fix(accounts): a VM's only owner can be edited when one owner is allowed 2026-10-23 13:30:25 +03:00