Jason Gerard DeRose
|
c070d390e9
|
Removed Env.__getattr__(); Env no longer accepts callables for values (no more dynamic/lazy values)
|
2008-12-22 15:51:54 -07:00 |
|
Jason Gerard DeRose
|
5b637f6a18
|
Removed depreciated code from config.py; removed corresponding unit tests
|
2008-12-22 15:41:24 -07:00 |
|
Jason Gerard DeRose
|
f82c48f775
|
Added note in Plugin.set_api() about Plugin.log attribute being depreciated
|
2008-12-21 19:58:48 -07:00 |
|
Jason Gerard DeRose
|
9d091c98f1
|
Plugin.__init__() now checks that subclass hasn't defined attributes that conflict with the logger methods; added corresponding unit test
|
2008-12-21 19:34:32 -07:00 |
|
Jason Gerard DeRose
|
4390523b7f
|
Improved Plugin.call() method and added its unit test
|
2008-12-21 17:12:00 -07:00 |
|
Andrew Wnuk
|
b3f95b1741
|
Merged in Andrew's RA plugin
|
2008-12-21 14:15:53 -07:00 |
|
Jason Gerard DeRose
|
6fdf5d1e7b
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-12-20 15:00:00 -07:00 |
|
Jason Gerard DeRose
|
9a69adeef0
|
Added request.create_translation() function and corresponding unit tests
|
2008-12-18 16:58:48 -07:00 |
|
Jason Gerard DeRose
|
dc54dee622
|
Started work on per-request gettext setup
|
2008-12-18 14:01:59 -07:00 |
|
Jason Gerard DeRose
|
46e37ab144
|
New Param: ported Param.__repr__() and corresponding unit test
|
2008-12-18 11:21:12 -07:00 |
|
Jason Gerard DeRose
|
4d1681176a
|
New Param: added unit tests for TypeError cases in DefaultFrom.__init__()
|
2008-12-18 02:08:41 -07:00 |
|
Jason Gerard DeRose
|
cb2f294cfe
|
New Param: added missing unit tests for TypeError and ValueError cases in parse_param_spec()
|
2008-12-18 01:57:39 -07:00 |
|
Jason Gerard DeRose
|
99363131df
|
New Param: swapped location of DefaultFrom class and parse_param_spec() function
|
2008-12-18 01:45:13 -07:00 |
|
Jason Gerard DeRose
|
a632c2935a
|
New Param: removed unneeded conversion to tuple() in Param.convert()
|
2008-12-18 01:27:03 -07:00 |
|
Jason Gerard DeRose
|
ac335bc7ea
|
New Param: fixed small bug in Param.convert() and added detailed docstring
|
2008-12-18 01:18:17 -07:00 |
|
Jason Gerard DeRose
|
bf8154fa50
|
New Param: fixed a few things in Param.convert() and added corresponding unit tests
|
2008-12-18 00:02:38 -07:00 |
|
Jason Gerard DeRose
|
8ef6819059
|
New Param: renamed Param.__normalize_scalar() to Param._normalize_scalar() as it might make sense for subclasses to override
|
2008-12-17 23:32:58 -07:00 |
|
Jason Gerard DeRose
|
b26894c166
|
New Param: changed naming convention for class rules to '_rule_%s' as these methods aren't part of the public interface
|
2008-12-17 23:30:29 -07:00 |
|
Jason Gerard DeRose
|
285fa3d330
|
Removed depreciated envtest command from f_user.py
|
2008-12-17 23:18:14 -07:00 |
|
Jason Gerard DeRose
|
4f24f0fd88
|
Plugin.doc instance attribute is now parsed out using inspect.getdoc(); added Plugin.summary instance attribute, created in Plugin.__init__()
|
2008-12-17 23:08:52 -07:00 |
|
Jason Gerard DeRose
|
171ed58367
|
Removed Plugin.doc property and replaced with instance attribute created in Plugin.__init__()
|
2008-12-17 21:57:58 -07:00 |
|
Jason Gerard DeRose
|
69041c3b1b
|
Removed Plugin.name property and replaced with instance attribute created in Plugin.__init__()
|
2008-12-17 21:47:43 -07:00 |
|
Jason Gerard DeRose
|
ba481e7712
|
New Param: split class_rules and *rules into separate attributes
|
2008-12-17 18:32:46 -07:00 |
|
Jakub Hrozek
|
360f95341a
|
Fix show_api command
|
2008-12-17 17:21:25 -07:00 |
|
Jakub Hrozek
|
f0bbe1b5a0
|
Add body for the NameSpaceError exception
|
2008-12-17 17:17:02 -07:00 |
|
Jakub Hrozek
|
67b688c7b2
|
Jakub Hrozek's patch to make textui.get_tty_width() actually work
|
2008-12-16 19:00:39 -07:00 |
|
Jason Gerard DeRose
|
e05fd7ab03
|
New Param: added basic rule logic
|
2008-12-12 04:48:25 -07:00 |
|
Jason Gerard DeRose
|
66faffdfb0
|
New Param: cleanup up readability of Param.__init__(); added unit tests for unknown kwargs
|
2008-12-12 03:38:02 -07:00 |
|
Jason Gerard DeRose
|
5272949bfd
|
New Param: added all logic for minlength, maxlength, and length in Bytes class (which Str inherits)
|
2008-12-12 03:13:58 -07:00 |
|
Jason Gerard DeRose
|
079721da2c
|
New Param: changed kwargs class attribute to a tuple so the subclass interface is simpler
|
2008-12-11 22:39:50 -07:00 |
|
Jason Gerard DeRose
|
64ae4bc986
|
Copied DefaultFrom into parameter.py; added docstring to new Param.normalize() method; more work and unit tests in new Param class
|
2008-12-11 20:30:59 -07:00 |
|
Jason Gerard DeRose
|
5c47b56d14
|
Finished kwarg validation and extension mechanism in parameter.Param
|
2008-12-11 18:07:54 -07:00 |
|
Rob Crittenden
|
c025ed6404
|
Remove some debugging statements
|
2008-12-11 16:06:26 -05:00 |
|
Rob Crittenden
|
e41fcf19fe
|
Raise an error on bad principals instead of printing one when changing passwords
Fix logic in determining what to do with an incoming principal
|
2008-12-11 10:31:27 -05:00 |
|
Jason Gerard DeRose
|
22209a0f03
|
Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests
|
2008-12-10 21:14:05 -07:00 |
|
Rob Crittenden
|
46bd3974af
|
Don't pass along the kw dictionary we were passed by XML-RPC.
We generally want to just search indexed attributes. We get this list
of attributes from the configuration, use it.
|
2008-12-10 16:45:07 -05:00 |
|
Rob Crittenden
|
af7b5645af
|
Convert to new output_for_cli() function
|
2008-12-10 16:42:45 -05:00 |
|
Rob Crittenden
|
c34d2b8923
|
Add helper for adding Indirect maps.
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.
|
2008-12-10 14:15:20 -05:00 |
|
Rob Crittenden
|
3583735c60
|
Set defaults even for optional arguments.
|
2008-12-10 14:15:20 -05:00 |
|
Rob Crittenden
|
039ee0fd56
|
Add a function to show all the maps under a given mapname, def. is auto.master
|
2008-12-10 14:15:20 -05:00 |
|
Rob Crittenden
|
fc8ac69372
|
Port plugins to use the new output_for_cli() argument list
Fix some errors uncovered by the nosetests
|
2008-12-10 14:15:19 -05:00 |
|
Jason Gerard DeRose
|
7e21ea5ad8
|
Fixed Warning messages about log dir in unit test
|
2008-12-08 16:56:24 -07:00 |
|
Jason Gerard DeRose
|
4591057203
|
Removed depreciated rpc code from ipalib.util; removed corresponding unit tests in test_util
|
2008-12-08 15:15:50 -07:00 |
|
Jason Gerard DeRose
|
29d680b211
|
Continued work on xmlrpc.dispatch() unit tests; fixed bug in Command.args_to_kw()
|
2008-11-25 13:52:40 -07:00 |
|
Jason Gerard DeRose
|
7350ccbffe
|
Started fleshing out doodles in xmlrpc.execute()
|
2008-11-25 11:54:51 -07:00 |
|
Jason Gerard DeRose
|
2d458a1233
|
Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc plugin
|
2008-11-24 21:34:01 -07:00 |
|
Jason Gerard DeRose
|
237c16f0fd
|
Started moving xmlrpc-functions from ipalib.util to ipalib.rpc
|
2008-11-24 12:51:03 -07:00 |
|
Jason Gerard DeRose
|
2db738e899
|
Some changes to make reading dubugging output easier
|
2008-11-24 10:09:30 -07:00 |
|
Jason Gerard DeRose
|
75bdea29be
|
Added test_util.test_round_trip() test that tests use of xmlrpc_wrap() and xmlrpc_unwrap() with dumps(), loads(); fixed a bug in xmlrpc_unwrap()
|
2008-11-20 12:41:06 -07:00 |
|
Jason Gerard DeRose
|
cfe4ec2175
|
Added util.xmlrpc_wrap(), util.xmlrpc_unwrap() functions an corresponding unit tests
|
2008-11-19 16:11:23 -07:00 |
|