Julien De Coster
d88c34d11e
[IMP] Mass mailings send in cron
...
1. The merge of the "email_template" module into the "mail" module.
2. The send action of the mass mailing has been moved from the frontend to a cron, because it was too slow to send over 10,000 mails (the user's browser was blocked for 15 - 20 minutes). Mass mailings have now their own process in the kanban view.
3. Mails sent from the mail form are sent immediatly instead of from the mail queue (for instance, when you go to sales > customers > list view > select 2 -3 customers > More > Partner Mass Mailing).
4. Users have now the choice from which mailing list they want to unsubscribe when they click on the unsubscribe link at the bottom of the mail.
5. Mass mailings inherit from their campaign UTMs and mass mailing campaigns are linked to an UTM campaign.
6. Many little improvements
2015-01-07 18:01:58 +01:00
Thibault Delavallée
db32d98b7a
[REF] [TESTS] mail, portal: refactored a bit the various mail and invite tests: moved some tests into dedicated files, added some new tests, removed duplicates.
...
bzr revid: tde@openerp.com-20121211144650-kpy7noe082e3xvoo
2012-12-11 15:46:50 +01:00
Thibault Delavallée
3005251333
[IMP] mail: add test for messages notification and for parented messages notification - CHM revision back to repair the merge.
...
bzr revid: tde@openerp.com-20121211092405-gir4r95oph2rwv11
2012-12-11 10:24:05 +01:00
Thibault Delavallée
a123d95dca
[IMP] mail_message: star feature is now on mail.notification. A starred message has a notification with starred=True. favorite_user_ids many2many field disappear. _search_to_read and _search_starred replaced by returning a domain on the notifications. Using auto_join, this should speedup chatter a lot. Updated tests accordingly (should be updated a bit more than that, though). Updated JS. Updated mailboxes domains, as to_read and starred already contain a reference to the pid.
...
bzr revid: tde@openerp.com-20121129113025-rizon3eaf14vrla2
2012-11-29 12:30:25 +01:00
Olivier Dony
b770240247
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121120113600-4oyx9sziigbxn8w8
bzr revid: odo@openerp.com-20121120163429-l4cf6r75vwqfvxty
2012-11-20 17:34:29 +01:00
Olivier Dony
01df612cd9
[FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype obsolete and removed
...
bzr revid: odo@openerp.com-20121116170503-mvsaa0pv5py2b7ri
2012-11-16 18:05:03 +01:00
Christophe Matthieu
ae25dc380f
[IMP] mail: remove test for attachment with one2many
...
bzr revid: chm@openerp.com-20121116150850-zpaeci0wbx725pix
2012-11-16 16:08:50 +01:00
Christophe Matthieu
81db3f3997
[IMP] mail: commented test for res_model on attachment because one2many became many2many
...
bzr revid: chm@openerp.com-20121116130834-hsu7wunja092ayt9
2012-11-16 14:08:34 +01:00
Olivier Dony
e5921325bd
[REM] mail.compose.wizard: remove unused body_text and content_subtype fields
...
These fields were used in pre-7.0 to manage the plaintext variant of the
mail being composed, but as of 7.0 the composition wizard will always
use the HTML/Rich text mode, so they can be dropped.
bzr revid: odo@openerp.com-20121115135634-fcy6mexnctwg0nxb
2012-11-15 14:56:34 +01:00
Thibault Delavallée
71c2be227c
[IMP] mail: updated tests to fit the new composer behavior.
...
bzr revid: tde@openerp.com-20121115095329-whh6z7ckto87yven
2012-11-15 10:53:29 +01:00
Thibault Delavallée
fbccb823f8
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121112161523-yfp1dczcnmi85t8e
bzr revid: tde@openerp.com-20121114083900-qw40e8ii1rfl7gt1
2012-11-14 09:39:00 +01:00
Thibault Delavallée
4481b53897
[CLEAN] mail: tests: removed a forgotten print statement.
...
bzr revid: tde@openerp.com-20121109151122-4ch2w1ia9hr6hqr6
2012-11-09 16:11:22 +01:00
Christophe Matthieu
590c4cf4ed
[FIX] mail: the test contain a get id for the expandable messages. The expandable messages don't have id. Message_read sort the message, we don't need id for expandables
...
bzr revid: chm@openerp.com-20121108140316-ffei9whh0k1r1uxt
2012-11-08 15:03:16 +01:00
Christophe Matthieu
c01cc688ce
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20121108111032-m1j10n2pjacr2u8w
2012-11-08 12:10:32 +01:00
Thibault Delavallée
3027b749ba
[IMP] mail: signature in send notifications is now plaintext (as before), but htmlized (not inside a pre, but inside div and p, with entities escaped). Updated mail tests. Same for portal URL. Updated portal tests.
...
bzr revid: tde@openerp.com-20121107170241-0gjwraxkuhe0fm6p
2012-11-07 18:02:41 +01:00
Thibault Delavallée
6d0b416980
[MERGE] Sunc with addons/trunk.
...
bzr revid: tde@openerp.com-20121107083851-ksm6i1yktcgd38jo
2012-11-07 09:38:51 +01:00
Vo Minh Thu
abbe3ac1de
[MERGE] removed a few warnings.
...
bzr revid: vmt@openerp.com-20121106150431-rem9us13kevan8y0
2012-11-06 16:04:31 +01:00
Thibault Delavallée
92c20ba1d3
[FIX] mail: fixed some wrong name due to file renaming.
...
bzr revid: tde@openerp.com-20121106124042-r7tak3o340w9gzol
2012-11-06 13:40:42 +01:00
Thibault Delavallée
92c97ecd90
[REF] mail: tests: moved test class with mockup in a dedicated file, to clean the directoy structure.
...
bzr revid: tde@openerp.com-20121106121531-0bmki7skb8b1xc8y
2012-11-06 13:15:31 +01:00
Thibault Delavallée
6ecbae4280
[MERGE] Sync with addons/trunk.
...
bzr revid: tde@openerp.com-20121105091342-8d1qutx723tv65dx
2012-11-05 10:13:42 +01:00
Thibault Delavallée
0573d1fb40
[FIX] mail: fixed tests, with comment that became Discussions.
...
bzr revid: tde@openerp.com-20121102154548-5ayn6ns89xz54o70
2012-11-02 16:45:48 +01:00
Thibault Delavallée
455a076050
[FIX] mail: fixed an order issue with expandables.
...
bzr revid: tde@openerp.com-20121102102248-juqo5b21wmn6ywl8
2012-11-02 11:22:48 +01:00
Thibault Delavallée
da31d41d85
[REF] mail: refactored message_read. It nows re-uses browse record instead of a read, to lessen the number of queries. Some optimizations have been added about queries. message_read now also sorts the messages, not the JS anymore.
...
bzr revid: tde@openerp.com-20121031154026-vx7s1ucag4kgb7nn
2012-10-31 16:40:26 +01:00
Thibault Delavallée
cbf55bc07d
[IMP] [FIX] mail: replying with the wizard does not quote the original message anymore. Updated tests.
...
bzr revid: tde@openerp.com-20121029100910-c0y6tl1zg2qsqfv5
2012-10-29 11:09:10 +01:00
Thibault Delavallée
9014be7ca4
[CLEAN] mail: cleaned code before merging, removed debug and print statements.
...
bzr revid: tde@openerp.com-20121026123604-l4j4e1ta26hw6fur
2012-10-26 14:36:04 +02:00
Thibault Delavallée
dd5961816c
[REV] Reverted use of quote_context in mail formation. Methods are still there, but will be improved in a future branch.
...
bzr revid: tde@openerp.com-20121026114114-4uar0usx7jzhl6rv
2012-10-26 13:41:14 +02:00
Thibault Delavallée
daeccb5ab2
[IMP] mail: added a quote context to email notifications. This is a first basic implementation with a dummy template that will have to be improved. Updated tests. TOFIX: some of the tests will have to be cleaned a bit.
...
bzr revid: tde@openerp.com-20121026113336-s18129kmn2df4lhs
2012-10-26 13:33:36 +02:00
Thibault Delavallée
3e36e6c88f
[FIX] mail: fixed ancestor search in message_post.
...
bzr revid: tde@openerp.com-20121025154215-ue4tpe3cua7491no
2012-10-25 17:42:15 +02:00
Thibault Delavallée
82398c12c8
[FIX] mail: mail_message from field renamed to email_from, because of reserved word. Various fixes.
...
bzr revid: tde@openerp.com-20121025135020-83h1cybp6um53uq5
2012-10-25 15:50:20 +02:00
Thibault Delavallée
6966509c6e
[IMP] mail_message: partner_ids now holds only specific destination partners. Partners + followers is now stored into notified_partner_ids. Added a from field on mail_message, holding the email address of the sender, in case of an incoming email message that cannot be linked to a partner.
...
bzr revid: tde@openerp.com-20121025113048-5f1ob8ligqzb52gu
2012-10-25 13:30:48 +02:00
Thibault Delavallée
163572f004
[TEST] mail: test cleaned for vote and favorite.
...
bzr revid: tde@openerp.com-20121025083701-6ly0jv4oiznh2zfs
2012-10-25 10:37:01 +02:00
Thibault Delavallée
056db11d0b
[TEST] mail: added first draft of tests for message_read and expandables.
...
bzr revid: tde@openerp.com-20121023134329-m5hnpg2eosn7x3tq
2012-10-23 15:43:29 +02:00
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
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
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