Commit Graph
47 Commits
Author SHA1 Message Date
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
Cédric Krier af9395e32b Add missing call to pool init if needed for issue940 2009-04-07 19:37:10 +02:00
Cédric Krier a352575ef0 Catch _sql_constraints and _sql_error_messages in ModelSQL instead of
dispatcher
2009-04-07 18:59:00 +02:00
Cédric Krier 2584e00eb5 Join the thread when stopping instead of sleep 2009-03-25 01:28:49 +01:00
Cédric Krier 87e7174b46 Add missing import of CONFIG for issue881 2009-03-20 16:47:31 +01:00
Cédric Krier 288bda58b3 Improve decode of traceback 2009-03-09 15:24:11 +01:00
Cédric Krier afa025fe7a Fix encoding of traceback for issue831 2009-03-02 09:52:36 +01: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 a4b9258b71 Rename _rpc_allowed into _rpc and add commit behavior 2009-02-25 12:25:01 +01:00
Cédric Krier 77067f009d Remove unused call to register_introspection_functions 2009-02-25 12:21:27 +01:00
Cédric Krier 2d6a8d0046 Use better logger name 2009-02-12 18:53:01 +01:00
Cédric Krier 23d74a0469 Move webdav in protocols 2009-02-12 18:46:43 +01:00
Cédric Krier a4455679bd Move xmlrpc into protocols 2009-02-12 18:31:42 +01:00
Cédric Krier 73feb75837 Import netrpc only if needed 2009-02-12 18:31:22 +01:00
Cédric Krier 54d750a624 Use better logger name 2009-02-12 18:28:58 +01:00
Cédric Krier 5a94693494 Move netrpc into protocols 2009-02-11 20:37:24 +01:00
Cédric Krier b75d10cd20 Use a new pool for object
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00