Commit Graph

223 Commits

Author SHA1 Message Date
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
mra (Open ERP) c74356c474 [IMP] Add more languages in get_lang method on misc file for Load offcial Translation
bzr revid: mra@tinyerp.com-20100226070009-b4b0kg12m5zubeia
2010-02-26 12:30:09 +05:30
HDA (OpenERP) a0ba43d800 Merged with stable
bzr revid: hda@tinyerp.com-20100216063114-d2crv3zayarq2vk6
2010-02-16 12:01:14 +05:30
Sebastien faec4cbc80 Fixed Unicode character in mail
lp bug: https://launchpad.net/bugs/421162 fixed

bzr revid: hda@tinyerp.com-20100215112808-620psjq2d0d1eg2y
2010-02-15 16:58:08 +05:30
Xavier Morel f277ec836b [fix] email_to is a sequence of email addresses, not just one
bzr revid: xmo@tinyerp.com-20100127121412-5mhk4y34d9g0239u
2010-01-27 13:14:12 +01:00
Xavier Morel 2dd21b183e [fix] typo in send_mail
bzr revid: xmo@tinyerp.com-20100127113716-ev7vi7s1axvj7na4
2010-01-27 12:37:16 +01:00
Xavier Morel fa7a5baca6 [imp] don't include MIMEText call in encoding-related branches
bzr revid: xmo@tinyerp.com-20100126144647-gxd1eqmu3duh8ys9
2010-01-26 15:46:47 +01:00
Xavier Morel f98f5e2192 [imp] remove redundancies between sending mails with and without attachments
bzr revid: xmo@tinyerp.com-20100126144154-xgk8ep9skczc1vf5
2010-01-26 15:41:54 +01:00
Xavier Morel e4de42a1b7 [imp] invert attachment condition, preset body value, use more precise exception catching
bzr revid: xmo@tinyerp.com-20100126143507-pnfw1yoor58pknaw
2010-01-26 15:35:07 +01:00
Xavier Morel 24a5330564 [imp] use more specific error type (and message) in email send
bzr revid: xmo@tinyerp.com-20100126143003-y8huixulml70qa3y
2010-01-26 15:30:03 +01:00
Xavier Morel 693b74d6f2 [imp] remove pointless boolean check (there's a default priority in the method kwargs)
bzr revid: xmo@tinyerp.com-20100126142618-22cjfny6b8go7apo
2010-01-26 15:26:18 +01:00
Christophe Simonis 5303dc2e92 [FIX] correct threading problems in cache
bzr revid: chs@tinyerp.com-20100120163327-nwfb0vs9cs3n3cl0
2010-01-20 17:33:27 +01:00
HDA (OpenERP) 8a887ad4e0 Merged
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
Jay (Open ERP) 02e18c4262 [REM] Removed duplicated code for method __getitem__()
lp bug: https://launchpad.net/bugs/504243 fixed

bzr revid: jvo@tinyerp.com-20100108083148-yq3p7uj0mcql2tll
2010-01-08 14:01:48 +05:30
Olivier Dony ccf51984ba [FIX] Fixed typo in rev 1975.
lp bug: https://launchpad.net/bugs/389544 fixed

bzr revid: odo@openerp.com-20100106232831-92najrab4hhsvz7z
2010-01-07 00:28:31 +01:00
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