Cédric Krier
423af9e189
Re-try requests when OperationalError is raised
...
review141004
2011-10-16 16:39:37 +02:00
Cédric Krier
66c05f49a7
Use simplejson if possible as it is faster
...
review146001
2011-10-14 09:56:05 +02:00
Cédric Krier
80fd323cae
Missing import of Exceptions
2011-10-11 20:42:08 +02:00
Nicolas Évrard
c41afcf47b
remove unused prints
2011-10-04 14:01:58 +02:00
Nicolas Évrard
222172cfc7
merge.
2011-10-04 13:21:30 +02:00
Nicolas Évrard
c6174a0b61
replace .csv file by .po file for translations
...
review125002
issue1163
2011-10-04 13:03:06 +02:00
Cédric Krier
7e3cb52f7f
Fix decimal._convert_other to work with Float on Python 2.7
...
review132001
2011-10-03 23:31:58 +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
1ab6964687
Add readonly on Transaction
...
review80005
2011-08-21 11:05:51 +02:00
Cédric Krier
18f69b825d
Allow to specify more than one interface
...
review58001
2011-08-09 12:24:34 +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
Cédric Krier
1ce3832259
Remove version_info test
2011-07-12 23:54:14 +02:00
Cédric Krier
852f04dc51
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:16:15 +02:00
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