Commit Graph

115 Commits

Author SHA1 Message Date
Olivier Dony 891eb265b6 [REF] config: rationalized config parameters to make consistent for v6.
Renamed parameters for static HTTP service + improved param check message.
+ minor cleanup in config params

bzr revid: odo@openerp.com-20100810131200-p71zge94l1qp1s18
2010-08-10 15:12:00 +02:00
P. Christeas, Olivier Dony 7666ac14a7 [MERGE+IMP] logging: merged xrg's branch to set selective logger level + added new 'debug_sql' loglevel to avoid having to modify sql_db.py to enable SQL logging
bzr revid: odo@openerp.com-20100804134900-dfupojmgcj0rjhd2
2010-08-04 15:49:00 +02:00
Fabien Pinckaers 0568cbe53c args for test
bzr revid: fp@tinyerp.com-20100704134937-w4jlfqya638trpi2
2010-07-04 15:49:37 +02:00
Fabien Pinckaers b9f86b3de2 [IMP] removed price_accuracy options
bzr revid: fp@tinyerp.com-20100704125727-nywaqszkgyft233z
2010-07-04 14:57:27 +02:00
Antony Lesuisse be2afc44ba process xmlrpcs options even if ssl is disabled
bzr revid: al@openerp.com-20100607125617-sz8jtlt503o40ns7
2010-06-07 14:56:17 +02:00
Antony Lesuisse 844e6ca68a ignore --xmlrpcs options if ssl is unavailable instead of hiding them and choking on them
bzr revid: al@openerp.com-20100607123025-fbon3y7xhlvf4a89
2010-06-07 12:30:25 +00:00
Jay (Open ERP) 68512a9a76 [FIX] xmlrpcs depends on openssl
lp bug: https://launchpad.net/bugs/589739 fixed

bzr revid: jvo@tinyerp.com-20100607063950-i36hh3yiztpu319q
2010-06-07 12:09:50 +05:30
Stephane Wirtel ac1cc7ebf5 [IMP] Add the xmlrpcs option group for the xmlrpc secure mode
[FIX] Availability to disable the Http, Https and NetRPC server via the command line

bzr revid: stephane@openerp.com-20100531141739-5z419xwhmaqikdba
2010-05-31 16:17:39 +02:00
Stephane Wirtel 733fe62640 [FIX] Remove the SOAP flag in the config
bzr revid: stephane@openerp.com-20100531122708-hm1u61jl0ykvz2fa
2010-05-31 14:27:08 +02:00
Stephane Wirtel ff0cb4644f [REF] Group and Rename the parameters for the protocols (NETRPC, XML-RPC)
bzr revid: stephane@openerp.com-20100531122650-g0qzs350xnm15y20
2010-05-31 14:26:50 +02:00
Anup (OpenERP) 67277f6f3d [MERGE] Merged from the main trunk server branch.
bzr revid: ach@tinyerp.com-20100520050727-zdkp6mp65kmfm66o
2010-05-20 10:37:27 +05:30
Olivier Dony 73b5ab1b24 [IMP] renamed server option --test-no-rollback to --test-commit, and dropped --test-continue, making it the default
bzr revid: odo@openerp.com-20100519153027-trhfaluudgo4f59z
2010-05-19 17:30:27 +02:00
Anup (OpenERP) b90cc7e852 [FIX]: --smtp-ssl is not a dependent on the server ssl mode it can be have a value even if server running with normal mode
bzr revid: ach@tinyerp.com-20100513070700-8jl1jjcuoimq9o2p
2010-05-13 12:37:00 +05:30
Jay (Open ERP) 36ef5cb46c [FIX]Config option Server_actions_allow_code added to allow python code in server action
bzr revid: jvo@tinyerp.com-20100512125650-uf242fcr8h2wwme3
2010-05-12 18:26:50 +05:30
PAP(OpenERP) 9e36298cf0 Added commmand line arguments to make yml test easier
bzr revid: hda@tinyerp.com-20100430142250-ieb6mzx59wyvl3u9
2010-04-30 19:52:50 +05:30
Olivier Dony df5ee4d8f0 [IMP] preparation for refactoring of tools/netsvc to allow importing openerp as a module
bzr revid: odo@openerp.com-20100419110051-kmby8ptd7phne1fr
2010-04-19 13:00:51 +02:00
Julien Thewys fc9bf8716a [FIX] Ensure a failing test do not stop the server unless it has ERROR severity/level.
[FIX] Load tests only if demo data are present.

bzr revid: jth@openerp.com-20100408172333-1g3g4nfy6m81m4zw
2010-04-08 19:23:33 +02:00
Stephane Wirtel 6e90109b67 [FIX] Remove the default values on the --no-netrpc and --no-xmlrpc
flags of the command line. The system will check if these flags are
None or not.

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

bzr revid: stephane@openerp.com-20100315123908-6j6ii72g7ed4rvxn
2010-03-15 13:39:08 +01:00
STW 23586fb331 Code improvement by stephane
bzr revid: hda@tinyerp.com-20100312061500-540cpy0cbcwxmfbq
2010-03-12 11:45:00 +05:30
Rvo (Open ERP) 587828161d [ADD]:suppot for __openerp__.py or __terp__.py
bzr revid: rvo@tinyerp.co.in-20100311084941-1l92enpyz1a98hrr
2010-03-11 14:19:41 +05:30
Julien Thewys 231336c878 [FIX] Added TEST logging level to the command line options.
bzr revid: jth@openerp.com-20100308225158-wkbgit6epxt3ggga
2010-03-08 23:51:58 +01:00
Fabien Pinckaers 81390b783d price accuracy
bzr revid: fp@tinyerp.com-20100306202703-8pn8ag7gchiorm8c
2010-03-06 21:27:03 +01:00
HDA (OpenERP) a0ba43d800 Merged with stable
bzr revid: hda@tinyerp.com-20100216063114-d2crv3zayarq2vk6
2010-02-16 12:01:14 +05:30
Xavier Morel 958d3c556c [merge] Check on existence of the -c specified config file by Christophe Chauvet
bzr revid: xmo@tinyerp.com-20100202074415-0yikzl1w72cdtf6h
2010-02-02 08:44:15 +01:00
Jay (Open ERP) 32c48f4310 [FIX] Behavior of server corrected if addons-path is wrong
lp bug: https://launchpad.net/bugs/373176 fixed

bzr revid: jvo@tinyerp.com-20100128055657-mw7o3k1fkyvpr3on
2010-01-28 11:26:57 +05:30
CHS,JVO 877cf0e755 [FIX] Behavior of server corrected if addons-path is wrong
lp bug: https://launchpad.net/bugs/373176 fixed

bzr revid: jvo@tinyerp.com-20100128053018-vn583kr39usmuzfa
2010-01-28 11:00:18 +05:30
CHS,JVO 9eaac50897 [FIX] Behavior of server corrected if addons-path is wrong
lp bug: https://launchpad.net/bugs/373176 fixed

bzr revid: jvo@tinyerp.com-20100128051135-bpbbww23dcmpjd9g
2010-01-28 10:41:35 +05:30
HDA (OpenERP) dadc20e9d1 FIXed merging bugs
bzr revid: hda@tinyerp.com-20100113125341-69djvqrd7rkn6wj9
2010-01-13 18:23:41 +05:30
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 Chauvet e111336ba6 [IMP] Check if the config file exists (only if -c used, and not -s argument in the same time)
bzr revid: christophe.chauvet@syleam.fr-20091207105645-9m8qclwrzfbo5cbh
2009-12-07 11:56:45 +01:00
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