summaryrefslogtreecommitdiffstats
path: root/ipalib/crud.py
Commit message (Collapse)AuthorAgeFilesLines
* Retype (when cloning) Flag parameters to Bool for search commands.Pavel Zuna2011-01-101-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 Hrozek2010-12-201-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 testsJason Gerard DeRose2010-02-191-2/+2
|
* Add support for the 'no_create', 'no_update', and 'no_search' Param flagsJason Gerard DeRose2010-02-051-3/+109
|
* Take 2: Extensible return values and validation; steps toward a single ↵Jason Gerard DeRose2009-12-101-3/+12
| | | | output_for_cli(); enable more webUI stuff
* Make primary_key optional.Rob Crittenden2009-10-051-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 Zuna2009-09-081-48/+0
|
* Generate crud.Search arguments with get_args.Pavel Zuna2009-06-101-4/+4
|
* Clone options of crud.Update and crud.Search with autofill=False.Pavel Zuna2009-05-261-2/+4
|
* Add ipalib.frontend.Command method to build an entry from params with ↵Pavel Zuna2009-02-231-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 classesJason Gerard DeRose2009-02-031-2/+27
|
* Started reworking CLI class into cli pluginJason Gerard DeRose2009-02-031-1/+1
|
* Added Object.params_minus() method; various small tweaksJason Gerard DeRose2009-02-031-1/+1
|
* Started roughing out new crud base classesJason Gerard DeRose2009-02-031-0/+49
|
* New Param: added Param.query kwarg for crud operations like Retrieve and ↵Jason Gerard DeRose2009-01-141-2/+3
| | | | Search where criteria should not be validated
* All unit tests now working (except for doctests and Rob's xmlrpc tests)Jason Gerard DeRose2009-01-141-2/+2
|
* Partially revert back change. Del shouldn't provide default options.Rob Crittenden2008-11-031-2/+0
| | | | It can provide custom ones though, if defined with takes_params() in the class.
* Initial implementation of automount supportRob Crittenden2008-10-301-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 Crittenden2008-10-231-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 positionalRob Crittenden2008-10-151-2/+2
|
* Port user-show to new CrudBackend frameworkRob Crittenden2008-10-141-3/+5
|
* Added CrudBackend abstract class defining generic CRUD APIJason Gerard DeRose2008-10-131-1/+75
|
* crud.Add.get_args() and get_options() now yield static values in takes_args, ↵Jason Gerard DeRose2008-10-091-0/+4
| | | | takes_options after the automagic ones
* Fixed unit tests; changed example.py so it doesn't import servercoreJason Gerard DeRose2008-09-301-1/+1
|
* Rebase XML-RPC client and serverRob Crittenden2008-09-301-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 DeRose2008-09-251-2/+6
| | | | unit tests
* 364: Implemented Mod.get_args, Mod.get_options(); added corresponding unit testsJason Gerard DeRose2008-09-251-2/+7
|
* 362: Implemented Get.get_args() and Del.get_args(); added corresponding unit ↵Jason Gerard DeRose2008-09-251-2/+4
| | | | tests
* 361: Implemented crud.Add.get_options() method; added corresponding unit testsJason Gerard DeRose2008-09-251-1/+3
|
* 346: Added skeleton framework for crud.py module and corresponding ↵Jason Gerard DeRose2008-09-241-0/+44
| | | | test_crud.py module
* 60: Remeved depreciated base.py, crud.py; remeved corresponding ↵Jason Gerard DeRose2008-08-061-37/+0
| | | | test_base.py, test_crud.py
* 25: Updated plugin examples, ipa scriptJason Gerard DeRose2008-07-201-4/+4
|
* 18: Moved base2 stuff into baseJason Gerard DeRose2008-07-201-19/+8
|
* 11: Added submodules needed to triger the plugin loading, etc., so I can ↵Jason Gerard DeRose2008-07-201-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 DeRose2008-07-201-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 DeRose2008-07-191-47/+24
| | | | plugin definining unit
* 8: Experimental work on more OO definition of what gets pluged into API.commandsJason Gerard DeRose2008-07-191-0/+83