Cédric Krier
8f46463b4a
Reset BrowseRecord also after update to keep cache memory low.
...
There is little chance to see again this record in the XML files of the module.
2009-09-04 09:50:51 +02:00
Cédric Krier
4cbe2de72c
Order BrowseRecordList by id.
...
We have more chance to see records in this order in the XML files.
2009-09-04 09:48:13 +02:00
Cédric Krier
f3406a13e4
Clean cursor cache when reseting BrowseRecord
2009-09-04 09:46:58 +02:00
Cédric Krier
2372e64abd
Fix call to exec_pg_command_pipe to wait the end of the command
2009-09-02 17:38:06 +02:00
Cédric Krier
b46c5fd424
Guidelines
2009-08-28 15:01:15 +02:00
Cédric Krier
2b866bfe7a
Clean context before using it as a key for cache
2009-08-07 19:45:03 +02:00
Bertrand Chenal
30f2f5885a
Removed unused code
2009-07-07 22:29:11 +02:00
Cédric Krier
bd02e85cee
Don't use hardcoded true/false in SQL queries to be more database independant
2009-07-07 19:22:56 +02:00
Cédric Krier
a359c7c0a2
Fix the use of rowcount because it can return -1 or None according to PEP249
2009-07-07 19:14:51 +02:00
Cédric Krier
e6d8f7343b
Use IN_MAX in fetch_new_module
2009-07-06 12:47:17 +02:00
Cédric Krier
b8402de921
Fix internal variable name for Cache and Cacheable for issue1076
2009-06-07 00:09:27 +02:00
Cédric Krier
c4cb35c305
Use _name for Cache instead of name to work with Cacheable for issue1076
2009-06-06 22:42:06 +02:00
Cédric Krier
eea0a0a24d
Fix guidelines
2009-05-23 15:44:36 +02:00
Johannes Bornhold
9e47032635
Added support for environment variable "PGPASSWORD" when calling pg_dump for issue1058
2009-05-23 08:37:28 +02:00
Cédric Krier
b88be55b18
Improve xml loading for override of records that don't exist
2009-04-12 18:31:41 +02:00
Cédric Krier
2c3ab4db87
Remove str on exception and use traceback.format_exception for issue909
2009-03-29 17:38:54 +02:00
Cédric Krier
e718ac4f47
Set default values on RecordTagHandler
2009-03-14 19:09:12 +01:00
Cédric Krier
eed55d0589
Fill and update browserecord cache when creating or updating record to allow
...
to use it on record with the same id and update="1"
2009-03-05 11:43:59 +01:00
Cédric Krier
65d0a9494b
Update model documentation.
...
Use autodoc in sphinx
Add missing and fix docstring
2009-03-01 13:37:31 +01:00
Bertrand Chenal
8c9bb885fc
Removed workflow_trigger_write on wrong model. Fix for issue807.
2009-02-23 21:31:14 +01:00
Cédric Krier
2d6a8d0046
Use better logger name
2009-02-12 18:53:01 +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
e28edc4d99
Add model.fields
...
Use better naming of field attributes
2009-02-03 18:58:25 +01:00
Cédric Krier
4e2dc61df9
Remove unused import
2009-02-02 09:23:05 +01:00
Cédric Krier
1bb64df0ff
Add tests module and tests for Modified Preorder Tree Traversal
2009-01-28 12:35:55 +01:00
Cédric Krier
b89264ab8b
Use default value from base model before of inherit model for xml import
2009-01-25 01:36:25 +01:00
Bertrand Chenal
e803fa7461
Xml import: Use a set instead of a list to store all the ids.
2009-01-25 00:47:59 +01:00
Bertrand Chenal
406692ab69
xml import: Fetch the correct default value when a field belongs to
...
the parent model of the record.
2009-01-25 00:47:00 +01:00
Cédric Krier
73a256f5b4
Use repr to convert key instead of str in the case of key is an unicode
2009-01-13 13:50:19 +01:00
Cédric Krier
7b6425722b
Reset timeout when accessing cache value
2009-01-13 13:17:31 +01:00
Bertrand Chenal
af298a607d
Removed wrong comment
2008-12-22 16:09:52 +01:00
Bertrand Chenal
ba57edc36a
Add handling of active attribute on manuitem tag
2008-12-22 16:09:27 +01:00
Cédric Krier
bf44fea46a
Fix find_in_path to return the name if not found in path
2008-12-16 19:15:11 +01:00
Cédric Krier
b460852a2d
Improve xml import by using a BrowseRecordList for existing records
2008-12-16 13:57:19 +01:00
Cédric Krier
e9d29e509f
Fix creation of translation in xml import
2008-12-16 13:50:02 +01:00
Cédric Krier
3f88c95b78
Fix dead lock when reseting cache for issue673
2008-12-13 15:52:29 +01:00
Cédric Krier
97a4f7ef4e
Add local cache and prefetch of datas for webdav speed improvement
2008-12-11 13:58:55 +01:00
Cédric Krier
72a73cb5e0
Add missing module in context when updating xml record for issue657
2008-12-11 01:02:20 +01:00
Cédric Krier
2cda3c591e
Improve Cache when function return None or False
2008-12-04 18:25:58 +01:00
Cédric Krier
61727f1ab5
Add values to model data records for inherited records
2008-12-03 22:13:54 +01:00
Cédric Krier
9ff90ce067
Allow egg installation working
2008-11-18 17:40:30 +01:00
Cédric Krier
a35efd4a8c
Fix res_id for translation from inherited field for issue519
2008-11-10 19:37:27 +01:00
Cédric Krier
db696a5f6f
Add translation of field that are missing even if they doesn't change
2008-11-07 17:17:35 +01:00
Cédric Krier
a5c0e982a6
Handle noupdate attribute on data tag
2008-11-04 13:47:04 +01:00
Cédric Krier
0325fa6f91
Fix convert for False reference
2008-10-30 15:55:16 +01:00
Cédric Krier
921c10e56e
Print exception on delete error
2008-10-22 20:04:46 +02:00
Brice V.
59dab0de13
Fix string type checking. An error occurs when cursor type is unicode and not str;
...
this happens when data retrieved from rpc gateways is unicode and not str.
2008-10-22 09:29:13 +02: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
5e49d2c9f3
Improve sempahore on pooler for issue401
2008-09-30 11:55:07 +02:00
Cédric Krier
1304db8848
Remove model attribute on field tag
2008-09-23 20:19:11 +02:00