Commit Graph

26 Commits

Author SHA1 Message Date
Jason Gerard DeRose
244346dbcb More work on xmlrpc stuff, started migrated more code to use errors2 instead of errors 2009-02-03 15:29:01 -05:00
Jason Gerard DeRose
12c4879613 Added ca_host, ca_port, and ca_ssl_port Env variables that Andrew requested 2009-02-03 15:29:00 -05:00
Jason Gerard DeRose
6aadeb9aea Added Object.params_minus() method; various small tweaks 2009-02-03 15:29:00 -05:00
Jason Gerard DeRose
447c88a2bb Started moving some core classes and functions from plugable.py to new base.py module 2008-12-30 00:45:48 -07:00
Jason Gerard DeRose
01cae56e0a Some more reorganization in Env and added class docstring to Env with lots of examples 2008-12-22 21:02:43 -07:00
Jason Gerard DeRose
6b055b435f Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit tests 2008-12-22 17:29:11 -07:00
Jason Gerard DeRose
014cca57ad The Env.__setitem__() implied conversion is now case sensitive; Env.__setitem__() now also accepts None as a value 2008-12-22 16:16:57 -07:00
Jason Gerard DeRose
dc54dee622 Started work on per-request gettext setup 2008-12-18 14:01:59 -07:00
Jason Gerard DeRose
4d1681176a New Param: added unit tests for TypeError cases in DefaultFrom.__init__() 2008-12-18 02:08:41 -07:00
Jason Gerard DeRose
cb2f294cfe New Param: added missing unit tests for TypeError and ValueError cases in parse_param_spec() 2008-12-18 01:57:39 -07:00
Jason Gerard DeRose
5c47b56d14 Finished kwarg validation and extension mechanism in parameter.Param 2008-12-11 18:07:54 -07:00
Jason Gerard DeRose
22209a0f03 Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests 2008-12-10 21:14:05 -07:00
Rob Crittenden
c513743e7c Add autmount-specific location and default entries 2008-11-14 18:05:29 -05:00
Jason Gerard DeRose
014af24731 Changed calling signature of output_for_cli(); started work on 'textui' backend plugin 2008-11-12 00:46:04 -07:00
Jason Gerard DeRose
9aa14333a4 Added 'conf_dir' env variable, which is directory containing config files 2008-11-10 15:53:10 -07:00
Rob Crittenden
e825bc7ccb Revive the hostgroup_container and include add/remove hosts in hostgroups plugin 2008-11-04 14:03:43 -05:00
Jason Gerard DeRose
242a8183a7 Added custom log formatter util.LogFormatter that makes the human-readable time stamp in UTC 2008-10-31 20:25:33 -06:00
Jason Gerard DeRose
5269d1396c Logging formats are now env variables; added log_format_stderr_debug format used when env.debug is True 2008-10-31 18:55:32 -06:00
Jason Gerard DeRose
fbcb55bd11 lite-xmlrpc.py now uses api.bootstrap() property, logs to api.logger 2008-10-28 02:10:56 -06:00
Jason Gerard DeRose
316bd855d5 Added util.configure_logging() function; API.bootstrap() now calls util.configure_logging() 2008-10-28 01:39:02 -06:00
Jason Gerard DeRose
6e456cc749 More CLI cleanup, got all basics working again 2008-10-27 23:30:55 -06:00
Jason Gerard DeRose
9b1e3f5946 More docstrings, functionality, and unit tests for improved CLI class 2008-10-27 19:21:49 -06:00
Jason Gerard DeRose
28dd8e74bd Env._bootstrap() now also sets Env.conf_default 2008-10-27 00:58:25 -06:00
Jason Gerard DeRose
ff5cb4cf6f Added more needed config in DEFAULT_CONFIG 2008-10-24 20:59:11 -06:00
Jason Gerard DeRose
ac4efac394 Finished Env._finalize_core() and corresponding unit tests 2008-10-24 20:02:14 -06:00
Jason Gerard DeRose
f80beb948b Added ipalib/constants.py; added Env._load_config() method along with comprehensive unit tests for same 2008-10-24 15:07:07 -06:00