Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 352: Now removed Object.Property property and added in its place ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -16/+13 |
| | | | | Object.properties instance attribute | ||||
* | 351: Removed Object.Method property and added in its place Object.methods ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -11/+7 |
| | | | | instance attribute | ||||
* | 350: If Param default_from kwarg is callable but not a DefaltFrom instances, ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -4/+12 |
| | | | | the instance is created implicity | ||||
* | 349: Improved clarity of local variables in Param.__init__() | Jason Gerard DeRose | 2008-09-24 | 1 | -10/+10 |
| | |||||
* | 348: If no keys are passed to DefaultFrom.__init__(), the keys from ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -8/+19 |
| | | | | callback.func_code.co_varnames are used; updated DefaultFrom unit tests to test this usage | ||||
* | 347: Added primary_key instance attribute to Param and corresponding kwarg; ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -4/+24 |
| | | | | expanded unit tests for Param.__init__() | ||||
* | 346: Added skeleton framework for crud.py module and corresponding ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -0/+124 |
| | | | | test_crud.py module | ||||
* | 345: Moved server code from Rob into ipa_server/ package | Jason Gerard DeRose | 2008-09-24 | 4 | -0/+0 |
| | |||||
* | 344: Added Param.__clone__() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-24 | 2 | -3/+44 |
| | |||||
* | 343: create_param() function no longer parses the param spec itself but ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -22/+4 |
| | | | | relies on Param.__init__() to do it | ||||
* | 342: Added unit test that TypeError is raised when Param() is created with ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -1/+6 |
| | | | | extra kw args | ||||
* | 341: Param now only takes type_=ipa_types.Unicode() as an optional ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -17/+48 |
| | | | | positional arg, and the rest as pure kwargs | ||||
* | 340: Changed default for Param.required to True | Jason Gerard DeRose | 2008-09-24 | 2 | -2/+12 |
| | |||||
* | 339: Added parse_param_spec() function and corresponding unit tests | Jason Gerard DeRose | 2008-09-24 | 2 | -0/+44 |
| | |||||
* | 338: Removed depreciated code from ipa (CLI) script | Jason Gerard DeRose | 2008-09-24 | 1 | -148/+2 |
| | |||||
* | 337: Some cleanup in Params; added docstrings for most all Param methods | Jason Gerard DeRose | 2008-09-24 | 1 | -12/+55 |
| | |||||
* | 336: Param.__dispatch() now returns None for any in (None, '', u'', tuple(), ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -10/+20 |
| | | | | []) regardless whether Param is multivalue | ||||
* | 335: If Command.__convert_scalar() is called with None, it now returns None ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -9/+11 |
| | | | | instead of raising TypeError | ||||
* | 334: Renamed Command.__multivalue() helper method to Command.dispatch() | Jason Gerard DeRose | 2008-09-24 | 1 | -3/+3 |
| | |||||
* | 333: Param.convert() now uses name Param.__multivalue() helper method as ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -12/+9 |
| | | | | Param.normalize() | ||||
* | 332: Param.normalize() now returns None if multivalue and len() == 0 | Jason Gerard DeRose | 2008-09-24 | 2 | -10/+17 |
| | |||||
* | 331: Param.normalize() no longer raises a TypeError when value in not a ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -18/+35 |
| | | | | basestring | ||||
* | 330: Command.normalize() now normalizes all keys, not just keys in params | Jason Gerard DeRose | 2008-09-24 | 2 | -9/+3 |
| | |||||
* | 329: Command.convert() now converts all keys, not just keys in params | Jason Gerard DeRose | 2008-09-24 | 2 | -10/+3 |
| | |||||
* | 328: Command.get_default() now returns defaults for all values not present, ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -4/+2 |
| | | | | not just defaults that aren't None | ||||
* | 327: Improved formatting on show-api cli command | Jason Gerard DeRose | 2008-09-24 | 2 | -10/+32 |
| | |||||
* | 326: Made output of plugins cli command nicer | Jason Gerard DeRose | 2008-09-24 | 1 | -5/+27 |
| | |||||
* | 325: API.finalize() now creates instance attribtue 'plugins', which is a ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -18/+79 |
| | | | | tuple of PluginInfo objects; renamed show_plugins cli command to namespaces; added new cli command plugins | ||||
* | 324: Removed 'smart_option_order' from Command.__public__; cli commands ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -4/+4 |
| | | | | help, console, and show_plugins now override Command.run() instead of Command.__call__() | ||||
* | 323: Added Command.run() method that dispatches to execute() or forward(); ↵ | Jason Gerard DeRose | 2008-09-24 | 3 | -3/+52 |
| | | | | added corresponding unit tests | ||||
* | 322: Updated ipalib package docstring, replacing cross reference to 'public' ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -2/+4 |
| | | | | with 'frontend' | ||||
* | 321: Standard ipalib.api attribute now accepts plugins from the Backend base ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -0/+2 |
| | | | | class | ||||
* | 320: plugable.API now respects the Plugin.__proxy__ flag; added test for ↵ | Jason Gerard DeRose | 2008-09-24 | 4 | -2/+30 |
| | | | | plugins without proxy to unit tests for API | ||||
* | 319: Added new backend and tests.test_backend modules; added place-holder ↵ | Jason Gerard DeRose | 2008-09-24 | 4 | -3/+65 |
| | | | | Backend class and corresponding unit tests | ||||
* | 318: Renamed all references to 'public' module to 'frontend' | Jason Gerard DeRose | 2008-09-24 | 5 | -112/+111 |
| | |||||
* | 317: Renamed public.py to frontend.py; renamed test_public.py to ↵ | Jason Gerard DeRose | 2008-09-23 | 2 | -0/+0 |
| | | | | test_frontend.py | ||||
* | 316: Added ipa_server/ package skeleton | Jason Gerard DeRose | 2008-09-22 | 2 | -0/+44 |
| | |||||
* | 315: Renamed Property.option instance attribute to Property.param | Jason Gerard DeRose | 2008-09-22 | 2 | -10/+9 |
| | |||||
* | 314: Completed some missing features in Command.__call__(); removed ↵ | Jason Gerard DeRose | 2008-09-22 | 2 | -13/+8 |
| | | | | depreciated Command.print_call() method | ||||
* | 313: Added Object.params instance attribute | Jason Gerard DeRose | 2008-09-22 | 2 | -1/+29 |
| | |||||
* | 312: Cleaned up docstring for create_param(); Command.finalize() now uses ↵ | Jason Gerard DeRose | 2008-09-21 | 2 | -31/+35 |
| | | | | create_param() when creating args and options namespaces | ||||
* | 311: Renamed generate_option() to create_param() | Jason Gerard DeRose | 2008-09-21 | 2 | -7/+12 |
| | |||||
* | 310: generate_option() function now can accept a Param object, which it ↵ | Jason Gerard DeRose | 2008-09-21 | 2 | -0/+3 |
| | | | | returns without modification | ||||
* | 309: Renamed public.Option to public.Param | Jason Gerard DeRose | 2008-09-21 | 2 | -28/+28 |
| | |||||
* | 308: Fixed broken example plugin user_add | Jason Gerard DeRose | 2008-09-21 | 1 | -9/+0 |
| | |||||
* | 307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) ↵ | Jason Gerard DeRose | 2008-09-21 | 4 | -49/+29 |
| | | | | Plugin.finalize(); updated unit tests | ||||
* | 306: Added Plugin.set_api() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-21 | 2 | -0/+22 |
| | |||||
* | 305: Ported cli.py to changes in public.py | Jason Gerard DeRose | 2008-09-21 | 2 | -17/+29 |
| | |||||
* | 304: args, options, & params namespaces are now created in ↵ | Jason Gerard DeRose | 2008-09-21 | 2 | -8/+22 |
| | | | | Command.finalize() instead of Command.__init__(); updated corresponding unit tests | ||||
* | 303: Removed Command.smart_option_order() method and moved its logic into ↵ | Jason Gerard DeRose | 2008-09-21 | 1 | -15/+14 |
| | | | | Method.get_options() |