Jason Gerard DeRose
|
4215da30ad
|
334: Renamed Command.__multivalue() helper method to Command.dispatch()
|
2008-09-24 06:36:48 +00:00 |
|
Jason Gerard DeRose
|
1125d420bd
|
333: Param.convert() now uses name Param.__multivalue() helper method as Param.normalize()
|
2008-09-24 06:35:19 +00:00 |
|
Jason Gerard DeRose
|
6bedb15674
|
332: Param.normalize() now returns None if multivalue and len() == 0
|
2008-09-24 06:25:12 +00:00 |
|
Jason Gerard DeRose
|
d56f4c643b
|
331: Param.normalize() no longer raises a TypeError when value in not a basestring
|
2008-09-24 06:11:46 +00:00 |
|
Jason Gerard DeRose
|
95abdcd714
|
330: Command.normalize() now normalizes all keys, not just keys in params
|
2008-09-24 05:49:30 +00:00 |
|
Jason Gerard DeRose
|
15b83ab1bf
|
329: Command.convert() now converts all keys, not just keys in params
|
2008-09-24 05:46:49 +00:00 |
|
Jason Gerard DeRose
|
126b31de55
|
328: Command.get_default() now returns defaults for all values not present, not just defaults that aren't None
|
2008-09-24 05:42:31 +00:00 |
|
Jason Gerard DeRose
|
eaf15d5a52
|
327: Improved formatting on show-api cli command
|
2008-09-24 05:35:40 +00:00 |
|
Jason Gerard DeRose
|
f3ac709922
|
326: Made output of plugins cli command nicer
|
2008-09-24 05:03:10 +00:00 |
|
Jason Gerard DeRose
|
3e70c3b56b
|
325: API.finalize() now creates instance attribtue 'plugins', which is a tuple of PluginInfo objects; renamed show_plugins cli command to namespaces; added new cli command plugins
|
2008-09-24 04:44:52 +00:00 |
|
Jason Gerard DeRose
|
3bf2da5714
|
324: Removed 'smart_option_order' from Command.__public__; cli commands help, console, and show_plugins now override Command.run() instead of Command.__call__()
|
2008-09-24 03:10:35 +00:00 |
|
Jason Gerard DeRose
|
19bbc48eb6
|
323: Added Command.run() method that dispatches to execute() or forward(); added corresponding unit tests
|
2008-09-24 02:52:19 +00:00 |
|
Jason Gerard DeRose
|
4dbbf5656d
|
322: Updated ipalib package docstring, replacing cross reference to 'public' with 'frontend'
|
2008-09-24 01:43:51 +00:00 |
|
Jason Gerard DeRose
|
c38b90d5d4
|
321: Standard ipalib.api attribute now accepts plugins from the Backend base class
|
2008-09-24 01:36:54 +00:00 |
|
Jason Gerard DeRose
|
f3aaf65f1c
|
320: plugable.API now respects the Plugin.__proxy__ flag; added test for plugins without proxy to unit tests for API
|
2008-09-24 00:44:41 +00:00 |
|
Jason Gerard DeRose
|
81de10f176
|
319: Added new backend and tests.test_backend modules; added place-holder Backend class and corresponding unit tests
|
2008-09-24 00:12:35 +00:00 |
|
Jason Gerard DeRose
|
4e8ff5c656
|
318: Renamed all references to 'public' module to 'frontend'
|
2008-09-24 00:01:29 +00:00 |
|
Jason Gerard DeRose
|
2842e85d88
|
317: Renamed public.py to frontend.py; renamed test_public.py to test_frontend.py
|
2008-09-23 23:51:03 +00:00 |
|
Jason Gerard DeRose
|
cd1e23d749
|
316: Added ipa_server/ package skeleton
|
2008-09-22 16:22:26 +00:00 |
|
Jason Gerard DeRose
|
024022c2f9
|
315: Renamed Property.option instance attribute to Property.param
|
2008-09-22 15:33:32 +00:00 |
|
Jason Gerard DeRose
|
b206ef6843
|
314: Completed some missing features in Command.__call__(); removed depreciated Command.print_call() method
|
2008-09-22 01:28:57 +00:00 |
|
Jason Gerard DeRose
|
49c1c29df1
|
313: Added Object.params instance attribute
|
2008-09-22 00:37:01 +00:00 |
|
Jason Gerard DeRose
|
cbcadb89e4
|
312: Cleaned up docstring for create_param(); Command.finalize() now uses create_param() when creating args and options namespaces
|
2008-09-21 22:43:50 +00:00 |
|
Jason Gerard DeRose
|
952b45f138
|
311: Renamed generate_option() to create_param()
|
2008-09-21 22:18:33 +00:00 |
|
Jason Gerard DeRose
|
14e932a8cd
|
310: generate_option() function now can accept a Param object, which it returns without modification
|
2008-09-21 22:11:14 +00:00 |
|
Jason Gerard DeRose
|
2a708cfebe
|
309: Renamed public.Option to public.Param
|
2008-09-21 22:02:33 +00:00 |
|
Jason Gerard DeRose
|
47e4606a98
|
308: Fixed broken example plugin user_add
|
2008-09-21 21:55:21 +00:00 |
|
Jason Gerard DeRose
|
f73d976bda
|
307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) Plugin.finalize(); updated unit tests
|
2008-09-21 21:50:56 +00:00 |
|
Jason Gerard DeRose
|
5872221bd4
|
306: Added Plugin.set_api() method; added corresponding unit tests
|
2008-09-21 21:30:19 +00:00 |
|
Jason Gerard DeRose
|
2d83614006
|
305: Ported cli.py to changes in public.py
|
2008-09-21 19:00:41 +00:00 |
|
Jason Gerard DeRose
|
4a96ec2dc7
|
304: args, options, & params namespaces are now created in Command.finalize() instead of Command.__init__(); updated corresponding unit tests
|
2008-09-21 18:50:00 +00:00 |
|
Jason Gerard DeRose
|
f8953720c4
|
303: Removed Command.smart_option_order() method and moved its logic into Method.get_options()
|
2008-09-21 16:59:12 +00:00 |
|
Jason Gerard DeRose
|
1ec4f379f5
|
302: Removed depreciated Command.group_args() method
|
2008-09-19 00:00:54 +00:00 |
|
Jason Gerard DeRose
|
f29c827d06
|
301: Command.args_to_kw() now raises ArgumentError if more args than max_args are given
|
2008-09-18 23:53:23 +00:00 |
|
Jason Gerard DeRose
|
e0b900894f
|
300: Added Command.max_args instance attribute; added corresponding unit tests
|
2008-09-18 23:15:34 +00:00 |
|
Jason Gerard DeRose
|
ef0d7a71ab
|
299: Cleaned up unit tests for ReadOnly class
|
2008-09-18 22:39:48 +00:00 |
|
Jason Gerard DeRose
|
81ebe078be
|
298: Cleaned up docstrings in ReadOnly methods
|
2008-09-18 22:01:04 +00:00 |
|
Jason Gerard DeRose
|
e524c826db
|
297: Added a better example in docstring for ReadOnly
|
2008-09-18 21:45:25 +00:00 |
|
Jason Gerard DeRose
|
14eb96493b
|
296: Added more to docstrings for NameSpace.__iter_() and NameSpace.__call__()
|
2008-09-18 21:23:05 +00:00 |
|
Jason Gerard DeRose
|
5ab45385db
|
295: Updated NameSpace unit tests to test NameSpace.__getitem__() with int and slice
|
2008-09-18 20:48:55 +00:00 |
|
Jason Gerard DeRose
|
84a721d408
|
294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() now works with int and slice objects
|
2008-09-18 20:35:23 +00:00 |
|
Jason Gerard DeRose
|
f78f3ed0dd
|
293: Added Command.kw_to_args() method; added corresponding unit tests
|
2008-09-18 19:39:23 +00:00 |
|
Jason Gerard DeRose
|
4482c71aeb
|
292: Added experimental Command.args_to_kw() method
|
2008-09-14 23:17:36 +00:00 |
|
Jason Gerard DeRose
|
5a1abcdf4f
|
291: Temporarily reverted Rob's changes in public.py and plugins/examples.py
|
2008-09-13 00:22:01 +00:00 |
|
Jason Gerard DeRose
|
0e60036bb4
|
290: Applyied Rob's patch
|
2008-09-12 16:36:04 +00:00 |
|
Jason Gerard DeRose
|
c1ef2d05e8
|
289: Command.convert(), normalize(), and validate() now use self.params instead of self.options
|
2008-09-11 00:04:49 +00:00 |
|
Jason Gerard DeRose
|
23e251a605
|
288: CLI now uses Command.group_args() to check for required arguments
|
2008-09-10 23:33:36 +00:00 |
|
Jason Gerard DeRose
|
c17c5efb4e
|
287: Renamed Command.args_to_kw() to Command.group_args(), which now returns a tuple instead of dict; updated unit tests
|
2008-09-10 23:18:29 +00:00 |
|
Jason Gerard DeRose
|
7c40226500
|
286: Finished Command.args_to_kw(); finished unit tests for args_to_kw()
|
2008-09-10 21:34:29 +00:00 |
|
Jason Gerard DeRose
|
100492d98a
|
285: Started work on Command.args_to_kw() method; added unit test for functionality so far in args_to_kw()
|
2008-09-10 20:05:45 +00:00 |
|