Commit Graph

21 Commits

Author SHA1 Message Date
Jason Gerard DeRose
c2b0c80140 Started work on a much simplified mod_python server 2009-02-03 15:29:05 -05:00
Jason Gerard DeRose
0211c76cd0 Fixed some of the test_xmlrpc unit tests 2009-02-03 15:29:05 -05:00
Rob Crittenden
5717c9d668 Applied Rob's errors patch 2009-02-03 15:29:04 -05:00
Jason Gerard DeRose
0313f03277 Added ServiceError (KerberosError) and make rpc.KerbTransport raise it if appropriate 2009-02-03 15:29:02 -05:00
Jason Gerard DeRose
244346dbcb More work on xmlrpc stuff, started migrated more code to use errors2 instead of errors 2009-02-03 15:29:01 -05:00
Jason Gerard DeRose
833088955c More xmlrpc tweaks: xmlserver.execute() now logs non-public exceptions; xmlclient.forward() now handles socket error; fixed some Python 2.4 problems in lite-xmlrpc2.py 2009-02-03 15:29:01 -05:00
Jason Gerard DeRose
ae39dece13 Added Command.args_options_2_params() method and its unit tests 2009-02-03 15:29:00 -05:00
Jason Gerard DeRose
55fba5420d Added rpc.xmlclient backend plugin for forwarding; added corresponding unit tests 2009-01-19 21:10:42 -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
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
Jason Gerard DeRose
f130da56c3 Additional work on the new error code tree in errors2.py 2009-01-06 11:15:41 -07:00
Jason Gerard DeRose
ff66c7ece6 Added more public exceptions and did some other cleanup in errors2 2009-01-04 18:20:39 -07:00
Jason Gerard DeRose
2608838ef1 Quite a bit of work on new public errors and their unit tests 2009-01-04 03:52:08 -07:00
Jason Gerard DeRose
c161784973 Added request.ugettext() and request.ungettext() functions; added corresponding unit tests 2009-01-04 00:46:21 -07:00
Jason Gerard DeRose
bb6e9cfe9f Plugin.call() now uses errors2 version of SubprocessError 2009-01-03 18:02:58 -07:00
Jason Gerard DeRose
6b6e6b1cab Ported plugin registration errors into errors2.py; plugable.Registrar now raises new errors2 exceptions 2009-01-03 17:27:53 -07:00
Jason Gerard DeRose
d1517b95ca Ported errors.SubprocessError to errors2 2009-01-03 15:35:54 -07:00
Jason Gerard DeRose
0d3ddef93b Started fleshing out reoganization of errors in errors.py (with gettext support) 2009-01-03 02:35:36 -07:00