Commit Graph

238 Commits

Author SHA1 Message Date
Olivier Dony 592d666e51 [FIX] tools.misc: correct argument to subprocess.Popen (via xrg, analysis/patch courtesy of Michael Telahun Makonnen)
lp bug: https://launchpad.net/bugs/685115 fixed
lp bug: https://launchpad.net/bugs/684661 fixed

bzr revid: odo@openerp.com-20101207170551-o19ab06g1h2x3ygz
2010-12-07 18:05:51 +01:00
Olivier Dony c744e55ffc [ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin
bzr revid: odo@openerp.com-20101203160907-59ytzsl8ah2ebtxa
2010-12-03 17:09:07 +01:00
Olivier Dony f87b2bb7e4 [MERGE] font loading issues fixed + performance improvements at module install/load
bzr revid: odo@openerp.com-20101127032014-fxrjaakuo3t4wvw4
2010-11-27 04:20:14 +01:00
Olivier Dony ec9d236589 [IMP] ir_model,ir_module,tools: tweaks for improving module install/loading time
bzr revid: odo@openerp.com-20101127030450-m44krmwbnpd57omf
2010-11-27 04:04:50 +01:00
P. Christeas 597a871470 misc: import warnings, needed for earlier patch
bzr revid: p_christ@hol.gr-20101123180824-sk28lwc298v89rr4
2010-11-23 20:08:24 +02:00
P. Christeas 186b9190f6 tools.convert, misc: use pythonic logging
Conflicts:

	bin/tools/convert.py
	bin/tools/misc.py

bzr revid: p_christ@hol.gr-20101123153325-wicnjxt98lp03cpf
2010-11-23 17:33:25 +02:00
P. Christeas d4379792fc tools/misc: port the exec_command_pipe() to the subprocess module.
The os.popen2 is deprecated since Python 2.6. It also failed to properly
escape the command line arguments.

Conflicts:

	bin/tools/misc.py

bzr revid: p_christ@hol.gr-20101123152224-d52414w2tscw6bvo
2010-11-23 17:22:24 +02:00
P. Christeas 8ce5d2bc20 tools/misc: prevent icon names from being translated
They are identifier strings, not human-readable.

bzr revid: p_christ@hol.gr-20101116150537-s7tyw7d6y0r1dl6c
2010-11-16 17:05:37 +02:00
Christophe Simonis ad4f3dfc0b [IMP] tools.cache now use a LRU to avoid memory overload
bzr revid: chs@openerp.com-20101109165739-1pm8jhckcyzkb2z1
2010-11-09 17:57:39 +01:00
Christophe Simonis fc158668b7 [IMP] pyflakes tools/misc.py
bzr revid: chs@openerp.com-20101109165014-6yw5xvojoe7b0i4t
2010-11-09 17:50:14 +01:00
Olivier Dony fc065933c7 [IMP] tools.misc: typo in tools.ustr error message
bzr revid: odo@openerp.com-20101109110436-aftj49f65zac5qwe
2010-11-09 12:04:36 +01:00
Olivier Dony 257bc12dcc [FIX] tools.misc: enforce passing email_from as utf8 8-bit string to smtp layer in email_send() + various lint cleanup
bzr revid: odo@openerp.com-20101027122830-rs29vunlmgcom9z5
2010-10-27 14:28:30 +02:00
Olivier Dony 69ea053093 [FIX] translations: export wizard should also export _sql_constraints + cleanup
bzr revid: odo@openerp.com-20101020163822-myx69vpr1vavlqru
2010-10-20 18:38:22 +02:00
Olivier Dony eed35f8c52 [ADD] languages: add support for more spanish locales (latin america)
lp bug: https://launchpad.net/bugs/660933 fixed

bzr revid: odo@openerp.com-20101020161843-rpdcihejmiluv3k7
2010-10-20 18:18:43 +02:00
Xavier Morel 040f2ce15b [FIX] use correct default callable for a datetime to get the current datetime as of the object's creation
Add staticmethods to fields.time, fields.date and fields.datetime so they can generate default values which they can actually consume

bzr revid: xmo@openerp.com-20101012160130-jwgl7cok853fiyap
2010-10-12 18:01:30 +02:00
Xavier Morel c153c2d46b [ADD] server-side web addons
bzr revid: xmo@openerp.com-20100928075257-06f2b3o6kvdb9f6y
2010-09-28 09:52:57 +02:00
Olivier Dony e4e6e04a61 [IMP] ir.property: fixed compatibility with python 2.5
bzr revid: odo@openerp.com-20100924101545-2baak1xfh0v8z04n
2010-09-24 12:15:45 +02:00
Julien Thewys d90f632ad7 [FIX] Moved definition of smtplib error logger in the right scope.
bzr revid: jth@openerp.com-20100923135820-t1uqp0k4iwfgxaw6
2010-09-23 15:58:20 +02:00
Xavier Morel 773839ed75 [IMP] don't manually split'n load base.sql, cr.execute has no problem eating a whole file (as far as I can see)
bzr revid: xmo@openerp.com-20100921130657-bkqqyscgzmryhap1
2010-09-21 18:36:57 +05:30
Olivier Dony 53c1238913 [REF] tools.misc: expose separate method to generate a tracking Message-ID SMTP header
bzr revid: odo@openerp.com-20100813105404-ceni0xjpusuc8kpy
2010-08-13 12:54:04 +02:00
Olivier Dony a736c6e17f [ADD] tools.misc: added method to compute client timestamp according to timezone, for example for inclusion in strings where it will not be formatted by the client (do NOT use it when returning date[time] field values to the client!) + refactored timezone_get service method to make it accessible in tools.
bzr revid: odo@openerp.com-20100727152211-mupv9tdhbpv48nvu
2010-07-27 17:22:11 +02:00
Olivier Dony 59fdce2fe2 [FIX] tools.ustr: corrected backwards compatibility for conversion of non-string objects
bzr revid: odo@openerp.com-20100702153357-5qc6y03lxudynpyz
2010-07-02 17:33:57 +02:00
Olivier Dony 42b7282e4a [IMP] tools.ustr: added support for encoding hints for conversion
bzr revid: odo@openerp.com-20100702133922-qkfjodoh5z0i5fij
2010-07-02 15:39:22 +02:00
Olivier Dony, Christophe Simonis c6bbbab4c8 [IMP] tools.misc: cleanup and fallback mechanism for html2plaintext + other minor cleanup
bzr revid: odo@openerp.com-20100628181244-s3djk9c7ycbba9vk
2010-06-28 20:12:44 +02:00
Olivier Dony 478ab1c86d [FIX] tools/misc: fix broken email_send
bzr revid: odo@openerp.com-20100628144627-3fzhggzojqbt4547
2010-06-28 16:46:27 +02:00
Stephane Wirtel 09e9462aae [FIX] Use the right variable for the send email function
bzr revid: stephane@openerp.com-20100628130515-kll5ewiywae2x2e5
2010-06-28 15:05:15 +02:00
Olivier Dony f223434ff6 [IMP] tools/email_send: split into 2 functions: craft + send, so we can hook at lower-level for forwards etc.
bzr revid: odo@openerp.com-20100628093829-fq46kn75vsb0nq95
2010-06-28 11:38:29 +02:00
Olivier Dony 59fe0a4d12 [FIX] tools/email: don't strip newlines in HTML at this stage
bzr revid: odo@openerp.com-20100625183024-kxdud02lvg5591bl
2010-06-25 20:30:24 +02:00
Olivier Dony acd4c9b04d [FIX] tools/email: misc encoding patches .. not too proud of it but it should solve some issues until we fix correctly
bzr revid: odo@openerp.com-20100625180541-7gecplqna47ph1pv
2010-06-25 20:05:41 +02:00
vra 7ed648ce88 [MERGE] merge the changes from main trunk branch.
bzr revid: vra@tinyerp.com-20100624084539-ne1e1tscqn1z3jw5
bzr revid: vra@tinyerp.com-20100624084650-svala4jb0dnf7aal
2010-06-24 14:16:50 +05:30
Olivier Dony 8f841dc233 [IMP] tools: added disclaimer on detect_ip_addr
bzr revid: odo@openerp.com-20100622154500-lsoxuy0cz1p05lrb
2010-06-22 17:45:00 +02:00
Anup (OpenERP) 6b90ca82c5 [IMP] removed the possible SQL injection server.
bzr revid: ach@tinyerp.com-20100615132722-zbua6ciz3dz43qd8
2010-06-15 18:57:22 +05:30
Vir (Open ERP) 0408300043 [MOD] New icons added
bzr revid: vir@tinyerp.com-20100607122058-0dxytl1mjq90swyy
2010-06-07 17:50:58 +05:30
Vir (Open ERP) 9b4bc3c5ea [ADD] New icon image added
bzr revid: vir@tinyerp.com-20100603134146-bwiny8w7c8f13fxh
2010-06-03 19:11:46 +05:30
Vir (Open ERP) 10fba60b6a [ADD] New icon added
bzr revid: vir@tinyerp.com-20100602045138-8zdv8tazql9w670s
2010-06-02 10:21:38 +05:30
Vir (Open ERP) b2a6a5f79c [Merge] Merge with Trunk Server
bzr revid: vir@tinyerp.com-20100601053840-z183q5is7js83sb9
2010-06-01 11:08:40 +05:30
Vir (Open ERP) 9a7c0bfa75 [ADD] new icons added
bzr revid: vir@tinyerp.com-20100601051804-moiaaqsy4y9gbc8z
2010-06-01 10:48:04 +05:30
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 d943997892 [FIX] ignore empty certificate strings to avoid duplicates in database
bzr revid: odo@openerp.com-20100519110606-beyw8z56m3y6gx03
2010-05-19 13:06:06 +02:00
Christophe Simonis c11f53d695 [IMP] tools: find_in_path: use which (file found on python bug tracker)
bzr revid: chs@openerp.com-20100531093913-mn98pno6srb74v27
2010-05-31 11:39:13 +02:00
Jay (Open ERP) 5a028fa5ed [MERGE] MErged with main server of trunk
bzr revid: jvo@tinyerp.com-20100512122913-0xy3ntmkqvgp3paf
2010-05-12 17:59:13 +05:30
Jay (Open ERP) 8972e42f8a Merged odo's branch about bug #495948
bzr revid: jvo@tinyerp.com-20100512110758-2dqrz2w00iq9brwq
2010-05-12 16:37:58 +05:30
Jay (Open ERP) 8f81995ec8 [FIX] correct ustr. avoid a crash if getlocale() return None
bzr revid: jvo@tinyerp.com-20100512104026-mttsmb49zx80yhpc
2010-05-12 16:10:26 +05:30
nch@tinyerp.com ebde563d05 [IMP]:gtk contact form
bzr revid: nch@tinyerp.com-20100505133147-9lpdgkf1tn75v8ws
2010-05-05 19:01:47 +05:30
Mantavya Gajjar 9b3771b2f2 [IMP]: improvement in tools.send_email
add missing field `condition` in to the server action

bzr revid: mga@tinyerp.com-20100417205918-ifjuddmuvmizkb4b
2010-04-18 02:29:18 +05:30
Olivier Dony 2c0cb2169a [FIX] corrected Persian language name to match stable
bzr revid: odo@openerp.com-20100414115006-obl092lw2ourmrt1
2010-04-14 13:50:06 +02:00
Olivier Dony 01578fff22 [ADD] utility methods to split large lists of ids for use in IN clauses
bzr revid: odo@openerp.com-20100330172603-ty878ds2i9oa33zq
2010-03-30 19:26:03 +02: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
mra (Open ERP) f4820709b6 [IMP] Translation: remove get_iso dictionary which used in get_ico_codes method to get languages
bzr revid: mra@tinyerp.com-20100302085109-63xxp3mqx7wuh4zs
2010-03-02 14:21:09 +05:30