Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |||||
* | Change Param.__repr__() so it returns the exact expression that could create ↵ | Jason Gerard DeRose | 2008-11-13 | 1 | -0/+12 | |
| | | | | it; added unit test for Param.__repre__() | |||||
* | Added util.make_repr() function; added corresponding unit tests | Jason Gerard DeRose | 2008-11-13 | 1 | -2/+14 | |
| | ||||||
* | output_for_cli signature is now output_for_cli(textui, result, *args, **options) | Jason Gerard DeRose | 2008-11-12 | 1 | -10/+9 | |
| | ||||||
* | Changed calling signature of output_for_cli(); started work on 'textui' ↵ | Jason Gerard DeRose | 2008-11-12 | 1 | -0/+25 | |
| | | | | backend plugin | |||||
* | Renamed ipalib.get_standard_api() to create_api() | Jason Gerard DeRose | 2008-11-11 | 1 | -1/+1 | |
| | ||||||
* | Finished fist draft of plugin tutorial in ipalib/__init__.py docstring | Jason Gerard DeRose | 2008-11-07 | 1 | -2/+1 | |
| | ||||||
* | Tests for the automount plugin | Rob Crittenden | 2008-11-04 | 1 | -0/+184 | |
| | ||||||
* | Add new tests for hosts and groups of hosts | Rob Crittenden | 2008-11-04 | 2 | -0/+277 | |
| | ||||||
* | Skip tests if the remote XML-RPC server is not responding. | Rob Crittenden | 2008-11-03 | 4 | -3/+53 | |
| | ||||||
* | Initial tests for user, group and service plugin API | Rob Crittenden | 2008-11-03 | 4 | -0/+403 | |
| | ||||||
* | Partially revert back change. Del shouldn't provide default options. | Rob Crittenden | 2008-11-03 | 1 | -3/+2 | |
| | | | | It can provide custom ones though, if defined with takes_params() in the class. | |||||
* | Reoganized global option functionality to it is easy for any script to use ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -10/+15 | |
| | | | | the environment-related global options; lite-xmlrpc.py now uses same global options | |||||
* | Fixed test_Del.test_get_options() | Jason Gerard DeRose | 2008-10-30 | 1 | -9/+5 | |
| | ||||||
* | Added tests.util.get_api() function to create a standard (api, home) tuple ↵ | Jason Gerard DeRose | 2008-10-30 | 3 | -27/+26 | |
| | | | | for unit testing | |||||
* | Did some initial work for Context plugins | Jason Gerard DeRose | 2008-10-30 | 1 | -2/+20 | |
| | ||||||
* | API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵ | Jason Gerard DeRose | 2008-10-27 | 2 | -3/+4 | |
| | | | | 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 | 1 | -64/+77 | |
| | ||||||
* | More docstrings, functionality, and unit tests for improved CLI class | Jason Gerard DeRose | 2008-10-27 | 1 | -0/+44 | |
| | ||||||
* | 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 |