Dietmar Maurer
aa0b406653
fix bug #756 : force macro setting to emtpy string when user erases the content
2015-10-15 17:38:56 +02:00
Emmanuel Kasper
e85b17494b
Allow typeahead selection of Firewall macros
...
This fixes the bug: https://bugzilla.proxmox.com/show_bug.cgi?id=677
Remarks:
* allowBlank is already set in the class definition
* The value of the comboBox can be either '' after the component initial
load, or 'null' if the user selected a macro and cleans the field afterwards.
This is the reason of the if (!value) test which will catch empty strings and
null.
2015-09-17 12:51:16 +02:00
Dietmar Maurer
5cc4d7deb5
update translation files
2014-07-14 08:19:50 +02:00
Dietmar Maurer
02a7f63ba5
rename IPSetSelector to IPRefSelector, and use it in IPSet
2014-05-30 10:34:25 +02:00
Dietmar Maurer
5a0a1cc4f5
code cleanups, only set modified_marker when we have errors
2014-05-30 09:02:49 +02:00
Dietmar Maurer
d9d4fcc6dc
FirewallRules: disable ipset query when usery types in an IP
2014-05-28 17:27:59 +02:00
Dietmar Maurer
0d46829744
enable queries when user types in values.
2014-05-28 16:52:23 +02:00
Dietmar Maurer
3e6177d94b
use correct url for IPSetSelector
2014-05-27 13:59:07 +02:00
Dietmar Maurer
0757b9c212
FirewallRules: delete unused properties (else we get strange verification errors).
2014-05-27 06:21:05 +02:00
Dietmar Maurer
1200d65661
FirewallRules: set error tooltips on load
...
And use a hidden field to forms with errors as dirty.
2014-05-26 10:18:46 +02:00
Dietmar Maurer
b63d3c4170
FirewallRule: do not send errors back to server, remove editor reference
2014-05-26 08:31:03 +02:00
Dietmar Maurer
8f4174897c
FirewallRules: show error messages in rules grid using tooltips.
2014-05-23 10:45:44 +02:00
Dietmar Maurer
1d9214235d
FirewallRule: disable column sorting
2014-05-22 10:17:30 +02:00
Dietmar Maurer
9fba0c92b9
FirewallRule: add hack to avoid Form shown as dirty
2014-05-22 09:58:07 +02:00
Dietmar Maurer
060b19b635
firewall rules: add fix for editable ComboGrid
2014-05-22 08:43:04 +02:00
Dietmar Maurer
5491c98f86
new IPProtocolSelector implementation.
...
and do not use pvetextfield/deleteEmpty, because that is no longer
necessary with recent firewall API changes.
2014-05-21 13:18:50 +02:00
Dietmar Maurer
9184785c0b
add IGMP protocol
...
And use pvetextfield instead of textfield to correctly handle 'delete' parameter.
2014-05-21 10:30:23 +02:00
Alexandre Derumier
d86d9aab46
firewall edit rule : disable proto, sport, dport if macro is selected
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-05-19 05:59:55 +02:00
Alexandre Derumier
f6f18eed76
comestic : switch proto and interface in forms
...
for readability, better to have
macro
proto
src port
dest port
in same column
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-05-19 05:57:56 +02:00
Dietmar Maurer
434f2466b4
add firewall GUI classes
2014-05-06 12:27:00 +02:00