Rob Crittenden
766757e4d4
Fix unicode failures in Env tests and dn failures in XML-RPC tests
2010-02-26 12:31:11 -05:00
Pavel Zuna
03f16810ee
Use unicode instead of str for environmental variables in Env.
2010-02-19 14:38:58 -05:00
Rob Crittenden
338578d10a
Allow one-character Param names
...
This is done explicitly to support the l/localityname attribute.
2010-02-12 13:14:29 -07:00
Rob Crittenden
cc23838db2
Use the FQDN and not just the hostname internally.
2009-10-16 14:57:33 -04:00
Jason Gerard DeRose
4f9224774f
Added Param 'include' and 'exclude' kwargs; added frontend.UsesParams base class with methods implementing the filtering to restrict params to only certain contexts
2009-05-19 13:49:15 -06:00
Jason Gerard DeRose
ae38a2461f
Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
2009-05-11 16:17:08 -04:00
Jason Gerard DeRose
3274577cd6
Finished small tweaks to get new ipaserver.xmlrpc() mod_python handler working
2009-02-03 15:29:05 -05:00
Jason Gerard DeRose
c2b0c80140
Started work on a much simplified mod_python server
2009-02-03 15:29:05 -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
4a24b49d5d
A few docstring improvements in Env
2009-01-05 03:28:27 -07:00
Jason Gerard DeRose
7be459af0b
Added a bit to config.Env docstring about that variable names must pass check_name() function
2009-01-02 01:14:37 -07:00
Jason Gerard DeRose
e9be796950
Fixed Env._bootstrap() docstring typo
2008-12-30 15:14:33 -07:00
Jason Gerard DeRose
379c549fc1
Env now supports float values
2008-12-30 15:02:15 -07:00
Jason Gerard DeRose
ecccc5c236
Added my name to Athors of config.py
2008-12-30 14:05:08 -07:00
Jason Gerard DeRose
03c9114958
More docstring cleanup in ipalib.config
2008-12-30 13:52:36 -07:00
Jason Gerard DeRose
11e165073e
Docstring cleanup in the Env bootstraping methods
2008-12-30 03:11:45 -07: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
e14fc84dfc
Renamed Env._merge_config() to Env._merge_from_file()
2008-12-29 21:23:34 -07:00
Jason Gerard DeRose
7766f0be61
Yet more small docstring cleanup in Env
2008-12-23 01:59:31 -07:00
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