Commit Graph

426 Commits

Author SHA1 Message Date
vta vta@openerp.com 946a5e700d [FIX] Remove remaining message_followers widget.
bzr revid: vta@openerp.com-20121121135721-rqjd3x4d2bdu4a7i
2012-11-21 14:57:21 +01:00
vta vta@openerp.com 9a15327d52 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121121091133-svpmfiurclr7n69e
2012-11-21 10:11:33 +01:00
Thibault Delavallée b9c07b1019 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121120090512-82lyg9jotfvlim0n
2012-11-20 10:05:12 +01:00
Thibault Delavallée 3bc9d36b77 [FIX] message_route: when replying to a message, use its model and res_id, never lost.
bzr revid: tde@openerp.com-20121119141740-tjlp1uy4mq4lrg48
2012-11-19 15:17:40 +01:00
Thibault Delavallée 8007db3bc1 [FIX] mail_thread: when posting a messure using mail_thread as model (typically, a private message without model, res_id), do not try to set it on the attachments; this make the custom access rules check of ir.attachment crash.
bzr revid: tde@openerp.com-20121116112800-8ur8yr8alcrlgg1z
2012-11-16 12:28:00 +01:00
Thibault Delavallée f24d291e51 [FIX] mail_thread: fixed calculation of message_unread: read field may be False or NULL.
bzr revid: tde@openerp.com-20121116095003-8bbfyyvlhzqehf6h
2012-11-16 10:50:03 +01:00
vta vta@openerp.com e92a31e2bb [IMP] Now portal users can subscribe to public content.
bzr revid: vta@openerp.com-20121116075744-tclpsjxi1ut6wvh8
2012-11-16 08:57:44 +01:00
Thibault Delavallée 53e1a01ee1 [FIX] mail_thread: fixed function name from tools, text2html is plaintext2html.
bzr revid: tde@openerp.com-20121114163252-s0eqvjvdy953yyq2
2012-11-14 17:32:52 +01:00
Thibault Delavallée 026a042e7b [FIX] mail_thread: fixed message_subtype wrongly taken into account when posting through Chatter or fetchmail.
bzr revid: tde@openerp.com-20121114143506-qcmhrcngfxm4tbvu
2012-11-14 15:35:06 +01:00
Thibault Delavallée 17c2939ddc [IMP] mail_thread: message_process: plaintext incoming messages are preserved in pre tags.
bzr revid: tde@openerp.com-20121114111129-8nkneu1h6ij2lk99
2012-11-14 12:11:29 +01:00
Thibault Delavallée 48e3bdb332 [IMP] mail_thread: incoming messages without model that are reply to a private message shoudl not have any res_id. Assert it.
bzr revid: tde@openerp.com-20121114105323-5an5v6m7bdaaomy1
2012-11-14 11:53:23 +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 7b4f7d0d19 [FIX] [IMP] [OPTI] mail_thread: optimized _get_message_data to lessen the display time of heavy list views.
bzr revid: tde@openerp.com-20121112131051-seci8tw9156iyjxz
2012-11-12 14:10:51 +01:00
Thibault Delavallée b1a5db6a91 [FIX] message_process: fixed wrong domain for finding parent message based on in-reply-to.
bzr revid: tde@openerp.com-20121109100900-ri2126fe0ejb8c8w
2012-11-09 11:09:00 +01:00
Thibault Delavallée acb1156ee5 [FIX] mail: fixed bug adding signature of partners without users, therefore without signature field; fixed message_id of mail.message without model,res_id, that were not granted a message_id, therefore generated when sending a mail.mail, therefore breaking parent relationship based on message_id. Also fixed content_subtype of message coming from message_process.
bzr revid: tde@openerp.com-20121108164138-8jp2340t6s2sa9hd
2012-11-08 17:41:38 +01:00
Thibault Delavallée d5d7dced4d [FIX] mail: message_process now handles replies to messages without model, thread_id. Based on in-reply-to, it finds the parent message. mail_thread.message_post_user_api is called to create a new mail.message, bypassing message_new / message_update in this case. Some improvements added to partner_ids when using the chatter or message processing.
bzr revid: tde@openerp.com-20121108152502-aow7vhu4erx7fb9l
2012-11-08 16:25:02 +01:00
Thibault Delavallée 389b502b63 [FIX] mail: posting from mailboxes now correctly handles recipients of replies message. Body is now converted into html.
bzr revid: tde@openerp.com-20121107171521-whwcjefpjvt91ye6
2012-11-07 18:15:21 +01:00
Thibault Delavallée da6ee587e3 [CLEAN] Misc cleaning in comments and domain for mailboxes.
bzr revid: tde@openerp.com-20121107153910-uo22t1ahd9qoo1ub
2012-11-07 16:39:10 +01:00
Thibault Delavallée f9829bbb93 [FIX] mail_thread: in message_parse, correctly set partner_ids of the message dict. By the way small things in amil module.
bzr revid: tde@openerp.com-20121107105148-6o1dvu7f4ms24rbx
2012-11-07 11:51:48 +01:00
Thibault Delavallée ffc23f22f0 [CLEAN] Removed unused variables.
bzr revid: tde@openerp.com-20121106121949-2u577j7f1guq4tyu
2012-11-06 13:19:49 +01:00
Fabien Pinckaers 376cfc937a [MERGE] addosn 17
bzr revid: fp@tinyerp.com-20121102082707-wpv96avu8l5incs8
2012-11-02 09:27:07 +01:00
Amit Patel 05f23f6204 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121030045813-d32rqt3fkfighp6e
2012-10-30 10:28:13 +05:30
Amit Patel 6696825b5e [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121017070937-52t28h5twjkj5rlr
bzr revid: apa@tinyerp.com-20121019062157-qxy9gw1b5d9siipp
bzr revid: apa@tinyerp.com-20121022051523-v89anrokk46jxmqb
2012-10-22 10:45:23 +05:30
Thibault Delavallée fbb80f4ba6 [REVIEW] mail: some code cleanup before merging.
mail.message: fixed to_read condition
mail.message: cleaned message_read code
mail.thread: fixed mega security hole, giving superuser rights when creating objects in mail.thread

bzr revid: tde@openerp.com-20121019095919-xa95j10f22va6djm
2012-10-19 11:59:19 +02:00
Christophe Matthieu df2d88a5ab [FIX] mail: message_post_api call and new_message_id value
bzr revid: chm@openerp.com-20121019073338-brb0g1qivvs9pyry
2012-10-19 09:33:38 +02:00
Thibault Delavallée 7c142d5a5c [MERGE] Merged with addons/trunk, re-done to get last fixes from trunk.
bzr revid: tde@openerp.com-20121018130049-d2cisvw7g503chvs
bzr revid: tde@openerp.com-20121018130601-nj99fd1a5ok7r952
2012-10-18 15:06:01 +02:00
Thibault Delavallée 1737a3161b [REVIEW] Cleaning before merging.
bzr revid: tde@openerp.com-20121018093453-trijh79z0j7oha6f
2012-10-18 11:34:53 +02:00
Thibault Delavallée d24c21222e [REM] mail: removed is_private on mail.message model. Updated models and widgets accordingly.
bzr revid: tde@openerp.com-20121017141933-uwbgqn041mvdtp7p
2012-10-17 16:19:33 +02:00
Christophe Matthieu ec88647be0 [IMP] mail: attachment res_model, read => to_read
bzr revid: chm@openerp.com-20121017093559-fndir3gssokoda7v
2012-10-17 11:35:59 +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 7084273c5c [IMP]mail, openchatter: read/unread
bzr revid: chm@openerp.com-20121016082718-j0vlptofi2w0hikw
2012-10-16 10:27:18 +02:00
Christophe Matthieu f71d09a7db [IMP]mail: js dataset, context
bzr revid: chm@openerp.com-20121015160324-tspchfwxg3v8nt2o
2012-10-15 18:03:24 +02:00
Thibault Delavallée 55700ac661 [CLEAN] get_message_subtypes -> message_get_subscription_data
bzr revid: tde@openerp.com-20121015133438-oqbe24v80y0ayimn
2012-10-15 15:34:38 +02:00
Thibault Delavallée ad54dfbbf6 [FIX] [CLEAN] mail_thrad: fixed subtypes (not comment by default, but Chatter explicitely set the new message as a comment); some code cleaning.
bzr revid: tde@openerp.com-20121015132313-zmip3v7sv4y90lzr
2012-10-15 15:23:13 +02:00
Christophe Matthieu 407a7eca27 [IMP]mail: reply to parent : author and partners
bzr revid: chm@openerp.com-20121012130232-5enz0p8vd0ta85o3
2012-10-12 15:02:32 +02:00
Christophe Matthieu adc318837a [IMP]mail: secu
bzr revid: chm@openerp.com-20121012124003-zs8uj68gr1upgc57
2012-10-12 14:40:03 +02:00
Amit Patel 2762e94eb3 [MERGE]:trunk
bzr revid: apa@tinyerp.com-20121011052218-dx74aeg04h6azdmz
bzr revid: apa@tinyerp.com-20121012050113-w3b9fijrbxfyndxj
2012-10-12 10:31:13 +05:30
Christophe Matthieu 4a77345f63 [IMP] mail, following: access
bzr revid: chm@openerp.com-20121011161614-k72bm2f6gw451u5g
2012-10-11 18:16:14 +02:00
Christophe Matthieu 540248ed9e [IMP] mail: cleaner code
bzr revid: chm@openerp.com-20121011104048-4vy0k8pp1rrjug1k
2012-10-11 12:40:48 +02:00
Christophe Matthieu 20d8b0fc76 [MERGE] from trunk
bzr revid: chm@openerp.com-20121010112018-oswe04e2j0o95dry
2012-10-10 13:20:18 +02:00
Christophe Matthieu 09ab4151a2 [MERGE] from trunk, rev 7715 undo revert
bzr revid: chm@openerp.com-20121010111615-s2owlcrawkztdqeb
bzr revid: chm@openerp.com-20121010111751-duikn1etnsadp550
2012-10-10 13:17:51 +02:00
Khushboo Bhatt (Open ERP) 0e00c44a6c [FIX]mail:the issue of createing new record
bzr revid: kbh@tinyerp.com-20121010092112-944vjsuphod8kv8n
2012-10-10 14:51:12 +05:30
Raphael Collet f7d5b5ff0a [FIX] mail: in function field mail_follower_ids, support value False in setter
bzr revid: rco@openerp.com-20121010072510-aacyyj3csj720z8l
2012-10-10 09:25:10 +02:00
Olivier Dony af24485be3 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121009155456-03uqk5jwd9qayuj4
2012-10-09 17:54:56 +02:00
Christophe Matthieu 7df8ef5d37 [IMP] mail: sort messages
bzr revid: chm@openerp.com-20121009140354-3ozec5q42ckcg16w
2012-10-09 16:03:54 +02:00
Olivier Dony 0ce1ef32a8 [FIX] mail: typos -> message-id header is mapped to message_id column
bzr revid: odo@openerp.com-20121009134020-9wf96yszv8qcmbm1
2012-10-09 15:40:20 +02:00
Olivier Dony fac6e9246b [FIX] mail: allow overriding message_post in threads + fix res.users' delegation to res.partner
bzr revid: odo@openerp.com-20121009133132-at5j8pm8engxqi10
2012-10-09 15:31:32 +02:00
Christophe Matthieu 52f8ea85c8 [IMP] mail: get free user attachment
bzr revid: chm@openerp.com-20121009084436-13r1hz3movoupvmh
2012-10-09 10:44:36 +02:00
Christophe Matthieu 7a41798d70 [IMP] mail, document: don't check duplication of file for attachment mail
bzr revid: chm@openerp.com-20121009080858-gnpf1893m12jd3mp
2012-10-09 10:08:58 +02:00
Christophe Matthieu aff7e6d161 [IMP] mail chatter: upload OK
bzr revid: chm@openerp.com-20121008152045-old4i0hjb5apmf0p
2012-10-08 17:20:45 +02:00