catborise
443b31d86b
fix(interfaces): a host interface can be created with DHCP or no IPv4, and every value is validated
...
The IPv4 address and gateway were required even for DHCP or no IPv4, so
such an interface could not be created; malformed addresses passed and a
missing prefix crashed the XML builder. They are validated like the IPv6
fields now (netmask notation accepted, IPv6 scope ids rejected), and a
static address without a gateway gets no empty route. Interface names
follow the Linux rule (up to 15 letters, digits, . _ -). A bridge member,
or the device an ethernet interface configures, must be a device of the
host (the page no longer falls back to made-up names), a bridge cannot
contain itself, and needs STP and a non-negative delay.
2026-10-07 20:42:02 +03:00
catborise
a1eab70e2d
reorg imports and black format
2022-11-02 16:05:41 +03:00
catborise
217e106c8b
format python code with black
2022-11-02 08:54:35 +03:00
catborise
2f1b11b3ca
reorganize host interfaces. remove it from instance methods
2021-02-12 16:05:16 +03:00
catborise
508e3609be
lint with black python. convert f style strings to old one. some small fixes
2020-11-05 12:34:31 +03:00
Real-Gecko
01043ba8a8
Templates cleanup
2020-10-15 20:18:45 +06:00
catborise
6a0d04d300
replace deprecated ifequal/ifnotequal with if
2020-06-04 15:40:57 +03:00
Real-Gecko
27f62dff6c
Added admin application
...
- Manage users
- Manage groups
- Manage logs
2020-05-27 18:24:06 +06:00
Real-Gecko
38befa4362
Added django-login-required-middleware
...
Thus eliminating need for login_requred decorator on every view
2020-05-27 12:43:29 +06:00
catborise
a6f7618854
convert django.core.urlresolver to django.urls. fix i18n. fix identation
2020-01-24 10:09:46 +03:00
catborise
592112590c
add ability to show interface's ip address with qemu agent. Add checking agent if installed or not
2019-12-23 15:48:11 +03:00
catborise
0738ec7ec4
adds bridge slave list to details of interface
2019-11-04 12:03:13 +03:00
catborise
f3f4f0afe8
Fix typos. Code Inspection for pep8 conventions
2019-10-30 11:05:50 +03:00
catborise
828a271789
pep8 style code corrections
2019-09-10 09:48:31 +03:00
Jan Krcmar
dac974ddab
request.user.is_authenticated() substitued for @login_required decorator
...
settings.LOGIN_URL = /accounts/login
2015-12-22 15:09:02 +01:00
Retspen
b4e8da8671
Resoved problem with app template
2015-04-02 16:20:46 +03:00
Retspen
35da9ad193
Added 404 and fixed urls
2015-04-02 15:39:40 +03:00
Retspen
ea41412aac
Move tempates
2015-04-02 11:48:40 +03:00
Retspen
ed2b28c25e
Add new forms and templates
2015-03-10 16:24:10 +02:00
Retspen
5960e94da5
Add logs and block for templates
2015-03-03 11:34:09 +02:00
Retspen
fa3df5bff3
Refactoring
2015-02-27 11:51:33 +02:00
Retspen
dd5f98cbe8
build new tree
2015-02-27 11:28:22 +02:00
Retspen
4d48e79341
Initial commit
2015-02-27 10:53:51 +02:00