Chris PeBenito
c85d67f9e2
apol: implement fs_use_* query.
...
Closes #79
2016-03-30 08:34:09 -04:00
Chris PeBenito
b1c6652de0
apol: implement type attribute query tab.
...
Closes #89
2016-03-29 10:56:07 -04:00
Chris PeBenito
8f3a54eb37
apol: implement Boolean query tab.
...
Closes #75
2016-03-29 09:12:05 -04:00
Chris PeBenito
fbee99a747
Implement TypeQueryTab.
...
Closes #51
2016-03-16 08:47:55 -04:00
Chris PeBenito
8e5b4bc604
Implement RoleQueryTab
...
Closes #87
2016-03-14 12:38:30 -04:00
Chris PeBenito
56b436fde6
ChooseAnalysis: show MLS-only tabs on MLS policies only.
2016-03-11 09:57:27 -05:00
Chris PeBenito
3434618aef
LogHandlerToSignal: set default formatter and INFO level in __init__.
2016-03-11 09:00:20 -05:00
Chris PeBenito
6c2acc3fdd
Rename LogToSignalHandler to LogHandlerToSignal.
2016-03-07 13:40:37 -05:00
Chris PeBenito
3f4630c6f9
apol: use INFO logs to update status displays
...
Connect all setools and setoolsgui INFO+ messages and display them on
the statusbar.
Use each tab's analysis/query INFO+ messages and display them on the
"busy" status dialog box.
2016-03-07 12:04:08 -05:00
Chris PeBenito
6a4cbf20d5
apol: log INFO messages to the status bar
...
Still keep the CLI messaging controlled by -v or --debug switches. For some
reason, the root logging had to be DEBUG for this to work, and
only as initialized by basicConfig. Setting a NullHandler to DEBUG level
didn't work either.
2016-03-04 14:05:20 -05:00
Chris PeBenito
c017bd7cfa
Apply logging best practices.
...
* Use __name__ for the logger name
* Add top-level library NullHandlers
2016-03-04 13:49:03 -05:00
Chris PeBenito
d7e8cf0701
apol: connect copy/paste menu options
2016-03-02 08:19:07 -05:00
Chris PeBenito
5cfab15fd7
apol: Add ctrl+w keyboard shortcut to close the current tab.
...
Also move the action definitions to apol.ui.
2016-03-01 13:41:29 -05:00
Chris PeBenito
16e03a3960
Implement UserQueryTab
...
Closes #90
2016-02-25 10:03:20 -05:00
Chris PeBenito
f89f875a62
ChooseAnalysis: Sort analysis options
2015-12-15 09:17:07 -05:00
Chris PeBenito
cf7b0789ba
apol: add MLS rule query
2015-12-15 08:51:14 -05:00
Chris PeBenito
6c702179c4
apol: add RBAC rule query
...
RuleResultModel: give up trying to have a parent class. Remove.
2015-12-15 08:04:01 -05:00
Chris PeBenito
cff5de89e6
apol: add domain transition analysis tab
2015-12-14 09:53:59 -05:00
Chris PeBenito
d8f69d912f
InfoFlowAnalysisTab: initial implementation
...
Does not yet include graphical results.
2015-06-30 11:06:59 -04:00
Chris PeBenito
0caa0de8a4
ChooseAnalysis: only display implemented analyses as options.
...
Make it clear for early users of the tool that only some analyses are
implemented in the GUI so far.
2015-06-24 14:24:39 -04:00
Chris PeBenito
72530ff531
ApolMainWindow: Implement renamable tabs.
...
Tab renaming methods:
* double click the tab
* context menu on tab bar
Also:
* change initial tab name to include a number based on the total number
of tabs that have been opened.
* add tool tip to tab of the analysis type.
* add explicit close tab function to ensure analysis widgets are deleted.
2015-06-16 16:02:11 -04:00
Chris PeBenito
f3617938a7
Change loading retry to work on Python 2 consistently
...
In Python 2, ENOENT was an IOError exception. In Python 3, IOError was
merged into OSError.
2015-06-15 14:14:26 -04:00
Chris PeBenito
9df420ad70
ApolMainWindow: misc enhancements
...
1. add icons for opening policy and new analysis
2. add shortcuts for copy, cut, paste
3. add filename to apol main window title
4. fix file chooser bug for selecting a policy.
5. improved handling where new analysis is started w/o open policy
2015-06-08 10:58:12 -04:00
Chris PeBenito
d26101d041
Squeeze margins so the tab widgets have more room.
...
The tabs have deeply nested container widgets, so a lot of room is lost
on margins.
2015-06-05 15:05:18 -04:00
Chris PeBenito
5476535659
ChooseAnalysis: simplify exception handler on input
2015-06-05 09:00:38 -04:00
Chris PeBenito
b619166ba0
Initial apol commit.
2015-06-03 13:33:11 -04:00