Commit Graph
152 Commits
Author SHA1 Message Date
Cédric Krier 80fc6aff30 Use copy of handlers set to prevent changed size during iteration 2014-04-04 23:38:21 +02:00
Cédric Krier 68127768cf Remove old backward Python <= 2.6 compatibility code 2014-04-04 23:34:56 +02:00
Cédric Krier 64421ff64f Manage microseconds in JSON-RPC and XML-RPC
review3551002
2014-03-15 10:36:20 +01:00
Cédric Krier bc6acd08ee Drop support of Python 2.6
review2691002
2014-01-31 00:02:03 +01:00
Cédric Krier c46a026c40 Refactore Transaction to add close and autocommit
review2151002
2013-12-18 18:09:43 +01:00
Cédric Krier 0088d66f43 Database.list must set manually the flavor
issue3508
review2121002
2013-12-06 11:28:48 +01:00
Cédric Krier 1bbd169909 Backed out changeset 22ff9f4b16ff 2013-12-05 15:57:52 +01:00
Cédric Krier c3d41a4e39 Database.list must be run under a Transaction to set flavor
issue3508
review1931002
2013-11-28 23:10:41 +01:00
Cédric Krier 46fd6a18bb Fix RPC.convert usage to return a copy of args and kwargs
issue3521
review1921002
2013-11-28 23:07:46 +01:00
Cédric Krier 2b2001f1ca Force UTC as timezone
issue3444
review1411002
2013-11-15 02:26:58 +01:00
Venceslav Vezjak caf599336b Added Slovenian translations
New language added (sl_SI). Slovenian translations provided for
for internal modules (ir, res, webdav).

issue3367
review1068002
2013-09-26 06:59:08 +02:00
Cédric Krier 263f8e57aa Fix set password by refactoring
review1079003
2013-09-25 19:21:50 +02:00
Cédric Krier 9ed421dc28 Add svg mimetype to SimpleJSONRPCRequestHandler
review1062002
2013-09-17 10:18:24 +02:00
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 e73367b9d0 Remove request
review720002
2013-05-21 12:09:46 +02:00
Giedrius Slavinskas 9b1ac6aa48 Add language definition for lt_LT
review807002
2013-04-19 15:08:01 +03:00
Cédric Krier cd14900b81 Fix ConfigDAV.get to not always return default 2013-04-17 19:41:48 +02:00
Cédric Krier a986f2ecd5 Add missing break when looping over security.check
If call to security.check doesn't raise a DatabaseOperationalError, it should
not be retried.
2013-04-03 14:44:50 +02:00
Cédric Krier 5e01f5c068 Fix flake8 2013-02-27 22:50:31 +01:00
Cédric Krier 9deb4d3591 Retry security.check on DatabaseOperationalError
review638002
2013-01-26 15:09:17 +01:00
Cédric Krier 1a362c3879 Remove dependency to pyOpenSSL
review598006
2012-12-13 19:04:52 +01:00
Cédric Krier 936dcca53a Store default language in database
review592004
2012-11-23 17:59:04 +01:00
Nicolas Évrard 6c956d1555 fix use of password not in ASCII
review582004
issue2869
2012-11-13 11:26:38 +01:00
Nicolas Évrard 85ef891ffd remove use of sha module 2012-11-08 16:57:58 +01:00
Cédric Krier e2034cfcf3 Add _buttons to listMethods 2012-10-10 12:53:51 +02:00
Cédric Krier 60fceb293b Fix missing migration _rpc to __rpc__ 2012-10-10 01:01:55 +02:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier dc10b34453 Activate TCP_NODELAY for jsonrpc 2012-07-28 18:12:08 +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 b6f77e57f1 Silently fail when reseting session
issue2667
review407001
2012-06-28 15:18:00 +02:00
Cédric Krier 5c9ea961ec Add missing shutdown_request on TCPServer for Python <= 2.6
issue2606
review374001
2012-05-19 15:30:38 +02:00
Bruno M. Villasanti db44ec8f92 Add es_AR language 2012-04-20 16:53:09 -03:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier 08e24d4acf Add missing RegisterHandlerMixin in SimpleXMLRPCRequestHandler 2012-03-27 10:35:24 +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 be0e5c54a9 Simplify workflow engine
- Remove workflow module
- Add ir.model.button for access rights

review256001
2012-03-25 00:15:17 +01:00
Cédric Krier 1b0a713dad New autoreload that restarts the server instead of reloading modules
issue2417
review283001
2012-03-12 22:27:59 +01:00
Cédric Krier 8a01bb2178 Allow to customize server timezone
issue2449
review246001
2012-02-22 11:54:02 +01:00
Cédric Krier ef6351983c Better management of redirect
Some web browsers don't support correctly empty content.
Others don't follow no-HTTP protocol in location header so we use
http-equiv="Refresh".
And finally show a simple link for very old web browsers.

review233001
2012-02-08 16:14:25 +01:00
Cédric Krier e348c49312 Add support of fields.Time
issue2313
review231006
2012-02-07 16:11:22 +01:00
Cédric Krier a94ceb4321 Add default database language code
The configuration option defines which translated value will be stored in the
main field.
The methods of ir.translation which were already publicly used are now public.
Setting the main translation mark translations of other languages fuzzy.

review198001
2012-01-27 21:11:06 +01: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 f31a96bd37 Return tryton URL for similar GET queries on jsonrpc interface
review208004
2012-01-17 13:49:50 +01:00
Cédric Krier 7d457f46c4 Store session in database
review210012
2012-01-11 20:30:27 +01:00
Cédric Krier 5ebbb7dbf6 Missing global declaration of CACHE 2011-12-28 11:33:04 +01:00
Cédric Krier 8b33421403 Use XML-RPC struct for Decimal and Date
review191006
2011-12-22 22:17:08 +01:00
Korbinian Preisler 775640f882 Fix error handling for XML-RPC
issue2315
review191003
2011-12-02 07:27:51 +01:00
Cédric Krier 8df135fe65 No need to go further in parse_request if it did not succeed
review180001
2011-11-19 19:38:47 +01:00