Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Retype (when cloning) Flag parameters to Bool for search commands. | Pavel Zuna | 2011-01-10 | 1 | -1/+7 |
| | | | | | | | | | 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 | ||||
* | Fix webUI command parameters error on Fedora 14. | Pavel Zuna | 2010-12-22 | 1 | -1/+9 |
| | |||||
* | Fix reporting of errors when validating parameters. | Pavel Zuna | 2010-12-21 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | Print the attribute CLI name instead of its 'real' name. The real name is usually the name of the corresponding LDAP attribute, which is confusing to the user. This way we get: Invalid 'login': blablabla instead of: Invalid 'uid': blablabla Another example: Invalid 'hostname': blablabla instead of: Invalid 'fqdn': blablabla Ticket #435 | ||||
* | 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 | -1/+7 |
| | | | | 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/+19 |
| | | | | ticket 496 | ||||
* | This is the second half of a patch. Only the part that had to be | Rob Crittenden | 2010-12-02 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | re-based got pushed for some reason. Use better description for group names in help and always prompt for members When running <foo>-[add|remove]-member completely interactively it didn't prompt for managing membership, it just reported that 0 members were handled which was rather confusing. This will work via a shell if you want to echo too: $ echo "" | ipa group-add-member g1 This returns 0 members because nothing is read for users or group members. $ echo -e "g1\nadmin\n" | ipa group-add-member This adds the user admin to the group g1. It adds it as a user because user membership is prompted for first. ticket 415 | ||||
* | Output ACI's broken out into attributes rather than a single text field | Rob Crittenden | 2010-11-04 | 1 | -1/+10 |
| | | | | | | Also add validation to the List parameter type. ticket 357 | ||||
* | Use context to decide which name to return on RequirementsErrors | Rob Crittenden | 2010-10-28 | 1 | -5/+12 |
| | | | | | | | | | | | | | | 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 | ||||
* | Big webUI patch. | Pavel Zuna | 2010-09-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | Quick summary: - use jQuery UI and jQuery BBQ libraries - code restructuring The patch has so many changes they can't be listed here. Many parts of the code have been rewritten from scrach. See freeipa-devel mailing list: webUI code restructuring [wall of text, diagrams, ... you've been warned!] 2010-09-07 | ||||
* | Improve serialization to JSON. | Pavel Zuna | 2010-08-12 | 1 | -0/+14 |
| | | | | | | - Make it recursive. - Make Param classes serializable. - Take python native data types into account. | ||||
* | Add optional error message to pattern validator | Rob Crittenden | 2010-08-06 | 1 | -3/+9 |
| | | | | | | | | | The pattern validator by default displays the pattern that is being matched against. This isn't helpful, particularly for very hairy patterns. This adds a new parameter, pattern_errmsg, that is displayed on errors if set. ticket #11 | ||||
* | Increase supported weeks per month from 4 to 6 in AccessTime() type | Rob Crittenden | 2010-06-03 | 1 | -1/+1 |
| | |||||
* | Add weekly periodic schedule to AccessTime param type. | root | 2010-05-04 | 1 | -0/+2 |
| | | | | Fix bug #588414 | ||||
* | Add test cases for AccessTime param and fix some problems in AccessTime | Rob Crittenden | 2010-05-03 | 1 | -4/+10 |
| | |||||
* | Finish deferred translation mechanism | Jason Gerard DeRose | 2010-03-16 | 1 | -3/+3 |
| | |||||
* | When raising an error about a required attribute, use cli_name not name. | Rob Crittenden | 2010-03-07 | 1 | -1/+1 |
| | | | | name is an LDAP attribute and may not be easily identifiable (e.g. sn). | ||||
* | Translatable Param.label, Param.doc | Jason Gerard DeRose | 2010-02-24 | 1 | -10/+81 |
| | |||||
* | Fix bug where parameter cloning didn't clone validation rules. | Pavel Zuna | 2010-02-23 | 1 | -1/+1 |
| | |||||
* | Don't iterate over empty values in List params | Rob Crittenden | 2010-02-17 | 1 | -1/+1 |
| | |||||
* | 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 | -12/+10 |
| | | | | output_for_cli(); enable more webUI stuff | ||||
* | Rename GeneralizedTime to AccessTime. | Pavel Zuna | 2009-12-01 | 1 | -4/+4 |
| | |||||
* | Fix Bool parameter type. It was impossible to set it to FALSE. | Pavel Zuna | 2009-11-30 | 1 | -2/+4 |
| | |||||
* | Reading INT parameter class should respect radix prefix | John Dennis | 2009-11-23 | 1 | -0/+29 |
| | | | | | | | | | | 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 | -0/+12 |
| | | | | | 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. | ||||
* | Add 'File' parameter type. | Pavel Zuna | 2009-11-06 | 1 | -0/+12 |
| | | | | Accepts filenames and loads file contents as parameter value. | ||||
* | Change Password param so (password, confirm_password) can be passed to ↵ | Jason Gerard DeRose | 2009-10-18 | 1 | -0/+9 |
| | | | | _convert_scalar() | ||||
* | Giant webui patch take 2 | Jason Gerard DeRose | 2009-10-13 | 1 | -4/+47 |
| | |||||
* | Add HBAC plugin and introduce GeneralizedTime parameter type. | Pavel Zuna | 2009-10-05 | 1 | -0/+166 |
| | |||||
* | Remove parent_key parameter kwarg. | Pavel Zuna | 2009-09-10 | 1 | -7/+4 |
| | | | | Also replace a TYPE_ERROR with ValidationError. | ||||
* | Fix three broken unit tests | Jason Gerard DeRose | 2009-08-04 | 1 | -8/+7 |
| | |||||
* | Add a one-character option for parameters | Rob Crittenden | 2009-07-10 | 1 | -0/+8 |
| | |||||
* | Add 'parent_key' kwarg in Param class. | Pavel Zuna | 2009-06-10 | 1 | -0/+1 |
| | |||||
* | Fix bug where List parameters where always cloned with keywords parsed from ↵ | Pavel Zuna | 2009-06-02 | 1 | -6/+7 |
| | | | | name. | ||||
* | Completed Param.use_in_context() functionality, which is now used by Command ↵ | Jason Gerard DeRose | 2009-05-21 | 1 | -12/+42 |
| | | | | and Object | ||||
* | Added Param 'include' and 'exclude' kwargs; added frontend.UsesParams base ↵ | Jason Gerard DeRose | 2009-05-19 | 1 | -4/+48 |
| | | | | 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 | -1/+1 |
| | |||||
* | Add new type List that converts delimited values into a tuple | Rob Crittenden | 2009-03-20 | 1 | -0/+50 |
| | |||||
* | Add maxvalue and minvalue kwargs and rules to Int and Float | Rob Crittenden | 2009-03-03 | 1 | -2/+67 |
| | |||||
* | Fix multivalue params requiring default to be of type self.type instead of ↵ | Pavel Zuna | 2009-02-23 | 1 | -1/+4 |
| | | | | tuple. | ||||
* | Add pattern matching to Str and Bytes | Jason Gerard DeRose | 2009-02-17 | 1 | -6/+25 |
| | |||||
* | Added some missing parameter unit tests; added docstring about ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+20 |
| | | | | Command._repr_iter() and Param.safe_value() | ||||
* | Fixed a few problems in the CLI interactive prompting (wont prompt for Flag now) | Jason Gerard DeRose | 2009-02-03 | 1 | -1/+6 |
| | |||||
* | More work on xmlrpc stuff, started migrated more code to use errors2 instead ↵ | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+5 |
| | | | | of errors | ||||
* | Added Command.args_options_2_params() method and its unit tests | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+1 |
| | |||||
* | Started roughing out new crud base classes | Jason Gerard DeRose | 2009-02-03 | 1 | -0/+5 |
| | |||||
* | Fixed Param.validate() so that self.query is checked after self.required | Jason Gerard DeRose | 2009-01-20 | 1 | -3/+2 |
| | |||||
* | Added example to StrEnum docstring | Jason Gerard DeRose | 2009-01-18 | 1 | -0/+10 |
| | |||||
* | Added missing enumerable parameters | Jason Gerard DeRose | 2009-01-18 | 1 | -0/+41 |
| |