Commit Graph
68 Commits
Author SHA1 Message Date
Cédric Krier 9e109c6e3d Convert dictionary with numeric keys into str for xmlrpc
(transplanted from b578f95ef5c7dc5f58bbf986ca8108914303ac43)
2010-12-27 16:35:23 +01:00
Cédric Krier f341f6f68d Handle date and datetime in XML-RPC
(transplanted from 9a9c2ca4f50794fd13f08b09eb5093aef1a041d7)
2010-06-09 19:52:47 +02:00
Cédric Krier 1b5224feb4 Fix Float for Python < 2.6 and handle extra methods on Decimal
(transplanted from 945974a3965a75eb7301405e484470f6f2d74e5f)
2010-06-07 21:27:49 +02:00
Cédric Krier 29204b0851 Extend Float to work with Decimal for issue1575 thanks to gadaga
(transplanted from 15c673a1072da72939845e792ec9869aba9773a7)
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
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 afb56ab238 Change only value of USER_ID instead of replacing it to make USER_ID available
for other modules
2009-06-12 13:56:16 +02:00
Cédric Krier 83814d6193 Really close some cursors to not keep unused cursor in memory 2009-05-20 01:05:52 +02:00
Cédric Krier d37ba1d82e Fix code to use pywebdav 0.9.2 2009-05-12 15:39:54 +02:00
Cédric Krier a53fe098f3 Add missing unquote uri
Fix encoding of children
2009-05-12 13:56:51 +02:00
Cédric Krier 8cbc111068 Use one transaction per webdav request
Remove the use of baseuri
2009-05-06 13:10:50 +02:00
Cédric Krier edf78613bf Add close database for dump/restore since we keep cursors 2009-05-03 14:34:47 +02:00
Cédric Krier a8ca5195f9 Raise only DAV_ exception to webdav server 2009-05-03 14:12:39 +02:00
Cédric Krier 5207857a92 Keep at least one connection open 2009-05-02 15:16:19 +02:00
Cédric Krier 2af24426fd Handle getetag and use lastmodified 2009-04-30 17:42:17 +02:00
Cédric Krier aff08f1d0b Move _get_dburi into staticmethod get_dburi and keep backward compatibility 2009-04-30 17:41:38 +02:00
Cédric Krier 913f97c510 Add missing language in dispatcher 2009-04-15 01:12:36 +02:00
Cédric Krier 6439280ec8 Use UserError as exception 2009-04-09 11:28:38 +02:00
Cédric Krier 1a10e5ffaa Fix warnings for python 2.6 for issue915 2009-04-08 17:55:24 +02:00
Cédric Krier 216051a2fc Fix webdav to work with pywebdav version greater than 0.8 2009-04-08 11:40:10 +02:00