Commit Graph

83 Commits

Author SHA1 Message Date
Rob Crittenden
b045f22069 Add mod_python-based XML-RPC server.
Use -e kerberos on the command-line to use the mod_python server, otherwise
it defaults to use the simple-server URL.
2008-10-16 23:33:44 -04:00
Rob Crittenden
6d2705b363 Implement user lock and unlock 2008-10-13 17:17:00 -04:00
Rob Crittenden
5c07d97865 Slight change to how exceptions are handled 2008-10-10 03:36:57 -04:00
Rob Crittenden
83bb41faeb Mechanism to convert from xmlrpclib.Fault to an IPAError exception
Include slew of new exceptions, not all of which are used yet
2008-10-10 03:36:56 -04:00
Jason Gerard DeRose
fec6fc2e8c Fixed example in raise_TypeError() docstring (thanks, mnagy) 2008-10-07 22:35:45 -06:00
Jason Gerard DeRose
100492d98a 285: Started work on Command.args_to_kw() method; added unit test for functionality so far in args_to_kw() 2008-09-10 20:05:45 +00:00
Jason Gerard DeRose
490eaee8a9 248: Removed depreciated SetError and TwiceSetError exceptions 2008-09-03 22:41:53 +00:00
Jason Gerard DeRose
296d59d27a 247: Added unit tests for errors.RequirementError 2008-09-03 22:29:01 +00:00
Jason Gerard DeRose
004e989dc4 246: Added unit tests for errors.RuleError 2008-09-03 22:14:25 +00:00
Jason Gerard DeRose
62533bfb2b 245: Removed depreciated NormalizationError 2008-09-03 21:55:44 +00:00
Jason Gerard DeRose
6f739bcf67 244: Added unit tests for errors.ConversionError 2008-09-03 21:53:15 +00:00
Jason Gerard DeRose
390c1aa4ba 243: Added unit tests for errors.ValidationError 2008-09-03 20:05:24 +00:00
Jason Gerard DeRose
5e8f945a1e 242: Started cleanup of custom exceptions; added unit tests for errors.IPAError 2008-09-03 19:38:39 +00:00
Jason Gerard DeRose
9b9615df79 241: Added additional index=None kwarg to errors.ValidationError.__init__() 2008-09-03 18:48:58 +00:00
Jason Gerard DeRose
085ea3f62f 239: Added errors.ConversionError; started big clean up of how ValidationError is raised so it works well with multivalues 2008-09-03 18:32:49 +00:00
Jason Gerard DeRose
bc08225dcd 230: Renamed allow_None kwarg to allow_none 2008-09-02 17:44:07 +00:00
Jason Gerard DeRose
6697b955ee 227: check_type() and check_isinstance() now take arguments in (value, type_, name) order so the first two match the built-in isinstance() call signature 2008-09-02 16:42:39 +00:00
Jason Gerard DeRose
5af91df9a5 226: check_type() and check_isinstance() now return the value; updated corresponding unit tests 2008-09-02 15:15:03 +00:00
Jason Gerard DeRose
2fa8d3be74 225: Added errors.check_type() and errors.check_isinstance() functions; added corresponding unit tests 2008-08-29 23:53:04 +00:00
Jason Gerard DeRose
44ff0b3d23 224: Reworked IPATypeError class into raise_TypeError function 2008-08-29 07:05:06 +00:00
Jason Gerard DeRose
76b30dff15 223: IPATypeError takes as first argument, has attribute 2008-08-29 06:04:38 +00:00
Jason Gerard DeRose
03daa91d1c 222: Fixed broken assertion in IPATypeError; did more work on docstrings in same 2008-08-29 04:29:29 +00:00
Jason Gerard DeRose
8dc0e263da 221: Added errors.IPATypeError exception; added new test_errors.py module with corresponding unit tests 2008-08-29 03:48:33 +00:00
Jason Gerard DeRose
992a5dadbe 218: Finished unit tests for Option2.validate(), Option2.validate_scalar() 2008-08-28 20:30:08 +00:00
Jason Gerard DeRose
b4ad681f41 143: Added errors.RequirementError exception; cmd.validate() now raises RequirementError if a required option is missing 2008-08-13 05:14:12 +00:00
Jason Gerard DeRose
47fed6c4c2 142: python2.4: Fixed custom exceptions in errors.py as exceptions in Python2.4 are not new-style classes 2008-08-13 04:11:26 +00:00
Jason Gerard DeRose
fdfa827a36 86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g' 2008-08-08 21:40:03 +00:00
Jason Gerard DeRose
8e46824815 81: Switch from tab to 4-space indentation 2008-08-08 17:11:29 +00:00
Jason Gerard DeRose
14a0658464 76: Fleshed out opt.validate(); added corresponding unit tests 2008-08-07 06:23:02 +00:00
Jason Gerard DeRose
fadbae6420 72: Started work on public.opt class; added corresponding unit tests 2008-08-07 03:38:49 +00:00
Jason Gerard DeRose
f13f1226b4 65: Finished simplified Proxy2 class; updated unit tests 2008-08-06 21:54:56 +00:00
Jason Gerard DeRose
56fa454fdd 47: Added plugable.check_identifier() function; added corresponding unit tests 2008-08-05 06:33:09 +00:00
Jason Gerard DeRose
d7569a84b9 31: Renamed exceptions.py to errors.py 2008-07-31 18:57:10 +00:00