Commit Graph

300 Commits

Author SHA1 Message Date
Thibault Delavallée b37b348107 [OUCH] Removed a pdb.
bzr revid: tde@openerp.com-20121023090338-2vefi0yee077q2ne
2012-10-23 11:03:38 +02:00
Thibault Delavallée a013e6e62f [IMP] [WIP] mail: expandables now limited to one level (using a child_of based domain); simplified code. message_read updated to fetch the oldest possible ancestor, not all direct parents. Updated some tests. Still WIP, will be continued tomorrow.
bzr revid: tde@openerp.com-20121022164638-gqe5af1uxvl5h043
2012-10-22 18:46:38 +02:00
Thibault Delavallée 1fbee6cb3c [WIP] mail: tests: WIP about comments and tests about message_read. Will be continued later.
bzr revid: tde@openerp.com-20121019140439-u64d06em0z7eax0m
2012-10-19 16:04:39 +02:00
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
Jigar Amin 2ca6464e66 [MERGE] Sync with trunk
bzr revid: jam@tinyerp.com-20121018133243-jybuqt2ub9wcm9h7
2012-10-18 19:02:43 +05:30
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 79717ca4a7 [IMP] mail: tests: added basic test about mail.compose.message access rights.
bzr revid: tde@openerp.com-20121017155753-i8l7z47ugtp1961p
2012-10-17 17:57:53 +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
Thibault Delavallée d09f14df7e [REV] Reverted commenting mail tests... seems weird to comment tests.
bzr revid: tde@openerp.com-20121015111224-7vzt4zthbzs96bb2
2012-10-15 13:12:24 +02:00
Turkesh Patel (Open ERP) 96c8ffb701 [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20121012055152-qyi3ev9bt0qwua44
2012-10-12 11:21:52 +05:30
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
Harry (OpenERP) e857c86128 [MERGE]
bzr revid: hmo@tinyerp.com-20121010072631-68qcg1zzec0s1318
2012-10-10 12:56:31 +05:30
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
RGA(OpenERP) 98e4bac082 [FIX] field 'content_type' does not exist in model
bzr revid: rgaopenerp-20121003110001-xdqt5035ddy5964f
2012-10-03 16:30:01 +05:30
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
Atul Patel (OpenERP) 7d03e6bd0f [MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20121001060438-laikbtaqxu0xq59m
2012-10-01 11:34:38 +05:30
Antony Lesuisse 6dd16f2613 [MERGE] trunk
bzr revid: al@openerp.com-20120930141638-bw50m7b5a8wnu2yh
2012-09-30 16:16:38 +02:00
Antonin Bourguignon 8683ea9c6d [MERGE] trunk
bzr revid: abo@openerp.com-20120928152152-p6s1dzq96g0sy2sf
2012-09-28 17:21:52 +02:00
Atul Patel (OpenERP) 187836902c [MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20120928100224-2eu0q7gf7hsidgxh
2012-09-28 15:32:24 +05:30
Christophe Matthieu c328ab9afe [IMP]mail: show more, domain. bzr status! test in conment for error
bzr revid: chm@openerp.com-20120927161558-6e5w2tblg64bltmu
2012-09-27 18:15:58 +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
Atul Patel (OpenERP) d473364d52 [IMP]: Imp test case
bzr revid: atp@tinyerp.com-20120924045658-6m1tkjpqm4ztvojf
2012-09-24 10:26:58 +05:30
Atul Patel (OpenERP) 6c53c3c38b [FIX]: Fix none context problem
bzr revid: atp@tinyerp.com-20120921122011-xmxm32ow5lnwc4al
2012-09-21 17:50:11 +05:30
Atul Patel (OpenERP) 1283e945bd [MERGE]: Merged lp:~openerp-dev/openobject-addons/trunk-mail_message_read_unread-atp-read_unread-nco
bzr revid: atp@tinyerp.com-20120921121216-gcan2n01zk4u3xnv
2012-09-21 17:42:16 +05:30
Christophe Matthieu fa63653de9 [MERGE] from trunk-mail-mail-rules-tde
bzr revid: chm@openerp.com-20120921095037-czl4s3v0do11yhkq
2012-09-21 11:50:37 +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
Nimesh (Open ERP) 10107c6ce6 [ADD] add unit test for message read.
bzr revid: nco@tinyerp.com-20120919083123-mmbwbpc3w3oszptg
2012-09-19 14:01:23 +05:30
Thibault Delavallée 585ec570d2 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120918155905-rkdtkuu559ii0e6p
bzr revid: tde@openerp.com-20120919075051-zjxrbcbltrlp8h4k
2012-09-19 09:50:51 +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
Thibault Delavallée 8193da95a6 [FIX] [WIP] Fixed a auto-crashing test to auto-ok, event if this is not a real test. Just to try to have a green runbot.
bzr revid: tde@openerp.com-20120917160613-xpd49jz90zith0md
2012-09-17 18:06:13 +02:00
Thibault Delavallée ee84313321 [IMP] mail: improved test about access rights. Still WIP.
bzr revid: tde@openerp.com-20120914161737-3tpf6g0clzfq1fur
2012-09-14 18:17:37 +02:00
Thibault Delavallée 48993e868e [REF] mail: tests: moved access rights test into a dedicated file.
bzr revid: tde@openerp.com-20120914115815-ge6vy4zjxz1fnxfl
2012-09-14 13:58:15 +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 f6ed42db86 [WIP] [FIX] mail: fixing access rights + related tests. WIP, already fixed mail.group and mail.alias, not readable by anonymous not-employee users.
bzr revid: tde@openerp.com-20120913170500-um93rzw0nq6njl39
2012-09-13 19:05:00 +02:00
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
Thibault Delavallée fd2a413969 [FIX] [CLEAN] mail_thread: misc cleanup (comments, vars, typo). Fixed subscriber API. It now handles a read_back key in context to return the new value of the field. The purpose is to use it in mail_followers widget, that behaves asynchronously compared to the form_view, and that need updated values after subscribing a user. Updated mail_followers widget, cleaned its code. Updated mail_group with wrappers on message_subscriber_users, because it was setting user_ids as context.
bzr revid: tde@openerp.com-20120904133648-plsziijac64lw4de
2012-09-04 15:36:48 +02:00
Amit Patel (OpenERP) 0a5ebb52e1 [MERGE]:trunk-mail-cleaning-fp
bzr revid: apa@tinyerp.com-20120904104409-w9zl98qjpem10pan
2012-09-04 16:14:09 +05:30
Sanjay Gohel (Open ERP) 92b707c116 [MERGE]merge with parent branch
bzr revid: sgo@tinyerp.com-20120904093250-fwawd23g26064wnl
2012-09-04 15:02:50 +05:30
Sanjay Gohel (Open ERP) 93f5c6b6a9 [IMP]add unit test for message subtype
bzr revid: sgo@tinyerp.com-20120904093111-hj291blbbkg39cey
2012-09-04 15:01:11 +05:30
Thibault Delavallée c52ab94960 [REVIEW] addons: small cleanups nex to a diff read. Some improvements will follow, this commit is about small cleanups.
bzr revid: tde@openerp.com-20120904092820-56zgwpkqfpd7as5k
2012-09-04 11:28:20 +02:00
Thibault Delavallée 0f3101cec5 [FIX] mail.compose.message: fixed send_mail about getting mass_mail values from template; fixed generated body that was adding a signature in reply mode; added the test that trigerred that bug.
bzr revid: tde@openerp.com-20120831171507-1prt4h46zsj77m23
2012-08-31 19:15:07 +02:00
Thibault Delavallée bdd972e3c9 [FIX] mail.message: message_read: fixed a call to a dict keyu not necessarily existing. Cleaned a bit the code, as well as the code of the related tests.
bzr revid: tde@openerp.com-20120831143707-ezcn17g5u39tcepq
2012-08-31 16:37:07 +02:00
Thibault Delavallée 0b67a85725 [FIX] mail.message, mail.compose.message: fixed attachments management, added tests.
bzr revid: tde@openerp.com-20120831125605-1oizomm2pv3b5rse
2012-08-31 14:56:05 +02:00
Thibault Delavallée 9e6cce28b8 [FIX] mail: tests: fixed followers test, because using set() allows to override a test that was precisely about not having a same value more than once in follower_ids.
bzr revid: tde@openerp.com-20120831112721-56qfnh9vk1xkbke0
2012-08-31 13:27:21 +02:00
Thibault Delavallée 00fc7d1e88 [IMP] mail.compose.message: added basic mass_mail support back. Moved generation into a dedicated method, to be inherited in email_template. Added somes tests in mail to test mass_mailing without email_template.
bzr revid: tde@openerp.com-20120830143549-33sgtd30asvztg2c
2012-08-30 16:35:49 +02:00
Olivier Dony 06e13555d5 [FIX] mail: simplify test and cleanup some code + fix plaintext signature append
bzr revid: odo@openerp.com-20120830122112-y2lbgcazy0opvbs8
2012-08-30 14:21:12 +02:00
Thibault Delavallée bec83eef6f [REF] mail_mail: body_html is back, holding the body of emails to send.
Body of send emails is mail_mail.body_html, not body anymore.
Signature adding is back to mail_followers.notify().
Subject adding is still done just before sending.
Updated mail_mail view. mail.compose.message: body_text inside <pre>. 
[TESTS] mail: added tests for message_post, updated tests for mail.message.compose to test the composer only.

bzr revid: tde@openerp.com-20120830085116-o5h13yqodt0vof0k
2012-08-30 10:51:16 +02:00
Thibault Delavallée 1d131bae84 [RENAME] mail: res.partner: renamed notification_email_pref into notification_email_send, because this pref suffix is very ugly.
bzr revid: tde@openerp.com-20120829114424-fznd0ujsqnk1hve7
2012-08-29 13:44:24 +02:00
Olivier Dony b19d73525d [IMP] mail: implement parent message resolution when parsing incoming message + cleanup lint
bzr revid: odo@openerp.com-20120828173901-8y9y16crvii8d2qg
2012-08-28 19:39:01 +02:00
Thibault Delavallée c791b22a8c [FIX] [TEST] mail_message: added a flattening method, to flatten the result structure of message according to a given number of thread level. Added some tests that go with that feature.
bzr revid: tde@openerp.com-20120828142634-gfsjjih4mr1n2lyt
2012-08-28 16:26:34 +02:00
Thibault Delavallée 720ddfd5c8 [FIX] mail_message: fixed messages that could be present several times in the result structure of message_read.
bzr revid: tde@openerp.com-20120828131311-1z27oxmgcej9qf4m
2012-08-28 15:13:11 +02:00
Thibault Delavallée 115e6f9687 [IMP] [TEST] mail.notification: added an SQL constraint on mail.notification, to have default false value on read column even when writing into the table using write on the partner_ids column of mail.message (therefore by-passing the default_get of the orm for mail_notification model). Added tests for needaction, based on mail.message, that by the way helped trigerred this bug. Hooray.
bzr revid: tde@openerp.com-20120828113128-70gjunh6bx3pho30
2012-08-28 13:31:28 +02:00
Thibault Delavallée f4deb95339 [REV] mail_message: reverted changes on message_read, back to its fist version, except limit that is more usable than an hardcoded one. Added some tests that crash, because message_read is really wrong.
bzr revid: tde@openerp.com-20120827162237-eljqnvenwy0xv5dc
2012-08-27 18:22:37 +02:00
Thibault Delavallée 4d510a3d31 [REF] mail_thread: message_read: re-added old expandable, to have same behavior as 'beofre in this branch'.
bzr revid: tde@openerp.com-20120827150303-ena57f72e3mgwtg2
2012-08-27 17:03:03 +02:00
Thibault Delavallée dc5b8efdf7 [IMP] mail: moved tree formation in message_read in a dedicated method; added / fixed some tests. Note that tests for message_read will have to be added.
bzr revid: tde@openerp.com-20120827144753-csoho4iz34f6zpy1
2012-08-27 16:47:53 +02:00
Thibault Delavallée d19ad1ff4b [TEST] mail: added tests for the composer, includes a first bench of tests for notifications and send emails.
bzr revid: tde@openerp.com-20120824161117-abur02jlgs08my21
2012-08-24 18:11:17 +02:00
Thibault Delavallée 95a66586d9 [REF] [TEST] mail: cleaned the way followers are added to a message partner_ids (done in notify in mail.message) and the way emails are send (done in notify in mail.followers). Composition wizard override mail_message.notify to avoid having partners and sending emails. Also added tests that helped finding some bugs, that will be cleaned tomorrow.
bzr revid: tde@openerp.com-20120823180648-8xpu8qyf7qr6azc2
2012-08-23 20:06:48 +02:00
Thibault Delavallée f3b43da73b [CLEAN] mail: res_partner: removed dead code. Also fixe da typo in mail tests.
bzr revid: tde@openerp.com-20120823131144-xbryqdesfw5ix8y9
2012-08-23 15:11:44 +02:00
Thibault Delavallée 690bc2ece9 [TEST] mail: added tests for the many2many modified field used for follower_ids. Added tests for the subscriber API.
bzr revid: tde@openerp.com-20120823122537-g0m5jtkq67jhuone
2012-08-23 14:25:37 +02:00
Olivier Dony 786419565a [FIX] mail: make basic mail tests pass again, remove useless/dead test code
bzr revid: odo@openerp.com-20120822133028-hms3xfhibhn1j38l
2012-08-22 15:30:28 +02:00
Fabien Pinckaers e18c83106c imp
bzr revid: fp@tinyerp.com-20120820104556-li9wfg2riqb85c8a
2012-08-20 12:45:56 +02:00
Olivier Dony 28148809a1 [IMP] mail.alias: start writing tests, fix detected errors
bzr revid: odo@openerp.com-20120814080421-nn6h3z4v54dl949c
2012-08-14 10:04:21 +02:00