summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 60: Remeved depreciated base.py, crud.py; remeved corresponding ↵Jason Gerard DeRose2008-08-064-982/+0
| | | | test_base.py, test_crud.py
* 59: Removed NameSpace.__call__ method (returned max_len)Jason Gerard DeRose2008-08-061-11/+0
|
* 58: A bit of docstring cleanup in plugable.pyJason Gerard DeRose2008-08-061-4/+3
|
* 57: to_cli() function no longer replaces '__' with '.'; from_cli() function ↵Jason Gerard DeRose2008-08-062-12/+8
| | | | no longer replaces '.' with '__'; updated unit tests
* 56: Fixed Proxy.__call__Jason Gerard DeRose2008-08-061-0/+3
|
* 55: Cleaned up print_api() function in ipa scriptJason Gerard DeRose2008-08-062-31/+91
|
* 54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated ↵Jason Gerard DeRose2008-08-064-15/+145
| | | | unit tests; port ipa script
* 53: Changed plugable.Registar so the same plugin can be added to in the ns ↵Jason Gerard DeRose2008-08-053-19/+24
| | | | for more than one base (for cmd and mthd)
* 52: Got cli working against new frameworkJason Gerard DeRose2008-08-055-66/+77
|
* 51: Moved old_plugins.py back to plugins.pyJason Gerard DeRose2008-08-052-1/+1
|
* 50: Moved plugins.py to old_plugins.pyJason Gerard DeRose2008-08-051-0/+0
|
* 49: Added public.PublicAPI class; added some basic unit tests for sameJason Gerard DeRose2008-08-053-9/+38
|
* 48: Added public.py with base classes for 'public' api used for XML-RPC, ↵Jason Gerard DeRose2008-08-052-0/+147
| | | | CLI, and UI; added corresponding unit stests
* 47: Added plugable.check_identifier() function; added corresponding unit testsJason Gerard DeRose2008-08-053-1/+39
|
* 46: plugable.API now takes allowed base class in __init__ and creates ↵Jason Gerard DeRose2008-08-052-6/+13
| | | | Registrar at API.register, thereby coupling the two; updated correspending unit tests
* 45: Fixed docstring typo in plugable.__doc__Jason Gerard DeRose2008-08-051-2/+1
|
* 44: Added Plugin.finalize() method called by API after all plugin instances ↵Jason Gerard DeRose2008-08-052-9/+32
| | | | are created; updated corresponding unit tests
* 43: Fleshed out new plugable.API class; added corresponding unit testsJason Gerard DeRose2008-08-052-1/+77
|
* 42: plugable.Plugin.__init__() now takes the plugable.API instance as its ↵Jason Gerard DeRose2008-08-012-5/+29
| | | | single argument
* 41: New plugable.NameSpace now has attributes set for each member; updated ↵Jason Gerard DeRose2008-08-012-2/+9
| | | | unit tests
* 40: Rewrote dictionary interface for plugable.NameSpace to better suite new ↵Jason Gerard DeRose2008-08-013-55/+104
| | | | architecture
* 39: Added unit tests for Registrar.__iter__()Jason Gerard DeRose2008-08-011-0/+38
|
* 38: dict interface of Registrar now works with both classes and strings as ↵Jason Gerard DeRose2008-08-012-19/+120
| | | | the key
* 37: Renamed tstutil.yes_raises() to raises(); changed test_plugable.py to ↵Jason Gerard DeRose2008-08-013-57/+11
| | | | use raises() throughout
* 36: Added more functionality to tests.tstutil; added corresponding ↵Jason Gerard DeRose2008-08-012-16/+178
| | | | tests.test_tstutil unit tests
* 35: Renamed unit_common.py to tstutil.pyJason Gerard DeRose2008-08-012-7/+7
|
* 34: Added tests.unit_common with frequently used utility functions; split ro ↵Jason Gerard DeRose2008-08-013-19/+107
| | | | __setattr__, __delattr__ methods out of Proxy and into new ReadOnly base class; added corresponding unit tests
* 33: Finished unit tests for plugable.ProxyJason Gerard DeRose2008-08-012-14/+78
|
* 32: Added Plugin and Proxy base classes in plugable module, along with ↵Jason Gerard DeRose2008-07-312-0/+131
| | | | to_cli() and from_cli() functions; added correspending unit tests
* 31: Renamed exceptions.py to errors.pyJason Gerard DeRose2008-07-315-25/+25
|
* 30: Added plugable module with more generic implementation of Registrar; ↵Jason Gerard DeRose2008-07-283-7/+275
| | | | added corresponding unit tests
* 29: Some experimentation to make the Registar more generalizedJason Gerard DeRose2008-07-252-83/+175
|
* 28: Added new base.Register class that is a more generic way of doing the ↵Jason Gerard DeRose2008-07-223-1/+120
| | | | plugin registration and doesn't itself instatiate any plugins; added corresponding unit tests
* 27: Added quick hack for replace('-', '_') problem I'm havingJason Gerard DeRose2008-07-212-3/+7
|
* 26: Added AbstractCommand.get_doc() method to return the gettext translated ↵Jason Gerard DeRose2008-07-213-32/+95
| | | | summary of command; added get_doc() method to all example
* 25: Updated plugin examples, ipa scriptJason Gerard DeRose2008-07-203-47/+69
|
* 24: Ported Registar to changes around Attribute; updated unit testsJason Gerard DeRose2008-07-202-157/+140
|
* 23: Added base.Attribute class that determins the object association via ↵Jason Gerard DeRose2008-07-202-2/+145
| | | | class naming convention instead of through the _obj attribute
* 22: Named.name property now calls _get_name() at first evaluation to make ↵Jason Gerard DeRose2008-07-201-1/+8
| | | | changing the behaviour in subclasses easier
* 21: ipa script: improved print_api(); added missing sys.exit() after ↵Jason Gerard DeRose2008-07-201-2/+4
| | | | print_api() call
* 20: Updated example plugins, added '_api_' command to ipa script with prints ↵Jason Gerard DeRose2008-07-203-4/+64
| | | | the api
* 19: Removed depreciated base2.py and test_base2.py filesJason Gerard DeRose2008-07-202-309/+0
|
* 18: Moved base2 stuff into baseJason Gerard DeRose2008-07-204-262/+194
|
* 17: Registar.finalize() now sets the commands property on each object with ↵Jason Gerard DeRose2008-07-202-1/+51
| | | | commands
* 16: Changed base2.WithObj.__set_obj() slightly so that its gets locked into ↵Jason Gerard DeRose2008-07-202-9/+24
| | | | read-only even when _obj is None
* 15: Added ipalib.base2 module where I'm experimenting with a 3rd approach ↵Jason Gerard DeRose2008-07-203-0/+248
| | | | that is a hybrid of the first two: a decoupled late binding OO strategy
* 14: Added Named.cli property that returns name.replace('_', '-'); Named.doc ↵Jason Gerard DeRose2008-07-202-1/+16
| | | | property now does a strip() to make it more user-friendly; added test_Named unit tests which somehow got dropped, uppdated with new Named properties
* 13: Starting playing around with 'ipa' cli scriptJason Gerard DeRose2008-07-202-1/+63
|
* 12: Fixed test_base.test_API.test_finalize() unit tests now that CrudLike ↵Jason Gerard DeRose2008-07-201-3/+3
| | | | has 4 commands, not 5
* 11: Added submodules needed to triger the plugin loading, etc., so I can ↵Jason Gerard DeRose2008-07-205-8/+101
| | | | start work on the cli demo