Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 60: Remeved depreciated base.py, crud.py; remeved corresponding ↵ | Jason Gerard DeRose | 2008-08-06 | 4 | -982/+0 |
| | | | | test_base.py, test_crud.py | ||||
* | 59: Removed NameSpace.__call__ method (returned max_len) | Jason Gerard DeRose | 2008-08-06 | 1 | -11/+0 |
| | |||||
* | 58: A bit of docstring cleanup in plugable.py | Jason Gerard DeRose | 2008-08-06 | 1 | -4/+3 |
| | |||||
* | 57: to_cli() function no longer replaces '__' with '.'; from_cli() function ↵ | Jason Gerard DeRose | 2008-08-06 | 2 | -12/+8 |
| | | | | no longer replaces '.' with '__'; updated unit tests | ||||
* | 56: Fixed Proxy.__call__ | Jason Gerard DeRose | 2008-08-06 | 1 | -0/+3 |
| | |||||
* | 55: Cleaned up print_api() function in ipa script | Jason Gerard DeRose | 2008-08-06 | 2 | -31/+91 |
| | |||||
* | 54: Added plugable.Proxy._clone() method; fleshed out public.obj; updated ↵ | Jason Gerard DeRose | 2008-08-06 | 4 | -15/+145 |
| | | | | unit tests; port ipa script | ||||
* | 53: Changed plugable.Registar so the same plugin can be added to in the ns ↵ | Jason Gerard DeRose | 2008-08-05 | 3 | -19/+24 |
| | | | | for more than one base (for cmd and mthd) | ||||
* | 52: Got cli working against new framework | Jason Gerard DeRose | 2008-08-05 | 5 | -66/+77 |
| | |||||
* | 51: Moved old_plugins.py back to plugins.py | Jason Gerard DeRose | 2008-08-05 | 2 | -1/+1 |
| | |||||
* | 50: Moved plugins.py to old_plugins.py | Jason Gerard DeRose | 2008-08-05 | 1 | -0/+0 |
| | |||||
* | 49: Added public.PublicAPI class; added some basic unit tests for same | Jason Gerard DeRose | 2008-08-05 | 3 | -9/+38 |
| | |||||
* | 48: Added public.py with base classes for 'public' api used for XML-RPC, ↵ | Jason Gerard DeRose | 2008-08-05 | 2 | -0/+147 |
| | | | | CLI, and UI; added corresponding unit stests | ||||
* | 47: Added plugable.check_identifier() function; added corresponding unit tests | Jason Gerard DeRose | 2008-08-05 | 3 | -1/+39 |
| | |||||
* | 46: plugable.API now takes allowed base class in __init__ and creates ↵ | Jason Gerard DeRose | 2008-08-05 | 2 | -6/+13 |
| | | | | Registrar at API.register, thereby coupling the two; updated correspending unit tests | ||||
* | 45: Fixed docstring typo in plugable.__doc__ | Jason Gerard DeRose | 2008-08-05 | 1 | -2/+1 |
| | |||||
* | 44: Added Plugin.finalize() method called by API after all plugin instances ↵ | Jason Gerard DeRose | 2008-08-05 | 2 | -9/+32 |
| | | | | are created; updated corresponding unit tests | ||||
* | 43: Fleshed out new plugable.API class; added corresponding unit tests | Jason Gerard DeRose | 2008-08-05 | 2 | -1/+77 |
| | |||||
* | 42: plugable.Plugin.__init__() now takes the plugable.API instance as its ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -5/+29 |
| | | | | single argument | ||||
* | 41: New plugable.NameSpace now has attributes set for each member; updated ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -2/+9 |
| | | | | unit tests | ||||
* | 40: Rewrote dictionary interface for plugable.NameSpace to better suite new ↵ | Jason Gerard DeRose | 2008-08-01 | 3 | -55/+104 |
| | | | | architecture | ||||
* | 39: Added unit tests for Registrar.__iter__() | Jason Gerard DeRose | 2008-08-01 | 1 | -0/+38 |
| | |||||
* | 38: dict interface of Registrar now works with both classes and strings as ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -19/+120 |
| | | | | the key | ||||
* | 37: Renamed tstutil.yes_raises() to raises(); changed test_plugable.py to ↵ | Jason Gerard DeRose | 2008-08-01 | 3 | -57/+11 |
| | | | | use raises() throughout | ||||
* | 36: Added more functionality to tests.tstutil; added corresponding ↵ | Jason Gerard DeRose | 2008-08-01 | 2 | -16/+178 |
| | | | | tests.test_tstutil unit tests | ||||
* | 35: Renamed unit_common.py to tstutil.py | Jason Gerard DeRose | 2008-08-01 | 2 | -7/+7 |
| | |||||
* | 34: Added tests.unit_common with frequently used utility functions; split ro ↵ | Jason Gerard DeRose | 2008-08-01 | 3 | -19/+107 |
| | | | | __setattr__, __delattr__ methods out of Proxy and into new ReadOnly base class; added corresponding unit tests | ||||
* | 33: Finished unit tests for plugable.Proxy | Jason Gerard DeRose | 2008-08-01 | 2 | -14/+78 |
| | |||||
* | 32: Added Plugin and Proxy base classes in plugable module, along with ↵ | Jason Gerard DeRose | 2008-07-31 | 2 | -0/+131 |
| | | | | to_cli() and from_cli() functions; added correspending unit tests | ||||
* | 31: Renamed exceptions.py to errors.py | Jason Gerard DeRose | 2008-07-31 | 5 | -25/+25 |
| | |||||
* | 30: Added plugable module with more generic implementation of Registrar; ↵ | Jason Gerard DeRose | 2008-07-28 | 3 | -7/+275 |
| | | | | added corresponding unit tests | ||||
* | 29: Some experimentation to make the Registar more generalized | Jason Gerard DeRose | 2008-07-25 | 2 | -83/+175 |
| | |||||
* | 28: Added new base.Register class that is a more generic way of doing the ↵ | Jason Gerard DeRose | 2008-07-22 | 3 | -1/+120 |
| | | | | plugin registration and doesn't itself instatiate any plugins; added corresponding unit tests | ||||
* | 27: Added quick hack for replace('-', '_') problem I'm having | Jason Gerard DeRose | 2008-07-21 | 2 | -3/+7 |
| | |||||
* | 26: Added AbstractCommand.get_doc() method to return the gettext translated ↵ | Jason Gerard DeRose | 2008-07-21 | 3 | -32/+95 |
| | | | | summary of command; added get_doc() method to all example | ||||
* | 25: Updated plugin examples, ipa script | Jason Gerard DeRose | 2008-07-20 | 3 | -47/+69 |
| | |||||
* | 24: Ported Registar to changes around Attribute; updated unit tests | Jason Gerard DeRose | 2008-07-20 | 2 | -157/+140 |
| | |||||
* | 23: Added base.Attribute class that determins the object association via ↵ | Jason Gerard DeRose | 2008-07-20 | 2 | -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 DeRose | 2008-07-20 | 1 | -1/+8 |
| | | | | changing the behaviour in subclasses easier | ||||
* | 21: ipa script: improved print_api(); added missing sys.exit() after ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -2/+4 |
| | | | | print_api() call | ||||
* | 20: Updated example plugins, added '_api_' command to ipa script with prints ↵ | Jason Gerard DeRose | 2008-07-20 | 3 | -4/+64 |
| | | | | the api | ||||
* | 19: Removed depreciated base2.py and test_base2.py files | Jason Gerard DeRose | 2008-07-20 | 2 | -309/+0 |
| | |||||
* | 18: Moved base2 stuff into base | Jason Gerard DeRose | 2008-07-20 | 4 | -262/+194 |
| | |||||
* | 17: Registar.finalize() now sets the commands property on each object with ↵ | Jason Gerard DeRose | 2008-07-20 | 2 | -1/+51 |
| | | | | commands | ||||
* | 16: Changed base2.WithObj.__set_obj() slightly so that its gets locked into ↵ | Jason Gerard DeRose | 2008-07-20 | 2 | -9/+24 |
| | | | | read-only even when _obj is None | ||||
* | 15: Added ipalib.base2 module where I'm experimenting with a 3rd approach ↵ | Jason Gerard DeRose | 2008-07-20 | 3 | -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 DeRose | 2008-07-20 | 2 | -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 script | Jason Gerard DeRose | 2008-07-20 | 2 | -1/+63 |
| | |||||
* | 12: Fixed test_base.test_API.test_finalize() unit tests now that CrudLike ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -3/+3 |
| | | | | has 4 commands, not 5 | ||||
* | 11: Added submodules needed to triger the plugin loading, etc., so I can ↵ | Jason Gerard DeRose | 2008-07-20 | 5 | -8/+101 |
| | | | | start work on the cli demo |