summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Started moving some core classes and functions from plugable.py to new ↵Jason Gerard DeRose2008-12-305-30/+370
| | | | base.py module
* Renamed Env._merge_config() to Env._merge_from_file()Jason Gerard DeRose2008-12-292-10/+10
|
* Yet more small docstring cleanup in EnvJason Gerard DeRose2008-12-231-4/+5
|
* More docstring cleanup in Env and its methodsJason Gerard DeRose2008-12-231-9/+20
|
* Finished Env class docstring; more organizational cleanup in Env and its ↵Jason Gerard DeRose2008-12-232-110/+171
| | | | unit tests
* Moved setting of run-time variables from Env.__init__() to Env._bootstrap()Jason Gerard DeRose2008-12-225-55/+57
|
* Some more reorganization in Env and added class docstring to Env with lots ↵Jason Gerard DeRose2008-12-223-51/+137
| | | | of examples
* Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵Jason Gerard DeRose2008-12-225-76/+120
| | | | tests
* The Env.__setitem__() implied conversion is now case sensitive; ↵Jason Gerard DeRose2008-12-223-36/+41
| | | | Env.__setitem__() now also accepts None as a value
* Removed Env.__getattr__(); Env no longer accepts callables for values (no ↵Jason Gerard DeRose2008-12-222-40/+17
| | | | more dynamic/lazy values)
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-224-443/+3
|
* Merged in Andrew's updated RA backend pluginAndrew Wnuk2008-12-221-4/+7
|
* Added note in Plugin.set_api() about Plugin.log attribute being depreciatedJason Gerard DeRose2008-12-211-0/+1
|
* Plugin.__init__() now checks that subclass hasn't defined attributes that ↵Jason Gerard DeRose2008-12-213-3/+15
| | | | conflict with the logger methods; added corresponding unit test
* Improved Plugin.call() method and added its unit testJason Gerard DeRose2008-12-213-6/+33
|
* Added some more notes in TODOJason Gerard DeRose2008-12-211-0/+10
|
* Merged in Andrew's RA pluginAndrew Wnuk2008-12-212-0/+522
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-12-2013-217/+400
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Remove some debugging statementsRob Crittenden2008-12-111-2/+0
| |
| * Raise an error on bad principals instead of printing one when changing passwordsRob Crittenden2008-12-112-7/+11
| | | | | | | | Fix logic in determining what to do with an incoming principal
| * Actually replace trailing ) characters with ''Rob Crittenden2008-12-111-1/+1
| |
| * Don't pass along the kw dictionary we were passed by XML-RPC.Rob Crittenden2008-12-105-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() functionRob Crittenden2008-12-104-91/+64
| |
| * The Python re module doesn't count parens so remove any trailing ) from notfoundRob Crittenden2008-12-101-0/+3
| |
| * Add helper for adding Indirect maps.Rob Crittenden2008-12-102-4/+112
| | | | | | | | | | 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 Crittenden2008-12-101-0/+8
| |
| * Add a function to show all the maps under a given mapname, def. is auto.masterRob Crittenden2008-12-101-0/+32
| |
| * Port plugins to use the new output_for_cli() argument listRob Crittenden2008-12-108-95/+147
| | | | | | | | Fix some errors uncovered by the nosetests
* | Added request.create_translation() function and corresponding unit testsJason Gerard DeRose2008-12-182-7/+59
| |
* | Started work on per-request gettext setupJason Gerard DeRose2008-12-184-2/+111
| |
* | New Param: ported Param.__repr__() and corresponding unit testJason Gerard DeRose2008-12-182-0/+23
| |
* | New Param: added unit tests for TypeError cases in DefaultFrom.__init__()Jason Gerard DeRose2008-12-183-3/+15
| |
* | New Param: added missing unit tests for TypeError and ValueError cases in ↵Jason Gerard DeRose2008-12-183-3/+14
| | | | | | | | parse_param_spec()
* | New Param: swapped location of DefaultFrom class and parse_param_spec() functionJason Gerard DeRose2008-12-181-47/+47
| |
* | New Param: removed unneeded conversion to tuple() in Param.convert()Jason Gerard DeRose2008-12-181-1/+1
| |
* | New Param: fixed small bug in Param.convert() and added detailed docstringJason Gerard DeRose2008-12-182-4/+51
| |
* | New Param: fixed a few things in Param.convert() and added corresponding ↵Jason Gerard DeRose2008-12-182-12/+41
| | | | | | | | unit tests
* | New Param: renamed Param.__normalize_scalar() to Param._normalize_scalar() ↵Jason Gerard DeRose2008-12-171-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 DeRose2008-12-171-4/+4
| | | | | | | | methods aren't part of the public interface
* | Removed depreciated envtest command from f_user.pyJason Gerard DeRose2008-12-171-18/+0
| |
* | Plugin.doc instance attribute is now parsed out using inspect.getdoc(); ↵Jason Gerard DeRose2008-12-172-3/+16
| | | | | | | | added Plugin.summary instance attribute, created in Plugin.__init__()
* | Removed Plugin.doc property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-172-17/+10
| | | | | | | | Plugin.__init__()
* | Removed Plugin.name property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-174-15/+20
| | | | | | | | Plugin.__init__()
* | New Param: split class_rules and *rules into separate attributesJason Gerard DeRose2008-12-172-5/+17
| |
* | A few more notes in TODO, including about making Enum's self-documentingJason Gerard DeRose2008-12-171-4/+10
| |
* | Fix show_api commandJakub Hrozek2008-12-172-3/+6
| |
* | Add body for the NameSpaceError exceptionJakub Hrozek2008-12-171-0/+11
| |
* | Added some notes in TODO about requirements for Andrew's post-process stuff ↵Jason Gerard DeRose2008-12-171-0/+8
| | | | | | | | needed for CA plugin
* | Jakub Hrozek's patch to make textui.get_tty_width() actually workJakub Hrozek2008-12-161-1/+11
| |
* | New Param: added basic rule logicJason Gerard DeRose2008-12-122-8/+57
| |