Commit Graph

62 Commits

Author SHA1 Message Date
Christophe Simonis 82b0474328 [FIX] do not relay on _obj to know if the cursor has been closed
lp bug: https://launchpad.net/bugs/330999 fixed

bzr revid: christophe@tinyerp.com-20090428141007-td39oa95wk5h5dt7
2009-04-28 16:10:07 +02:00
Christophe Simonis a55983a936 [IMP] bad queries are logged in debug mode (log also the exception)
bzr revid: christophe@tinyerp.com-20090204110144-jjbt9a4itmt2vwi5
2009-02-04 12:01:44 +01:00
Christophe Simonis 9c721d3090 [FIX] database connections aren't serialized by default
lp bug: https://launchpad.net/bugs/314449 fixed

bzr revid: christophe@taupe-20090131183618-pglu86hzq3ewsfxi
2009-01-31 19:36:18 +01:00
Stephane Wirtel 90dea28166 [REV] Revert code for the hostname and the dump
bzr revid: stephane@tinyerp.com-20090129133946-l05fi1j8rou9tqyn
2009-01-29 14:39:46 +01:00
Stephane Wirtel e76c454794 [FIX] Don't use the hostname if it is in ('127.0.0.1', 'localhost')
lp bug: https://launchpad.net/bugs/319190 fixed

bzr revid: stephane@tinyerp.com-20090129002310-75wuum4qpx5s8ac4
2009-01-29 01:23:10 +01:00
Christophe Simonis 2b6c38d36f [IMP] log queries that fail
bzr revid: christophe@tinyerp.com-20090122161549-oo1boehunmtdiw7k
2009-01-22 17:15:49 +01:00
Stephane Wirtel a875a71408 [IMP] Improve the speed - Use the inspect module only if we specify the debug log level
bzr revid: stephane@tinyerp.com-20090119224840-j0yqyaw30tzfrc78
2009-01-19 23:48:40 +01:00
Stephane Wirtel 976adfa665 [IMP] Remove print statement
bzr revid: stephane@tinyerp.com-20090113010107-wdev3dd4qftoafj3
2009-01-13 02:01:07 +01:00
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
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
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
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
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
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