Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decided against indenting the example code in the base.ReadOnly docstring | Jason Gerard DeRose | 2008-12-30 | 1 | -39/+40 |
| | |||||
* | Started moving some core classes and functions from plugable.py to new ↵ | Jason Gerard DeRose | 2008-12-30 | 3 | -29/+234 |
| | | | | base.py module | ||||
* | Renamed Env._merge_config() to Env._merge_from_file() | Jason Gerard DeRose | 2008-12-29 | 1 | -3/+3 |
| | |||||
* | Yet more small docstring cleanup in Env | Jason Gerard DeRose | 2008-12-23 | 1 | -4/+5 |
| | |||||
* | More docstring cleanup in Env and its methods | Jason Gerard DeRose | 2008-12-23 | 1 | -9/+20 |
| | |||||
* | Finished Env class docstring; more organizational cleanup in Env and its ↵ | Jason Gerard DeRose | 2008-12-23 | 1 | -60/+99 |
| | | | | unit tests | ||||
* | Moved setting of run-time variables from Env.__init__() to Env._bootstrap() | Jason Gerard DeRose | 2008-12-22 | 2 | -40/+45 |
| | |||||
* | Some more reorganization in Env and added class docstring to Env with lots ↵ | Jason Gerard DeRose | 2008-12-22 | 2 | -18/+106 |
| | | | | of examples | ||||
* | Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵ | Jason Gerard DeRose | 2008-12-22 | 3 | -36/+48 |
| | | | | tests | ||||
* | The Env.__setitem__() implied conversion is now case sensitive; ↵ | Jason Gerard DeRose | 2008-12-22 | 2 | -28/+33 |
| | | | | 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 | -27/+11 |
| | | | | more dynamic/lazy values) | ||||
* | Removed depreciated code from config.py; removed corresponding unit tests | Jason Gerard DeRose | 2008-12-22 | 3 | -282/+2 |
| | |||||
* | Added note in Plugin.set_api() about Plugin.log attribute being depreciated | Jason Gerard DeRose | 2008-12-21 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |