Jason Gerard DeRose
|
aa45ec616a
|
369: Added Object.backend attribute used to associated it with a particular backend component
|
2008-09-26 02:43:11 +00:00 |
|
Jason Gerard DeRose
|
433d2e2e11
|
368: Added place holder ipa_server/plugins subpackage
|
2008-09-26 00:20:56 +00:00 |
|
Jason Gerard DeRose
|
0c3ebe0bef
|
367: Implementing basics of loading plugins out of tree
|
2008-09-25 23:21:41 +00:00 |
|
Jason Gerard DeRose
|
ac88500382
|
366: Ported user_* example Commands to crud base classes; added user_show example command
|
2008-09-25 03:58:42 +00:00 |
|
Jason Gerard DeRose
|
55ba8e9d0b
|
365: Implemented find.get_args(), find.get_options(); added corresponding unit tests
|
2008-09-25 03:47:22 +00:00 |
|
Jason Gerard DeRose
|
ddbe3ae934
|
364: Implemented Mod.get_args, Mod.get_options(); added corresponding unit tests
|
2008-09-25 03:42:38 +00:00 |
|
Jason Gerard DeRose
|
152f3089e1
|
363: Added Object.params_minus_pk instance attribute
|
2008-09-25 03:27:40 +00:00 |
|
Jason Gerard DeRose
|
c303a06a94
|
362: Implemented Get.get_args() and Del.get_args(); added corresponding unit tests
|
2008-09-25 03:14:12 +00:00 |
|
Jason Gerard DeRose
|
023f612921
|
361: Implemented crud.Add.get_options() method; added corresponding unit tests
|
2008-09-25 02:13:16 +00:00 |
|
Jason Gerard DeRose
|
9f704e001d
|
360: Removed Method.get_options() default implementation; cleaned up unit tests for Method
|
2008-09-25 01:52:34 +00:00 |
|
Jason Gerard DeRose
|
54c97b4948
|
359: Added Object.primary_key instance attribute; added corresponding unit tests
|
2008-09-25 01:44:53 +00:00 |
|
Jason Gerard DeRose
|
4267422793
|
358: Cleaned up private methods in Object
|
2008-09-25 01:04:10 +00:00 |
|
Jason Gerard DeRose
|
e84dd7a69d
|
357: Some experimenting with the example plugins
|
2008-09-25 00:58:16 +00:00 |
|
Jason Gerard DeRose
|
4747563a80
|
356: Modified Method.get_options() to now pull from self.obj.params(); updated unit tests for Method.get_options()
|
2008-09-25 00:42:38 +00:00 |
|
Jason Gerard DeRose
|
79b33ad366
|
355: Object.set_api() now creates Object.params namespace by merging takes_params and properties together intelegintly
|
2008-09-25 00:00:58 +00:00 |
|
Jason Gerard DeRose
|
f531f7da81
|
354: Added NameSpace.__todict__() method that returns copy of NameSpace.__map; updated NameSpace unit test to also test __todict__()
|
2008-09-24 23:49:44 +00:00 |
|
Jason Gerard DeRose
|
be2e323bbf
|
353: The Object.parms instance attribute is now created in Object.set_api() instead of in Object.__init__()
|
2008-09-24 23:29:15 +00:00 |
|
Jason Gerard DeRose
|
c3b09b2116
|
352: Now removed Object.Property property and added in its place Object.properties instance attribute
|
2008-09-24 23:19:34 +00:00 |
|
Jason Gerard DeRose
|
3d6ab69b46
|
351: Removed Object.Method property and added in its place Object.methods instance attribute
|
2008-09-24 22:19:43 +00:00 |
|
Jason Gerard DeRose
|
e2a680d7c9
|
350: If Param default_from kwarg is callable but not a DefaltFrom instances, the instance is created implicity
|
2008-09-24 22:05:01 +00:00 |
|
Jason Gerard DeRose
|
755ea8d0c2
|
349: Improved clarity of local variables in Param.__init__()
|
2008-09-24 21:57:34 +00:00 |
|
Jason Gerard DeRose
|
250a01b5b7
|
348: If no keys are passed to DefaultFrom.__init__(), the keys from callback.func_code.co_varnames are used; updated DefaultFrom unit tests to test this usage
|
2008-09-24 21:46:37 +00:00 |
|
Jason Gerard DeRose
|
566d5ea02a
|
347: Added primary_key instance attribute to Param and corresponding kwarg; expanded unit tests for Param.__init__()
|
2008-09-24 21:29:15 +00:00 |
|
Jason Gerard DeRose
|
5479a349a8
|
346: Added skeleton framework for crud.py module and corresponding test_crud.py module
|
2008-09-24 20:17:53 +00:00 |
|
Jason Gerard DeRose
|
63a26bd604
|
345: Moved server code from Rob into ipa_server/ package
|
2008-09-24 19:56:07 +00:00 |
|
Jason Gerard DeRose
|
f8bb60f02d
|
344: Added Param.__clone__() method; added corresponding unit tests
|
2008-09-24 19:45:46 +00:00 |
|
Jason Gerard DeRose
|
a79434584e
|
343: create_param() function no longer parses the param spec itself but relies on Param.__init__() to do it
|
2008-09-24 18:44:43 +00:00 |
|
Jason Gerard DeRose
|
97f0310a4c
|
342: Added unit test that TypeError is raised when Param() is created with extra kw args
|
2008-09-24 18:33:25 +00:00 |
|
Jason Gerard DeRose
|
06d7fb42ec
|
341: Param now only takes type_=ipa_types.Unicode() as an optional positional arg, and the rest as pure kwargs
|
2008-09-24 18:27:14 +00:00 |
|
Jason Gerard DeRose
|
792bf7b1d0
|
340: Changed default for Param.required to True
|
2008-09-24 18:02:00 +00:00 |
|
Jason Gerard DeRose
|
11a07008b8
|
339: Added parse_param_spec() function and corresponding unit tests
|
2008-09-24 17:55:29 +00:00 |
|
Jason Gerard DeRose
|
ac7bdf8790
|
338: Removed depreciated code from ipa (CLI) script
|
2008-09-24 08:07:20 +00:00 |
|
Jason Gerard DeRose
|
744406958d
|
337: Some cleanup in Params; added docstrings for most all Param methods
|
2008-09-24 07:56:31 +00:00 |
|
Jason Gerard DeRose
|
fb57b91937
|
336: Param.__dispatch() now returns None for any in (None, '', u'', tuple(), []) regardless whether Param is multivalue
|
2008-09-24 07:05:43 +00:00 |
|
Jason Gerard DeRose
|
e63c462f31
|
335: If Command.__convert_scalar() is called with None, it now returns None instead of raising TypeError
|
2008-09-24 06:48:27 +00:00 |
|
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 |
|