Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 363: Added Object.params_minus_pk instance attribute | Jason Gerard DeRose | 2008-09-25 | 2 | -0/+10 |
| | |||||
* | 362: Implemented Get.get_args() and Del.get_args(); added corresponding unit ↵ | Jason Gerard DeRose | 2008-09-25 | 2 | -5/+30 |
| | | | | tests | ||||
* | 361: Implemented crud.Add.get_options() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-25 | 4 | -5/+37 |
| | |||||
* | 360: Removed Method.get_options() default implementation; cleaned up unit ↵ | Jason Gerard DeRose | 2008-09-25 | 2 | -31/+12 |
| | | | | tests for Method | ||||
* | 359: Added Object.primary_key instance attribute; added corresponding unit tests | Jason Gerard DeRose | 2008-09-25 | 2 | -0/+63 |
| | |||||
* | 358: Cleaned up private methods in Object | Jason Gerard DeRose | 2008-09-25 | 1 | -8/+9 |
| | |||||
* | 357: Some experimenting with the example plugins | Jason Gerard DeRose | 2008-09-25 | 1 | -10/+20 |
| | |||||
* | 356: Modified Method.get_options() to now pull from self.obj.params(); ↵ | Jason Gerard DeRose | 2008-09-25 | 3 | -55/+47 |
| | | | | updated unit tests for Method.get_options() | ||||
* | 355: Object.set_api() now creates Object.params namespace by merging ↵ | Jason Gerard DeRose | 2008-09-25 | 2 | -10/+19 |
| | | | | takes_params and properties together intelegintly | ||||
* | 354: Added NameSpace.__todict__() method that returns copy of ↵ | Jason Gerard DeRose | 2008-09-24 | 3 | -8/+20 |
| | | | | NameSpace.__map; updated NameSpace unit test to also test __todict__() | ||||
* | 353: The Object.parms instance attribute is now created in Object.set_api() ↵ | Jason Gerard DeRose | 2008-09-24 | 2 | -14/+17 |
| | | | | instead of in Object.__init__() | ||||
* | 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 | -1037/+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 |
| | |||||
* | 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 | ||||
* | 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 |