Christophe Simonis
9aa2c5fb5c
[FIX] delete the connection pool to template1 when finished
...
[IMP] sql_db.db_connect does not take the 'serialize' parameter anymore
lp bug: https://launchpad.net/bugs/314973 fixed
bzr revid: christophe@tinyerp.com-20090112094020-6l1hdgp5oflengl6
2009-01-12 10:40:20 +01:00
P. Christeas
3487f659ec
Always print SQL counters.
...
bzr revid: p_christ@hol.gr-20090106131746-mwdgfx2l1z9hd02b
2009-01-06 15:17:46 +02:00
P. Christeas
1435d6d064
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
...
bzr revid: p_christ@hol.gr-20090106094017-i26aufnjth5am64m
2009-01-06 11:40:17 +02:00
Christophe Simonis
5a20219f9b
[IMP] improve cache system
...
[FIX] cache now take in account default parameters
[IMP] new way to clear the cache
[FIX] clearing the cache is now made by database
bzr revid: christophe@tinyerp.com-20090105211746-o1fapuu319ozi7nv
2009-01-05 22:17:46 +01:00
Stephane Wirtel
9d293d1f00
[IMP] Update the copyright to 2009
...
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
P. Christeas
cb42fd7a59
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
...
Conflicts:
bin/addons/base/ir/ir_actions.py
bin/report/interface.py
bin/tools/config.py
bzr revid: p_christ@hol.gr-20081228102522-po9ix8j0l6f5akxp
2008-12-28 12:25:22 +02:00
Christophe Simonis
3c16899b99
[IMP] PoolManager: use class methods instead of static methods
...
bzr revid: christophe@taupe-20081226101741-noqnp5agvi0nxsu1
2008-12-26 11:17:41 +01:00
Christophe Simonis
ca93318a77
[FIX] restarting a non started pool does not crash anymore
...
[FIX] when creating a database, the pool is restarted
[FIX] when dropping a database, the caches are cleaned
[IMP] add an option to specify the default cache timeout
lp bug: https://launchpad.net/bugs/310986 fixed
bzr revid: christophe@taupe-20081224002418-7pf9ctdzcl8ygvs7
2008-12-24 01:24:18 +01:00
P. Christeas
a8229141bc
Merge branch 'master' of openobject-server into mdv-gpl3-fwd
...
Conflicts:
bin/netsvc.py
bin/sql_db.py
bin/ssl/SecureXMLRPCServer.py (note: fixes are lost now)
bzr revid: p_christ@hol.gr-20081223154608-fs0830k7vyo81m5u
2008-12-23 17:46:08 +02:00
Stephane Wirtel
d6ee7843dc
[REF] Move the drop_view_if_exists
...
bzr revid: stephane@tinyerp.com-20081222084150-b0xeatlbnmpyhwkr
2008-12-22 09:41:50 +01:00
Christophe Simonis
f16bd3f97e
[MERGE]
...
bzr revid: christophe@cobalt-20081219194725-43cy82scvaiwbnbo
2008-12-19 20:47:25 +01:00
Fabien Pinckaers
395071a27e
improvement
...
bzr revid: fp@tinyerp.com-20081219192528-qwx4qwgfu1fab10c
2008-12-19 20:25:28 +01:00
Christophe Simonis
654f03f72a
[IMP] Track where a cursor is created when this cursor is not closed explicitly
...
[IMP] do not reformat the parameters, allowing to pass dict as parameters
bzr revid: christophe@cobalt-20081219192149-pzg3xaygvbhc111x
2008-12-19 20:21:49 +01:00
P. Christeas
18b1a8a843
Merge commit 'origin/master' into mdv-gpl3-fwd
...
Conflicts:
bin/addons/base/ir/ir_actions.py
bin/netsvc.py
bin/report/report_sxw.py
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20081218164925-uarehzvo3ocu0x2w
2008-12-18 18:49:25 +02:00
Stephane Wirtel
d8727111a6
[IMP] Use the Cursor from sql_db
...
bzr revid: stephane@tinyerp.com-20081218161319-bo4jn6ouum0qy32y
2008-12-18 17:13:19 +01:00
Stephane Wirtel
f510071f6b
[IMP] Add the drop_view_if_exists method
...
lp bug: https://launchpad.net/bugs/309331 fixed
bzr revid: stephane@tinyerp.com-20081218140232-828mryrisecwxs3v
2008-12-18 15:02:32 +01:00
Stephane Wirtel
3fb0723abd
[FIX]
...
bzr revid: stephane@tinyerp.com-20081218091342-ye0b53mnykogrzz9
2008-12-18 10:13:42 +01:00
Christophe Simonis
b53c23bce0
[FIX] fix python2.4 compatibility
...
bzr revid: christophe@cobalt-20081218090701-n7acd0nmsilygkjy
2008-12-18 10:07:01 +01:00
Jay Vora
985b7f8c1d
Bugfix:Drop DB
...
bzr revid: jvo@tinyerp.com-20081217062007-ic0cbclkn602ewtt
2008-12-17 11:50:07 +05:30
Christophe Simonis
63f6d4e24e
[IMP] downgrade the logging level to ERROR when the server cannot connect to the database
...
bzr revid: christophe@cobalt-20081216111636-ahigto4u7l2kueeo
2008-12-16 12:16:36 +01:00
P. Christeas
08615bbbc1
If some SQL query fails, log the whole query.
...
bzr revid: p_christ@hol.gr-20081215220606-l9mncs9qnyy0v7tv
2008-12-16 00:06:06 +02:00
Christophe Simonis
be2a0a76bb
[FIX] the database connectin pool generate at least one connection to ensure earliest that the database is reachable
...
bzr revid: christophe@cobalt-20081215153616-dyb7xj771tzj5de1
2008-12-15 16:36:16 +01:00
Christophe Simonis
85c8b304bf
[FIX] fix a stupid bug in database closing method
...
lp bug: https://launchpad.net/bugs/308084 fixed
bzr revid: christophe@cobalt-20081215150835-d4rkvaf35m1gbyj6
2008-12-15 16:08:35 +01:00
Mantavya Gajjar
c0e1fc3452
merginf from the trunk
...
bzr revid: mga@tinyerp.com-20081215123034-1gnqhxeteza8e183
2008-12-15 18:00:34 +05:30
Fabien Pinckaers
8cb88b6054
improvements_bugfixes
...
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00
Christophe Simonis
43f0fffd07
[FIX] free the database connecion in all cases
...
lp bug: https://launchpad.net/bugs/307069 fixed
bzr revid: christophe@tinyerp.com-20081212132416-4kt1xh9nmka7r6a1
2008-12-12 14:24:16 +01:00
Christophe Simonis
a9e7204533
[FIX] fix bug with functools on python 2.4
...
bzr revid: christophe@tinyerp.com-20081212114945-jh7djsx6dv8sr1kh
2008-12-12 12:49:45 +01:00
Christophe Simonis
6706f6b07b
[IMP] check that the cursor has not been closed before execute a query
...
[REF] refactor the debug logging of the queries
bzr revid: christophe@tinyerp.com-20081212105927-k9zet8xd2ubj5a4j
2008-12-12 11:59:27 +01:00
Stephane Wirtel
cbf2dee7c7
[FIX] The second parameter of the map function must support iteration
...
lp bug: https://launchpad.net/bugs/307284 fixed
bzr revid: stephane@tinyerp.com-20081211222801-343rhnfmr21fw7le
2008-12-11 23:28:01 +01:00
Christophe Simonis
c0152f5fcf
[FIX] If an error occurs when dropping the database, raise a normal exception (that can be pickle)
...
lp bug: https://launchpad.net/bugs/307069 fixed
bzr revid: christophe@tinyerp.com-20081211112248-ljibz77ey2jkjtjd
2008-12-11 12:22:48 +01:00
Christophe Simonis
822da77ee6
[FIX] psycopg2: convert types & update web_services
...
bzr revid: christophe@tinyerp.com-20081209133132-wn7v8d2qyo3cv6x5
2008-12-09 14:31:32 +01:00
Christophe Simonis
299627a144
[IMP] use psycopg2 instead of psycopg1
...
bzr revid: christophe@tinyerp.com-20081208140342-qstsqxm0xr5rppzz
2008-12-08 15:03:42 +01:00
Christophe Simonis
e404e54e38
passing in GPL-3
...
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Jay Vora
e26e2062b5
Accepted Uppercase DB names and displayed on terminal
...
bzr revid: jvo@tinyerp.com-20080911072945-jwo9wscd8ko66av9
2008-09-11 12:59:45 +05:30
Fabien Pinckaers
840e3c1082
Remove print statement
...
bzr revid: fp@tinyerp.com-20080819225329-15vnv8wvxa4qekml
2008-08-20 00:53:29 +02:00
Fabien Pinckaers
a7b0cfd6f5
Fix From C2C:
...
~c2c/openobject-server/openobject-server-log-bug
Bugfixes in Expression
bzr revid: fp@tinyerp.com-20080819225254-6gg6j2dalz666oti
2008-08-20 00:52:54 +02:00
Fabien Pinckaers
d88fb99fe4
Speed Improvement:
...
Nested Trees
New Domains Bugfixes
Compute multiple function fields at once (multi)
bzr revid: fp@tinyerp.com-20080817182829-dc60s4srja6ck0bw
2008-08-17 20:28:29 +02:00
Fabien Pinckaers
61d07d0771
Bugfixes
...
bzr revid: fp@tinyerp.com-20080816163006-aspcc7f5dmv0g4ri
2008-08-16 18:30:06 +02:00
Christophe Simonis
b36e23d0a3
move, rename and refactor use of ID_MAX
...
bzr revid: christophe@tinyerp.com-20080805083945-cd3y7gki5v6gnu6p
2008-08-05 10:39:45 +02:00
Christophe Simonis
40a8a423b7
move domain parsing into expression class
...
bzr revid: christophe@tinyerp.com-20080804153250-9crz6sq4hf3rm81n
2008-08-04 17:32:50 +02:00
Christophe Simonis
2eb6b8265b
add encoding comment and vim comment
...
bzr revid: christophe@tinyerp.com-20080723150127-fmitw7zgeokcualh
2008-07-23 17:01:27 +02:00
Christophe Simonis
2dd9723b8b
convert tabs to 4 spaces
...
bzr revid: christophe@tinyerp.com-20080722142436-143iu4ryy47w3av0
2008-07-22 16:24:36 +02:00
stw
fa973350b9
add the copyright
...
bzr revid: stw-6e4c16268c7d6111a353b94a6a629d2ca53d0474
2008-06-16 07:24:04 +00:00
stw
12725d1d9e
add the svn:keywords Id on all .py, .xml, .bat
...
bzr revid: stw-20bff0f954132aeb6dba47d97e5bb8a1ff5feae7
2008-06-16 06:44:24 +00:00
Christophe Simonis
a9e1da10ad
when logging sql, queries and parameters are printed
...
bzr revid: chs@tinyerp.com-4b7b7b9042deab3f6f125e6eaf3b1a897545f199
2008-06-05 13:49:03 +00:00
ced
04f86677c9
Remove createdb and dropdb, use sql instead
...
Don't try to dump or restore on db connection that need password
bzr revid: ced-0f882f05e2c9ce25fd8e498c8fe8179614251824
2007-11-21 15:24:36 +00:00
ced
7affbc505b
Why is it there ????
...
bzr revid: ced-8e946c402962a6253c9f199537b7d1fa97ee1663
2007-10-11 05:19:56 +00:00
Fabien Pinckaers
f624bb3031
Project Bugfix
...
bzr revid: fp@tinyerp.com-7323dac277d16d46794d20fd624d1cd8ea11e828
2007-10-09 05:58:34 +00:00
ced
f8471796a3
Improve RE in sql logging to add possibility of "" in table definition
...
bzr revid: ced-f3071223d80ff4d82ac2bcd18554613b45132439
2007-08-30 14:22:06 +00:00
ced
2129bd4ece
kernel: add number of request in sql logs
...
bzr revid: ced-fdc23e83ee8d9d27c6f2f63a8732755908ab2854
2007-07-26 08:32:00 +00:00
ced
8a1e4d95f7
kernel: add log to sql query
...
This is optional, it just need to set sql_log variable to True
bzr revid: ced-8ea373e46af20c62fb3fb57f7553d14c1e1690ba
2007-07-26 08:31:38 +00:00
ced
d9d0678328
kernel: don't use mutable as default value in function defintion.
...
bzr revid: ced-824ee7e22dca5a4b4f2d8d5095aa20650f5a2469
2007-07-23 05:16:03 +00:00
Fabien Pinckaers
92ca447180
Bugfix
...
bzr revid: fp@tinyerp.com-ec63197b71c6f72984412f5d0689b78a8769b5de
2007-05-15 07:44:10 +00:00
Fabien Pinckaers
2293d4374e
Improvement/bugfix in the unicode bugfix for etiny
...
bzr revid: fp@tinyerp.com-fdb944bb0c45583875f8aa6379e9cc64c0af846c
2007-05-15 07:27:25 +00:00
ced
129fcdf5cf
KERNEL: fix sql when % is use without value
...
bzr revid: ced-f9945c452749d8fa74e6c4cc986d9ff947d91ec3
2007-05-14 09:51:56 +00:00
ced
fa0ee9aa94
KERNEL: fix execute query with unicode
...
bzr revid: ced-dd1fce71e0b9971d761a81c245122957b85cb74e
2007-05-08 16:37:50 +00:00
ced
f10f808aa9
KERNEL: add option for max_conn for psycopg connection
...
bzr revid: ced-970f464819315f9a80765cacbb3821bdacf3aa7a
2007-05-02 10:36:56 +00:00
pinky
c0828736a6
Modifs
...
bzr revid: pinky-ec49cea5bc7b85c40385456d5dfd1d4e4e00a965
2007-02-07 08:24:43 +00:00
pinky
63f1614bfe
Purchase:
...
bugfix creating invoices: the journal of the invoice was not good
bzr revid: pinky-f3c27489ecabe5985ef3610c2ab7016bef801291
2007-02-06 14:53:39 +00:00
pinky
004a0b996f
New trunk
...
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
2006-12-07 13:41:40 +00:00