Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change FreeIPA license to GPLv3+ | Jakub Hrozek | 2010-12-20 | 17 | -85/+85 |
| | | | | | | | | | | 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 RDN changes from CLI | Jakub Hrozek | 2010-12-20 | 1 | -0/+28 |
| | | | | https://fedorahosted.org/freeipa/ticket/397 | ||||
* | Add new parameter type IA5Str and use this to enforce the right charset. | Rob Crittenden | 2010-12-07 | 1 | -0/+23 |
| | | | | ticket 496 | ||||
* | Use context to decide which name to return on RequirementsErrors | Rob Crittenden | 2010-10-28 | 2 | -11/+19 |
| | | | | | | | | | | | | | | 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 | ||||
* | Fix _merge_from_file test | Rob Crittenden | 2010-10-18 | 1 | -1/+1 |
| | |||||
* | Add support for client failover to the ipa command-line. | Rob Crittenden | 2010-08-16 | 1 | -1/+1 |
| | | | | | | | | | | | | This adds a new global option to the ipa command, -f/--no-fallback. If this is included then just the server configured in /etc/ipa/default.conf is used. Otherwise that is tried first then all servers in DNS with the ldap SRV record are tried. Create a new Local() Command class for local-only commands. The help command is one of these. It shouldn't need a remote connection to execute. ticket #15 | ||||
* | Fix RPC tests. The method comes back as a unicode from xmlrpclib. | Rob Crittenden | 2010-08-06 | 1 | -2/+2 |
| | |||||
* | Skip the i18n test if the test language has not been built | Rob Crittenden | 2010-08-06 | 1 | -0/+6 |
| | |||||
* | Fix this test to work from source tree root | Rob Crittenden | 2010-08-06 | 1 | -2/+2 |
| | | | | | | | | It would work if you ran the test from its location in tests/test_ipalib but this isn't the most common method. If you want to run it individually you can do: $ ./make-test tests/test_ipalib/test_text.py | ||||
* | Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss | Rob Crittenden | 2010-07-29 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | This patch: - bumps up the minimum version of python-nss - will initialize NSS with nodb if a CSR is loaded and it isn't already init'd - will shutdown NSS if initialized in the RPC subsystem so we use right db - updated and added a few more tests Relying more on NSS introduces a bit of a problem. For NSS to work you need to have initialized a database (either a real one or no_db). But once you've initialized one and want to use another you have to close down the first one. I've added some code to nsslib.py to do just that. This could potentially have some bad side-effects at some point, it works ok now. | ||||
* | Add some basic tests for ipalib/x509 | Rob Crittenden | 2010-07-29 | 1 | -0/+139 |
| | |||||
* | Add weekly periodic schedule to AccessTime param type. | root | 2010-05-04 | 1 | -3/+2 |
| | | | | Fix bug #588414 | ||||
* | Add test cases for AccessTime param and fix some problems in AccessTime | Rob Crittenden | 2010-05-03 | 1 | -0/+40 |
| | |||||
* | Add gettext translation test using test language. | John Dennis | 2010-04-16 | 1 | -0/+88 |
| | |||||
* | XML-RPC signature change | Jason Gerard DeRose | 2010-03-30 | 1 | -1/+1 |
| | |||||
* | Finish deferred translation mechanism | Jason Gerard DeRose | 2010-03-16 | 1 | -11/+124 |
| | |||||
* | localize doc strings | John Dennis | 2010-03-08 | 3 | -5/+6 |
| | | | | | | | | | | | | A number of doc strings were not localized, wrap them in _(). Some messages were not localized, wrap them in _() Fix a couple of failing tests: The method name in RPC should not be unicode. The doc attribute must use the .msg attribute for comparison. Also clean up imports of _() The import should come from ipalib or ipalib.text, not ugettext from request. | ||||
* | Fix unicode failures in Env tests and dn failures in XML-RPC tests | Rob Crittenden | 2010-02-26 | 1 | -19/+19 |
| | |||||
* | Translatable Param.label, Param.doc | Jason Gerard DeRose | 2010-02-24 | 1 | -3/+3 |
| | |||||
* | Fix non XML-RPC tests | Jason Gerard DeRose | 2010-02-19 | 1 | -8/+13 |
| | |||||
* | Add Object.label class attribute, enable in webUI | Jason Gerard DeRose | 2010-02-12 | 1 | -0/+19 |
| | |||||
* | Allow one-character Param names | Rob Crittenden | 2010-02-12 | 1 | -4/+0 |
| | | | | This is done explicitly to support the l/localityname attribute. | ||||
* | Command.output_params not contains params in Command.params | Jason Gerard DeRose | 2010-02-11 | 1 | -0/+27 |
| | |||||
* | Add support for the 'no_create', 'no_update', and 'no_search' Param flags | Jason Gerard DeRose | 2010-02-05 | 1 | -3/+5 |
| | |||||
* | Remove __public__ and __proxy__ hold-overs from Plugin class | Jason Gerard DeRose | 2010-01-28 | 3 | -118/+0 |
| | |||||
* | Fix backend.Executioner unit test. | Pavel Zuna | 2010-01-13 | 1 | -6/+13 |
| | | | | | | | | | | Before the patch that allows to create unshared instances of Connectible objects, all Connection object were deleted at once in destroy_context(). It made sense at the time, because there was always at most one Connection per Connectible subclass and Connectible.disconnect() was called only internally by the Executioner class. Now that we can make arbitrary connections, it makes more sense to delete the Connection object when Connectible.disconnect() is called. | ||||
* | Take 2: Extensible return values and validation; steps toward a single ↵ | Jason Gerard DeRose | 2009-12-10 | 6 | -64/+553 |
| | | | | output_for_cli(); enable more webUI stuff | ||||
* | Reading INT parameter class should respect radix prefix | John Dennis | 2009-11-23 | 1 | -0/+27 |
| | | | | | | | | | | This modifies the original patch by including a unit test, handling floats when passed as unicode, and handling large magnitude values beyond maxint. The INT parameter class was not respecting any radix prefix (e.g. 0x) the user may have supplied. This patch implements _convert_scalar method for the Int class so that we can pass the special radix base of zero to the int constructor telling it to determine the radix from the prefix (if present). | ||||
* | _convert_scalar() should throw an error if passed a tuple or list | Rob Crittenden | 2009-11-17 | 1 | -1/+7 |
| | | | | | A parameter needs to have multivalue set in order to work on lists/tuples and even then _convert_scalar() will be sent one value at a time. | ||||
* | Change Password param so (password, confirm_password) can be passed to ↵ | Jason Gerard DeRose | 2009-10-18 | 1 | -0/+11 |
| | | | | _convert_scalar() | ||||
* | Removed util.add_global_options() and frontend.Application | Jason Gerard DeRose | 2009-10-14 | 1 | -37/+0 |
| | |||||
* | Giant webui patch take 2 | Jason Gerard DeRose | 2009-10-13 | 1 | -0/+21 |
| | |||||
* | Fix unit tests for plugins using baseldap classes. | Pavel Zuna | 2009-10-05 | 3 | -143/+9 |
| | |||||
* | Removed PluginProxy and all its uses | Jason Gerard DeRose | 2009-08-05 | 2 | -152/+14 |
| | |||||
* | Fix Encoder.decode test. | Pavel Zuna | 2009-07-02 | 1 | -1/+1 |
| | |||||
* | Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and ↵ | Pavel Zuna | 2009-06-10 | 2 | -42/+50 |
| | | | | 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 | 3 | -8/+105 |
| | | | | and Object | ||||
* | Added Param 'include' and 'exclude' kwargs; added frontend.UsesParams base ↵ | Jason Gerard DeRose | 2009-05-19 | 1 | -2/+37 |
| | | | | class with methods implementing the filtering to restrict params to only certain contexts | ||||
* | Add Encoder base class and method decorators to encode arguments/decode ↵ | Pavel Zuna | 2009-05-19 | 1 | -0/+144 |
| | | | | return values. Also - unit tests. | ||||
* | Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ ↵ | Jason Gerard DeRose | 2009-05-11 | 1 | -51/+51 |
| | | | | don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed | ||||
* | Rename errors2.py to errors.py. Modify all affected files. | Pavel Zuna | 2009-04-23 | 6 | -67/+67 |
| | |||||
* | Finish work replacing the errors module with errors2 | Rob Crittenden | 2009-04-20 | 3 | -291/+2 |
| | | | | | | 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 new type List that converts delimited values into a tuple | Rob Crittenden | 2009-03-20 | 1 | -0/+59 |
| | |||||
* | Fixed Executioner.execute() so that its 'name' argument doesn't conflict ↵ | Jason Gerard DeRose | 2009-03-13 | 1 | -0/+14 |
| | | | | with a param called 'name' (which is a valid param name) | ||||
* | Add maxvalue and minvalue kwargs and rules to Int and Float | Rob Crittenden | 2009-03-03 | 1 | -0/+168 |
| | |||||
* | Add unit test for ipalib.frontend.Command.args_options_2_entry. | Pavel Zuna | 2009-02-24 | 1 | -1/+32 |
| | |||||
* | Add pattern matching to Str and Bytes | Jason Gerard DeRose | 2009-02-17 | 1 | -1/+69 |
| | |||||
* | Removed depreciated xmlrpc_marshal() and xmlrpc_unmarshal() functions | Jason Gerard DeRose | 2009-02-17 | 1 | -24/+0 |
| | |||||
* | Finished reworked cli.CLI class into cli.cli plugin | Jason Gerard DeRose | 2009-02-03 | 1 | -161/+0 |
| | |||||
* | Ported xmlclient to subclass from Connectible | Jason Gerard DeRose | 2009-02-03 | 2 | -62/+69 |
| |