Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix i18n related failures in unit tests. | Pavel Zuna | 2011-03-01 | 1 | -22/+22 |
| | |||||
* | Convert json strings to unicode when they are unmarshalled. | Rob Crittenden | 2011-02-11 | 1 | -1/+1 |
| | | | | | | | | | This patch removes some individual work-arounds of converting strings to unicode, they only masked the problem. String values are not passed to the validator or normalizers so things like adding the realm automatically to services weren't happening. ticket 941 | ||||
* | Fix failed tests. API for utcoffset changed and strings are more robust. | Rob Crittenden | 2011-01-24 | 1 | -3/+4 |
| | | | | | | | In Python 2.7 the API for time.utcoffset() changed. We do more automatic conversions of strings so need to loosen the tests a bit. | ||||
* | 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 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 | 1 | -11/+17 |
| | | | | | | | | | | | | | | 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 | ||||
* | 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 |
| | |||||
* | localize doc strings | John Dennis | 2010-03-08 | 1 | -3/+3 |
| | | | | | | | | | | | | 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. | ||||
* | Translatable Param.label, Param.doc | Jason Gerard DeRose | 2010-02-24 | 1 | -3/+3 |
| | |||||
* | Allow one-character Param names | Rob Crittenden | 2010-02-12 | 1 | -4/+0 |
| | | | | This is done explicitly to support the l/localityname attribute. | ||||
* | Take 2: Extensible return values and validation; steps toward a single ↵ | Jason Gerard DeRose | 2009-12-10 | 1 | -46/+12 |
| | | | | 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() | ||||
* | 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 | 1 | -8/+9 |
| | |||||
* | 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 | ||||
* | Rename errors2.py to errors.py. Modify all affected files. | Pavel Zuna | 2009-04-23 | 1 | -10/+10 |
| | |||||
* | Add new type List that converts delimited values into a tuple | Rob Crittenden | 2009-03-20 | 1 | -0/+59 |
| | |||||
* | Add maxvalue and minvalue kwargs and rules to Int and Float | Rob Crittenden | 2009-03-03 | 1 | -0/+168 |
| | |||||
* | Add pattern matching to Str and Bytes | Jason Gerard DeRose | 2009-02-17 | 1 | -1/+69 |
| | |||||
* | Added some missing parameter unit tests; added docstring about ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -3/+41 |
| | | | | Command._repr_iter() and Param.safe_value() | ||||
* | Further migration toward new xmlrcp code; fixed problem with unicode ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+2 |
| | | | | Fault.faultString; fixed problem where ServerProxy method was not called correctly | ||||
* | Added Command.args_options_2_params() method and its unit tests | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+2 |
| | |||||
* | Fixed Param.validate() so that self.query is checked after self.required | Jason Gerard DeRose | 2009-01-20 | 1 | -1/+2 |
| | |||||
* | Added missing enumerable parameters | Jason Gerard DeRose | 2009-01-18 | 1 | -0/+49 |
| | |||||
* | New Param: added Param.query kwarg for crud operations like Retrieve and ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -2/+9 |
| | | | | Search where criteria should not be validated | ||||
* | New Param: split common Bytes/Str functionality into new Data base class; ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -0/+53 |
| | | | | Str no longer subclasses from Bytes | ||||
* | Updated all references to 'parameter' module to 'parameters' | Jason Gerard DeRose | 2009-01-14 | 1 | -50/+50 |
| | |||||
* | New Param: renamed parameter.py to parameters.py | Jason Gerard DeRose | 2009-01-14 | 1 | -0/+884 |