Commit Graph

76 Commits

Author SHA1 Message Date
Thibault Delavallée ce4e0f1a37 [TMP] mail: added a small thin in test to re-runbot the runbot.
bzr revid: tde@openerp.com-20121019123222-611b6uv4foyudmvu
2012-10-19 14:32:22 +02:00
Thibault Delavallée e47d26a9e4 [IMP] [TMP] mail: tests: added some tests and debug when facing the now famous random runbot-dev bug, that is now not only trigerred on runbot-dev.
bzr revid: tde@openerp.com-20121019081736-rpsqvve1bjhl5ymg
2012-10-19 10:17:36 +02:00
Thibault Delavallée b2e7caca7d [ADD] mail: added forgottent mail_favorite_view.xml file.
bzr revid: tde@openerp.com-20121018153334-g7fv8mv3a8utrx76
2012-10-18 17:33:34 +02:00
Thibault Delavallée 91f4e942db [IMP] mail: star is renamed as favorite (propagated changes through module); added views for this model in technical feature, under emails. Cleaned message_read and message_read_get_expandable because the code was quite obfuscated.
bzr revid: tde@openerp.com-20121018152322-cakaas3a77h1pi7m
2012-10-18 17:23:22 +02:00
Thibault Delavallée 7ad3a42491 [FIX] mail: test: fixed a warning due to a bad-named field.
bzr revid: tde@openerp.com-20121018094734-tqfrmg0jb2t2a1k2
2012-10-18 11:47:34 +02:00
Thibault Delavallée 6deffa5b54 [FIX] mail: tests: fixed needaction tests, now more robust to already updated databases.
bzr revid: tde@openerp.com-20121017134233-l50ea2tqjvg1ib1r
2012-10-17 15:42:33 +02:00
Thibault Delavallée 1d63138e7d [CLEAN] mail: cleaned needaction tests.
bzr revid: tde@openerp.com-20121016125358-9acjd7up7k2d7hrw
2012-10-16 14:53:58 +02:00
Thibault Delavallée e915bd83cb [IMP] mail_thread: remove message_subtype_data field, not used anymore; message_is_follower is not computed with message_follower_ids. Updated mail_followers widget, as message_is_follower is barely never used in views. Updated tests.
bzr revid: tde@openerp.com-20121016111753-shhyhred0m210o1z
2012-10-16 13:17:53 +02:00
Christophe Matthieu 49a174df57 [IMP] chatter, follower: html/js for css imp
bzr revid: chm@openerp.com-20121010181611-rl167r9h0ejz8zdu
2012-10-10 20:16:11 +02:00
Christophe Matthieu 20d8b0fc76 [MERGE] from trunk
bzr revid: chm@openerp.com-20121010112018-oswe04e2j0o95dry
2012-10-10 13:20:18 +02:00
Raphael Collet f26a1cd5fd [FIX] mail: replace buggy many2many_reference field by function field; this fixes the search on field mail_follower_ids
bzr revid: rco@openerp.com-20121008151234-9oovjatffaw48k1d
2012-10-08 17:12:34 +02:00
Olivier Dony 3744f5c402 [REV] Revert last commit, breaks tests
bzr revid: odo@openerp.com-20121003153306-e2ugphdyijvq8x6l
2012-10-03 17:33:06 +02:00
Christophe Matthieu c28a29c44c [IMP]mail: expandable py
bzr revid: chm@openerp.com-20121003072845-64bufx2dj3qdpjm2
2012-10-03 09:28:45 +02:00
Fabien Pinckaers ee5f1e57ff [FIX] tests on mails
bzr revid: fp@openerp.com-20121001210653-ss4uqv7ij1mobuwc
2012-10-01 23:06:53 +02:00
Fabien Pinckaers 486055417d [FIX] tests fixes + compose + no parent_id on groups and partners
bzr revid: fp@tinyerp.com-20121001182722-0971qc2ccp3noe2c
2012-10-01 20:27:22 +02:00
Christophe Matthieu b3d8e1f7fc [IMP] mail: test
bzr revid: chm@openerp.com-20121001130530-w1k2b4vzst44jwa3
2012-10-01 15:05:30 +02:00
Antony Lesuisse 6dd16f2613 [MERGE] trunk
bzr revid: al@openerp.com-20120930141638-bw50m7b5a8wnu2yh
2012-09-30 16:16:38 +02:00
Fabien Pinckaers 77bfdd6d24 [FIX] Test scenario of mail using html2plaintext
bzr revid: fp@tinyerp.com-20120927082154-98aa5mljh6ug6wlz
2012-09-27 10:21:54 +02:00
Olivier Dony 3cf8404b9b [REVERT] mail: undo apparently incorrect test change
bzr revid: odo@openerp.com-20120926164059-11wuh2z5ix7ugqej
2012-09-26 18:40:59 +02:00
Fabien Pinckaers 6c78348c1d [FIX] mail test
bzr revid: fp@tinyerp.com-20120926135233-v9te2bm3lxnlq216
2012-09-26 15:52:33 +02:00
Christophe Matthieu f859eab08a [MERGE] from trunk-message_read-tde
bzr revid: chm@openerp.com-20120921084703-c4j4byp65tbx9i55
2012-09-21 10:47:03 +02:00
Thibault Delavallée 3774f6d545 [IMP] [FIX] Chatter: fixed load more, message_read and expandables. Cleaned tests.
bzr revid: tde@openerp.com-20120920144645-o92edguwjzws3t3e
2012-09-20 16:46:45 +02:00
Thibault Delavallée 91cd539541 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120920125938-brd60c8kf6zpy20a
2012-09-20 14:59:38 +02:00
Thibault Delavallée 2a33b4cb26 [FIX] mail: fixed tests.
bzr revid: tde@openerp.com-20120920115746-6ospayxyyi6y9c3z
2012-09-20 13:57:46 +02:00
Thibault Delavallée ed3518d858 [CLEAN] Cleaned subtype model, implementation and tests. Added a message_subtype_data field, holding data about subtypes. This will allow to avoid doing too much calls from the front-end.
bzr revid: tde@openerp.com-20120920101704-cri6zq7sqi7y660b
2012-09-20 12:17:04 +02:00
Thibault Delavallée 64672b1764 [CLEAN] mail: comment xml_id is now mt_comment. Propagated change. Slighty cleaned code in base_status.
bzr revid: tde@openerp.com-20120919114353-8s9lo6tp78tnwj56
2012-09-19 13:43:53 +02:00
Thibault Delavallée fa27dde6c9 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120919111000-w3xmyatd6new8ghm
2012-09-19 13:10:00 +02:00
Thibault Delavallée 2ae49751eb [TEST] mail: added tests for the vote feature.
bzr revid: tde@openerp.com-20120918150517-c08jw61c9fpasisc
2012-09-18 17:05:17 +02:00
Sanjay Gohel (Open ERP) 2abba24ef3 [MERGE]merge with parent branch
bzr revid: sgo@tinyerp.com-20120914053347-u28fihi7mcetup4j
2012-09-14 11:03:47 +05:30
Sanjay Gohel (Open ERP) a807b57f4e [MERGE]merge with trunk addons
bzr revid: apa@tinyerp.com-20120911054811-24s3e1perqf7x1wo
bzr revid: apa@tinyerp.com-20120911084547-trlru6t8r1dv1yhd
bzr revid: apa@tinyerp.com-20120912050215-glxhb94pu2aed5fz
bzr revid: apa@tinyerp.com-20120913050959-re58fqvnaqrhgzg0
bzr revid: sgo@tinyerp.com-20120914053201-khnzm9ei7rpjcp7u
2012-09-14 11:02:01 +05:30
Thibault Delavallée 25734f2cfd [IMP] mail, portal: improved tests. A new TestMailMockup class has been defined, holding the various mockups for the mail gateway, to avoid having duplicate code in tests using emails. Added tests in portal about the invite mechanism.
bzr revid: tde@openerp.com-20120913103529-410g9sk32sbbmkgn
2012-09-13 12:35:29 +02:00
Sanjay Gohel (Open ERP) 18ceddcf2e [IMP]minor changes
bzr revid: sgo@tinyerp.com-20120913091502-dvlpgoa3dr72km04
2012-09-13 14:45:02 +05:30
Thibault Delavallée 13583b36d3 [FIX] mail, portal: fixed tests to remove mockups at tearDown. Otherwise, when using tests, no email could be send because of the mockups installed during tests.
bzr revid: tde@openerp.com-20120913084119-6ligp3o864vtzlmz
2012-09-13 10:41:19 +02:00
Sanjay Gohel (Open ERP) b6e298534c [MERGE]merge with parent branch
bzr revid: sgo@tinyerp.com-20120913053647-12otf3bev3rap3l7
2012-09-13 11:06:47 +05:30
Thibault Delavallée a1dec2072a [FIX] Fixed test mocking wrong method.
bzr revid: tde@openerp.com-20120912161349-ya5jvplze9ke3rtr
2012-09-12 18:13:49 +02:00
Thibault Delavallée 2b7112d7ae [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120912142748-mnsaftqea2anwkrc
2012-09-12 16:27:48 +02:00
Thibault Delavallée a16bf464f5 [IMP] mail: added a new behavior when sending notifications. Each notification can now be customized (subject, body); each partner to notify will receive a different ir_email. It is still the same mail_mail as a basis, but specific content can be send to partners (for example, portal links). Updated the tests as well.L
bzr revid: tde@openerp.com-20120912133843-lltf7pzder386e2w
2012-09-12 15:38:43 +02:00
Sanjay Gohel (Open ERP) ce39ffe927 [IMP]changed as per new spec update and make it work for crm changes done in crm
bzr revid: sgo@tinyerp.com-20120912112245-3cp03024fiqb47qs
2012-09-12 16:52:45 +05:30
Thibault Delavallée afb49abd3c [FIX] mail.compose.message: fixed a crashing test; fixed parent_id of created mail.message not set, and added a test for that case.
bzr revid: tde@openerp.com-20120912102111-jg5thn4tia92hu4k
2012-09-12 12:21:11 +02:00
Thibault Delavallée 9c50df8f31 [CLEAN] small cleanup of test_mail.
bzr revid: tde@openerp.com-20120911132245-35ik5ny86b2122zl
2012-09-11 15:22:45 +02:00
Thibault Delavallée dfa14420d2 [WIP] mail_message: continued work on message_read and expandables.
bzr revid: tde@openerp.com-20120911120117-xeeercvglfwq3c9e
2012-09-11 14:01:17 +02:00
Thibault Delavallée 741bbaa9f4 [WIP] mail_message.message_read(): WIP about having correct expandables. Will be updated next week.
bzr revid: tde@openerp.com-20120907160920-4ijs93y9ogp39xma
2012-09-07 18:09:20 +02:00
Amit Patel (OpenERP) f36dd4c891 [IMP]:improved test case
bzr revid: apa@tinyerp.com-20120906105914-iwoi15ghgtibt2lr
2012-09-06 16:29:14 +05:30
Amit Patel (OpenERP) 1334eb7a0d [MERGE]:trunk-mail-cleaning-fp
bzr revid: apa@tinyerp.com-20120906061835-gb317yvqnd5vaiei
2012-09-06 11:48:35 +05:30
Olivier Dony 1eedac6928 [FIX] mail: fix tests now that html sanitization is enabled on fields.html
bzr revid: odo@openerp.com-20120905230743-3lnadi2jf2azx2rr
2012-09-06 01:07:43 +02:00
Olivier Dony 1275d524f2 [IMP] mail: fix and test parsing of plaintext messages
bzr revid: odo@openerp.com-20120905160145-2e11txqm5jffij6v
2012-09-05 18:01:45 +02:00
Thibault Delavallée 9fb978ea81 [IMP] mail: added and cleaned the tests. Fixed various small bugs in composer. Fixed mail_message.message_read() and flattening algorithm. Cleaned tests for message_read to have a more precise test.
bzr revid: tde@openerp.com-20120905155319-wd168m5snb25ari9
2012-09-05 17:53:19 +02:00
Olivier Dony 5f1dce419b [IMP] mail*: implement auto-deletion mechanism for mail.message, mail.mail and the attachment
This is based on the auto_delete flag on mail.mail
and the assumption that mail.mail records created
without a parent message will be deleted as a whole,
including the parent message and its attachments.
This is contrasted with mail.mail records created
for notifications regarding a mail.message, and therefore
created with an existing `mail_message_id` parent.
For this last case the parent must not be deleted
along with the child mail.mail, as it exists on its own.

bzr revid: odo@openerp.com-20120905151950-7jv6hi0x5fx5iytp
2012-09-05 17:19:50 +02:00
Sanjay Gohel (Open ERP) ef747c7143 [IMP]improve test case
bzr revid: sgo@tinyerp.com-20120905053031-dqtcfyr1na9j7zpk
2012-09-05 11:00:31 +05:30
Sanjay Gohel (Open ERP) 43c71f585e [MERGE]merge with mail-cleaning-fp
bzr revid: sgo@tinyerp.com-20120905050803-qwrknvluqtkpwx6g
2012-09-05 10:38:03 +05:30