Jason Gerard DeRose
f7cae9a27c
More docstring cleanup in Env and its methods
2008-12-23 01:28:00 -07:00
Jason Gerard DeRose
16526142f3
Finished Env class docstring; more organizational cleanup in Env and its unit tests
2008-12-23 01:11:03 -07:00
Jason Gerard DeRose
fd43b39145
Moved setting of run-time variables from Env.__init__() to Env._bootstrap()
2008-12-22 23:09:35 -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
c070d390e9
Removed Env.__getattr__(); Env no longer accepts callables for values (no more dynamic/lazy values)
2008-12-22 15:51:54 -07:00
Jason Gerard DeRose
5b637f6a18
Removed depreciated code from config.py; removed corresponding unit tests
2008-12-22 15:41:24 -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
Jason Gerard DeRose
c26a3c8542
Finished fist draft of plugin tutorial in ipalib/__init__.py docstring
2008-11-07 02:26:38 -07:00
Jason Gerard DeRose
9f45cdbe2f
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
2008-10-29 18:10:38 -06:00
Rob Crittenden
54f37503d2
Implement host groups
2008-10-27 12:24:17 -04:00
Jason Gerard DeRose
25a7df9615
Env._finalize_core() now also loads config from Env.conf_default
2008-10-27 01:09:53 -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
759734864e
Finished Env._finalize() and corresponding unit tests
2008-10-24 20:21:27 -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
2a41db33c6
Env._bootstrap() now raises StandardError if called more than once
2008-10-24 15:35:58 -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
Jason Gerard DeRose
2ec0312eb6
Finished doodle with stricter version of Environment
2008-10-24 01:51:36 -06:00
Rob Crittenden
06a82bf4b6
Fix ipa command running in server_context=True
...
Make the LDAP host and port environment variables
More changes so that commands have a shell return value
lite-xmlrpc no longer hardcodes the kerberos credentials cache location
2008-10-23 11:00:50 -04:00
Rob Crittenden
1daf319a19
Implement the host commands
...
In order for this to work against a v1 database the update host.update needs to
be applied
2008-10-22 17:54:04 -04:00
Martin Nagy
18e74643a6
Add comments in config.py and fix Environment.get()
2008-10-20 19:54:30 +02:00
Martin Nagy
3a80297b04
Reworking Environment, moved it to config.py
2008-10-17 23:11:51 +02:00
Rob Crittenden
cfc8450efd
Port user-show to new CrudBackend framework
2008-10-14 22:22:01 -04:00
Martin Nagy
ff88652a40
Convert string values to boolean when generating environment
2008-10-14 21:22:44 +02:00
Jason Gerard DeRose
149912d0e7
Added ldap.get_user_dn() method
2008-10-14 00:38:17 -06:00
Martin Nagy
4a1c4a3fe3
Implement argument parsing for the CLI
2008-10-08 00:07:44 +02:00
Martin Nagy
4a68c719f0
Implement config file reading
2008-10-08 00:07:44 +02:00
Jason Gerard DeRose
3ffbaac64c
Backend.xmlrpc and simple-server.py now use the xmlrpc_marshal() and xmlrpc_unmarshal() functions respectively
2008-10-02 19:42:06 -06:00
Martin Nagy
149429f305
Environment is now subclassed from object, rather then dict. Added tests for Environment and config.py
2008-10-02 17:22:41 -06:00
Martin Nagy
afdc721038
Add support for environment variables, change tests accordingly
2008-09-29 17:45:14 -06:00