Jason Gerard DeRose
5d82e3b35a
Changed ipauuid.py docstring slightly so epydoc formats it correctly
2009-01-21 13:36:53 -07:00
Jason Gerard DeRose
0c95e86cf3
Removed doctest +ELLIPSIS directive from some examples in ipauuid.py that didn't need it
2009-01-21 13:22:22 -07:00
Jason Gerard DeRose
c4702f3a1e
Fixed some Python2.4 issues in ipauuid.py doctests
2009-01-21 13:08:30 -07:00
Jason Gerard DeRose
5616af19b1
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
2009-01-21 12:42:40 -07:00
Jason Gerard DeRose
f22f3eabb2
Fixed Param.validate() so that self.query is checked after self.required
2009-01-20 09:38:39 -07:00
Jason Gerard DeRose
55fba5420d
Added rpc.xmlclient backend plugin for forwarding; added corresponding unit tests
2009-01-19 21:10:42 -07:00
Rob Crittenden
aba16941ee
Skip doc testing of the uuid module since by nature it changes every time
2009-01-19 10:40:12 -05:00
Rob Crittenden
98ab09fafc
Initial implementation of netgroups
2009-01-19 10:40:12 -05:00
Rob Crittenden
8154131ce1
Use correct function for outputing a string
2009-01-19 10:40:11 -05:00
Rob Crittenden
bc40686b7f
Fix rule definition to match new API
2009-01-19 10:40:11 -05:00
Rob Crittenden
e708765d61
Include local copy of UUID generator for Python 2.4.
...
Python 2.5+ has a built-in RFC 4122-compliant UUID generator. Include a
copy of this file in our library and import it in a way that it will
work with Python 2.4.
2009-01-19 10:40:11 -05:00
Jason Gerard DeRose
bae9dd7c07
Added example to StrEnum docstring
2009-01-18 16:03:02 -07:00
Jason Gerard DeRose
364e05def1
Added missing enumerable parameters
2009-01-18 15:55:56 -07:00
Jason Gerard DeRose
7514f96173
New Param: fixed metavar bug in cli.py
2009-01-16 11:07:21 -07:00
Jason Gerard DeRose
462bac3c13
Added docstring cross-references between rpc and rpcserver modules
2009-01-16 01:56:39 -07:00
Jason Gerard DeRose
0227a12949
Added docstrings to the new rpc.xml_dumps() and rcp.xml_loads() functions
2009-01-16 01:23:55 -07:00
Jason Gerard DeRose
6be5e4a0a5
ipalib.rpc: now using allow_none=True after conversation with Rob; added xml_dumps() and xml_loads() functions; some name cleanup
2009-01-15 23:52:50 -07:00
Jason Gerard DeRose
4d4fa694ee
Small change in ipalib.cli to check if param is a Password instance instead of calling depreciated ispasswd() method
2009-01-14 23:15:46 -07:00
Jason Gerard DeRose
fdda31c50b
Fixed a problem in the host plugin module; added not in TODO about using Param.query
2009-01-14 22:59:44 -07:00
Jason Gerard DeRose
a10144be24
Updated service plugins module to where it can at least be imported
2009-01-14 22:35:13 -07:00
Jason Gerard DeRose
86b7ebf717
Updated ra plugins module to where it can at least be imported
2009-01-14 22:29:59 -07:00
Jason Gerard DeRose
a41a7f406f
Updated pwpolicy plugins module to where it can at least be imported
2009-01-14 22:25:45 -07:00
Jason Gerard DeRose
ec86208a90
Updated passwd plugins module to where it can at least be imported
2009-01-14 22:19:31 -07:00
Jason Gerard DeRose
64c072b7b3
Updated hostgroup plugins module to where it can at least be imported
2009-01-14 22:10:09 -07:00
Jason Gerard DeRose
ec14fbfbc5
Updated host plugins module to where it can at least be imported
2009-01-14 21:55:04 -07:00
Jason Gerard DeRose
29e5a58795
Updated group plugins module to where it can at least be imported
2009-01-14 21:23:20 -07:00
Jason Gerard DeRose
39068ab7ca
Fixed automount plugins module to where it can at least be imported
2009-01-14 21:11:14 -07:00
Jason Gerard DeRose
0327b83899
New Param: all docstring examples now pass under doctests
2009-01-14 20:36:17 -07:00
Jason Gerard DeRose
cd3508bace
New Param: added Param.query kwarg for crud operations like Retrieve and Search where criteria should not be validated
2009-01-14 14:04:05 -07:00
Jason Gerard DeRose
79422d0489
All unit tests now working (except for doctests and Rob's xmlrpc tests)
2009-01-14 13:51:37 -07:00
Jason Gerard DeRose
09e2f5d615
New Param: got most of unit tests ported (still have 6 errors); haven't ported doctests yet
2009-01-14 13:17:30 -07:00
Jason Gerard DeRose
69acff450c
New Param: removed more depreciated 'import ipa_types'
2009-01-14 12:00:47 -07:00
Jason Gerard DeRose
2b2e73e7df
Removed depreciated code from frontend.py; frontend.py no longer imports ipa_types
2009-01-14 11:39:29 -07:00
Jason Gerard DeRose
f3e0900ebc
New Param: ipalib.__init__ no longer import ipa_types and instead imports appropriate classes from parameters
2009-01-14 11:32:32 -07:00
Jason Gerard DeRose
47e8b1c0b7
Removed deprecited ipa_types.py and test_ipa_types.py
2009-01-14 11:25:26 -07:00
Jason Gerard DeRose
3e201dfff6
New Param: split common Bytes/Str functionality into new Data base class; Str no longer subclasses from Bytes
2009-01-14 10:58:05 -07:00
Jason Gerard DeRose
5d1e5a0aa9
New Param: renamed parameter.py to parameters.py
2009-01-14 10:25:33 -07:00
Jason Gerard DeRose
cc5d7e8adb
New Param: Small docstring change in Flag
2009-01-14 10:17:39 -07:00
Jason Gerard DeRose
05514292dc
New Param: Flag now fill-in default=False and also forces default to be a bool
2009-01-14 09:56:10 -07:00
Jason Gerard DeRose
8cc38e681f
New Param: added new Flag param class and its unit test
2009-01-13 20:27:19 -07:00
Jason Gerard DeRose
659bb4c142
New Param: added Param.clone() method and corresponding unit test
2009-01-13 19:49:23 -07:00
Jason Gerard DeRose
a0fb215a2c
New Param: updated Str._convert_scalar() so it raises a ConversionError
2009-01-13 18:29:45 -07:00
Jason Gerard DeRose
10747103fa
New Param: implemented a base Param._convert_scalar() method; added Param.type_error attribute for ConversionError message
2009-01-13 02:17:16 -07:00
Jason Gerard DeRose
c2b0d03f82
New Param: updated Bytes and Str length rules to use new rule(_, value) calling signature; updated corresponding unit tests
2009-01-13 01:07:33 -07:00
Jason Gerard DeRose
33db9fee60
New Param: ported create_param() function and unit tests
2009-01-13 00:27:06 -07:00
Jason Gerard DeRose
11dce19225
New Param: added Param.get_default() method and detailed docstring; added corresponding unit tests
2009-01-12 22:48:04 -07:00
Jason Gerard DeRose
5c7c0b35bb
New Param: added Param.validate() and Param._validate_scalar() methods; added corresponding unit tests
2009-01-12 16:14:46 -07:00
Jason Gerard DeRose
3e9eb0bda0
Changed PublicError so str(e) is untranslated (for logging) and added format=None kwarg for generic use
2009-01-08 00:07:18 -07:00
Jason Gerard DeRose
9e430755a5
Renamed PublicError.code attribute to PublicError.errno
2009-01-06 13:33:22 -07:00
Jason Gerard DeRose
ac89267c2f
Fixed type in KerberosError, droped LDAPError range to just 100 codes for now
2009-01-06 11:54:58 -07:00