Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modernize use of range() | Petr Viktorin | 2015-09-01 | 1 | -1/+1 |
| | | | | | | | | | | | | In Python 3, range() behaves like the old xrange(). The difference between range() and xrange() is usually not significant, especially if the whole result is iterated over. Convert xrange() usage to range() for small ranges. Use modern idioms in a few other uses of range(). Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com> | ||||
* | Use six.string_types instead of "basestring" | Petr Viktorin | 2015-09-01 | 1 | -1/+3 |
| | | | | | Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com> | ||||
* | Use absolute imports | Petr Viktorin | 2015-08-12 | 1 | -2/+3 |
| | | | | | | | In Python 3, implicit relative imports will not be supported. Use fully-qualified imports everywhere. Reviewed-By: Tomas Babej <tbabej@redhat.com> | ||||
* | Allow indexing API object types by class | Petr Viktorin | 2014-03-25 | 1 | -2/+13 |
| | | | | | | | | | | | | | | This allows code like: from ipalib.plugins.dns import dnszone_mod api.Command[dnszone_mod] This form should be preferred when getting specific objects because it ensures that the appropriate plugin is imported. https://fedorahosted.org/freeipa/ticket/4185 Reviewed-By: Martin Kosek <mkosek@redhat.com> | ||||
* | Change FreeIPA license to GPLv3+ | Jakub Hrozek | 2010-12-20 | 1 | -5/+5 |
| | | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239 | ||||
* | Allow one-character Param names | Rob Crittenden | 2010-02-12 | 1 | -1/+1 |
| | | | | This is done explicitly to support the l/localityname attribute. | ||||
* | Removed PluginProxy and all its uses | Jason Gerard DeRose | 2009-08-05 | 1 | -4/+4 |
| | |||||
* | Further migration toward new xmlrcp code; fixed problem with unicode ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -1/+1 |
| | | | | Fault.faultString; fixed problem where ServerProxy method was not called correctly | ||||
* | Added a few missing things to base.ReadOnly docstrings | Jason Gerard DeRose | 2009-01-05 | 1 | -2/+19 |
| | |||||
* | A few docstring edits in base.NameSpace | Jason Gerard DeRose | 2009-01-02 | 1 | -5/+7 |
| | |||||
* | A few base.NameSpace docstring tweaks | Jason Gerard DeRose | 2008-12-31 | 1 | -7/+11 |
| | |||||
* | Copied plugable.NameSpace to base.NameSpace and made many docstring and unit ↵ | Jason Gerard DeRose | 2008-12-31 | 1 | -1/+239 |
| | | | | test improvements | ||||
* | Added base.lock() and base.islocked() functions; added corresponding unit tests | Jason Gerard DeRose | 2008-12-30 | 1 | -0/+55 |
| | |||||
* | More docstring cleanup in ipalib.config | Jason Gerard DeRose | 2008-12-30 | 1 | -3/+4 |
| | |||||
* | Small changes to base.ReadOnly docstring | Jason Gerard DeRose | 2008-12-30 | 1 | -9/+5 |
| | |||||
* | Decided against indenting the example code in the base.ReadOnly docstring | Jason Gerard DeRose | 2008-12-30 | 1 | -39/+40 |
| | |||||
* | Started moving some core classes and functions from plugable.py to new ↵ | Jason Gerard DeRose | 2008-12-30 | 1 | -0/+172 |
| | | | | base.py module | ||||
* | 60: Remeved depreciated base.py, crud.py; remeved corresponding ↵ | Jason Gerard DeRose | 2008-08-06 | 1 | -499/+0 |
| | | | | test_base.py, test_crud.py | ||||
* | 31: Renamed exceptions.py to errors.py | Jason Gerard DeRose | 2008-07-31 | 1 | -8/+8 |
| | |||||
* | 29: Some experimentation to make the Registar more generalized | Jason Gerard DeRose | 2008-07-25 | 1 | -8/+86 |
| | |||||
* | 28: Added new base.Register class that is a more generic way of doing the ↵ | Jason Gerard DeRose | 2008-07-22 | 1 | -0/+58 |
| | | | | 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 | 1 | -1/+4 |
| | |||||
* | 26: Added AbstractCommand.get_doc() method to return the gettext translated ↵ | Jason Gerard DeRose | 2008-07-21 | 1 | -1/+28 |
| | | | | summary of command; added get_doc() method to all example | ||||
* | 24: Ported Registar to changes around Attribute; updated unit tests | Jason Gerard DeRose | 2008-07-20 | 1 | -84/+69 |
| | |||||
* | 23: Added base.Attribute class that determins the object association via ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -2/+74 |
| | | | | 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 | ||||
* | 20: Updated example plugins, added '_api_' command to ipa script with prints ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -1/+2 |
| | | | | the api | ||||
* | 18: Moved base2 stuff into base | Jason Gerard DeRose | 2008-07-20 | 1 | -70/+99 |
| | |||||
* | 14: Added Named.cli property that returns name.replace('_', '-'); Named.doc ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -1/+5 |
| | | | | 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 | 1 | -1/+14 |
| | |||||
* | 11: Added submodules needed to triger the plugin loading, etc., so I can ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -0/+1 |
| | | | | start work on the cli demo | ||||
* | 10: Updated base.API to reflect the fact that base.Object is now the new ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -37/+30 |
| | | | | unit of plugin functionality; updated corresponding unit tests | ||||
* | 9: Reorganized new work and unit tests based around base.Object being the ↵ | Jason Gerard DeRose | 2008-07-19 | 1 | -48/+65 |
| | | | | plugin definining unit | ||||
* | 8: Experimental work on more OO definition of what gets pluged into API.commands | Jason Gerard DeRose | 2008-07-19 | 1 | -2/+6 |
| | |||||
* | 7: Roughed out API.finalize(); added corresponding unit tests | Jason Gerard DeRose | 2008-07-19 | 1 | -10/+17 |
| | |||||
* | 6: Fleshed out API.register_command, made correpsonding unit tests much more ↵ | Jason Gerard DeRose | 2008-07-19 | 1 | -20/+25 |
| | | | | rigorous | ||||
* | 5: Fleshed out base.Named, added corresponding unit tests | Jason Gerard DeRose | 2008-07-19 | 1 | -7/+20 |
| | |||||
* | 4: Got basics of API.register_command() working; added corresponding unit tests | Jason Gerard DeRose | 2008-07-19 | 1 | -19/+51 |
| | |||||
* | 3: Finished NameSpace and cerresponding unit tests | Jason Gerard DeRose | 2008-07-19 | 1 | -7/+71 |
| | |||||
* | 2: Got basics of NameSpace working, added corresponding unit tests | Jason Gerard DeRose | 2008-07-18 | 1 | -3/+44 |
| | |||||
* | 1: Started roughing out ipalib package | Jason Gerard DeRose | 2008-07-18 | 1 | -0/+45 |