Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Plugin.__init__() now checks that subclass hasn't defined attributes that ↵ | Jason Gerard DeRose | 2008-12-21 | 2 | -3/+7 | |
| | | | | conflict with the logger methods; added corresponding unit test | |||||
* | Improved Plugin.call() method and added its unit test | Jason Gerard DeRose | 2008-12-21 | 2 | -6/+21 | |
| | ||||||
* | Merged in Andrew's RA plugin | Andrew Wnuk | 2008-12-21 | 1 | -0/+119 | |
| | ||||||
* | Merge branch 'master' of ↵ | Jason Gerard DeRose | 2008-12-20 | 10 | -212/+325 | |
|\ | | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2 | |||||
| * | Remove some debugging statements | Rob Crittenden | 2008-12-11 | 1 | -2/+0 | |
| | | ||||||
| * | Raise an error on bad principals instead of printing one when changing passwords | Rob Crittenden | 2008-12-11 | 2 | -7/+11 | |
| | | | | | | | | Fix logic in determining what to do with an incoming principal | |||||
| * | Don't pass along the kw dictionary we were passed by XML-RPC. | Rob Crittenden | 2008-12-10 | 5 | -20/+25 | |
| | | | | | | | | | | We generally want to just search indexed attributes. We get this list of attributes from the configuration, use it. | |||||
| * | Convert to new output_for_cli() function | Rob Crittenden | 2008-12-10 | 4 | -91/+64 | |
| | | ||||||
| * | Add helper for adding Indirect maps. | Rob Crittenden | 2008-12-10 | 1 | -4/+53 | |
| | | | | | | | | | | 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. | |||||
| * | Set defaults even for optional arguments. | Rob Crittenden | 2008-12-10 | 1 | -0/+8 | |
| | | ||||||
| * | Add a function to show all the maps under a given mapname, def. is auto.master | Rob Crittenden | 2008-12-10 | 1 | -0/+32 | |
| | | ||||||
| * | Port plugins to use the new output_for_cli() argument list | Rob Crittenden | 2008-12-10 | 6 | -90/+134 | |
| | | | | | | | | Fix some errors uncovered by the nosetests | |||||
* | | Added request.create_translation() function and corresponding unit tests | Jason Gerard DeRose | 2008-12-18 | 1 | -6/+15 | |
| | | ||||||
* | | Started work on per-request gettext setup | Jason Gerard DeRose | 2008-12-18 | 2 | -2/+52 | |
| | | ||||||
* | | New Param: ported Param.__repr__() and corresponding unit test | Jason Gerard DeRose | 2008-12-18 | 1 | -0/+11 | |
| | | ||||||
* | | New Param: added unit tests for TypeError cases in DefaultFrom.__init__() | Jason Gerard DeRose | 2008-12-18 | 2 | -3/+7 | |
| | | ||||||
* | | New Param: added missing unit tests for TypeError and ValueError cases in ↵ | Jason Gerard DeRose | 2008-12-18 | 2 | -3/+5 | |
| | | | | | | | | parse_param_spec() | |||||
* | | New Param: swapped location of DefaultFrom class and parse_param_spec() function | Jason Gerard DeRose | 2008-12-18 | 1 | -47/+47 | |
| | | ||||||
* | | New Param: removed unneeded conversion to tuple() in Param.convert() | Jason Gerard DeRose | 2008-12-18 | 1 | -1/+1 | |
| | | ||||||
* | | New Param: fixed small bug in Param.convert() and added detailed docstring | Jason Gerard DeRose | 2008-12-18 | 1 | -3/+50 | |
| | | ||||||
* | | New Param: fixed a few things in Param.convert() and added corresponding ↵ | Jason Gerard DeRose | 2008-12-18 | 1 | -11/+11 | |
| | | | | | | | | unit tests | |||||
* | | New Param: renamed Param.__normalize_scalar() to Param._normalize_scalar() ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -4/+4 | |
| | | | | | | | | as it might make sense for subclasses to override | |||||
* | | New Param: changed naming convention for class rules to '_rule_%s' as these ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -4/+4 | |
| | | | | | | | | methods aren't part of the public interface | |||||
* | | Removed depreciated envtest command from f_user.py | Jason Gerard DeRose | 2008-12-17 | 1 | -18/+0 | |
| | | ||||||
* | | Plugin.doc instance attribute is now parsed out using inspect.getdoc(); ↵ | Jason Gerard DeRose | 2008-12-17 | 1 | -1/+5 | |
| | | | | | | | | 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 | -7/+1 | |
| | | | | | | | | Plugin.__init__() | |||||
* | | Removed Plugin.name property and replaced with instance attribute created in ↵ | Jason Gerard DeRose | 2008-12-17 | 2 | -9/+7 | |
| | | | | | | | | Plugin.__init__() | |||||
* | | New Param: split class_rules and *rules into separate attributes | Jason Gerard DeRose | 2008-12-17 | 1 | -3/+5 | |
| | | ||||||
* | | Fix show_api command | Jakub Hrozek | 2008-12-17 | 2 | -3/+6 | |
| | | ||||||
* | | Add body for the NameSpaceError exception | Jakub Hrozek | 2008-12-17 | 1 | -0/+11 | |
| | | ||||||
* | | Jakub Hrozek's patch to make textui.get_tty_width() actually work | Jakub Hrozek | 2008-12-16 | 1 | -1/+11 | |
| | | ||||||
* | | New Param: added basic rule logic | Jason Gerard DeRose | 2008-12-12 | 1 | -6/+49 | |
| | | ||||||
* | | New Param: cleanup up readability of Param.__init__(); added unit tests for ↵ | Jason Gerard DeRose | 2008-12-12 | 1 | -8/+26 | |
| | | | | | | | | unknown kwargs | |||||
* | | New Param: added all logic for minlength, maxlength, and length in Bytes ↵ | Jason Gerard DeRose | 2008-12-12 | 1 | -14/+56 | |
| | | | | | | | | class (which Str inherits) | |||||
* | | New Param: changed kwargs class attribute to a tuple so the subclass ↵ | Jason Gerard DeRose | 2008-12-11 | 1 | -36/+49 | |
| | | | | | | | | interface is simpler | |||||
* | | Copied DefaultFrom into parameter.py; added docstring to new ↵ | Jason Gerard DeRose | 2008-12-11 | 1 | -5/+142 | |
| | | | | | | | | 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 | 2 | -5/+37 | |
| | | ||||||
* | | Started roughing out the consolidated type/parameter system in ↵ | Jason Gerard DeRose | 2008-12-10 | 2 | -1/+193 | |
|/ | | | | parameters.py; started corresponding unit tests | |||||
* | Fixed Warning messages about log dir in unit test | Jason Gerard DeRose | 2008-12-08 | 1 | -3/+4 | |
| | ||||||
* | Removed depreciated rpc code from ipalib.util; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-12-08 | 1 | -61/+0 | |
| | | | | tests in test_util | |||||
* | Continued work on xmlrpc.dispatch() unit tests; fixed bug in ↵ | Jason Gerard DeRose | 2008-11-25 | 2 | -1/+14 | |
| | | | | Command.args_to_kw() | |||||
* | Started fleshing out doodles in xmlrpc.execute() | Jason Gerard DeRose | 2008-11-25 | 1 | -1/+14 | |
| | ||||||
* | Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc ↵ | Jason Gerard DeRose | 2008-11-24 | 1 | -0/+24 | |
| | | | | plugin | |||||
* | Started moving xmlrpc-functions from ipalib.util to ipalib.rpc | Jason Gerard DeRose | 2008-11-24 | 2 | -2/+87 | |
| | ||||||
* | Some changes to make reading dubugging output easier | Jason Gerard DeRose | 2008-11-24 | 3 | -3/+12 | |
| | ||||||
* | Added test_util.test_round_trip() test that tests use of xmlrpc_wrap() and ↵ | Jason Gerard DeRose | 2008-11-20 | 1 | -1/+1 | |
| | | | | 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/+64 | |
| | | | | unit tests | |||||
* | Fixed some unicode encoded/decode issues in textui.prompt_password() and ↵ | Jason Gerard DeRose | 2008-11-19 | 1 | -4/+31 | |
| | | | | textui.prompt() | |||||
* | Added unit test for Param.ispassword() method | Jason Gerard DeRose | 2008-11-18 | 1 | -1/+0 | |
| | ||||||
* | Calling 'passwd' command now prompts for password using textui.prompt_password() | Jason Gerard DeRose | 2008-11-18 | 3 | -20/+40 | |
| |