Commit Graph

389 Commits

Author SHA1 Message Date
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 f503b4d5ff [IMP] mail_thread: message_post_api now returns the new message_id, not the result of a message_read.
bzr revid: tde@openerp.com-20121025082001-4izbu2hg9rwc7jzb
2012-10-25 10:20:01 +02:00
Thibault Delavallée d462635253 [FIX] mail_thread: removed hack 'posting on res.partner without thread_id is posting on its own partner -> please avoid having hacks without an explanation about why it is here. We will see if this changes something. Also fixed parent_id given to the message_read that follows the message_post.
bzr revid: tde@openerp.com-20121025075036-tsqen9c10ft1er0l
2012-10-25 09:50:36 +02:00
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
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
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
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
Christophe Matthieu 4557bf1d50 [IMP]mail chatter: uploader
bzr revid: chm@openerp.com-20121008142654-pll3vfvjufo1gsr9
2012-10-08 16:26:54 +02:00
Christophe Matthieu df5071c896 [IMP] mail chatter: compose mail in js, less request
bzr revid: chm@openerp.com-20121005104654-t5lholex2gh11y15
2012-10-05 12:46:54 +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
Fabien Pinckaers 75c52c520c [FIX] open chatter
bzr revid: fp@tinyerp.com-20121003143019-ua3128jpufzcie5k
2012-10-03 16:30:19 +02:00
Christophe Matthieu 27d3070220 [IMP] mail: private message
bzr revid: chm@openerp.com-20121003142712-rkadw5oii3tt5o1u
2012-10-03 16:27:12 +02:00
Fabien Pinckaers 21fb8c4370 [FIX] access rights
bzr revid: fp@openerp.com-20121002221804-2mdhpkmyno2nfgvr
2012-10-03 00:18:04 +02:00
Fabien Pinckaers 4dba044109 [FIX] access rights
bzr revid: fp@openerp.com-20121002221231-vtqfgu536tgs00n4
2012-10-03 00:12:31 +02:00
Fabien Pinckaers e275f37d16 [FIX] access rights
bzr revid: fp@openerp.com-20121002214302-kk4ewbwadsme084w
2012-10-02 23:43:02 +02:00
Fabien Pinckaers c93d70e919 [MERGE] chm - improved subtype - fixes
bzr revid: fp@openerp.com-20121002204023-8v3jf2n84xe2jol9
2012-10-02 22:40:23 +02:00
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +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
Christophe Matthieu 20f6a39089 [IMP]mail thread: load only not loaded message
bzr revid: chm@openerp.com-20120928132723-xg2y8j3ebu9a9huv
2012-09-28 15:27:23 +02:00
Christophe Matthieu 523d10017e [IMP] mail/chatter: in progress
bzr revid: chm@openerp.com-20120927134823-tkwllczna72hb1th
2012-09-27 15:48:23 +02:00
Christophe Matthieu 4ddb50dbf9 [IMP] mail: subtype adapted for css onhover box
bzr revid: chm@openerp.com-20120926071709-v51ra4mzn2hp121j
2012-09-26 09:17:09 +02:00
Christophe Matthieu 4525190e72 [IMP] mail: auto display subtypes on subscription (web)
bzr revid: chm@openerp.com-20120925085809-u8f7tvtbdxnftbu4
2012-09-25 10:58:09 +02:00
Christophe Matthieu f47111449c [IMP] mail_follower: unique field widget, sub-types on click
bzr revid: chm@openerp.com-20120924095616-keuji387bvy6pmcs
2012-09-24 11:56:16 +02:00
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
Thibault Delavallée 1206b8f7a0 [IMP] Addons: added message_is_follower and message_subtype_data invisible fields to all views using Chatter and Followers widgets.
bzr revid: tde@openerp.com-20120920115900-vvpfhjvw135vhf91
2012-09-20 13:59:00 +02:00
Thibault Delavallée b1d05506eb [FIX] mail_thread: fixed message_subscribe, not recognizing void list compared to none; misc fixes of subtype.
bzr revid: tde@openerp.com-20120920114947-64643cmduzww5i5c
2012-09-20 13:49:47 +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