Commit Graph

1654 Commits

Author SHA1 Message Date
Antony Lesuisse 5a076878af new logging handler and commandline config, mostly work except the filter on the root logger
bzr revid: al@openerp.com-20120201001019-7fol09su31gbn69w
2012-02-01 01:10:19 +01:00
Antony Lesuisse b80c634176 [REM] incomplete logging handler config
bzr revid: al@openerp.com-20120131212027-oargpskx4k5a9cem
2012-01-31 22:20:27 +01:00
Antony Lesuisse 1a62602c86 [MERGE] trunk
bzr revid: al@openerp.com-20120131211744-whzzo0dh6w1kptng
2012-01-31 22:17:44 +01:00
Raphael Collet ac205cd443 [MERGE] small fixes (typo in tooltip, char field size)
bzr revid: rco@openerp.com-20120131132112-y526k22lrltqnocm
2012-01-31 14:21:12 +01:00
Olivier Dony b281791ff5 [IMP] db dump: correct reference URL in comments
bzr revid: odo@openerp.com-20120131113642-z6z4vs11fcwkyaqq
2012-01-31 12:36:42 +01:00
Olivier Dony f11e1de5eb [FIX] db dump: report errors due to missing password + pass PGPASSWORD even on Unix
Even on Unix systems the PGPASSWORD env var
is necessary when Postgres is configured to
deny unix socket connections or to require
a password anyway. This avoids asking admins
to manually create a ~/.pgpass file in order
to use the dump/restore tools.
Also did some cleanup to ensure the PGPASSWORD
var is removed from the environment as soon
as the operation is done.

lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed

bzr revid: odo@openerp.com-20120131110849-tji6ipjovxc9oi4v
2012-01-31 12:08:49 +01:00
Launchpad Translations on behalf of openerp 69910d967c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050031-o00wn1tnzbkgjt6j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050331-w0omtl1lmfqzciwq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131052309-jtfsc2m4h3liyzb5
2012-01-31 05:23:09 +00:00
Antony Lesuisse 6f52a1b09f [MERGE] publisher warranty stats
bzr revid: al@openerp.com-20120130220515-vsjnxhll3znxcmut
2012-01-30 23:05:15 +01:00
Antony Lesuisse 562fbb3578 [MERGE] active becomes auto_install: install this module when its dependencies (that can be empty) are satisfied
bzr revid: al@openerp.com-20120130211001-ytqx759fl920uegc
2012-01-30 22:10:01 +01:00
Antony Lesuisse 89e411fb39 remove warning
bzr revid: al@openerp.com-20120130210429-zw7aziwhkhi0yhqv
2012-01-30 22:04:29 +01:00
Vo Minh Thu c22e8190da [IMP] manifest: still support the old `active` entry (but deprecate it and display a warning).
bzr revid: vmt@openerp.com-20120130113116-msjaej7jxp96tbvh
2012-01-30 12:31:16 +01:00
Olivier Dony 7e1df36f9c [IMP] res.company: moved bank accounts tab from account_bank_statement_extension to base
The inherited part in account_bank_statement_extension
was removed from addons at revision 6439
revision-id: odo@openerp.com-20120130111654-7fmacaxdtdiiejs9

bzr revid: odo@openerp.com-20120130112318-d84yr7hlhxmwiwic
2012-01-30 12:23:18 +01:00
Olivier Dony 3f123d6e7a [IMP] res.users: better tooltip for Timezone user pref
bzr revid: odo@openerp.com-20120130112007-g0yheu62uo9j133p
2012-01-30 12:20:07 +01:00
Vo Minh Thu 15a8f08170 [IMP] manifest: renamed active to auto_install.
bzr revid: vmt@openerp.com-20120130102041-aensqjeqkftq8nm5
2012-01-30 11:20:41 +01:00
Vo Minh Thu c447ac4b9a [IMP] manifest: removed the Hidden/Links category.
bzr revid: vmt@openerp.com-20120130095307-cqhysxf6pzovikog
2012-01-30 10:53:07 +01:00
Vo Minh Thu 0d86e08450 [IMP] manifest: `auto_installable` renamed to `auto_install`.
bzr revid: vmt@openerp.com-20120130095238-x2by4y11joeytipr
2012-01-30 10:52:38 +01:00
Launchpad Translations on behalf of openerp ffbff476df Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120128050312-sep3uryazw4j1xz6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120129052156-67wqllfafijp6h1m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120130044112-h04p0g5ne16y1nav
bzr revid: launchpad_translations_on_behalf_of_openerp-20120128050513-ncpdbsqyyk18pc67
bzr revid: launchpad_translations_on_behalf_of_openerp-20120129052226-dfcf7sm2r00y1s3s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120130044131-sdsyvt62gvyzo0e3
2012-01-30 04:41:31 +00:00
Alexis De Lattre ff67c965eb [FIX] Base: removed ambigious entries for _rec_name for res.partner.bank model
lp bug: https://launchpad.net/bugs/922670 fixed

bzr revid: support@serpentcs.com-20120127195148-hdnn9x2m1v7sapm2
2012-01-28 01:21:48 +05:30
Serpent Consulting Services ed8d6780d3 [REM] Removed the _rec_name change
bzr revid: support@serpentcs.com-20120127194929-bwvy3h3qqe6f7m90
2012-01-28 01:19:29 +05:30
Serpent Consulting Services 2ab84f0ab2 [FIX] Base : Corrected the size of the field 'owner_name' for res.partner.bank model,other minor edits included
lp bug: https://launchpad.net/bugs/922781 fixed

bzr revid: support@serpentcs.com-20120127194134-momdokqzf4qfhzqn
2012-01-28 01:11:34 +05:30
niv-openerp 65238372b7 [imp] added some more info in pings
bzr revid: nicolas.vanhoren@openerp.com-20120127114236-3mw4clp9jdy6gimd
2012-01-27 12:42:36 +01:00
Raphael Collet 6c6e5d291c [MERGE] lp:918120 (res.partner.bank: improve name_get() when no bank_name is given)
bzr revid: rco@openerp.com-20120127085133-hwzn9up9gp12cwgi
2012-01-27 09:51:33 +01:00
Launchpad Translations on behalf of openerp 5d68387d26 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120127052810-l3zq5o282fymrd70
bzr revid: launchpad_translations_on_behalf_of_openerp-20120127052825-ba6wz1r33349c1dd
2012-01-27 05:28:25 +00:00
Vo Minh Thu 5b63c4f560 [IMP] ir.module.module: change `active` flag to
`auto_installable`. An auto-installable module is a module automatically
installed by the OpenERP server as soon as its dependencies are
satisfied, without explicit user action.

bzr revid: vmt@openerp.com-20120126164049-smrcvrojy0b1z6f8
2012-01-26 17:40:49 +01:00
Vo Minh Thu 1f64224006 [IMP] openerp.netsvc: use the same logging format for werkzeug and gunicorn
but not for the access logs (we keep the Combined format).
With multiple processes, using a FileHandler can possibly
produce garbled lines. Using syslog is a good alternative.

bzr revid: vmt@openerp.com-20120126110135-9t04z5zrmag45g0b
2012-01-26 12:01:35 +01:00
Vo Minh Thu a83bf232ee [FIX] openerp.wizard: forgot to remove the stacklevel kwarg.
bzr revid: vmt@openerp.com-20120125142702-msp38vncnrv9hvcs
2012-01-25 15:27:02 +01:00
Vo Minh Thu 283304f9a2 [IMP] warnings: turn warnings.warn into logging.warning:
Warnings are handled with the other logs (and not always sent to stderr),
they also appear under a module __name__ channel instead of py.warn.
The disadvantage is that there is no longer specific warnings,
such as pending deprecation warning or deprecation warning.

bzr revid: vmt@openerp.com-20120125132407-u33idc0qh7ecs1i5
2012-01-25 14:24:07 +01:00
Vo Minh Thu 97b75ce3f5 [IMP] openerp.service.http_server: unneeded indirection for logging.
bzr revid: vmt@openerp.com-20120125125151-cxrsosvx9hefikeq
2012-01-25 13:51:51 +01:00
Xavier Morel 3049760fe6 [FIX] race condition in ir.ui.menu leading to incomplete menus in web client
See bug, issue occurs with variable frequency when changing between
simple and extended views in a user account (non-administrator at
least): saving the user account leads to a clearing of the menu cache,
this is followed by two search/read in parallel (one to get the full
menu listing and one to get the list of applications for the home
page), which leads to ir_ui_menu.search (thus
ir_ui_menu._filter_visible_menus) being called concurrently, and this
apparently somehow wrecks havoc on some browse_record's caches
yielding to incoherent behaviors (menus which do have children in db
not having children in the browse_record, and thus being pruned from
the list of menus).

Putting a big lock around 1. clear_cache (just in case) and
2. _filter_visible_menu (to make cache-filling essentially atomic)
seems to solve the issue or at least make it disappear, ideally more
time should be spent understanding what breaks in browse_record.

A reentrant lock is needed as _filter_visible_menu may recurse when
accessing e.g. a menu's child_id (which yield a
search([parent_id=menu.id]) and thus a _filter_visible_menu)

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

bzr revid: xmo@openerp.com-20120125115823-rpu03zdv14t11lp3
2012-01-25 12:58:23 +01:00
Xavier Morel d181a5e7ac [IMP] move browse_record to logging, __init__ docstring to sphinx info fields
bzr revid: xmo@openerp.com-20120125113429-6stglci05rxpfo5j
2012-01-25 12:34:29 +01:00
Xavier Morel e5ab103d2a [IMP] optimize imports in record files
bzr revid: xmo@openerp.com-20120125113248-298g2t2mckgjwk9x
2012-01-25 12:32:48 +01:00
Launchpad Translations on behalf of openerp a6042ec08c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120122053029-q0dszyf1d5joxomf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120124052910-tzpibbaw7b1w2w83
bzr revid: launchpad_translations_on_behalf_of_openerp-20120125052509-uyix5j8ir1rdsuum
2012-01-25 05:25:09 +00:00
Vo Minh Thu f057f2afa5 [IMP] openerp.loglevels: removed calls to openerp.loglevels.Logger().
bzr revid: vmt@openerp.com-20120124173017-c66z3kq11wmbrrke
2012-01-24 18:30:17 +01:00
Vo Minh Thu 402bddc06a [IMP] res_config: changed from class __logger to module _logger.
bzr revid: vmt@openerp.com-20120124162804-9t4y7gy1bvc7jql3
2012-01-24 17:28:04 +01:00
Vo Minh Thu 48adfc8ff3 [IMP] openerp.netsvc: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124162245-sz7iujhxalwzroqt
2012-01-24 17:22:45 +01:00
Vo Minh Thu cc081b5482 [IMP] openerp.service: remove the so called `uniform log handling` of the HttpLogHandler class.
bzr revid: vmt@openerp.com-20120124160231-1ig7utu5brojnw0f
2012-01-24 17:02:31 +01:00
Vo Minh Thu 0d25200483 [IMP] openerp.wsgi: forgot one_logger.
bzr revid: vmt@openerp.com-20120124151451-cdj6ule37i52xqwb
2012-01-24 16:14:51 +01:00
Vo Minh Thu ada52a1beb [IMP] openerp.service: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124150750-0bn7nagjx9k3bi6j
2012-01-24 16:07:50 +01:00
Vo Minh Thu a142292f91 [IMP] openerp.tools: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124140056-hqoy49bh7wyr1xce
2012-01-24 15:00:56 +01:00
Vo Minh Thu f0b63f8028 [IMP] openerp.addons.base: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124131705-pxbfdppbcwgpuajd
2012-01-24 14:17:05 +01:00
Vo Minh Thu 15a4d4e19e [IMP] openerp.report: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124125512-2bjh1xpzcgvz1nrp
2012-01-24 13:55:12 +01:00
Vo Minh Thu f22f2fc770 [IMP] openerp.{modules,osv}: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124124252-91g3ysf33zsq4nhd
2012-01-24 13:42:52 +01:00
Vo Minh Thu f5db1d10ec [IMP] openerp.addons.base: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124114730-24m0ftu1wbowg8a0
2012-01-24 12:47:30 +01:00
Vo Minh Thu eadcdd1fd6 [IMP] openerp.wsgi: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124111438-730miqdcm3eljgds
2012-01-24 12:14:38 +01:00
Vo Minh Thu e972052a93 [IMP] openerp.cron: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124110730-5z49bmykozesrv8e
2012-01-24 12:07:30 +01:00
Vo Minh Thu 6e3ad4f8c9 [IMP] logging: configure a top-level `openerp` logger instead of the root logger.
bzr revid: vmt@openerp.com-20120124104558-r3nz6pvjlcv09aht
2012-01-24 11:45:58 +01:00
Vo Minh Thu 4d77e87495 [IMP] import hook: correctly set the imported module __name__.
bzr revid: vmt@openerp.com-20120124102024-ziajbxfxjs1kyurv
2012-01-24 11:20:24 +01:00
Vo Minh Thu 5e293f04ae [MERGE] added resources (virt. memory and CPU time) limits when using gunicorn.
bzr revid: vmt@openerp.com-20120120172018-dlde0c1qn6oh9922
2012-01-20 18:20:18 +01:00
Vo Minh Thu 30d7253fef [IMP] gunicorn: changed `print` with `logging.info`.
bzr revid: vmt@openerp.com-20120120160409-cu1vcw7cfa3z0zgy
2012-01-20 17:04:09 +01:00
Vo Minh Thu 5e2721aaf2 [IMP] gunicorn: commit suicide in the post_request hook instead of the pre_request hook.
bzr revid: vmt@openerp.com-20120120154322-f23rxofv0169tbsm
2012-01-20 16:43:22 +01:00