1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/appsettings/migrations
catborise f7dcdbab31 feat(accounts): a superuser ends a sign-in lock; the session length is a setting
A user locked by failed sign-ins could only be unlocked with
manage.py axes_reset_username on the server, and nothing in the panel
showed the lock. The Users page and the user's page now mark a locked
user, counted as django-axes counts (a username's failures from one
address, over browsers, in any letter case), and the user's page has
Unlock sign-in for a superuser; it ends the lock from every address and
is on the Logs page.

A sign-in lasted Django's default two weeks, also after the browser was
closed. It now ends Session length (hours) after the sign-in, a setting
on the Settings page, 24 by default; a change applies from the next
sign-in. An idle timeout would not help: an open VM list refreshes
itself every five seconds.

Blocking a user signs them out. django-auth-ldap does not check
is_active for an open session, so a blocked LDAP user kept theirs.

The OTP sign-in page showed its error as a red list inside the red box;
it is plain text as on the other sign-in page, and django-otp's errors
are in Turkish and Chinese.
2026-11-21 13:51:33 +03:00
..
0001_initial.py edit choices field length 2020-09-21 16:22:44 +04:00
0001_squashed_0024_log_retention_setting.py chore(appsettings): one squashed migration for a new database 2026-11-06 13:47:23 +03:00
0002_auto_20200527_1603.py replaced ugettext_lazy with gettext_lazy 2020-10-14 18:27:57 +06:00
0003_auto_20200615_0637.py edit choices field length 2020-09-21 16:22:44 +04:00
0004_auto_20200716_0637.py replaced ugettext_lazy with gettext_lazy 2020-10-14 18:27:57 +06:00
0005_auto_20200911_1233.py change choices size from 50 to 70 2020-09-11 15:35:32 +03:00
0006_auto_20220630_0717.py fix identation 2022-09-05 15:38:00 +03:00
0007_auto_20220905_0918.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
0008_auto_20220905_1459.py make adding cd-rom optional while vm creating. Add default value for cd-rom bus 2022-09-07 13:46:50 +03:00
0009_alter_appsettings_id.py Global setting for NIC type 2023-11-01 18:08:38 -04:00
0010_auto_20231030_1305.py Global setting for NIC type 2023-11-01 18:08:38 -04:00
0011_alter_appsettings_id.py if nic type is default then make it virtio 2024-02-28 08:16:44 +03:00
0012_remove_spice_qemu_console_type.py feat(console): remove deprecated SPICE support in favor of noVNC 2026-09-26 22:43:40 +03:00
0013_remove_qemu_console_default_type.py feat(console): VNC is the only console type 2026-10-04 01:08:11 +03:00
0014_login_lockout_settings.py feat(locale): the Turkish catalog covers the whole panel 2026-10-31 21:56:24 +03:00
0015_remove_clone_instance_auto_migrate.py fix(instances): a clone stays on the host of the VM it was made from 2026-10-06 15:58:35 +03:00
0016_nic_type_rtl8139.py fix(instances): device edits fit every definition and device type 2026-10-09 18:13:23 +03:00
0017_snapshot_free_space_settings.py feat(locale): the Turkish catalog covers the whole panel 2026-10-31 21:56:24 +03:00
0018_worker_settings.py feat(locale): the Turkish catalog covers the whole panel 2026-10-31 21:56:24 +03:00
0019_prebuilt_themes.py build: the themes ship compiled, libsass is no longer installed 2026-10-18 22:36:29 +03:00
0020_fix_setting_choices.py fix(appsettings): settings take only the values the panel can use 2026-10-25 22:02:53 +03:00
0021_setting_descriptions.py feat(locale): the Turkish catalog covers the whole panel 2026-10-31 21:56:24 +03:00
0022_cpu_mode_choices.py fix(instances): a new VM's CPU is a mode or a model the host offers, checked by libvirt 2026-10-29 11:17:38 +03:00
0023_remove_bottom_bar.py feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
0024_log_retention_setting.py feat(operations): the Logs page's rows and expired sessions are removed 2026-11-05 10:36:34 +03:00
0025_vnc_console_and_nic_descriptions.py fix(appsettings): the console and NIC settings say what they do 2026-11-13 13:58:46 +03:00
0026_repair_number_settings.py fix(appsettings): a number an older version saved no longer breaks its page 2026-11-13 13:58:57 +03:00
0027_alert_settings.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
0028_migration_bandwidth.py feat(migrations): a migration's bandwidth can be capped 2026-11-20 09:44:17 +03:00
0029_login_notice.py feat(accounts): the sign-in page keeps the username, warns of Caps Lock and shows the lock and a notice 2026-11-20 22:40:41 +03:00
0030_login_session_hours.py feat(accounts): a superuser ends a sign-in lock; the session length is a setting 2026-11-21 13:51:33 +03:00
__init__.py Add Settings page: Move theme & lang changer to settings page 2020-06-04 12:03:26 +03:00