Chris PeBenito
6927ea885b
SummaryTab: Fix handle_unknown output.
2016-11-11 18:22:07 -05:00
Chris PeBenito
60e8b9d7fb
setup.py: Support locally-built libsepol.
...
Set the SEPOL_SRC env. variable to the path to the compiled libsepol
source tree.
Closes #138
2016-11-11 18:21:48 -05:00
Chris PeBenito
c0ebad8d15
SELinuxPolicy: Create enumerations for handle_unknown and target_platform.
2016-11-11 13:58:43 -05:00
Chris PeBenito
85f9a32125
sediff: Fix enum usage.
2016-09-11 10:33:18 -04:00
Chris PeBenito
98eb0f15ce
sediff: Add missing check for modified defaults.
2016-09-11 10:33:18 -04:00
Chris PeBenito
0f4887e086
sediff: Clear partial differences once used, to reduce memory usage.
...
Closes #127
2016-09-11 10:33:18 -04:00
Chris PeBenito
da87bfceb7
diff: Add slots to diff wrappers to reduce memory size.
...
For #127
2016-09-11 10:32:58 -04:00
Chris PeBenito
3f9a57521e
policyrep: Add __slots__ to rules to reduce memory usage.
...
For #127
2016-09-11 09:28:39 -04:00
Chris PeBenito
77789b7417
BaseTERule: Add additional docs to conditional_block property.
2016-09-07 19:54:20 -04:00
Chris PeBenito
96428e6309
Implement an enumeration for *bounds rule types.
2016-09-03 16:44:13 -04:00
Chris PeBenito
9648d013a2
Implement an enumeration for constraint rule type.
2016-09-03 16:44:13 -04:00
Chris PeBenito
693b5a435b
Implement an enumeration for default rule type, value, and range value.
2016-09-03 16:44:13 -04:00
Chris PeBenito
8ea292f934
Implement an enumeration for fs_use_* ruletype.
2016-09-03 16:44:07 -04:00
Chris PeBenito
3178745ffc
Implement an enumeration for nodecon IP version.
2016-09-03 16:42:38 -04:00
Chris PeBenito
57e51ec69b
Implement an enumeration for portcon protocol.
2016-09-03 16:42:06 -04:00
Chris PeBenito
4b5b6c0970
Implement an enumeration for MLS rule type.
2016-09-03 16:40:54 -04:00
Chris PeBenito
a441a92937
Implement an enumeration for RBAC rule type.
2016-09-03 16:19:52 -04:00
Chris PeBenito
f3fb462c88
Implement an enumeration for TE rule types.
2016-09-03 16:17:07 -04:00
Chris PeBenito
5f9309d05c
CriteriaDescriptor/CriteriaSetDescriptor: Implement support for enums.
2016-09-03 09:02:50 -04:00
Chris PeBenito
c680bee717
PolicyRule: Change ruletype property to abstract.
2016-08-25 19:13:11 -04:00
Chris PeBenito
fcadd71b24
Implement utility enumeration for policyrep classes.
...
Requires enum34 (not enum) package for Python < 3.4.
2016-08-25 19:13:06 -04:00
Chris PeBenito
9f8f8f72c1
Change tool exception handlers to re-raise the exception if debugging.
...
This will allow the debugger to catch the exception for debugging purposes.
2016-07-22 19:14:40 -04:00
Chris PeBenito
ec0c2da337
SEToolsTableView: Change copy operation to use lists rather than string concatenation.
2016-07-14 21:44:35 -04:00
Chris PeBenito
fb3e14849d
apol: Implement CSV export of SEToolsTableView.
...
Closes #54
2016-07-14 21:24:13 -04:00
Chris PeBenito
23e767e8e3
ObjClassQueryTab: Add clear button for common selection.
...
Closes #152 .
2016-07-09 18:45:51 -04:00
Chris PeBenito
adfb31f518
apol: Implement copy from table results.
...
Closes #123
2016-07-09 18:18:47 -04:00
Chris PeBenito
ddca4536ee
apol: Tabs raise exceptions if trying to save while there are errors.
...
Closes #97
Closes #98
2016-07-09 13:22:09 -04:00
Chris PeBenito
5fd724b300
apol: Convert tabs to use error methods from the base class.
2016-07-09 13:14:31 -04:00
Chris PeBenito
c4556ae85f
apol: Implement analysis tab base class.
...
Add methods for clearing and setting UI error states. Disable apply button
if there are errors in the tab.
2016-07-09 12:35:11 -04:00
Chris PeBenito
ad28e76a15
apol: Fix tab field error exception to not override built-in TabError.
2016-07-09 12:06:12 -04:00
Chris PeBenito
3211062ac2
apol: Change workspace save to collect all error messages before stopping.
2016-07-04 07:43:19 -04:00
Chris PeBenito
cf2adac95b
ApolMainWindow: Adjust save tab error messages.
2016-07-03 13:39:01 -04:00
Chris PeBenito
0712651b3d
apol: Add TabError exception for tab save errors.
...
Also fix error message in workspace save error message.
2016-07-03 10:02:39 -04:00
Chris PeBenito
09bca896da
ApolMainWindow: Do not save tab/workspace if there are errors.
...
Tabs should raise RuntimeError in save() if they have criteria errors.
For #97 and #98 .
2016-07-01 22:14:35 -04:00
Chris PeBenito
a82be1fbdb
apol: Improve tab loading error handling.
...
Add explicit type conversions so the Qt C++ code always gets the expected
type. Add additional handlers to catch the exceptions and provide better
error messages.
2016-06-26 11:05:20 -04:00
Chris PeBenito
4c287ba23e
FSUseQueryTab: Add missing filesystem type field to save/load functions.
2016-06-26 10:49:21 -04:00
Chris PeBenito
acbccd31f9
UserQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-24 10:26:52 -04:00
Chris PeBenito
15c5d97b75
TypeQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-24 10:18:29 -04:00
Chris PeBenito
0707a7fb88
TypeAttributeQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-24 10:18:23 -04:00
Chris PeBenito
607ad82867
RoleQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-24 10:16:48 -04:00
Chris PeBenito
cf71ab3bc8
ObjClassQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-24 08:57:02 -04:00
Chris PeBenito
fec1f17a7a
apol: Add save/load functions for label query tabs.
...
For #97 and #98 .
2016-06-23 13:30:22 -04:00
Chris PeBenito
5367f1a288
apol: Whitespace fixes in tab save/load functions.
2016-06-22 14:23:55 -04:00
Chris PeBenito
a59a5c5a66
InfoFlowAnalysisTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-22 14:12:40 -04:00
Chris PeBenito
b5647e2129
PermissionMap: Make permission maps iterable.
2016-06-22 13:38:46 -04:00
Chris PeBenito
e9332819d2
DomainTransitionAnalysisTab: Add save/load of excluded types.
...
Missed this from the original change.
For #97 and #98 .
2016-06-20 13:48:48 -04:00
Chris PeBenito
7f20bd5be7
DomainTransitionAnalysisTab: Add save/restore tab functions.
...
For #97 and #98 .
2016-06-17 14:28:13 -04:00
Chris PeBenito
cc8ed3cc12
apol: Add workspace functions for save/restore QSpinBoxes.
...
For #97 and #98 .
2016-06-17 14:25:28 -04:00
Chris PeBenito
e12ff2e94f
DefaultQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-17 14:07:00 -04:00
Chris PeBenito
4b357379d8
apol: Add workspace functions for save/load QComboBoxes.
...
For #97 and #98 .
2016-06-17 14:00:36 -04:00