Commit Graph
47 Commits
Author SHA1 Message Date
Cédric Krier fc6c6cfdda Migration to python-sql
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method

review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier cd14900b81 Fix ConfigDAV.get to not always return default 2013-04-17 19:41:48 +02: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 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier 9c13b74271 Don't fail on unknown database for WebDAV
issue2717
review426002
2012-07-25 20:51:36 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier ffe678823f _TRYTON_RELOAD no more used 2012-03-25 19:16:06 +02:00
Cédric Krier 8c36f59b86 Add support for shared WebDAV
review207003
2012-03-25 19:12:02 +02: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 5ebbb7dbf6 Missing global declaration of CACHE 2011-12-28 11:33:04 +01:00
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +01:00
Nicolas Évrard 6285895210 Remove trailing space 2011-10-28 10:20:23 +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 1ce3832259 Remove version_info test 2011-07-12 23:54:14 +02:00
Cédric Krier d80abe4548 Fix missing closing of database cursor 2011-05-16 12:22:43 +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
Cédric Krier c370a1fdc7 Handle timeout in SocketServer for Python < 2.6 for issue1731 2010-10-19 22:32:37 +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 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 015c05c174 Fix get_data to work with pywebdav 0.9.4 for issue1561 2010-05-08 00:54:56 +02:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +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 63589c8ebf Fix webdav get_dburi when uri is empty 2009-08-28 16:31:44 +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 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 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 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 a8ca5195f9 Raise only DAV_ exception to webdav server 2009-05-03 14:12:39 +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 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 23d74a0469 Move webdav in protocols 2009-02-12 18:46:43 +01:00