Commit Graph

297 Commits

Author SHA1 Message Date
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 e5aeefadce [FIX] mail: rpely_to of sent emails is sanitized.
bzr revid: tde@openerp.com-20130321092332-8cp59mu3idrpbnke
2013-03-21 10:23:32 +01:00
Thibault Delavallée 0eac6bbad6 [FIX] Forgotten to uncomment commented tests.
bzr revid: tde@openerp.com-20130320161830-0nyfuzyq4s4xa8hk
2013-03-20 17:18:30 +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
Olivier Dony 232840179c [FIX] mail.alias: default alias generation now properly handles dots and emails; added tests
lp bug: https://launchpad.net/bugs/1117810 fixed

bzr revid: odo@openerp.com-20130320161023-yalb9ud12k7kuy3o
2013-03-20 17:10:23 +01:00
Thibault Delavallée 23efb82b6d [TEST] mail: updated tests (those that helped raising the previous errors).
bzr revid: tde@openerp.com-20130320135152-qiz3moczldjbmyt7
2013-03-20 14:51:52 +01:00
Thibault Delavallée 6039b80e3f [IMP] [CLEAN] mail: cleaned and improved message_post tests, about email_to, reply_to and attachments.
bzr revid: tde@openerp.com-20130320121614-a862m35peexhw64q
2013-03-20 13:16:14 +01:00
Thibault Delavallée 5df59a9a4b [REF] mail: refactored tests. mailgateway tests are put into a separate file; message_post tests have been a bit cleaned and improved. Also removed an unnecessary mockup.
bzr revid: tde@openerp.com-20130320114111-m1unow90005vwxee
2013-03-20 12:41:11 +01:00
Thibault Delavallée 2c497fab50 [FIX] mail: mass mailing now does not push to followers; only to specific recipients. Improved tests for this update.
bzr revid: tde@openerp.com-20130320084040-pcgzy068z0oph298
2013-03-20 09:40:40 +01:00
Thibault Delavallée 6bbc658f9b [FIX] mail: fixed wrong var name in notify; fixed a missing email in tests.
bzr revid: tde@openerp.com-20130318131919-31zdc7309c4zt8xj
2013-03-18 14:19:19 +01:00
Thibault Delavallée 7e696dfdcb [MERGE] Sync with trunk and latest mail changes.
bzr revid: tde@openerp.com-20130318122027-l570iyzlljshz4ne
2013-03-18 13:20:27 +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
Thibault Delavallée 4484a3197c [MERGE] Sync with trunk, resolved conflicts due to forward port of 7.0
bzr revid: tde@openerp.com-20130315114338-54scb00rkp7zwr30
2013-03-15 12:43:38 +01:00
Thibault Delavallée 4387187b8b [IMP] mail: invite: slighty updated invite message. Updated tests accordingly.
bzr revid: tde@openerp.com-20130315110554-rszi5u1c9dybzq46
2013-03-15 12:05:54 +01:00
Christophe Matthieu 46893a182a [IMP] mail_followers: remove print in tests
bzr revid: chm@openerp.com-20130313160501-ywkyblx39cma9jln
2013-03-13 17:05:01 +01:00
Christophe Matthieu a57c079700 [IMP] mail_followers: invite tests
bzr revid: chm@openerp.com-20130305101143-6mcydxw60y18kw20
2013-03-05 11:11:43 +01:00
Christophe Matthieu edf89a76e7 [FIX] mail invite: add send_mail inside test
bzr revid: chm@openerp.com-20130227151204-fla559l37rilnhvb
2013-02-27 16:12:04 +01:00
Thibault Delavallée 0aaca4daa9 [IMP] mail: improved mass mailing. Correctly take into account email_to, email_cc, partner_to even if no template. Mass mailing is a no-subtype post with additional recipients manually notified. Added option (in technical features) to send to followers, or to directly create a mail_mail. Added some default values in mail_message. Added explicit management of email_from and reply_to. Having a reply_to bypasses the 'model-res_id' in message_id behavior allowing to construct threads. Added explicit recipient_ids field on mail_mail that replaces the recipient_ids parameter in mail_mail.send(). Updated tests accordingly.
bzr revid: tde@openerp.com-20130225164857-i635atksj7riq9nd
2013-02-25 17:48:57 +01:00
Thibault Delavallée c0b4bf55d8 [IMP] [CLEAN] mail: incoming emails have an email_from even if an author is found (do not loose data); fixed author subscription, delegated after message creation (otherwise allows to by-pass most of the access rules); code and comments cleaning.
bzr revid: tde@openerp.com-20130221150849-cydhns582qwrqznz
2013-02-21 16:08:49 +01:00
Thibault Delavallée 64fd407f34 [FIX] mail: fixed mail_post_auto_follow; updated tests accordingly.
bzr revid: tde@openerp.com-20130221142417-hnhqrw9q2uf4agos
2013-02-21 15:24:17 +01:00
Thibault Delavallée e7c630a18f [MERGE] Merged branch holding a first cleaning of message_post and message_post_user_api. Cleaning of auto follow will follow. Hahaha.
bzr revid: tde@openerp.com-20130221130153-k8q1u15mh6e4iwzt
2013-02-21 14:01:53 +01:00
Thibault Delavallée cd13bb9cf9 [CLEAN] mail: stop doing ugly things with partner_ids values before passing values to mail_message.create().
bzr revid: tde@openerp.com-20130221095906-5rbwnc83mjvpkyhh
2013-02-21 10:59:06 +01:00
Thibault Delavallée c3b6408715 [IMP] Chatter: refactoring of 'include new emails/partners' in Chatter compose. It does not create partner everytime; discarding the creation popup discards the creation and addition as recipient.
bzr revid: tde@openerp.com-20130220124923-w3e9hxomniphadj7
2013-02-20 13:49:23 +01:00
Thibault Delavallée a395638dfa [IMP] mail: better heuristic to find the author of an incoming email: in document's followers, or partner that is an user, or partner.
bzr revid: tde@openerp.com-20130214140701-y2nrnc163szni202
2013-02-14 15:07:01 +01:00
Thibault Delavallée d7f63a10fd [FIX] mail: notification emails: subject is now Re: <document_name>.
bzr revid: tde@openerp.com-20130214123925-2ymglkqph90ntebg
2013-02-14 13:39:25 +01:00
Christophe Matthieu ed28f9b892 [FIX] mail: change mail_features test for signature
bzr revid: chm@openerp.com-20130205145852-y3r7vu8e9t31jdh2
2013-02-05 15:58:52 +01:00
Christophe Matthieu baa9312e6f [FIX] mail: change mail_features test for signature
bzr revid: chm@openerp.com-20130205130611-m52yjvdmc1wi45nd
2013-02-05 14:06:11 +01:00
Christophe Matthieu 46c52b0650 [IMP] mail: signature
bzr revid: chm@openerp.com-20130131162814-93chvgsc4xorh3g2
2013-01-31 17:28:14 +01:00
Christophe Matthieu b7b969d6fa [IMP] mail_followers: get_signature_footer and test
bzr revid: chm@openerp.com-20130129142949-po3hv5utdxsfb99v
2013-01-29 15:29:49 +01:00
Thibault Delavallée 89ba499556 [IMP] Partners do not follow themselves by default now.
bzr revid: tde@openerp.com-20130109104513-3vlyw4knqp4d6to2
2013-01-09 11:45:13 +01:00
Thibault Delavallée 9b2406948e [IMP] mail, email_template: updated tests to match the new html sanitizer, that produces slighty different results (encoded symbols, encapsulated html).
bzr revid: tde@openerp.com-20121226162610-y2y5bmy8bux8smkp
2012-12-26 17:26:10 +01:00
Thibault Delavallée da4dc767c4 [MERGE] Various fixes and improvements in mail.
IMP:
- mail.compose.message: added a context key 'mail_post_autofollow' that automatically subscribe the message recipients to the document followers, if any
- sale, purchase, invoice: recipients of 'Send by email' action are now automatically added as followers, using the above key
- mail: the Chatter widget on documents now sets the displayed messages as read
- mail: for incoming emails going through message_process that have an author, the author is added in the related document followers, if any
FIX:
- mail: attachments added in Chatter/Mailboxes were not added to the notifications emails send to followers/recipients
- portal: fixed various mail_mail created without specifying the type field, that could crash if a conflicting 'default_type' key was present in context (i.e. in opportunities)

bzr revid: tde@openerp.com-20121221131108-jx9jkeukjamnd3yh
2012-12-21 14:11:08 +01:00
Thibault Delavallée e6a63fea3a [FIX] mail: tests: fixed mock of gateway.
bzr revid: tde@openerp.com-20121221111755-63q6w4pkvkx0lvcf
2012-12-21 12:17:55 +01:00
Thibault Delavallée 4ebbf0e58d [IMP] mail: cleaned some tests, assertTrue on the length of a list replaced by assertEqual.
bzr revid: tde@openerp.com-20130322141022-j26c1hiwfoduky2j
2013-03-22 15:10:22 +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 f49f43958d [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221100609-2x59amtxj4sjedcu
2012-12-21 11:06:09 +01:00
Thibault Delavallée de64985e8c [IMP] mail_message: set_message_read and set_message_starred now have an argument to control the automatic notification creation. Chatter now calls set_message_read on received messages (on documents), to set them as read. This is therefore done independently of the message_read, to avoid writing in a read-based method. Added a mutex on the call on set_message_read, because of a recurrent concurrent accesses issue.
bzr revid: tde@openerp.com-20121220205328-gws2j32dsitofu89
2012-12-20 21:53:28 +01:00
Thibault Delavallée a8540c5b7e [REF] [FIX] mail: refactored auto-set read when viewing chatter widget. Added some tests. Also fixed a bug about message order with anybody else than admin.
bzr revid: tde@openerp.com-20121220142852-6sjk03791x829ys3
2012-12-20 15:28:52 +01:00
Thibault Delavallée 8dbf13a1e4 [MERGE] Merged branch holding the automatic set of notifications as read when viewing chatter.
bzr revid: tde@openerp.com-20121220133839-je1jt9ff4a0mfpxh
2012-12-20 14:38:39 +01:00
Thibault Delavallée e3c31cab9e [IMP] track_visibility atribute: moved onto explicit strings.
bzr revid: tde@openerp.com-20121220114730-nip8qaaajr5mqw6s
2012-12-20 12:47:30 +01:00
Thibault Delavallée 86200b4d9c [DOC] [IMP] mail_thread: updated documented the few magic context keys, mail_notify_noemail, mail_create_nosubscribe and mail_create_nolog.
bzr revid: tde@openerp.com-20121219171501-5ndw7aawi8kvttql
2012-12-19 18:15:01 +01:00
Thibault Delavallée 91af1e1e59 [FIX] mail: fixed message_track (subtype not found, style, var_name; updated tests with new implementation.
bzr revid: tde@openerp.com-20121219110502-j43pilfijv91td2q
2012-12-19 12:05:02 +01:00
Thibault Delavallée f8b3788fde [IMP] mail: refactored mechanism for auto subscription, based on a parent. Mapping of subtypes is done using parent_id and parent_field on child subtypes. For example, project subtypes are linked to task subtypes, using parent_id and parent_field project_id, to browse task.project_id.
bzr revid: tde@openerp.com-20121218153457-uh50bjedvxaawdqj
2012-12-18 16:34:57 +01:00
Thibault Delavallée bfea9dad64 [REF] mail: refactored tracked feature. It is now based on a dict defined at model level, giving which subtypes are triggere when modifying some given fields. Cleaned code.
bzr revid: tde@openerp.com-20121218122558-mnrtlwouwai65gq6
2012-12-18 13:25:58 +01:00
Thibault Delavallée 2dbe4a696e [MERGE] Sync wirth trunk.
bzr revid: tde@openerp.com-20121218093241-y0id5g1r1k6yok42
2012-12-18 10:32:41 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Sanjay Gohel (Open ERP) de45fd4fc1 [MERGE]with trunk
bzr revid: sgo@tinyerp.com-20121217050659-q5w6zwefizgjv4fd
2012-12-17 10:36:59 +05:30
Thibault Delavallée f1ee7f1ad9 [IMP] mail_message: added the right to reply to a message wes received even if we cannot see the related document.
bzr revid: tde@openerp.com-20121212160634-umbiq2erwijm2d20
2012-12-12 17:06:34 +01:00
Thibault Delavallée 090123436b [IMP] mail: updated lambda user, now having less permissive access rights on mail_mail.
bzr revid: tde@openerp.com-20121212114905-5kgnoix0puxo30ns
2012-12-12 12:49:05 +01:00
Thibault Delavallée 0be4d969af [IMP] mail: updated and improved tests.
bzr revid: tde@openerp.com-20121212104220-d6l7wjghv9oo9dy1
2012-12-12 11:42:20 +01:00
Thibault Delavallée b541e7ce64 [MERGE] Sync with trunk. Cleaned a bit things lastly added in trunk/mail/tests.
bzr revid: tde@openerp.com-20121211161458-d7wv4lnkvs9s7srj
2012-12-11 17:14:58 +01:00
Christophe Matthieu c70f05cc77 [MERGE] catch and display error when there are an error in an attachment upload. Add mail/download_attachment controllers
bzr revid: chm@openerp.com-20121211152219-2hlw1npfq2jfzx88
2012-12-11 16:22:19 +01:00
Thibault Delavallée 3a1e0059a2 [MERGE] Merged branch holding fix of access rights when deleting a document, and the removal of inherits between mail.group and ir.ui.menu.
bzr revid: tde@openerp.com-20121211145536-a02i45isg30l9940
2012-12-11 15:55:36 +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
Sanjay Gohel (Open ERP) 26fd182e32 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063215-44s68mudkztyy56b
2012-12-11 12:02:15 +05:30
Christophe Matthieu 295c36e66c [IMP]mail: add test for access rights for download attachments
bzr revid: chm@openerp.com-20121210140529-w7fihmb0k1prw40a
2012-12-10 15:05:29 +01:00
Christophe Matthieu 782cd23937 [IMP]mail: add test for download attachments
bzr revid: chm@openerp.com-20121210134932-wtu43jtpor386zab
2012-12-10 14:49:32 +01:00
Sanjay Gohel (Open ERP) 2386d334a3 [IMP]add test cases for tracking field
bzr revid: sgo@tinyerp.com-20121210125348-edca0z6jiudfgigc
2012-12-10 18:23:48 +05:30
Christophe Matthieu b0d96bf4e7 [IMP]mail: suppress compare value for testing of access rights
bzr revid: chm@openerp.com-20121207094356-d34o92weyivzfpde
2012-12-07 10:43:56 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Christophe Matthieu 217d83f710 [IMP] mail: unlink test access rights
bzr revid: chm@openerp.com-20121206125615-sdswn1fphlt4yarm
2012-12-06 13:56:15 +01:00
Christophe Matthieu 6efcefb69b [IMP] mail: access rules and tests
bzr revid: chm@openerp.com-20121206123409-7ek0psade5ri3jbc
2012-12-06 13:34:09 +01:00
Christophe Matthieu 010def466f [IMP] mail: create test for access rules. fix the create group: add user in follower and remove admin
bzr revid: chm@openerp.com-20121206102714-tm0w6bn234a2j4fn
2012-12-06 11:27:14 +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 8ccbab8254 [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151115-1u69yio8kb1h8fjd
2012-11-16 16:11:15 +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
Vo Minh Thu 01b9f4c3ed [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141517-1dwjs27cwk2nq9t4
2012-11-16 15:15:17 +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
Vo Minh Thu d1f49ab27a [IMP] removing some warnings (those one are generated by tests).
bzr revid: vmt@openerp.com-20121115115916-6i2ljxn7s9qz4rlv
2012-11-15 12:59:16 +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 b1122deb38 [IMP] mail: added _search override on mail_message, to filter the results of a search according to our custom rules. Added some tests.
bzr revid: tde@openerp.com-20121024141806-8iayf7cz2ndxyz2l
2012-10-24 16:18:06 +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 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