Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix i18n related failures in unit tests. | Pavel Zuna | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | Add API version and have server reject incompatible clients. | Rob Crittenden | 2011-01-14 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | This patch contains 2 parts. The first part is a small utility to create and validate the current API. To do this it needs to load ipalib which on a fresh system introduces a few problems, namely that it relies on a python plugin to set the default encoding to utf8. For our purposes we can skip that. It is also important that any optional plugins be loadable so the API can be examined. The second part is a version exchange between the client and server. The version has a major and a minor version. The major verion is updated whenever existing API changes. The minor version is updated when new API is added. A request will be rejected if either the major versions don't match or if the client major version is higher than then server major version (though by implication new API would return a command not found if allowed to proceed). To determine the API version of the server from a client use the ping command. ticket 584 | ||||
* | 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 | ||||
* | Use context to decide which name to return on RequirementsErrors | Rob Crittenden | 2010-10-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | When a Requirement fails we throw an exception including the name of the field that is missing. To make the command-line friendlier we have a cli_name defined which may or may not match the LDAP attribute. This can be confusing if you are using ipalib directly because the attribute name missing may not match what is actually required (desc vs description is a good example). If you use the context 'cli' then it will throw exceptions using cli_name. If you use any other context it will use the name of the attribute. ticket 187 | ||||
* | Command.output_params not contains params in Command.params | Jason Gerard DeRose | 2010-02-11 | 1 | -0/+27 |
| | |||||
* | Remove __public__ and __proxy__ hold-overs from Plugin class | Jason Gerard DeRose | 2010-01-28 | 1 | -16/+0 |
| | |||||
* | Take 2: Extensible return values and validation; steps toward a single ↵ | Jason Gerard DeRose | 2009-12-10 | 1 | -12/+194 |
| | | | | output_for_cli(); enable more webUI stuff | ||||
* | Removed util.add_global_options() and frontend.Application | Jason Gerard DeRose | 2009-10-14 | 1 | -37/+0 |
| | |||||
* | Fix unit tests for plugins using baseldap classes. | Pavel Zuna | 2009-10-05 | 1 | -1/+0 |
| | |||||
* | Removed PluginProxy and all its uses | Jason Gerard DeRose | 2009-08-05 | 1 | -1/+1 |
| | |||||
* | Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and ↵ | Pavel Zuna | 2009-06-10 | 1 | -0/+3 |
| | | | | Command.args_options_2_entry unit tests. | ||||
* | Completed Param.use_in_context() functionality, which is now used by Command ↵ | Jason Gerard DeRose | 2009-05-21 | 1 | -4/+101 |
| | | | | and Object | ||||
* | Rename errors2.py to errors.py. Modify all affected files. | Pavel Zuna | 2009-04-23 | 1 | -7/+7 |
| | |||||
* | Finish work replacing the errors module with errors2 | Rob Crittenden | 2009-04-20 | 1 | -1/+1 |
| | | | | | | Once this is committed we can start the process of renaming errors2 as errors. I thought that combinig this into one commit would be more difficult to review. | ||||
* | Add unit test for ipalib.frontend.Command.args_options_2_entry. | Pavel Zuna | 2009-02-24 | 1 | -1/+32 |
| | |||||
* | More work on xmlrpc stuff, started migrated more code to use errors2 instead ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -3/+1 |
| | | | | of errors | ||||
* | Further migration toward new xmlrcp code; fixed problem with unicode ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -2/+0 |
| | | | | Fault.faultString; fixed problem where ServerProxy method was not called correctly | ||||
* | Added Object.params_minus() method; various small tweaks | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+20 |
| | |||||
* | Removed depreciated Command.args_to_kw() method; updated CLI to use ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -36/+4 |
| | | | | Command.args_options_2_params() instead | ||||
* | Added Command.args_options_2_params() method and its unit tests | Jason Gerard DeRose | 2009-02-03 | 1 | -2/+49 |
| | |||||
* | Command.takes_options and Command.takes_args class attributes can now also ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -2/+2 |
| | | | | be a callable | ||||
* | All unit tests now working (except for doctests and Rob's xmlrpc tests) | Jason Gerard DeRose | 2009-01-14 | 1 | -18/+15 |
| | |||||
* | New Param: got most of unit tests ported (still have 6 errors); haven't ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -50/+26 |
| | | | | ported doctests yet | ||||
* | New Param: removed more depreciated 'import ipa_types' | Jason Gerard DeRose | 2009-01-14 | 1 | -1/+1 |
| | |||||
* | Removed depreciated code from frontend.py; frontend.py no longer imports ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -414/+0 |
| | | | | ipa_types | ||||
* | Fixed Warning messages about log dir in unit test | Jason Gerard DeRose | 2008-12-08 | 1 | -21/+7 |
| | |||||
* | Added unit test for Param.ispassword() method | Jason Gerard DeRose | 2008-11-18 | 1 | -0/+16 |
| | |||||
* | Command.get_defaults() now returns param.default if param.type is a Bool | Jason Gerard DeRose | 2008-11-17 | 1 | -4/+4 |
| | |||||
* | env plugin now subclasses from RemoteOrLocal | Jason Gerard DeRose | 2008-11-14 | 1 | -5/+5 |
| | |||||
* | Added frontend.LocalOrRemote command base class for commands like env | Jason Gerard DeRose | 2008-11-14 | 1 | -1/+55 |
| | |||||
* | Change Param.__repr__() so it returns the exact expression that could create ↵ | Jason Gerard DeRose | 2008-11-13 | 1 | -0/+12 |
| | | | | it; added unit test for Param.__repre__() | ||||
* | output_for_cli signature is now output_for_cli(textui, result, *args, **options) | Jason Gerard DeRose | 2008-11-12 | 1 | -10/+9 |
| | |||||
* | API.env is now an Env instance rather than an Environment instance | Jason Gerard DeRose | 2008-10-27 | 1 | -4/+6 |
| | |||||
* | Fixed bug in DefaultFrom where impleied keys were using entire ↵ | Jason Gerard DeRose | 2008-10-20 | 1 | -0/+10 |
| | | | | func_code.co_varnames instead of an approprate slice | ||||
* | Added new Param.flags attribute (set with flags=foo kwarg) | Jason Gerard DeRose | 2008-10-17 | 1 | -0/+3 |
| | |||||
* | Reworking Environment, moved it to config.py | Martin Nagy | 2008-10-17 | 1 | -2/+2 |
| | |||||
* | Added Object.get_dn() method; added corresponding unit tests | Jason Gerard DeRose | 2008-10-13 | 1 | -0/+14 |
| | |||||
* | Param now takes cli_name kwarg that sets Param.cli_name attribute | Jason Gerard DeRose | 2008-10-13 | 1 | -0/+2 |
| | |||||
* | Base Command.execute() method now raises NotImplementedError; updated unit tests | Jason Gerard DeRose | 2008-10-08 | 1 | -0/+3 |
| | |||||
* | PEP 257: cleaned up docstrings in test_frontend.py | Jason Gerard DeRose | 2008-10-08 | 1 | -45/+76 |
| | |||||
* | Renamed tests/tstutil.py to tests/util.py | Jason Gerard DeRose | 2008-10-07 | 1 | -2/+2 |
| | |||||
* | Moved tstutil.py into base of tests so it can be used by all test ↵ | Jason Gerard DeRose | 2008-10-07 | 1 | -2/+2 |
| | | | | subpackages more easily | ||||
* | Cleaned up package and module level docstrings for everything in tests/ | Jason Gerard DeRose | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | Moved ipalib/tests/ into tests/test_ipalib/ | Jason Gerard DeRose | 2008-10-07 | 1 | -0/+1080 |