Cédric Krier
80fc6aff30
Use copy of handlers set to prevent changed size during iteration
2014-04-04 23:38:21 +02:00
Cédric Krier
68127768cf
Remove old backward Python <= 2.6 compatibility code
2014-04-04 23:34:56 +02:00
Cédric Krier
64421ff64f
Manage microseconds in JSON-RPC and XML-RPC
...
review3551002
2014-03-15 10:36:20 +01:00
Cédric Krier
bc6acd08ee
Drop support of Python 2.6
...
review2691002
2014-01-31 00:02:03 +01:00
Cédric Krier
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
1a362c3879
Remove dependency to pyOpenSSL
...
review598006
2012-12-13 19:04:52 +01:00
Cédric Krier
5c9ea961ec
Add missing shutdown_request on TCPServer for Python <= 2.6
...
issue2606
review374001
2012-05-19 15:30:38 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
08e24d4acf
Add missing RegisterHandlerMixin in SimpleXMLRPCRequestHandler
2012-03-27 10:35:24 +02:00
Cédric Krier
1b0a713dad
New autoreload that restarts the server instead of reloading modules
...
issue2417
review283001
2012-03-12 22:27:59 +01:00
Cédric Krier
e348c49312
Add support of fields.Time
...
issue2313
review231006
2012-02-07 16:11:22 +01:00
Cédric Krier
54e3189fb6
Keep traceback as str as we don't know the encoding
...
issue2302
review225001
2012-01-17 13:54:08 +01:00
Cédric Krier
4bd45954fb
Activate SO_KEEPALIVE on socket
...
review221002
2012-01-17 13:51:08 +01:00
Cédric Krier
8b33421403
Use XML-RPC struct for Decimal and Date
...
review191006
2011-12-22 22:17:08 +01:00
Korbinian Preisler
775640f882
Fix error handling for XML-RPC
...
issue2315
review191003
2011-12-02 07:27:51 +01:00
Cédric Krier
8df135fe65
No need to go further in parse_request if it did not succeed
...
review180001
2011-11-19 19:38:47 +01:00
Nicolas Évrard
0a471486e0
correct pyflake errors
...
review164003
2011-11-02 15:49:38 +01:00
Cédric Krier
80fd323cae
Missing import of Exceptions
2011-10-11 20:42:08 +02:00
Cédric Krier
fefd67c3a5
Improve Binary fields
...
* Support size format in context for Binary fields
* Use buffer for Binary fields
* No more store Binary fields in base64
review74006
2011-09-17 14:43:05 +02:00
Cédric Krier
1a84c04adf
Rational exceptions
...
review94001
2011-09-05 20:30:26 +02:00
Cédric Krier
d5efbc62ad
Drop NetRPC and activate JSON-RPC by default
2011-08-06 14:31:24 +02:00
Cédric Krier
a370592430
Remove socket timeout code for Python < 2.6
2011-07-16 20:17:30 +02:00
Korbinian Preisler
f87758c593
convert Float to double for xmlrpc for issue1903
2011-03-25 16:19:19 +01:00
Cédric Krier
54a2967cec
Convert dictionary with numeric keys into str for xmlrpc
2010-12-27 16:35:23 +01:00
Cédric Krier
c370a1fdc7
Handle timeout in SocketServer for Python < 2.6 for issue1731
2010-10-19 22:32:37 +02:00
Cédric Krier
33b2698270
Don't lose precision when dumping Decimal for XML-RPC
...
By converting Decimal into float, there is a precision lost so it is better to
write directly the string format of Decimal
2010-10-08 22:52:55 +02:00
Phillip Heller
91184b1173
Factored out common daemon code from services to new trytond.protocols.com
...
Suppress Errno 57 when attempting to close an already shut socket, fixes issue1624
Revert from join() on enumerated threads to join() on individual service threadsto preserve debugging environments
2010-10-06 16:53:00 -04:00
Cédric Krier
483afed26a
Catch only Exception according to PEP 352
2010-07-08 19:53:39 +02:00
Cédric Krier
9922b401a7
Handle date and datetime in XML-RPC
2010-06-09 19:52:47 +02:00
Cédric Krier
0a238cd62f
Use basic access authentication for XML-RPC
2010-03-23 10:45:02 +01:00
Cédric Krier
0415e46c73
Don't allow to use float in Numeric fields
...
The goal is to prevent to introduce float errors in Numeric fields.
There is a trick for external protocols like XML-RPC and JSON-RPC where the
string representation is stored in the Float object and will be used to
convert it into Decimal.
2010-03-12 17:41:07 +01:00
Cédric Krier
b5fb4d1ef3
Refactoring by validation with pylint
2010-02-18 18:50:35 +01:00
Cédric Krier
90f3f5b16c
Rename HttpDaemon into XMLRPCDaemon
2009-11-13 12:41:43 +01:00
Cédric Krier
c85187a104
Add timeout to SimpleThreadedXMLRPCServer for Python 2.6
2009-08-20 17:18:02 +02:00
Cédric Krier
3564b0a50d
Use dump_double instead of dump_long for Decimal in xmlrpc.Marshaller
2009-07-15 17:29:19 +02:00
Cédric Krier
ac297f15a1
Better comment for gzip encoding
2009-06-24 14:55:40 +02:00
Cédric Krier
a050e5ad81
Add gzip encoding for XML-RPC
2009-06-24 13:23:02 +02:00
Cédric Krier
805ce0c869
Remove logging from protocols and add host, port, protocol on dispatch
2009-02-27 18:48:07 +01:00
Cédric Krier
a9c8d58be5
Add introspection and use better syntax for XML-RPC
...
Syntax:
url = http://ip:port/database_name
method = (model|wizard|report).object_name.method
2009-02-27 00:52:40 +01:00
Cédric Krier
5b37a3b9dd
Convert None into False for XML-RPC
2009-02-27 00:49:05 +01:00
Cédric Krier
77067f009d
Remove unused call to register_introspection_functions
2009-02-25 12:21:27 +01:00
Cédric Krier
a4455679bd
Move xmlrpc into protocols
2009-02-12 18:31:42 +01:00