Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Partially revert back change. Del shouldn't provide default options. | Rob Crittenden | 2008-11-03 | 2 | -5/+2 |
| | | | | It can provide custom ones though, if defined with takes_params() in the class. | ||||
* | Dropped some of the more verbose logging in lite-xmlrpc.py to logger.debug() | Jason Gerard DeRose | 2008-10-31 | 1 | -2/+6 |
| | |||||
* | Added custom log formatter util.LogFormatter that makes the human-readable ↵ | Jason Gerard DeRose | 2008-10-31 | 3 | -4/+13 |
| | | | | time stamp in UTC | ||||
* | Renamed API.bootstrap_from_options() to bootstrap_with_global_options() | Jason Gerard DeRose | 2008-10-31 | 3 | -9/+6 |
| | |||||
* | Logging formats are now env variables; added log_format_stderr_debug format ↵ | Jason Gerard DeRose | 2008-10-31 | 3 | -28/+43 |
| | | | | used when env.debug is True | ||||
* | Reoganized global option functionality to it is easy for any script to use ↵ | Jason Gerard DeRose | 2008-10-31 | 5 | -31/+74 |
| | | | | the environment-related global options; lite-xmlrpc.py now uses same global options | ||||
* | Logging is now configured in API.bootstrap(); removed depreciated ↵ | Jason Gerard DeRose | 2008-10-31 | 2 | -42/+43 |
| | | | | util.configure_logging() function | ||||
* | API.finalize() now cascades call to API.load_plugins() | Jason Gerard DeRose | 2008-10-31 | 2 | -2/+1 |
| | |||||
* | Fixed test_Del.test_get_options() | Jason Gerard DeRose | 2008-10-30 | 1 | -9/+5 |
| | |||||
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-10-30 | 5 | -2/+532 |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | ||||
| * | Initial implementation of automount support | Rob Crittenden | 2008-10-30 | 5 | -2/+532 |
| | | | | | | | | | | Add argument handling to crud.Del Make get_list handle LDAP scope | ||||
* | | Plugin.set_api() now sets convience instance attributes from api for env, ↵ | Jason Gerard DeRose | 2008-10-30 | 2 | -2/+11 |
|/ | | | | context, log, and all NameSpace | ||||
* | Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command ↵ | Jason Gerard DeRose | 2008-10-30 | 3 | -18/+76 |
| | | | | from cli to f_misc | ||||
* | Added tests.util.get_api() function to create a standard (api, home) tuple ↵ | Jason Gerard DeRose | 2008-10-30 | 4 | -32/+29 |
| | | | | for unit testing | ||||
* | Did some initial work for Context plugins | Jason Gerard DeRose | 2008-10-30 | 6 | -16/+83 |
| | |||||
* | Followig Rob's good form, cleanup my mess in TODO | Jason Gerard DeRose | 2008-10-29 | 1 | -21/+14 |
| | |||||
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-10-29 | 8 | -3/+358 |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | ||||
| * | Implement host groups | Rob Crittenden | 2008-10-27 | 4 | -0/+344 |
| | | |||||
| * | Fix comment | Rob Crittenden | 2008-10-27 | 1 | -1/+1 |
| | | |||||
| * | Add migration to TODO | Rob Crittenden | 2008-10-27 | 1 | -0/+4 |
| | | |||||
| * | Change variable name that shadowed built-in (filter) | Rob Crittenden | 2008-10-24 | 1 | -2/+2 |
| | | |||||
| * | Don't allow service-add to create host/ principals | Rob Crittenden | 2008-10-24 | 2 | -0/+7 |
| | | |||||
* | | Fixed some things I broke in lite-xmlrpc.py | Jason Gerard DeRose | 2008-10-28 | 1 | -2/+6 |
| | | |||||
* | | Cleaned up LoggingSimpleXMLRPCRequestHandler._dispatch() method | Jason Gerard DeRose | 2008-10-28 | 1 | -20/+13 |
| | | |||||
* | | Cleaned up some funky indentation inconsistencies in lite-xmlrpc.py | Jason Gerard DeRose | 2008-10-28 | 1 | -4/+4 |
| | | |||||
* | | Added an example CLI-specific env command | Jason Gerard DeRose | 2008-10-28 | 1 | -0/+16 |
| | | |||||
* | | lite-xmlrpc.py now uses api.bootstrap() property, logs to api.logger | Jason Gerard DeRose | 2008-10-28 | 4 | -30/+14 |
| | | |||||
* | | util.configure_logging() now only configures file logging if it can create ↵ | Jason Gerard DeRose | 2008-10-28 | 1 | -5/+7 |
| | | | | | | | | the log_dir | ||||
* | | Added util.configure_logging() function; API.bootstrap() now calls ↵ | Jason Gerard DeRose | 2008-10-28 | 4 | -2/+59 |
| | | | | | | | | util.configure_logging() | ||||
* | | Fixed use of depreciated env.get() in b_xmlrpc.py module | Jason Gerard DeRose | 2008-10-27 | 1 | -10/+13 |
| | | |||||
* | | API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵ | Jason Gerard DeRose | 2008-10-27 | 4 | -7/+9 |
| | | | | | | | | env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True | ||||
* | | More CLI cleanup, got all basics working again | Jason Gerard DeRose | 2008-10-27 | 4 | -136/+149 |
| | | |||||
* | | More docstrings, functionality, and unit tests for improved CLI class | Jason Gerard DeRose | 2008-10-27 | 3 | -81/+210 |
| | | |||||
* | | Unit test for CLI.boostrap() now checks that -e overrides and values from ↵ | Jason Gerard DeRose | 2008-10-27 | 2 | -1/+43 |
| | | | | | | | | config files are merged in correctly | ||||
* | | API.bootstrap() now calls Env._finalize_core(); updated unit tests | Jason Gerard DeRose | 2008-10-27 | 3 | -2/+15 |
| | | |||||
* | | Implemented basic CLI.bootstrap(); added corresponding unit tests | Jason Gerard DeRose | 2008-10-27 | 3 | -29/+35 |
| | | |||||
* | | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 2 | -1/+7 |
| | | |||||
* | | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 3 | -101/+125 |
| | | |||||
* | | API.env is now an Env instance rather than an Environment instance | Jason Gerard DeRose | 2008-10-27 | 4 | -8/+11 |
| | | |||||
* | | Env._finalize_core() now also loads config from Env.conf_default | Jason Gerard DeRose | 2008-10-27 | 2 | -0/+12 |
| | | |||||
* | | Env._bootstrap() now also sets Env.conf_default | Jason Gerard DeRose | 2008-10-27 | 3 | -6/+16 |
| | | |||||
* | | Removed depreciated load_plugins.py module; changed all places where ↵ | Jason Gerard DeRose | 2008-10-27 | 5 | -88/+7 |
| | | | | | | | | load_plugins was imported to now call api.load_plugins() | ||||
* | | Copied plugin loading function from load_plugins.py to util.py; ↵ | Jason Gerard DeRose | 2008-10-27 | 2 | -0/+56 |
| | | | | | | | | API.load_plugins() method now calls functions in util | ||||
* | | Added API.load_plugins() place-holder, which cascades call to API.bootstrap() | Jason Gerard DeRose | 2008-10-26 | 2 | -0/+26 |
| | | |||||
* | | Implemented placeholder API.bootstrap() method; added API __doing(), ↵ | Jason Gerard DeRose | 2008-10-26 | 2 | -84/+128 |
| | | | | | | | | __do_if_not_done(), isdone() methods borrowed from Env; API.finalize() now cascades call to API.bootstrap() | ||||
* | | Added more needed config in DEFAULT_CONFIG | Jason Gerard DeRose | 2008-10-24 | 1 | -4/+31 |
| | | |||||
* | | Finished Env._finalize() and corresponding unit tests | Jason Gerard DeRose | 2008-10-24 | 2 | -6/+31 |
| | | |||||
* | | Finished Env._finalize_core() and corresponding unit tests | Jason Gerard DeRose | 2008-10-24 | 4 | -24/+208 |
| | | |||||
* | | Added tests.util.TempHome class for created a tempdir and setting ↵ | Jason Gerard DeRose | 2008-10-24 | 2 | -14/+34 |
| | | | | | | | | os.environ['HOME'] to it; updated various unit tests for Env so they are run using a tempdir for home | ||||
* | | Env._bootstrap() now raises StandardError if called more than once | Jason Gerard DeRose | 2008-10-24 | 2 | -0/+11 |
| | |