Commit Graph
44 Commits
Author SHA1 Message Date
Cédric Krier 316b0f76db Rename ModelDB int ModelSQL 2009-02-12 11:33:39 +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
Cédric Krier f63aaa316d Remove sql_db and add database in backend 2009-02-04 15:29:28 +01:00
Cédric Krier 1196eaf293 Add modelstorage and modeldb 2009-02-02 13:08:25 +01:00
Cédric Krier 23d10d0cec Fix Cacheable to prevent attributes collision 2009-01-29 19:04:58 +01:00
Cédric Krier 8f7b83e8e7 Test exception.args before using it for issue734 2009-01-07 12:41:11 +01:00
Cédric Krier a299370686 Add user warnings 2008-12-09 15:52:35 +01:00
Cédric Krier 0eb9fb4883 Log exception that are not 'UserError', 'ConcurrencyException' nor 'NotLogged' 2008-11-27 15:49:01 +01:00
Cédric Krier aaa5cfc8c6 Add context to workflow service for issue452 2008-10-27 16:39:37 +01:00
Cédric Krier 21b01936b7 Use Lock instead of Semaphore
Use RLock for pooler
2008-10-14 00:12:46 +02:00
Cédric Krier 0bfc4d75e8 Remove unused CLASS_POOL 2008-10-10 13:16:26 +02:00
Cédric Krier 807c476027 Add OPERATORS in osv 2008-09-30 17:08:31 +02:00
Cédric Krier 01f6c3d263 Remove old wrong class naming 2008-09-15 00:22:07 +02:00
Cédric Krier c98661a89d Add missing logging import for issue358 2008-09-14 13:01:34 +02:00
Bertrand Chenal cb4971ac6e Logging refectoring:
* simplified mechanism

* reverted color on error, warning and critical messages in
  console. (inspired by openerp rev. 1085)
2008-09-12 19:57:33 +02:00
Cédric Krier 9d2fd30924 Remove semaphore on get 2008-09-10 17:19:43 +02:00
Cédric Krier f51249724a Translate sql error message 2008-08-28 19:07:25 +02:00
Cédric Krier 704b7be028 Add _sql_error_messages to customize error message from SQL 2008-08-28 12:36:40 +02:00
Cédric Krier 44384e8688 Add error message from orm on IntegrityError 2008-08-26 20:10:45 +02:00
Cédric Krier 6e3b428c1b Standardize notify channel 2008-08-23 15:32:26 +02:00
Cédric Krier 4492cd5c90 Remove unused functions 2008-08-22 11:32:20 +02:00
Cédric Krier 2dfd7d5e92 Set IntegrityError as UserError 2008-07-24 18:40:22 +02:00
Cédric Krier d245880a31 Use object_name_list for the new pool.get behavior 2008-07-22 18:22:30 +02:00
Cédric Krier 9f6467205e Let raise a key error on pool get function 2008-07-22 13:16:03 +02:00
Cédric Krier 3993e8e019 Remove abort_response function on Service 2008-07-19 12:44:11 +02:00
Cédric Krier 557d39c004 Remove ExceptXXX
Add function raise_user_error for translation of error message
2008-07-17 19:35:03 +02:00
Cédric Krier 0232c66506 Fix COPYRIGHT 2008-06-23 20:18:54 +02:00
Cédric Krier d15411d104 Use exc_info in format_exception for issue33 2008-05-27 10:59:22 +02:00
Cédric Krier 483f838349 Remove global dict _sql_error and fix message error for _sql_constraints 2008-05-07 17:55:42 +02:00
Cédric Krier 90b27f042e Add semaphore lock on cache access/modification 2008-04-27 15:53:42 +02:00
Cédric Krier e905b9c084 Add max len and timeout on cache functionnality
Cache is not usefull if there is no limit
2008-04-26 14:51:04 +02:00
Cédric Krier 0f4d0b6294 Make Cacheable object works also for many instances 2008-04-24 17:33:03 +02:00
Cédric Krier 58894f5739 Make Cacheable object shared the same dict for all thread and use dbname as
primary key.
2008-04-24 15:25:56 +02:00
Cédric Krier cd21270d38 Add traceback on workflow exception 2008-04-10 15:49:21 +02:00
Cédric Krier 1ce7098037 Fix change language on user to Many2One and add some traceback 2008-03-06 11:00:25 +01:00
Cédric Krier ac142e65a4 Remove pool from args of __init__ of OSV
More simple to inherit
2008-03-03 18:30:39 +01:00
Cédric Krier 43a3cac11e Add SHA encryption for password 2008-03-02 02:31:44 +01:00
Cédric Krier 12332f82c5 Fix missing import psycopg to psycopg2 2008-02-21 23:53:42 +01:00
Cédric Krier 1013a93e33 Add rpc_allowed to improve security on object
A method can only call by rpc if it is in _rpc_allowed list
2008-02-15 18:26:51 +01:00
Cédric Krier a5fe147aba Change addons into modules 2008-01-27 23:55:22 +01:00
Cédric Krier a49da4d222 Make inheritance be done in the __init__ function 2008-01-09 23:51:25 +01:00
ced@b2ck.com 79f57967b1 Use python inheritance for OSV object and fix some typo 2007-12-14 21:01:09 +01:00
ced@b2ck.com 03bfac7984 Add xml for module res and fix some typo 2007-12-13 01:16:12 +01:00
ced@b2ck.com 9d971a0008 Initial commit
- add license
- add run script
- add config parser
- add service object
- add web_service
- add workflow
- add osv/orm/fields
- add module management
- add ir module
2007-12-10 01:04:13 +01:00