1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-21 18:57:14 +01:00

4283 Commits

Author SHA1 Message Date
Theron Tock
d57e13002b Fixed a pet peeve of mine: clicking "Do not show this again" on
first-time dialog no longer immediately closes the dialog (very
unexpected behavior to me).
2011-06-16 16:46:52 -07:00
Theron Tock
6dedc26452 Make sure we reload the filter criteria if the set of keywords changes.
Fixes #2504.
2011-06-16 15:59:14 -07:00
Theron Tock
ec794ef430 Make keyword matching case insensitive, like it is for names.
Fixes #2503.
2011-06-16 15:49:36 -07:00
Theron Tock
54f6bae48f Added support for user-defined folders. It's just a ui/display thing.
The FWObject has a property "folder" that controls which sub-folder to
display in.  The placement of the object in the tree doesn't change even
when placed into a user-defined folder.  Turned on drag/drop in the
object tree so that objects can be moved into these new folders
(however, disabled dragging of system folders).
2011-06-16 14:49:06 -07:00
Theron Tock
aacc4016cd Removed help button from UI. Fixes #2495. 2011-06-13 14:29:31 -07:00
Vadim Kurland
edd20761cc build 3549 2011-06-10 15:29:40 -07:00
Vadim Kurland
feef1a1c30 see #2499 updated copyright in the "About" dialog 2011-06-10 15:27:08 -07:00
Vadim Kurland
d4a8546b6b incremented DTD version to 22 necause changes made for keywords and DynamicGroup object are not backwards-compatible; removed contributed autoupgrade xslt script that is not being used anymore, see #2501 2011-06-10 15:26:06 -07:00
Theron Tock
73042fb3c7 Added missing files (and modified .gitignore so it won't happen again). 2011-06-10 14:18:38 -07:00
Theron Tock
12ad3fefcf Merge branch 'development' of ssh://ncgit/var/git/fwbuilder into development 2011-06-10 00:58:33 -07:00
Theron Tock
dac6b04d4d Manually merged keyword management/filtering code from fortress.
All dialogs modified to include custom keyword/comment widget.

Also added first cut at 'dynamic group' implementation.
2011-06-10 00:56:33 -07:00
Vadim Kurland
e83df83543 using macro GENERATION to eliminate hard-coding of the version number 2011-06-09 21:32:01 -07:00
Vadim Kurland
07e902e0ac new build 2011-06-09 17:36:59 -07:00
Vadim Kurland
9505e2dcd0 see #2492 properly disabling dialog controls for the read-only IPServcie object 2011-06-09 16:46:09 -07:00
Vadim Kurland
9740d4a703 see #2490 enable/disable widgets based on the "read-only status of the object after they were enabled/disabled for other reasons 2011-06-09 16:38:01 -07:00
Vadim Kurland
d682785b63 see #2496 parsing, but not importing, "user" and "group" matches 2011-06-09 16:33:22 -07:00
Vadim Kurland
c77796ebd0 see #2497 added an error on import of "include" word in pf.conf files 2011-06-09 16:15:36 -07:00
Vadim Kurland
677173e030 see #2487 fixed crash that happened when user created new cluster from member firewalls that had locked interfaces
;
2011-06-09 14:01:17 -07:00
Vadim Kurland
e4cf4d6447 see #2494 crash happened because class ObjectSignature did not have virtual function to build signature from UserService object 2011-06-09 12:15:59 -07:00
Vadim Kurland
b4b3c1ccad see #2488 fixed new object menu issues 2011-06-06 21:56:00 -07:00
Vadim Kurland
729216be1f see #2468 showing "new object" menu in the right place 2011-06-06 20:55:55 -07:00
Vadim Kurland
0b46b5c0b9 see #2468 clean up filter/ilbrary box; moved buttons "new object" and "back" to the top toolbar 2011-06-06 19:15:05 -07:00
Vadim Kurland
bd5212e0c6 fixed crash introduced recently 2011-06-06 18:32:23 -07:00
Vadim Kurland
57e3c5b0d3 see #2478 always draw rule sets on top of interfaces in the tree 2011-06-06 15:23:46 -07:00
Vadim Kurland
f0a0abb338 see #2486 centered firewall / policy text 2011-06-06 15:04:55 -07:00
Vadim Kurland
17a178b637 see #2482 now can import rules that match both source and destination ports, including cases where groups of ports are used on both sides 2011-06-06 14:55:00 -07:00
Vadim Kurland
9921fe8f78 see #2481 added an error message for port "!=" operation. Importer still tries to import the rule but marks it as "bad" 2011-06-06 13:32:22 -07:00
Vadim Kurland
b1f1eddc72 see #2479 remove quotes from the file name spec 2011-06-05 23:08:17 -07:00
Vadim Kurland
2e1a499c18 see #2472 added warning for table "const" and "counters" keywords 2011-06-05 23:01:47 -07:00
Vadim Kurland
9ef6945109 see #2483 need to clear both host os and version QComboBox widgets 2011-06-05 22:55:39 -07:00
Vadim Kurland
3d87038f19 see #2480 fixed a bug: toggling negate flag in a rule element reset selection in the rule set view to the row 0 column 0 2011-06-05 22:52:10 -07:00
Vadim Kurland
3a2041d16d per Mikes request, the GUI now opens rule set object of the firewall
when user opens the firewall or any of its children objects in the
editor. This includes any rule set, interface or any other child
object.

Also moved function Interface::getParentHost() from class Interface to
class Host as static FWObject* Host::getParentHost(FWObject *o). Its
behavior is now more logical, it returns non-NULL pointer only if an
object actually has a parent that is host, firewall or cluster. Old
function Interface::getParentHost() returned non-NULL pointer even
when object was not in the proper position in the tree.

Now this function can be used to get parent host/firewall/cluster for
any child object rather than only interface.

I had to fix bunch of problems in unit tests that got uncovered because
new function behaves in a more strict way (returns NULL when there is
no parent of correct type).
2011-06-05 21:38:46 -07:00
Vadim Kurland
c171994c82 see #2454 double click or keypress Enter on object "any" shows editor with our special comment but does not switch obejct tree to the "Standard objects" library; also made the tree switch to the right library both when user double clicks or hits Enter 2011-06-05 18:55:50 -07:00
Vadim Kurland
d9cd33f28b see #2475 removing State_Active flag before drawing the row if the tree view does not have focus 2011-06-05 16:42:45 -07:00
Vadim Kurland
79ca86edb8 see #2468 object tree panel is not docable/floating window anymore 2011-06-05 10:29:51 -07:00
Vadim Kurland
9561f4b2c5 see #2475 more debugging, will test on Mac with latest Qt 2011-06-04 23:43:29 -07:00
Vadim Kurland
cbf51a1920 see #2468 changes to the toolbar above rules: moved buttons to the far right, removed "Currently Editing" 2011-06-04 22:08:37 -07:00
Vadim Kurland
86c58fff3b see #2477 disable detection of dbus 2011-06-04 20:52:23 -07:00
Vadim Kurland
36a6472f95 fixing build on windows mingw: avoid token name "IN" 2011-06-04 20:36:07 -07:00
Vadim Kurland
b985fcacac fixing build on windows mingw: avoid token name "CONST" 2011-06-04 20:32:37 -07:00
Vadim Kurland
c808c4ab93 see #2475 hardcoding inactive highlight color "silver" for ObjectTreeView 2011-06-04 20:18:00 -07:00
Vadim Kurland
cb71c53697 see #2474 whole rule is now highlighted when any cell is selected, using neutral color "silver" to highlight the rule while standard highlighting color is used to highlight selected object in the rule 2011-06-04 19:29:58 -07:00
Vadim Kurland
8d80e04420 FWWindow_editor.cpp (openEditor): this change is a part of the
GUI usability improvements: when user double clicks on a firewall
object to open it in the editor, rule set view panel switches to
the rule set of that firewall. To decide which rule set to show,
the program scans history of the objects the user opened before in
the same GUI session and shows that firewall's rule set they
opened last. If user never opened any rule sets of this firewall,
then the first Policy object is shown. See #2465.
2011-06-04 17:04:29 -07:00
Vadim Kurland
5888835db7 see #2454 making "any" open in the editor upon double-click; added ChangeLog record 2011-06-04 16:16:48 -07:00
Vadim Kurland
56c18e3e1e see #2454 now opening object "any" in the editor panel and showing some hand-holding text in existing "Comment" widget 2011-06-04 16:09:59 -07:00
Vadim Kurland
fcdfe6dfac see #2451 Using keyboard arrows to navigate rules results in objects being opened in editor panel 2011-06-04 15:14:19 -07:00
Vadim Kurland
d42403db00 fixes #2450 Double-clicking on object in rule shifts keyboard focus to object tree 2011-06-04 14:36:21 -07:00
Vadim Kurland
e7dbf88530 fixes #2452 rename rule interface column default text to "any" 2011-06-04 14:31:08 -07:00
Vadim Kurland
a6fda88a54 see #2473 made text appear vertically aligned across different rule cells even when they dont have any icon, e.g. "any" 2011-06-04 14:25:35 -07:00
Vadim Kurland
99cd831b75 updated unit test files 2011-06-04 13:02:42 -07:00