Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More docstring cleanup in ipalib.config | Jason Gerard DeRose | 2008-12-30 | 1 | -4/+3 |
| | |||||
* | Docstring cleanup in the Env bootstraping methods | Jason Gerard DeRose | 2008-12-30 | 1 | -1/+1 |
| | |||||
* | Started moving some core classes and functions from plugable.py to new ↵ | Jason Gerard DeRose | 2008-12-30 | 2 | -1/+136 |
| | | | | base.py module | ||||
* | Renamed Env._merge_config() to Env._merge_from_file() | Jason Gerard DeRose | 2008-12-29 | 1 | -7/+7 |
| | |||||
* | Finished Env class docstring; more organizational cleanup in Env and its ↵ | Jason Gerard DeRose | 2008-12-23 | 1 | -50/+72 |
| | | | | unit tests | ||||
* | Moved setting of run-time variables from Env.__init__() to Env._bootstrap() | Jason Gerard DeRose | 2008-12-22 | 2 | -14/+11 |
| | |||||
* | Some more reorganization in Env and added class docstring to Env with lots ↵ | Jason Gerard DeRose | 2008-12-22 | 1 | -33/+31 |
| | | | | of examples | ||||
* | Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵ | Jason Gerard DeRose | 2008-12-22 | 2 | -40/+72 |
| | | | | tests | ||||
* | The Env.__setitem__() implied conversion is now case sensitive; ↵ | Jason Gerard DeRose | 2008-12-22 | 1 | -8/+8 |
| | | | | Env.__setitem__() now also accepts None as a value | ||||
* | Removed Env.__getattr__(); Env no longer accepts callables for values (no ↵ | Jason Gerard DeRose | 2008-12-22 | 1 | -13/+6 |
| | | | | more dynamic/lazy values) | ||||
* | Removed depreciated code from config.py; removed corresponding unit tests | Jason Gerard DeRose | 2008-12-22 | 1 | -161/+1 |
| | |||||
* | Plugin.__init__() now checks that subclass hasn't defined attributes that ↵ | Jason Gerard DeRose | 2008-12-21 | 1 | -0/+8 |
| | | | | conflict with the logger methods; added corresponding unit test | ||||
* | Improved Plugin.call() method and added its unit test | Jason Gerard DeRose | 2008-12-21 | 1 | -0/+12 |
| | |||||
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-12-20 | 1 | -0/+59 |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | ||||
| * | Add helper for adding Indirect maps. | Rob Crittenden | 2008-12-10 | 1 | -0/+59 |
| | | | | | | | | | | This creates the map and the key pointing to the map. By default the key is associated with the auto.master map but it can be overriden. | ||||
* | | Added request.create_translation() function and corresponding unit tests | Jason Gerard DeRose | 2008-12-18 | 1 | -1/+44 |
| | | |||||
* | | Started work on per-request gettext setup | Jason Gerard DeRose | 2008-12-18 | 1 | -0/+56 |
| | | |||||
* | | New Param: ported Param.__repr__() and corresponding unit test | Jason Gerard DeRose | 2008-12-18 | 1 | -0/+12 |
| | | |||||
* | | New Param: added unit tests for TypeError cases in DefaultFrom.__init__() | Jason Gerard DeRose | 2008-12-18 | 1 | -0/+8 |
| | | |||||
* | | New Param: added missing unit tests for TypeError and ValueError cases in ↵ | Jason Gerard DeRose | 2008-12-18 | 1 | -0/+9 |
| | | | | | | | | parse_param_spec() | ||||
* | | New Param: fixed small bug in Param.convert() and added detailed docstring | Jason Gerard DeRose | 2008-12-18 | 1 | -1/+1 |
| | | |||||
* | | New Param: fixed a few things in Param.convert() and added corresponding ↵ | Jason Gerard DeRose | 2008-12-18 | 1 | -1/+30 |
| | | | | | | | | unit tests | ||||
* | | Plugin.doc instance attribute is now parsed out using inspect.getdoc(); ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -2/+11 |
| | | | | | | | | added Plugin.summary instance attribute, created in Plugin.__init__() | ||||
* | | Removed Plugin.doc property and replaced with instance attribute created in ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -10/+9 |
| | | | | | | | | Plugin.__init__() | ||||
* | | Removed Plugin.name property and replaced with instance attribute created in ↵ | Jason Gerard DeRose | 2008-12-17 | 2 | -6/+13 |
| | | | | | | | | Plugin.__init__() | ||||
* | | New Param: split class_rules and *rules into separate attributes | Jason Gerard DeRose | 2008-12-17 | 1 | -2/+12 |
| | | |||||
* | | New Param: added basic rule logic | Jason Gerard DeRose | 2008-12-12 | 1 | -2/+8 |
| | | |||||
* | | New Param: cleanup up readability of Param.__init__(); added unit tests for ↵ | Jason Gerard DeRose | 2008-12-12 | 1 | -0/+9 |
| | | | | | | | | unknown kwargs | ||||
* | | New Param: added all logic for minlength, maxlength, and length in Bytes ↵ | Jason Gerard DeRose | 2008-12-12 | 1 | -1/+56 |
| | | | | | | | | class (which Str inherits) | ||||
* | | New Param: changed kwargs class attribute to a tuple so the subclass ↵ | Jason Gerard DeRose | 2008-12-11 | 1 | -29/+26 |
| | | | | | | | | interface is simpler | ||||
* | | Copied DefaultFrom into parameter.py; added docstring to new ↵ | Jason Gerard DeRose | 2008-12-11 | 1 | -5/+67 |
| | | | | | | | | Param.normalize() method; more work and unit tests in new Param class | ||||
* | | Finished kwarg validation and extension mechanism in parameter.Param | Jason Gerard DeRose | 2008-12-11 | 1 | -3/+45 |
| | | |||||
* | | Started roughing out the consolidated type/parameter system in ↵ | Jason Gerard DeRose | 2008-12-10 | 1 | -0/+93 |
|/ | | | | parameters.py; started corresponding unit tests | ||||
* | Fixed Warning messages about log dir in unit test | Jason Gerard DeRose | 2008-12-08 | 3 | -24/+15 |
| | |||||
* | Removed depreciated rpc code from ipalib.util; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-12-08 | 1 | -99/+0 |
| | | | | tests in test_util | ||||
* | tests.test_ipalib.test_rpc now imports constants from tests.data | Jason Gerard DeRose | 2008-12-08 | 1 | -32/+16 |
| | |||||
* | Re-enable Python2.4 tests and fixed some small things broken under Python2.4 | Jason Gerard DeRose | 2008-12-08 | 3 | -3/+4 |
| | |||||
* | Added tests/data.py file I forgot | Jason Gerard DeRose | 2008-11-25 | 1 | -0/+39 |
| | |||||
* | Continued work on xmlrpc.dispatch() unit tests; fixed bug in ↵ | Jason Gerard DeRose | 2008-11-25 | 1 | -4/+23 |
| | | | | Command.args_to_kw() | ||||
* | Started fleshing out doodles in xmlrpc.execute() | Jason Gerard DeRose | 2008-11-25 | 1 | -0/+14 |
| | |||||
* | Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc ↵ | Jason Gerard DeRose | 2008-11-24 | 3 | -3/+103 |
| | | | | plugin | ||||
* | Started moving xmlrpc-functions from ipalib.util to ipalib.rpc | Jason Gerard DeRose | 2008-11-24 | 1 | -0/+123 |
| | |||||
* | Small changed to test_round_trip() test | Jason Gerard DeRose | 2008-11-21 | 1 | -3/+5 |
| | |||||
* | Added test_util.test_round_trip() test that tests use of xmlrpc_wrap() and ↵ | Jason Gerard DeRose | 2008-11-20 | 1 | -28/+86 |
| | | | | xmlrpc_unwrap() with dumps(), loads(); fixed a bug in xmlrpc_unwrap() | ||||
* | Added util.xmlrpc_wrap(), util.xmlrpc_unwrap() functions an corresponding ↵ | Jason Gerard DeRose | 2008-11-19 | 1 | -0/+38 |
| | | | | unit tests | ||||
* | Added unit test for Param.ispassword() method | Jason Gerard DeRose | 2008-11-18 | 1 | -0/+16 |
| | |||||
* | Command.get_defaults() now returns param.default if param.type is a Bool | Jason Gerard DeRose | 2008-11-17 | 1 | -4/+4 |
| | |||||
* | env plugin now subclasses from RemoteOrLocal | Jason Gerard DeRose | 2008-11-14 | 1 | -5/+5 |
| | |||||
* | Added frontend.LocalOrRemote command base class for commands like env | Jason Gerard DeRose | 2008-11-14 | 1 | -1/+55 |
| | |||||
* | Started work on cleaning up how exceptions are caught and sys.exit() is ↵ | Jason Gerard DeRose | 2008-11-13 | 1 | -3/+3 |
| | | | | called in ipalib.cli.CLI |