Commit Graph

604 Commits

Author SHA1 Message Date
Thibault Delavallée dbaeee703f [IMP] mail: alias_contact on alias. However, not sure this will be usefull, to discuss.
bzr revid: tde@openerp.com-20130322155734-9jfc7w8nw8oiytd4
2013-03-22 16:57:34 +01:00
Thibault Delavallée c41cc328bb [IMP] mail_thread: in empty list help, do not display alias info when alias domain is not configured.
bzr revid: tde@openerp.com-20130405115830-wv64k3z20t8m1odx
2013-04-05 13:58:30 +02:00
Thibault Delavallée d50b159f81 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130405111048-kqxll4mdwnsq2r8o
2013-04-05 13:10:48 +02:00
Thibault Delavallée 1804c558e7 [IMP] mail: empty list help: take first created alias by default, because this should be the configuration data like 'sales'.
bzr revid: tde@openerp.com-20130405110702-51yt8on1t3c2v54o
2013-04-05 13:07:02 +02:00
Quentin (OpenERP) 3bb51ac696 [MERGE] forward port of bugfixes made in 7.0, up to revision 8969.
bzr revid: qdp-launchpad@openerp.com-20130404095257-oek77sijuxjyi0aj
2013-04-04 11:52:57 +02:00
Thibault Delavallée 37bec9643d [FIX] mail: fixed recipients of private discussion, that were not correct. Author could be notified of their own reply independently of the specified recipients. Added tests for private discussions.
bzr revid: tde@openerp.com-20130403121307-4rixx7ct6y86spoz
2013-04-03 14:13:07 +02:00
Thibault Delavallée a173caa0f4 [FIX] Fixed wrong parameter name given to astimezone introduced at revision 8954; correct parameter name is tz, not tzinfo.
bzr revid: tde@openerp.com-20130403120926-xfxtj5hsva6jzb1u
2013-04-03 14:09:26 +02:00
Christophe Matthieu 767fe2458a [FIX] mail: issue: After receiving inbox messages from external emails, when clicking on reply button the external email is listed in the form. However when clicking on send the external email is removed! and instead of email what we get is an internal note.
bzr revid: chm@openerp.com-20130403085116-m2kyiem0r2dnjwov
2013-04-03 10:51:16 +02:00
Thibault Delavallée c6bf1f1af3 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130329103315-ico83ec57l2dzx4v
2013-03-29 11:33:15 +01:00
Thibault Delavallée 3a155a408a [CLEAN] mail_thread: cleaned code of get_empty_list_help (using variables instead of calls to context, better indentation of help message formatting
bzr revid: tde@openerp.com-20130329100151-pbtdm85qp27wohgk
2013-03-29 11:01:51 +01:00
Chris Biersbach fd84a4dec4 [FIX] the functionality to save the original mail fetched by the fetchmail module now correctly works
bzr revid: cbi@openerp.com-20130327112517-evcxdkedguka6y8a
2013-03-27 12:25:17 +01:00
Christophe Matthieu 9845f41c09 [IMP] project, project_issue: improve get_empty_list_help
bzr revid: chm@openerp.com-20130325104012-h5ryupgzglia4twg
2013-03-25 11:40:12 +01:00
Thibault Delavallée 682089878f [IMP] mail: message_process: updated logger (debug -> info, email_from and email_to in logger messages).
bzr revid: tde@openerp.com-20130322134410-2kjptxqrc3bmcbyj
2013-03-22 14:44:10 +01:00
Thibault Delavallée 6cfb01d7c9 [FIX] mail: message_process: do not process incoming emails with a message_id already existing in database.
Before trying to find possible routes, check that the incoming email's
message_id is not already present in mail.message table.
If it is the case, return False.

Parsing of the message has been moved before routing, to avoid looking
for routes for emails we will discard.

Tests have been added and updated.

bzr revid: tde@openerp.com-20130322124809-ven2p5kxpqfjqxb5
2013-03-22 13:48:09 +01:00
Thibault Delavallée 4e90cbe28e [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130322090933-k1jdo40wer42to1e
2013-03-22 10:09:33 +01:00
Christophe Matthieu 9d45f9ad82 [IMP] code cleaning for get_empty_list_help
bzr revid: chm@openerp.com-20130321133139-k6ycur34ojw2qhjq
2013-03-21 14:31:39 +01:00
ajay javiya (OpenERP) 8ecb77a59d [FIX]: mail chatter issue
bzr revid: aja@tinyerp.com-20130321125508-ixlskc9rnnalwcwl
2013-03-21 18:25:08 +05:30
Thibault Delavallée 3106310824 [MERGE] Sync with 7.0 until 8906
bzr revid: tde@openerp.com-20130321120618-0vaokwa3bmvlpe01
2013-03-21 13:06:18 +01:00
Thibault Delavallée 88b39119b8 [MERGE] [FIX] mail_gateway: better algorithm to find the partner of an incoming email when having multiple matching partners for a given email address.
The mailgateway tries to find a partner that is also an user with the email_from.
If none is found, it takes the first partner with matching email.
In message_post, it tries to find the author based on the document's followers.
Indeed it is very likely that an answer comes from a follower of a document.

The whole process is not done inside the mailgateway because document
and followers related stuff belong to message_post, not to the mail gateway.

Tests have been added in mail.

bzr revid: tde@openerp.com-20130321120451-qk524qayq28sw3th
2013-03-21 13:04:51 +01:00
Thibault Delavallée f02e8bfd61 [FIX] Broltch
bzr revid: tde@openerp.com-20130321112823-nmqzcjzigiwt09q7
2013-03-21 12:28:23 +01:00
Thibault Delavallée 40a5dda617 [MERGE] Forward port of addons until 8903
bzr revid: tde@openerp.com-20130321093716-3nt7h2xunl8lusqh
2013-03-21 10:37:16 +01:00
Thibault Delavallée 62fc6f7cd7 [CLEAN] Cleaned code of fix.
bzr revid: tde@openerp.com-20130320164202-yy13qg8pdx09ie9z
2013-03-20 17:42:02 +01:00
Thibault Delavallée 30a1d99d07 [MERGE] Sync with trunk + fixed the fix and tests.
bzr revid: tde@openerp.com-20130320161045-41bpe36b09tgcxpo
2013-03-20 17:10:45 +01:00
Christophe Matthieu dfa5e391e1 [IMP] mail: dynamic_help fix
bzr revid: chm@openerp.com-20130320143417-fgkjh03xp2ekpkgg
2013-03-20 15:34:17 +01:00
Christophe Matthieu 8ccf57fe9d [IMP] mail: dynamic_help fix
bzr revid: chm@openerp.com-20130320140528-5nambcm6ftpamove
2013-03-20 15:05:28 +01:00
Christophe Matthieu 36028e22b2 [IMP] mail: dynamic_help fix false message
bzr revid: chm@openerp.com-20130320135051-bit13xz2lv18x5m9
2013-03-20 14:50:51 +01:00
Christophe Matthieu 6bfb7801ae [IMP] mail: dynamic_help
bzr revid: chm@openerp.com-20130320134116-6drwq1wd0u11x77m
2013-03-20 14:41:16 +01:00
Christophe Matthieu ae30f8fff3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130320125517-jv2ot85iypncoesj
2013-03-20 13:55:17 +01:00
Thibault Delavallée 82b3e9b5fd [FIX] mail: mail_create_nosubscribe context key also supported in message_post: allows to avoid subscribing the author to the document.
bzr revid: tde@openerp.com-20130320084011-coyf9p1il2ue04bb
2013-03-20 09:40:11 +01:00
Chris Biersbach 9e6d14a289 [IMP] Removed unnecessary code in project_issue.py, fixed a small error in mail_thread
bzr revid: cbi@openerp.com-20130319103822-ss4y3na3i4hip4e0
2013-03-19 11:38:22 +01:00
Thibault Delavallée 660b94845a [IMP] mail_compose_message: mass mailing does not auto_subscribe author anymore.
bzr revid: tde@openerp.com-20130315124009-xgfwr5xuxe1fhrut
2013-03-15 13:40:09 +01:00
Thibault Delavallée 5d59401b91 [MERGE] Sync with trunk, tried to resolve the conflicts without breakign everything.
bzr revid: tde@openerp.com-20130315120759-sf1o1sd80ycuuy7n
2013-03-15 13:07:59 +01:00
Quentin (OpenERP) be05b374a1 [MERGE] forwardport of bugfixes made in v7 up to revision 8854.
bzr revid: qdp-launchpad@openerp.com-20130314112740-s01t51p4m7mxcumz
2013-03-14 12:27:40 +01:00
Christophe Matthieu b255703166 [MERGE] from trunk
bzr revid: chm@openerp.com-20130313141718-dw76m7fvy0co3rfi
2013-03-13 15:17:18 +01:00
Chris Biersbach 31d218cc67 [IMP] Project issue: Improved handling of thread_model context value in message_post. Replaced a read by a browse in Project issue write
bzr revid: cbi@openerp.com-20130313083808-o75djyctnj5sgngx
2013-03-13 09:38:08 +01:00
Thibault Delavallee 99063b421f [REV] mail_thread: message_process: reverted reply_to mechanism, now based on the reply_to-model contained in message_id.
bzr revid: tde@openerp.com-20130312133029-67g69s3ttscwhtoc
2013-03-12 14:30:29 +01:00
Thibault Delavallée 5e59420989 [FIX] mail_thread: fixed a list that should be a set. This has nothing to do with the previous commit. Seriously.
bzr revid: tde@openerp.com-20130307093414-wcdakf017sskj35l
2013-03-07 10:34:14 +01:00
Thibault Delavallée 000042ac68 [FIX] mail_thread: fixed set that should not be a set.
bzr revid: tde@openerp.com-20130307093115-9jmflmnf420iiz21
2013-03-07 10:31:15 +01:00
Thibault Delavallée e57ffc4836 [FIX] mail: added wrapper for message_Create_patners_from_emails in mail_thread and res_users; cleaned message_post signature to match the pre-merge signature. Also fixed a wrong argument name in message_post_user_api.
bzr revid: tde@openerp.com-20130307075216-kk0m304405ohm7ua
2013-03-07 08:52:16 +01:00
Thibault Delavallée 445c1aa412 [FIX] mail: added wrapper because of changes introduced in the API recently.
bzr revid: tde@openerp.com-20130306162811-t4505m08nep2jlz4
2013-03-06 17:28:11 +01:00
Thibault Delavallée 9d2dba4ea7 [IMP] mail_thread: handle use_email_to when managing incoming emails.
bzr revid: tde@openerp.com-20130305151332-q6bcr91gk51ugk9v
2013-03-05 16:13:32 +01:00
Thibault Delavallée c63de2c9c2 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130305121955-49g21indundhnca3
2013-03-05 13:19:55 +01:00
Christophe Matthieu 7515824c60 [IMP] display alias on project, crm, hr
bzr revid: chm@openerp.com-20130304151355-g3asldjob722urc0
2013-03-04 16:13:55 +01:00
Christophe Matthieu 8cd3602a9f [IMP] issue: dynamic_help
bzr revid: chm@openerp.com-20130304141240-mpbtizm2y8r01456
2013-03-04 15:12:40 +01:00
Quentin (OpenERP) c450d0abe7 [FIX] mail: fixed error when the reference is given as False in teh message dictionary in message_parse() of mail_thread.py
bzr revid: qdp-launchpad@openerp.com-20130301114630-y4ynidvhh9pj29s9
2013-03-01 12:46:30 +01:00
Anand Patel (OpenERP) 731a022ee0 [MERGE]Trunk
bzr revid: pan@tinyerp.com-20130301070743-aejayq1g3mif79uv
2013-03-01 12:37:43 +05:30
Thibault Delavallée 6de2650299 [IMP] Suggested recipients: check whether an email is linked to a partner.
bzr revid: tde@openerp.com-20130228170546-t04n73pvuwtp20jh
2013-02-28 18:05:46 +01:00
Thibault Delavallée 718d38f056 [FIX] Chatter: mail_post_autofollow can be completed with mail_post_autofollow_partner_ids, that filters the recipients to subscribe. Purpose: suggested partners are added as followers, not people that could have been added after in the compose wizard.
bzr revid: tde@openerp.com-20130228164054-e3y3pdrygqph0dm2
2013-02-28 17:40:54 +01:00
Thibault Delavallée 68545cf6ae [DOC] mail: added some comments.
bzr revid: tde@openerp.com-20130226151531-3zmtcdodmpnh74zh
2013-02-26 16:15:31 +01:00
Thibault Delavallée 53dc52a5c1 [CLEAN] mail_thread: cleaned _get_message_data method. Maybe not the best way, but we tries to avoid using group_by and count because of spurious timing results. Also added some comments.
bzr revid: tde@openerp.com-20130226150707-hzyb8unhsz1i2hh3
2013-02-26 16:07:07 +01:00