1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/admin
catborise b24746c1cb fix(logs): blocking a blocked user writes no row; one upload submit path
Follow-ups from the review of the audit log layers:

- Blocking a user who is already blocked, or unblocking one who is
  not, changes nothing and now writes no row, like any other edit
  that changes nothing.
- write_chunk takes the request instead of the user and an optional
  request; the view always had one, so the branch only tests used
  is gone and every chunk 0 goes through the same audited submit.
- Tests: a busy clone creates no job and its row carries the page's
  message; a later chunk that fails writes no submit row; libvirt
  refusing a network or pool delete is a failed row.
2026-10-23 14:23:32 +03:00
..
migrations ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
templates/admin feat(logs): admin changes and logins are recorded on the Logs page 2026-10-23 10:30:48 +03:00
tests fix(logs): blocking a blocked user writes no row; one upload submit path 2026-10-23 14:23:32 +03:00
__init__.py fix typo error 2022-09-05 15:36:37 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
decorators.py feat(security): apply Codex review hardening to console tokens and superuser authorization 2026-09-27 11:30:03 +03:00
forms.py fix(admin): a new user's password reaches the database only hashed 2026-10-05 18:39:33 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
permissions.py feat(security): apply Codex review hardening to console tokens and superuser authorization 2026-09-27 11:30:03 +03:00
urls.py feat(admin): list and remove the owners kept for vanished VMs 2026-10-08 19:07:02 +03:00
views.py fix(logs): blocking a blocked user writes no row; one upload submit path 2026-10-23 14:23:32 +03:00