Commit Graph

86 Commits

Author SHA1 Message Date
HDA (OpenERP) 8a887ad4e0 Merged
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
Olivier Dony 50dca46b0f [FIX] Made timezone detect more robust and added a config option to override it.
Stay backwards-compatible by using time.tzname[0] as we did before if no config option is provided, but only if it is a valid timezone (in the pytz sense).
If no config option is set and time.tzname does't work, fallback, in this order, to:
- environment variable 'TZ'
- /etc/timezone on Unix platforms
- Windows registry on win32 systems
- if nothing works, default to UTC (because we MUST provide a valid timezone to clients)

lp bug: https://launchpad.net/bugs/389544 fixed

bzr revid: odo@openerp.com-20100105152312-fgayeaks12ed3no8
2010-01-05 16:23:12 +01:00
hda (Tiny) 24cd74becf Merge
bzr revid: hda@tinyerp.com-20091208101246-5ave2zzgzsjqf0m8
2009-12-08 15:42:46 +05:30
Christophe Simonis a04aba460d [IMP] add option to disable the database listing
bzr revid: chs@tinyerp.com-20091203125908-98rwtrslkzes2lxq
2009-12-03 13:59:08 +01:00
Xavier Morel 91c515382c [merge] 5.0-lxml-fixes into trunk
bzr revid: xmo@tinyerp.com-20091202092042-36gz0wkbu27aetvc
bzr revid: xmo@tinyerp.com-20091202093008-9uwo63c0bwdh8eaw
2009-12-02 10:30:08 +01:00
Xavier Morel b676be9a97 [FIX] set absolute path for the config file to avoid the save() method breaking on single file, since os.path.exists('') returns false and you can't create the current directory
bzr revid: xmo@tinyerp.com-20091127110712-dmj8pwl8xcpxk0fj
2009-11-27 12:07:12 +01:00
Harry (Open ERP) d8ce3f1e2a [FIX] replaced <TAB> with four white space.
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-24 20:14:05 +05:30
xrg dad1ff955b [merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
RPA(OpenERP) b69f95fa60 Added functionality to prevent database list while server hase list_db=False
bzr revid: hda@tinyerp.com-20091028062220-11i2s85pqrfjs4c2
2009-10-28 11:52:20 +05:30
pap(openerp) 251b6720ca Changed encoding to coding ref: PEP: 0263
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP) 4d7134cd99 Changed licencing
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
HDA (OpenERP) c68600cc53 [Merged]
bzr revid: hda@tinyerp.com-20090917072712-l7220bbv1gq4uckc
2009-09-17 12:57:12 +05:30
YSA,JVO e76e46f247 [FIX] Secure option on config file
lp bug: https://launchpad.net/bugs/348217 fixed

bzr revid: jvo@tinyerp.com-20090820130749-25an052pa9scuao3
2009-08-20 18:37:49 +05:30
P. Christeas 75e9560f9c Config: misc options. Logger: option to turn env_info off.
With this patch, config manager will parse the other sections of the
config file and store them, so that modules can use arbitrary options.
This is useful for modules that need to be globally configured before
any db is used. (eg. WebDAV server host/port)

Usage:
	param = tools.config.get_misc('section','opt_name'[,"default"])

bzr revid: p_christ@hol.gr-20090814092106-px46tg15g3vcsf2g
2009-08-14 12:21:06 +03:00
P. Christeas aba9fd3e77 Merge commit 'origin/master' into xrg
bzr revid: p_christ@hol.gr-20090813010638-2uwue8bg4w5uv99o
bzr revid: p_christ@hol.gr-20090813010706-h9s7e7flcw2wwgt9
2009-08-13 04:07:06 +03:00
Christophe Simonis adddd25799 [IMP] new method that ollow the server to return a message that will be display on login page
bzr revid: christophe@tinyerp.com-20090803100843-6oepu5zi8tycifvu
2009-08-03 12:08:43 +02:00
P. Christeas 56d2cdbd73 [IMP] Allow OS to rotate the logs, use WatchedFileHandler if needed.
All this was needed after logrotate conflicted with the TimedRotation
and left the server in a DoS state. Some admins may prefer to handle the
log rotations with logrotate, instead of Python's fascilities.

bzr revid: p_christ@hol.gr-20090709181635-b7j50yaqjl1qsnc1
2009-07-09 21:16:35 +03:00
P. Christeas 7cf2c6b01c Merge commit 'origin/master' into mdv-gpl3-py26
bzr revid: p_christ@hol.gr-20090424171033-0yfkur35me172zw0
2009-04-24 20:10:33 +03:00
Stephane Wirtel 6dcc5a4f9f [FIX] Remove the price_accuracy option from the SMTP section
bzr revid: stephane@tinyerp.com-20090423094034-trkozl1mkz3sef0u
2009-04-23 11:40:34 +02:00
Fabien Pinckaers 4193c0c802 bugfix_lang_5_char
bzr revid: fp@tinyerp.com-20090407212246-10hqckjj5flx6sfa
2009-04-07 23:22:46 +02:00
P. Christeas 59c0e4889a Merge commit 'origin/master' into mdv-gpl3-py26
bzr revid: p_christ@hol.gr-20090330173719-27jcy2nyw1v4w3bq
bzr revid: p_christ@hol.gr-20090330173755-o3pxayaintefn150
bzr revid: p_christ@hol.gr-20090330173849-heuqfveq1xdeoe6h
bzr revid: p_christ@hol.gr-20090406130641-9mrstydveuqjkkjv
2009-04-06 16:06:41 +03:00
Fabien Pinckaers d5e724740b improved_secure_mode
bzr revid: fp@tinyerp.com-20090315161913-7tb0weofaiwcflm9
2009-03-15 17:19:13 +01:00
P. Christeas 7cb394f380 Merge commit 'origin/master' into mdv-gpl3-py26
Conflicts:
	bin/addons/__init__.py
	bin/addons/base/ir/ir_cron.py
	bin/addons/base/rng/view.rng

bzr revid: p_christ@hol.gr-20090304073610-2ss5ju4lyyue79qv
bzr revid: p_christ@hol.gr-20090308214750-0bgr6yj85f8ixpjp
bzr revid: p_christ@hol.gr-20090312075024-1rqeqam5ipfofb9m
2009-03-12 09:50:24 +02:00
Christophe Simonis 59a6c48355 [MERGE] sync with trunk
bzr revid: christophe@tinyerp.com-20090311142843-vtdmp16l3ijfhpy7
2009-03-11 15:28:43 +01:00
Christophe Simonis 5a398a2cee [FIX] allow log_level and assert_exit_level options to be saved into rc file
lp bug: https://launchpad.net/bugs/332104 fixed

bzr revid: christophe@tinyerp.com-20090311142650-z8haydv3rc30vl0k
2009-03-11 15:26:50 +01:00
Fabien Pinckaers 7ee3fb0460 better_permission_to_rc_file
bzr revid: fp@tinyerp.com-20090227071755-h8er3vholswc3a46
2009-02-27 08:17:55 +01:00
P. Christeas bba009f639 Merge commit 'origin/master' into mdv-gpl3-py26
Conflicts:
	bin/netsvc.py
	bin/sql_db.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090208175840-xmy5c53ijl3rs1l5
2009-02-08 19:58:40 +02:00
Stephane Wirtel 2acfff6a93 [FIX]
bzr revid: stephane@tinyerp.com-20090206180614-mmafu64sjddgtayk
2009-02-06 19:06:14 +01:00
P. Christeas b69c19fbb2 Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:
	bin/netsvc.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090131100804-pu97gelwjh1flk3h
2009-01-31 12:08:04 +02:00
Stephane Wirtel dba3cbd053 [FIX] Generate the pgpass file for the pg_dump and pg_restore
lp bug: https://launchpad.net/bugs/319190 fixed

bzr revid: stephane@tinyerp.com-20090129165206-eqqsjk43p8a70dje
2009-01-29 17:52:06 +01:00
Stephane Wirtel 300c48d859 [IMP] Use a real exception instead of a simple assert
bzr revid: stephane@tinyerp.com-20090129142145-03gkycw9xu82y83d
2009-01-29 15:21:45 +01:00
P. Christeas 1f6278b32c Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:
	bin/addons/base/ir/ir.xml
	bin/osv/orm.py
	bin/sql_db.py
	bin/tools/config.py

bzr revid: p_christ@hol.gr-20090122175910-4apjfo1p7iokatm6
2009-01-22 19:59:10 +02:00
Olivier Laurent f386b602a2 Added a new configuration option: 'csv_internal_sep' (equals ',' by default)
Some old import files used the pipe ('|') as a separator in records. It has
been changed to a comma but this causes problems with old import files when
some records have a comma that is not a separator.

bzr revid: olt@tinyerp.com-20090115101210-czdbqqeptbj8o1so
2009-01-15 11:12:10 +01: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
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 12bcce44c4 Merge branch 'master' of openobject-server into mdv-gpl3
Conflicts:
	bin/openerp-server.py

bzr revid: p_christ@hol.gr-20081230132911-6d9bfzlx8j9osj2q
2008-12-30 15:29:11 +02:00
Christophe Simonis b86bfc4e61 [FIX] all loggers are exclusives -> python 2.4 compatible
bzr revid: christophe@cobalt-20081229102451-m9my1c0dezd7wk8q
2008-12-29 11:24:51 +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
Stephane Wirtel 3f5e5e4a8f [REF] Cleanup
bzr revid: stephane@tinyerp.com-20081224005734-1nyn35skk55hqx6e
2008-12-24 01:57:34 +01:00
Stephane Wirtel d2197ffadd [MERGE]
bzr revid: stephane@tinyerp.com-20081224003656-kwftdnreax7m7hbg
2008-12-24 01:36:56 +01:00
Stephane Wirtel d9be84059d [IMP] Specify the type int for the port and the netport
bzr revid: stephane@tinyerp.com-20081224002822-uys2zrs1qeh5q2pl
2008-12-24 01:28:22 +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 203194ce45 [FIX] Remove the upgrade option
bzr revid: stephane@tinyerp.com-20081224001853-kg9vmlk6aixck2ct
2008-12-24 01:18:53 +01:00
Stephane Wirtel 2d47371f0e [IMP] Remove the unused code of the upgrade option
bzr revid: stephane@tinyerp.com-20081224000431-xhzc9f8ls90g4n5k
2008-12-24 01:04:31 +01:00
P. Christeas a89ae314d2 Bring the changes from SecureXMLRPCServer.py
bzr revid: p_christ@hol.gr-20081223161823-xq6npt18t19hegri
2008-12-23 18:18:23 +02:00
Christophe Simonis f4a6b51fb4 [FIX] smtp_ssl option is only get when ssl is available
bzr revid: christophe@cobalt-20081223113100-xtyp5vbrdj1ic9vg
2008-12-23 12:31:00 +01:00
Stephane Wirtel d163c3fd76 [FIX] Remove the test about the cert file and the pkey
bzr revid: stephane@tinyerp.com-20081222235111-cx8xe46rxqnz4mf5
2008-12-23 00:51:11 +01:00
Stephane Wirtel b4aec6ee58 [FIX] Remove the print statements
bzr revid: stephane@tinyerp.com-20081222234818-5jmwuetlxonatn8t
2008-12-23 00:48:18 +01:00
Stephane Wirtel d0e988dc8f [IMP] Use the command line to get the filenames for the certficiate and private key files (SSL)
lp bug: https://launchpad.net/bugs/310703 fixed

bzr revid: stephane@tinyerp.com-20081222233528-20q3oiwpmlc5a2ik
2008-12-23 00:35:28 +01:00
Stephane Wirtel cfc56e0b38 [IMP] Add a syslog handler
[IMP] Add an atexit callback to tell "Goodbye"
[IMP] Group the option for the logging
[IMP] Capability to disable the output to console with --log-level=notset

bzr revid: stephane@tinyerp.com-20081222230418-3ll0mqno8yz9z3jw
2008-12-23 00:04:18 +01:00