summaryrefslogtreecommitdiffstats
path: root/ipalib
Commit message (Collapse)AuthorAgeFilesLines
* Some more reorganization in Env and added class docstring to Env with lots ↵Jason Gerard DeRose2008-12-222-18/+106
| | | | of examples
* Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵Jason Gerard DeRose2008-12-223-36/+48
| | | | tests
* The Env.__setitem__() implied conversion is now case sensitive; ↵Jason Gerard DeRose2008-12-222-28/+33
| | | | Env.__setitem__() now also accepts None as a value
* Removed Env.__getattr__(); Env no longer accepts callables for values (no ↵Jason Gerard DeRose2008-12-221-27/+11
| | | | more dynamic/lazy values)
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-223-282/+2
|
* 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-212-3/+7
| | | | conflict with the logger methods; added corresponding unit test
* Improved Plugin.call() method and added its unit testJason Gerard DeRose2008-12-212-6/+21
|
* Merged in Andrew's RA pluginAndrew Wnuk2008-12-211-0/+119
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-12-2010-212/+325
|\ | | | | | | 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
| * 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
| |
| * Add helper for adding Indirect maps.Rob Crittenden2008-12-101-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 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-106-90/+134
| | | | | | | | Fix some errors uncovered by the nosetests
* | Added request.create_translation() function and corresponding unit testsJason Gerard DeRose2008-12-181-6/+15
| |
* | Started work on per-request gettext setupJason Gerard DeRose2008-12-182-2/+52
| |
* | New Param: ported Param.__repr__() and corresponding unit testJason Gerard DeRose2008-12-181-0/+11
| |
* | New Param: added unit tests for TypeError cases in DefaultFrom.__init__()Jason Gerard DeRose2008-12-182-3/+7
| |
* | New Param: added missing unit tests for TypeError and ValueError cases in ↵Jason Gerard DeRose2008-12-182-3/+5
| | | | | | | | 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-181-3/+50
| |
* | New Param: fixed a few things in Param.convert() and added corresponding ↵Jason Gerard DeRose2008-12-181-11/+11
| | | | | | | | 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-171-1/+5
| | | | | | | | added Plugin.summary instance attribute, created in Plugin.__init__()
* | Removed Plugin.doc property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-171-7/+1
| | | | | | | | Plugin.__init__()
* | Removed Plugin.name property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-172-9/+7
| | | | | | | | Plugin.__init__()
* | New Param: split class_rules and *rules into separate attributesJason Gerard DeRose2008-12-171-3/+5
| |
* | Fix show_api commandJakub Hrozek2008-12-172-3/+6
| |
* | Add body for the NameSpaceError exceptionJakub Hrozek2008-12-171-0/+11
| |
* | 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-121-6/+49
| |
* | New Param: cleanup up readability of Param.__init__(); added unit tests for ↵Jason Gerard DeRose2008-12-121-8/+26
| | | | | | | | unknown kwargs
* | New Param: added all logic for minlength, maxlength, and length in Bytes ↵Jason Gerard DeRose2008-12-121-14/+56
| | | | | | | | class (which Str inherits)
* | New Param: changed kwargs class attribute to a tuple so the subclass ↵Jason Gerard DeRose2008-12-111-36/+49
| | | | | | | | interface is simpler
* | Copied DefaultFrom into parameter.py; added docstring to new ↵Jason Gerard DeRose2008-12-111-5/+142
| | | | | | | | Param.normalize() method; more work and unit tests in new Param class
* | Finished kwarg validation and extension mechanism in parameter.ParamJason Gerard DeRose2008-12-112-5/+37
| |
* | Started roughing out the consolidated type/parameter system in ↵Jason Gerard DeRose2008-12-102-1/+193
|/ | | | parameters.py; started corresponding unit tests
* Fixed Warning messages about log dir in unit testJason Gerard DeRose2008-12-081-3/+4
|
* Removed depreciated rpc code from ipalib.util; removed corresponding unit ↵Jason Gerard DeRose2008-12-081-61/+0
| | | | tests in test_util
* Continued work on xmlrpc.dispatch() unit tests; fixed bug in ↵Jason Gerard DeRose2008-11-252-1/+14
| | | | Command.args_to_kw()
* Started fleshing out doodles in xmlrpc.execute()Jason Gerard DeRose2008-11-251-1/+14
|
* Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc ↵Jason Gerard DeRose2008-11-241-0/+24
| | | | plugin
* Started moving xmlrpc-functions from ipalib.util to ipalib.rpcJason Gerard DeRose2008-11-242-2/+87
|