| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
- strip help from internal msec doc so that it better fit end user
|
| |
|
|
|
|
|
| |
(l10n-able) descriptions instead of function names
|
| |
|
|
|
|
|
| |
- add a end of line btw at the end of file to please cat
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
instead of compile-time
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- it is replaced by interactive_help_id on each ask_*
- many set_help do not have any correspondance in help.pm (drakxid-*),
those are commented for now
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
security::msec is readable at last):
- put all file names & separators for regexps in the object
- (load_defaults, load_values) thus we can use indirect call to get right values
- (load_values) fix "returning 'undef' option" (this trival bug did not have
any side effect but fixing it is cleaner
- kill debugging statements
- generalize some comments
- (reload) introduce this method so that we can later reload default values
when the user change the security level
the only bug we left is that on each saving, we add a empty line to config
files...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fix "check states were not saved if their value did not change (thus
reverting it to default on disk)"
- fix emebedding (no transcience when embedded)
- fix "value get chop()-ed until it disapear and is reset to default"
- log which security level is set and not only the switch
killing latest remanent parts of christian "yeah baby, i'm piggy"
work:
- functions and checks listing :
o rename get_functions() as list_functions() and
get_default_checks() as list_checks(); this is both
more homogenous and enable one to separate them from the
get_(check|function)_(value|default) function group
o regroup them
o over simplify list_functions(): leave functions listing to msec
(aka /usr/share/msec/level.<LEVEL>, assuming share/msec.py is
always up to date, just don't care reparsing python code (this is
plain stupid); if we cannot rely on msec, on who could we :-) ?
o this allow to simplify msec gui so that we do not exclude stuff
already excluded
- remove config_check(), config_funtion(): replace them by:
o set_check() and set_function() to store new values in data
structure
o apply_checks() and apply_functions() to save these new values,
thus writing config files once and not twice the functions &
checks count
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove unused variables
- rename get_(default|value as load_(default|value)s and alter them so
that config file are read only one time instead of one per option;
data is stocked in package variable
- thus get_default_checks() is quite a lot faster
- alter get_(check|function)_(value|default) to use new data structure
- fix check default reading
- group default values reading and current values reading
what's left: do the same thing for writing tomorow
|
|
|
|
|
| |
- use formatAlaTeX() to have nicer tooltips
|
|
|
|
|
|
|
| |
msec to here so that draksec help'll get translated
all changes must be done in soft/msec/share/libmsec.py !!!
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- move any::config_security_user() to security::various::config_security_user()
- move any::config_libsafe() and security::libsafe::config_libsafe() to security::various::config_libsafe()
|
|
|
|
|
|
| |
nobody will uses it so it's useless to load drakx with it.
also use common cli options managment
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- no need to maintain dummy documentation about something which is
called only in one place
- simplify
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- perl_checker fixes
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
merge any::get_secure_level() with
secure::msec::get_secure_level()
- move security level functions from secure::msec
to secure::level
- uses secure::level in install_steps
- fix duplication of security level labels
- draksec: use same strings in drakx, got nice
translations
- get_default_checks(): make it more readable
|
|
|
|
|
| |
put one that really works
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- kill useless show_msec_help()
- kill commented remanant code of help buttons
- add tooltip with default values on combos & entries
- log about security administrator changes only when we do some
- factorize some code into new_editable_combo() and
set_default_tip()
|
|
|
|
|
| |
- perl_checker fixes
|
|
|
|
|
|
| |
- clean code
- simplify config_function()
|
| |
|
| |
|
|
|
|
|
| |
- remove unneeded parentheses for things like ... if (...)
|
| |
|
|
|
|
|
| |
- use "for" instead of "foreach" when used a la C
|