Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Updated passwd plugins module to where it can at least be imported | Jason Gerard DeRose | 2009-01-14 | 1 | -0/+6 | |
| | ||||||
* | New Param: all docstring examples now pass under doctests | Jason Gerard DeRose | 2009-01-14 | 1 | -2/+24 | |
| | ||||||
* | New Param: added Param.query kwarg for crud operations like Retrieve and ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -0/+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 | -1/+7 | |
| | ||||||
* | New Param: split common Bytes/Str functionality into new Data base class; ↵ | Jason Gerard DeRose | 2009-01-14 | 1 | -15/+36 | |
| | | | | Str no longer subclasses from Bytes | |||||
* | New Param: renamed parameter.py to parameters.py | Jason Gerard DeRose | 2009-01-14 | 1 | -0/+882 | |