Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix LDAP object parameter encoding | Martin Kosek | 2011-11-15 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | Parameters in LDAP objects missed an information if they are real LDAP attributes or not. Real LDAP attributes are written to entry_attrs dictionary in plugin callbacks and are being encoded. This causes issues when plugin callbacks does not expect that the parameters values are already encoded for submission to LDAP. This patch introduces a new flag "noattribute" used to mark that a parameter is not an LDAP attribute and thus should not be encoded or added to entry_attrs. Param documentation is improved to describe the meaning of this and other Param flags or attributes. https://fedorahosted.org/freeipa/ticket/2097 | ||||
* | Fix automountkey-mod | Martin Kosek | 2011-08-18 | 1 | -0/+4 |
| | | | | | | | | | | | | | Fix automountkey-mod so that automountkey attribute is correctly updated. Add this test case to the unit tests. Make automountkey required for automountkey-mod, otherwise it would cause internal server error. Make --newinfo optional so that automountkey may be just renamed without changing its info attribute. https://fedorahosted.org/freeipa/ticket/1528 | ||||
* | Add flags to enforce asking for object attribute | Jan Zeleny | 2011-01-26 | 1 | -3/+20 |
| | | | | | | | So far the only flag to enforce asking in interactive mode was the alwaysask attribute, which is not sufficient any more. This patch adds the ability to control for which actions the atrribute shall be asked for. | ||||
* | Add API version and have server reject incompatible clients. | Rob Crittenden | 2011-01-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Retype (when cloning) Flag parameters to Bool for search commands. | Pavel Zuna | 2011-01-10 | 1 | -3/+9 |
| | | | | | | | | | Flag parameters are always autofill by definition, causing unexpected search results. This patch retypes them to Bool for search commands, so that users have to/can enter the desired value manually. Ticket #689 Ticket #701 | ||||
* | 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 | ||||
* | Fix non XML-RPC tests | Jason Gerard DeRose | 2010-02-19 | 1 | -2/+2 |
| | |||||
* | Add support for the 'no_create', 'no_update', and 'no_search' Param flags | Jason Gerard DeRose | 2010-02-05 | 1 | -3/+109 |
| | |||||
* | Take 2: Extensible return values and validation; steps toward a single ↵ | Jason Gerard DeRose | 2009-12-10 | 1 | -3/+12 |
| | | | | output_for_cli(); enable more webUI stuff | ||||
* | Make primary_key optional. | Rob Crittenden | 2009-10-05 | 1 | -2/+4 |
| | | | | | The pwpolicy plugin doesn't have a primary key but can still take advantage of other parts of the framework. | ||||
* | Remove obsolete CRUD base classes as they aren't used anymore. | Pavel Zuna | 2009-09-08 | 1 | -48/+0 |
| | |||||
* | Generate crud.Search arguments with get_args. | Pavel Zuna | 2009-06-10 | 1 | -4/+4 |
| | |||||
* | Clone options of crud.Update and crud.Search with autofill=False. | Pavel Zuna | 2009-05-26 | 1 | -2/+4 |
| | |||||
* | Add ipalib.frontend.Command method to build an entry from params with ↵ | Pavel Zuna | 2009-02-23 | 1 | -5/+5 |
| | | | | | | | | attribute=True. Often plugins need to build LDAP entries from params. This should make things a bit easier. Crud methods (Create, Retrieve, Update, Delete, Search) have attribute=True by default. And it also works for multivalue params. | ||||
* | Some tweaks in user plugins, ported to new crud base classes | Jason Gerard DeRose | 2009-02-03 | 1 | -2/+27 |
| | |||||
* | Started reworking CLI class into cli plugin | Jason Gerard DeRose | 2009-02-03 | 1 | -1/+1 |
| | |||||
* | Added Object.params_minus() method; various small tweaks | Jason Gerard DeRose | 2009-02-03 | 1 | -1/+1 |
| | |||||
* | Started roughing out new crud base classes | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+49 |
| | |||||
* | New Param: added Param.query kwarg for crud operations like Retrieve and ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -2/+3 |
| | | | | Search where criteria should not be validated | ||||
* | All unit tests now working (except for doctests and Rob's xmlrpc tests) | Jason Gerard DeRose | 2009-01-14 | 1 | -2/+2 |
| | |||||
* | Partially revert back change. Del shouldn't provide default options. | Rob Crittenden | 2008-11-03 | 1 | -2/+0 |
| | | | | It can provide custom ones though, if defined with takes_params() in the class. | ||||
* | Initial implementation of automount support | Rob Crittenden | 2008-10-30 | 1 | -0/+7 |
| | | | | | Add argument handling to crud.Del Make get_list handle LDAP scope | ||||
* | Use common display function for user-show and user-find. | Rob Crittenden | 2008-10-23 | 1 | -0/+2 |
| | | | | | Add --all option to user-find Fix command-line help to make sense on searches as well | ||||
* | Add missing * to *kw to make it pass named arguments instead of positional | Rob Crittenden | 2008-10-15 | 1 | -2/+2 |
| | |||||
* | Port user-show to new CrudBackend framework | Rob Crittenden | 2008-10-14 | 1 | -3/+5 |
| | |||||
* | Added CrudBackend abstract class defining generic CRUD API | Jason Gerard DeRose | 2008-10-13 | 1 | -1/+75 |
| | |||||
* | crud.Add.get_args() and get_options() now yield static values in takes_args, ↵ | Jason Gerard DeRose | 2008-10-09 | 1 | -0/+4 |
| | | | | takes_options after the automagic ones | ||||
* | Fixed unit tests; changed example.py so it doesn't import servercore | Jason Gerard DeRose | 2008-09-30 | 1 | -1/+1 |
| | |||||
* | Rebase XML-RPC client and server | Rob Crittenden | 2008-09-30 | 1 | -1/+5 |
| | | | | Fix error handling in server to return exceptions generated in library code | ||||
* | 365: Implemented find.get_args(), find.get_options(); added corresponding ↵ | Jason Gerard DeRose | 2008-09-25 | 1 | -2/+6 |
| | | | | unit tests | ||||
* | 364: Implemented Mod.get_args, Mod.get_options(); added corresponding unit tests | Jason Gerard DeRose | 2008-09-25 | 1 | -2/+7 |
| | |||||
* | 362: Implemented Get.get_args() and Del.get_args(); added corresponding unit ↵ | Jason Gerard DeRose | 2008-09-25 | 1 | -2/+4 |
| | | | | tests | ||||
* | 361: Implemented crud.Add.get_options() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-25 | 1 | -1/+3 |
| | |||||
* | 346: Added skeleton framework for crud.py module and corresponding ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -0/+44 |
| | | | | test_crud.py module | ||||
* | 60: Remeved depreciated base.py, crud.py; remeved corresponding ↵ | Jason Gerard DeRose | 2008-08-06 | 1 | -37/+0 |
| | | | | test_base.py, test_crud.py | ||||
* | 25: Updated plugin examples, ipa script | Jason Gerard DeRose | 2008-07-20 | 1 | -4/+4 |
| | |||||
* | 18: Moved base2 stuff into base | Jason Gerard DeRose | 2008-07-20 | 1 | -19/+8 |
| | |||||
* | 11: Added submodules needed to triger the plugin loading, etc., so I can ↵ | Jason Gerard DeRose | 2008-07-20 | 1 | -8/+2 |
| | | | | 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 | -15/+9 |
| | | | | 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 | -47/+24 |
| | | | | plugin definining unit | ||||
* | 8: Experimental work on more OO definition of what gets pluged into API.commands | Jason Gerard DeRose | 2008-07-19 | 1 | -0/+83 |