Commit Graph
84 Commits
Author SHA1 Message Date
Cédric Krier d80abe4548 Fix missing closing of database cursor 2011-05-16 12:22:43 +02:00
Cédric Krier 3414c2e8da Add missing nl_NL in dispatcher 2011-04-15 14:54:16 +02:00
Cédric Krier 87cd016adb Test if database exist before login for issue1937 2011-04-12 11:58:31 +02:00
Steffen Beyer 8fc9820dcb Fix WebDAV socket misbehaviour under BSD for Python >= 2.6 for issue1914
work around http://bugs.python.org/issue7995
2011-03-31 17:39:24 +02:00
Korbinian Preisler f87758c593 convert Float to double for xmlrpc for issue1903 2011-03-25 16:19:19 +01:00
Nicolas Évrard bc80334588 Add new option to prevent database listing 2011-03-13 11:38:33 +01:00
Cédric Krier c32655ae05 Catch select.error for SIGTERM on OpenBSD 2011-01-16 22:25:19 +01:00
Cédric Krier 54a2967cec Convert dictionary with numeric keys into str for xmlrpc 2010-12-27 16:35:23 +01:00
Nickolay Kolev bc36b9ec82 Add Bulgarian translation 2010-12-12 20:32:44 +02: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 e91336db7b Adding trytond.protocols.common, forgotten from changeset 24cea3fc98c2 2010-10-06 17:56:16 -04: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
Phillip Heller e77d1851ff Set waiting connection on select instead of accept for issue1625
SIGINT seems to not stop accept call
2010-09-25 11:42:43 -04:00
Cédric Krier aa5816be0f Move Cache in trytond.cache and convert outside tools for issue1653 2010-08-24 20:54:27 +02:00
Cédric Krier df1fd283ac New transaction management
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02: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 1346249cc3 Fix Float for Python < 2.6 and handle extra methods on Decimal 2010-06-07 21:27:49 +02:00
Cédric Krier ed1965f4bf Extend Float to work with Decimal for issue1575 thanks to gadaga 2010-06-06 11:30:33 +02:00
Cédric Krier 015c05c174 Fix get_data to work with pywebdav 0.9.4 for issue1561 2010-05-08 00:54:56 +02:00
Cédric Krier c77ce123c5 Fix jsonrpc strip of "sao/" for issue1555 2010-05-04 23:33:08 +02:00
silverfox dd73ebd7a1 Add Russian language into trytond (full translate) 2010-03-29 18:47:47 +07: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 5819e2cbe9 Better test to import json
There is an other json module for python < 2.6
2010-01-20 15:22:33 +01:00
Cédric Krier a964e4ac9e Add JSON-RPC 2010-01-20 10:33:44 +01:00
Cédric Krier 90f3f5b16c Rename HttpDaemon into XMLRPCDaemon 2009-11-13 12:41:43 +01:00
Cédric Krier 26eca14fc1 Add new methods to webdav CONFIG for upcomming version of pywebdav 2009-11-13 12:31:48 +01:00
Cédric Krier e67d02a97f Handle displayname on webdav.collection 2009-11-10 16:04:05 +01:00
Cédric Krier bc69da34f7 Handle current-user-privilege-set on webdav.collection 2009-11-10 15:53:05 +01:00
Cédric Krier 9137b41bb8 Add current-user-privilege-set to DAV props for iPhone 2009-11-10 14:15:16 +01:00
Cédric Krier fceab78186 Add access-control to DAV header 2009-11-10 14:14:30 +01:00
Cédric Krier d06784202e Return value for displayname 2009-11-10 14:13:37 +01:00
Cédric Krier fb7bddf5cf Improve exception handling for issue1180 2009-11-10 14:03:20 +01:00
Cédric Krier 3cf4f4a7e3 Add limit_clause function on cursor 2009-09-07 15:18:17 +02:00
Cédric Krier 0d68d6445c Allow to update database at the end of restore 2009-09-02 17:41:51 +02:00
Bertrand Chenal 270eb95ba3 Pass True as arg to sql query for db independance 2009-09-01 10:51:25 +02:00
Cédric Krier 63589c8ebf Fix webdav get_dburi when uri is empty 2009-08-28 16:31:44 +02:00
Cédric Krier 1be5fa9499 Add stop Pool and use it when dropping database 2009-08-25 15:37:11 +02:00
Cédric Krier 6df5fe2f0c Add timeout to BaseThreadedHTTPServer for Python 2.6 2009-08-24 17:50:08 +02:00
Cédric Krier c85187a104 Add timeout to SimpleThreadedXMLRPCServer for Python 2.6 2009-08-20 17:18:02 +02:00
Cédric Krier bfc92d0131 Use new iterobject on pool instead of object_name_list for speed improvement 2009-08-20 14:53:45 +02:00
Cédric Krier 2f04fe8645 Add logout method 2009-08-14 11:38:02 +02:00
Cédric Krier c81c4f99a8 Add reload of modules if files have changed 2009-08-07 10:42:23 +02:00
Cédric Krier 25febb7cbb Reset session timeout at the end of the call 2009-08-05 11:30:56 +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 f75d0277b4 Add logging of exception in webdav 2009-07-08 15:26:46 +02:00
Cédric Krier e9b6f88506 Update webdav to work with pywebdav 0.9.3 2009-07-02 19:37:02 +02:00