Commit Graph

203 Commits

Author SHA1 Message Date
Jason Gerard DeRose
89ea3acd0a 203: Finished ipa_types.check_min_max() function; added corresponding unit tests; ipa_types.Int now uses check_min_max() 2008-08-27 21:20:19 +00:00
Jason Gerard DeRose
6b214cbccf 202: Started work on type classes in ipa_types module; added corresponding unit tests 2008-08-27 20:09:19 +00:00
Jason Gerard DeRose
330c17730c 201: Added new cli command 'console' that starts a custom interactive Python console 2008-08-27 00:25:33 +00:00
Jason Gerard DeRose
74a3cf8d28 200: Added plugins/override.py with an example of overriding a plugin 2008-08-26 19:43:56 +00:00
Jason Gerard DeRose
6226837eea 199: Updated user_login and user_initials example plugins to use Option.default_from 2008-08-26 19:23:50 +00:00
Jason Gerard DeRose
845c0d8bc6 198: Renamed Command.default() to Command.get_default(); Command.get_default_iter() now correctly calls Option.get_default() instead of Option.default() 2008-08-26 19:13:55 +00:00
Jason Gerard DeRose
0e47948695 197: Added new public.Option.get_default() method that calls Option.default_from() if it's a DefaultFrom instance, and otherwise returns Option.default (the static default value) 2008-08-26 19:02:24 +00:00
Jason Gerard DeRose
0755c218ff 196: DefaultFrom.__call__() now returns values from callback even if not basestring; small work on DefaultFrom docstrings 2008-08-26 16:52:46 +00:00
Jason Gerard DeRose
87fabaa717 195: Started on docstring for public.DefaultFrom 2008-08-26 01:07:24 +00:00
Jason Gerard DeRose
5157d8fc50 194: Removed like to Bazaar Plugin doc as it's not very relevant 2008-08-26 00:28:43 +00:00
Jason Gerard DeRose
45a6ee50b1 193: Removed depreciated public.PublicAPI class; removed corresponding unit tests 2008-08-26 00:06:00 +00:00
Jason Gerard DeRose
0d35c96f1a 192: Added a quick console example to docstring in ipalib/__init__.py 2008-08-26 00:04:15 +00:00
Jason Gerard DeRose
2fc3819bec 191: Removed ipalib/api.py module; standard plugable.API instance is now in ipalib.__init__.py 2008-08-25 23:35:29 +00:00
Jason Gerard DeRose
513bbb32b9 190: Renamed public.option class to public.Option 2008-08-25 22:10:23 +00:00
Jason Gerard DeRose
0d4adb958b 189: Ignoring .git/ 2008-08-25 21:16:56 +00:00
Jason Gerard DeRose
c646dfddde 188: Added unit tests for public.Object.finalize() method 2008-08-22 22:49:56 +00:00
Jason Gerard DeRose
af52671e13 187: Renamed plubic.obj to Object; reworked plublic.Object unit tests to use ClassChecker 2008-08-22 21:50:53 +00:00
Jason Gerard DeRose
f60fa06ce2 186: Renamed public.attr to Attribute; reworked public.Attribute unit tests using ClassChecker 2008-08-22 21:27:25 +00:00
Jason Gerard DeRose
5bf6a9eb09 185: Renamed public.prop to Property 2008-08-22 20:32:23 +00:00
Jason Gerard DeRose
a1b5d928fb 184: Renamed public.mthd class to Method 2008-08-22 20:23:19 +00:00
Jason Gerard DeRose
cad924168e 183: Added public.DefaultFrom class; added corresponding unit tests 2008-08-22 20:07:17 +00:00
Jason Gerard DeRose
b0ec8fe551 182: Renamed plublic.cmd base class to Command 2008-08-15 19:49:04 +00:00
Jason Gerard DeRose
99450358af 181: Changed docstrings on example plugins to use itial capital 2008-08-15 19:19:42 +00:00
Jason Gerard DeRose
594e7512b7 180: Fixed a few things in public.py that were broken by the changed NameSpace iter behaiviour 2008-08-15 19:15:24 +00:00
Jason Gerard DeRose
ab10f0843b 179: DictProxy now has __call__() method that iterates through the values; removed __call__() method from NameSpace as it subclasses from DictProxys; DictProxy unit tests now test __call__() 2008-08-15 05:19:02 +00:00
Jason Gerard DeRose
a24f2121d5 178: Registrar now subclasses from DictProxy; made Registrar.__iter__ behave same as the other container emulation in plugable.py, and made the dictorary interface return the base and the attribute interface return the MagicDict; updated API class and unit tests 2008-08-15 05:07:17 +00:00
Jason Gerard DeRose
5ed58fdb42 177: Docstring cleanup in NameSpace.__call__() 2008-08-15 03:45:07 +00:00
Jason Gerard DeRose
db8099febc 176: PluginProxy now subclasses from SetProxy 2008-08-15 03:41:17 +00:00
Jason Gerard DeRose
233293fb4a 175: Renamed Proxy to PluginProxy 2008-08-15 03:32:38 +00:00
Jason Gerard DeRose
ec0596b429 174: Fleshed out docstrings for SetProxy, DictProxy, and MagicDict 2008-08-15 03:24:37 +00:00
Jason Gerard DeRose
3e3b596f68 173: NameSpace now subclasses from DictProxy 2008-08-15 01:46:11 +00:00
Jason Gerard DeRose
1a92bdf29b 172: API now subclasses from DictProxy 2008-08-15 01:32:20 +00:00
Jason Gerard DeRose
e43a5c642e 171: MagicDict now subclasses from DictProxy; updated unit tests 2008-08-15 01:24:51 +00:00
Jason Gerard DeRose
f6c2181eeb 170: Added SetProxy and DictProxy classes to plugable so container emulation can be consolidated 2008-08-15 01:04:19 +00:00
Jason Gerard DeRose
88a5b3ae25 169: Renamed DictProxy to MagicDict 2008-08-14 23:49:36 +00:00
Jason Gerard DeRose
07cd537277 168: plugable.API now implements the all the usual container methods 2008-08-14 22:13:42 +00:00
Jason Gerard DeRose
5f38daf6de 167: In API.finalize(), lock(plugin) is used instead of plugin.__lock__(); more docstring improvements in plugable.py 2008-08-14 21:40:37 +00:00
Jason Gerard DeRose
a7b3dde055 166: Added quick script to run unit tests under both Python2.4 and Python2.5 2008-08-14 21:05:14 +00:00
Jason Gerard DeRose
d229a76474 165: Added unit tests for plugable.lock() function; replaced occurances of 'self.__lock__()' with 'lock(self)' in plugable.py 2008-08-14 20:32:35 +00:00
Jason Gerard DeRose
887667caa7 164: Added my gen-doc.bash script 2008-08-14 19:57:15 +00:00
Jason Gerard DeRose
43c04f1cd3 163: Docstring improvement for ipalib/__init__.py and plugable.py 2008-08-14 19:36:54 +00:00
Jason Gerard DeRose
f423f2c9f0 162: Added link to container emulation documentation in plugable.py docstring 2008-08-14 18:59:12 +00:00
Jason Gerard DeRose
7c64c8b954 161: Registrar now takes advantage of DictProxy; updated corresponding unit tests 2008-08-14 18:50:21 +00:00
Jason Gerard DeRose
87cad5078a 160: DictProxy now checks type of d in __init__(); updated unit tests 2008-08-14 17:29:13 +00:00
Jason Gerard DeRose
b403fd822b 159: Added plugable.DictProxy class; added corresponding unit tests; added setitem(), delitem() functions to tstutil 2008-08-14 17:21:21 +00:00
Jason Gerard DeRose
ca53615ddd 158: Name local arg 'cls' to 'klass' in Registrar methods to avoid confusion with classmethods; some docstring improvement in Registrar 2008-08-14 09:38:28 +00:00
Jason Gerard DeRose
a3dc04ade4 157: More docstring cleanup; fixed remaining epydoc warnings 2008-08-14 09:01:02 +00:00
Jason Gerard DeRose
f0dfb9f873 156: Fixed all broken docstring cross references 2008-08-14 08:28:48 +00:00
Jason Gerard DeRose
8c27f4c2de 155: More docstring cleanup in plugable.py 2008-08-14 07:43:43 +00:00
Jason Gerard DeRose
00f4272662 154: Merged ProxyTarget functionality into Plugin to make things a bit clearer 2008-08-14 07:10:07 +00:00