Commit Graph

774 Commits

Author SHA1 Message Date
Christophe Matthieu e40b49a838 [IMP] mail: htmlEntities for the author email, select list of new partner by real email
bzr revid: chm@openerp.com-20130104111004-9l0hb6zu33o5b2v6
2013-01-04 12:10:04 +01:00
Christophe Matthieu 8758afd045 [IMP] mail: js: get_from back to get_emails_from
bzr revid: chm@openerp.com-20121231143533-lpo5f2eg20zkf2el
2012-12-31 15:35:33 +01:00
Christophe Matthieu 876e53dfcf [IMP] mail: add email_from like partner before opening wizard composer
bzr revid: chm@openerp.com-20121231142250-ykdxaqoqfvush1ah
2012-12-31 15:22:50 +01:00
Christophe Matthieu 50ceb88012 [MERGE] mail: convert compact textarea in div for id rendering
bzr revid: chm@openerp.com-20121227135948-81vcv8737ztsyc6n
2012-12-27 14:59:48 +01:00
Thibault Delavallée ff4abc7e38 [FIX] Chatter: extra_emails: fixed deferreds wrongly used, leading to duplicate partners created when checking emails in the chatter.
bzr revid: tde@openerp.com-20121224105413-p56vhgxh5bg0rhu0
2012-12-24 11:54:13 +01:00
Christophe Matthieu 09dd7f22a0 [MERGE] from trunk
bzr revid: chm@openerp.com-20121221170432-6t90xtnxx27bw2ux
2012-12-21 18:04:32 +01:00
Thibault Delavallée f9763f5d05 [IMP] mail.js, xml: misc cleaning. I hate JS.
bzr revid: tde@openerp.com-20121221153007-5o220hdqg9sbt3f3
2012-12-21 16:30:07 +01:00
Thibault Delavallée f922d9ea1f [IMP] mail: refactored a bit the code in message_post_user_api, as well as overrides in res_partner and res_users, to use kwargs. Updated mail.js to use kwargs. Updated mail.xml and css to tweak the display.
bzr revid: tde@openerp.com-20121221144014-otg03akq4c9grjmz
2012-12-21 15:40:14 +01:00
Christophe Matthieu 5ef06851b5 [MERGE] from trunk
bzr revid: chm@openerp.com-20121221134901-msdq5zr29946s757
2012-12-21 14:49:01 +01:00
Thibault Delavallée 839d61f97f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221133349-u2lpl29430abrkyw
2012-12-21 14:33:49 +01:00
Christophe Matthieu 8972f7b334 [IMP] mail: check if the new email recipient already exist or not, and fix _api
bzr revid: chm@openerp.com-20121221121144-o8pbya2rc7v471y0
2012-12-21 13:11:44 +01:00
Christophe Matthieu 9fe900791d [IMP] follower: must have access write to invite follower
bzr revid: chm@openerp.com-20121221110003-h7h9cie4vcejif7z
2012-12-21 12:00:03 +01:00
Christophe Matthieu 9df82da7c0 [FIX] mail: remove console and empty return in js
bzr revid: chm@openerp.com-20121221101416-ljb3o4h3hxflz8sb
2012-12-21 11:14:16 +01:00
Christophe Matthieu e5c67bc1b9 [IMP] mail: open wizard(s) to create partner(s) before send message from email
bzr revid: chm@openerp.com-20121221101232-od1owyxhkhmorx5t
2012-12-21 11:12:32 +01:00
Thibault Delavallée e97dc0ffd4 [IMP] mail.js: improved display of destination partners of a message.
bzr revid: tde@openerp.com-20121220211103-5zjb6xclllgcyr8f
2012-12-20 22:11:03 +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
Christophe Matthieu 507eff8255 [IMP] mail: after convert email_from into partner, open a dialog box to complete partner informations
bzr revid: chm@openerp.com-20121220162754-v5wfxrp39nf0bkla
2012-12-20 17:27:54 +01:00
Christophe Matthieu 863c7f421d [IMP] mail: option to don't display email_from partners on the top composer
bzr revid: chm@openerp.com-20121220154604-f6zvrbrqxjawropq
2012-12-20 16:46:04 +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
Christophe Matthieu 40b1c95e1a [IMP]mail: display checkbox for allow to add email (from email_from value) for creating partner and send email to this new partners.
bzr revid: chm@openerp.com-20121220123122-qsqn8w97t1tre3cq
2012-12-20 13:31:22 +01:00
Christophe Matthieu 9150d95062 [IMP] mail: add the readonly option on the field for the different views
bzr revid: chm@openerp.com-20121217093501-mxji9wb00xyvq35e
2012-12-17 10:35:01 +01:00
Christophe Matthieu c3d4d20d86 [IMP] mail: set default readonly to false
bzr revid: chm@openerp.com-20121217092428-s5a5thu4f1fjvejc
2012-12-17 10:24:28 +01:00
Christophe Matthieu af10943f7b [IMP] mail: add an option 'readonly' for the client action and activate readonly mode (hide the action buttons)
bzr revid: chm@openerp.com-20121217084116-i2cjdsk56pzz0kjh
2012-12-17 09:41:16 +01:00
Christophe Matthieu 072e24b8eb [FIX]mail: allow to click on partner when the user compose an empty message
bzr revid: chm@openerp.com-20121214102943-qcsyyua30j0rqajz
2012-12-14 11:29:43 +01:00
Christophe Matthieu 6e35fdb9f6 [FIX] mail: display of the placeholder
bzr revid: chm@openerp.com-20121214101428-7vnyjx2iyeel3wvv
2012-12-14 11:14:28 +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
Christophe Matthieu 6c73d8dff8 [IMP] web: move controler download_attachment into mail.
bzr revid: chm@openerp.com-20121211145343-jhjj9sohn2shkbt9
2012-12-11 15:53:43 +01:00
Thibault Delavallée bf40c23e00 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121211092156-hg62weec6a3yifsf
2012-12-11 10:21:56 +01:00
Christophe Matthieu 7b2bf84cfe [IMP] mail: download attachment with the controler /web/binary/download_attachment
bzr revid: chm@openerp.com-20121210112830-gt1qs028p3cgp9dp
2012-12-10 12:28:30 +01:00
Christophe Matthieu 74d514a213 [IMP]mail: add a download_attachment_ids field. the controler can access ton the content of attachemnt with mail security
bzr revid: chm@openerp.com-20121207131118-l88qnfn06aem7ey1
2012-12-07 14:11:18 +01:00
Christophe Matthieu cf6b95e613 [IMP] mail: message error when the user must wait his attachment uploading
bzr revid: chm@openerp.com-20121207092806-w20k150gnvs4hufj
2012-12-07 10:28:06 +01:00
Christophe Matthieu f8c206b1b8 [IMP] mail: display message attachment error
bzr revid: chm@openerp.com-20121207090941-65b2vgwy066wlsmg
2012-12-07 10:09:41 +01:00
Christophe Matthieu 84ac690b92 [IMP] mail: fix attachment error
bzr revid: chm@openerp.com-20121207084610-979a5om26shed1ak
2012-12-07 09:46:10 +01:00
Christophe Matthieu 1737ac04f2 [MERGE] from trunk
bzr revid: chm@openerp.com-20121207082734-9u0jb9zqbmz49f43
2012-12-07 09:27:34 +01:00
Thibault Delavallée 08e746f4e9 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121206090336-g1yb1hjzmw54y3ut
2012-12-06 10:03:36 +01:00
Christophe Matthieu 12404525b1 [FIX] mail: on_scroll activate expandable message, reverse order of messages for the root thread.
bzr revid: chm@openerp.com-20121205142523-3xl8go4stwitwkep
2012-12-05 15:25:23 +01:00
Thibault Delavallée 6a3a890ce6 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121204142922-lk53pozmyhw788rj
2012-12-04 15:29:22 +01:00
Christophe Matthieu 96cd88b04c [MERGE] from trunk-patest-w45: date and timerelative with timezone
bzr revid: chm@openerp.com-20121203113044-p7xbxnva5kg9xbpu
2012-12-03 12:30:44 +01:00
Christophe Matthieu b577b29487 [MERGE] from trunk
bzr revid: chm@openerp.com-20121203091951-fd9dn570gfv13edr
2012-12-03 10:19:51 +01:00
Christophe Matthieu d945cd6555 [FIX] mail: show_link in js file
bzr revid: chm@openerp.com-20121130160350-7axzlna6254r4u1u
2012-11-30 17:03:50 +01:00
Christophe Matthieu 61065b6d04 [IMP] mail: change access for create message for the attachments
bzr revid: chm@openerp.com-20121130110902-1qzmgvinhc0q0i3j
2012-11-30 12:09:02 +01:00
Thibault Delavallée 91cb411e80 [FIX] mail: default_starred key is recognized when creating a mail_message, handled in mail_messgae.create() to avoid issues with notifications if using an invert function on starred function field.
bzr revid: tde@openerp.com-20121130104038-3nivz6kvdyi22f3l
2012-11-30 11:40:38 +01:00
Christophe Matthieu 48c6ea72ff [FIX] web form : catch and display error when there are an error in an attachment upload
bzr revid: chm@openerp.com-20121130090655-gmymwe1z1ofl7wn9
2012-11-30 10:06:55 +01:00
Thibault Delavallée 66f11ca3df [FIX] mail.js: removed default values for non-existing field anymore. Added a comment to fix it really asap.
bzr revid: tde@openerp.com-20121129145601-m9exd1awcaes79zj
2012-11-29 15:56:01 +01:00
Thibault Delavallée bb759994ac [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129113658-x23z7w5e54mr4j9v
2012-11-29 12:36:58 +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
Christophe Matthieu e81ea77fa2 [MERGE] from trunk
bzr revid: chm@openerp.com-20121129094553-n30aju91kj40cbg6
2012-11-29 10:45:53 +01:00
Christophe Matthieu c491c532c0 [FIX] mail: don't display false value as body
bzr revid: chm@openerp.com-20121128160134-kbjfov5vvuxtcow6
2012-11-28 17:01:34 +01:00
Thibault Delavallée 37e7d2048b [DOC] mail.js: updated the comment of on_message_read_unread.
bzr revid: tde@openerp.com-20121128153843-4p24erdrkpzmrhnu
2012-11-28 16:38:43 +01:00
Christophe Matthieu 6b5bdc7e84 [IMP] mail: add option copose_as_todo, to mark as todo the messages wrote by the composer of the root thread
bzr revid: chm@openerp.com-20121128145101-7lnw7zfrjp5k8fg3
2012-11-28 15:51:01 +01:00
Christophe Matthieu 89fce59283 [IMP] mail: not display the 'no message' before to fetch the wall messages.
bzr revid: chm@openerp.com-20121128113421-rcoo4003npxtnfzb
2012-11-28 12:34:21 +01:00
Xavier Morel a698e32152 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121127121103-ge0xrrep2zrahyf9
2012-11-27 13:11:03 +01:00
Xavier Morel 1f65f9a6fc [FIX] mail uses session, not instance
bzr revid: xmo@openerp.com-20121126140356-lvlky0ctjt9yeh4p
2012-11-26 15:03:56 +01:00
Xavier Morel 5c5b46a536 [FIX] replace edc calls
bzr revid: xmo@openerp.com-20121126105131-5g4e9tl0w01v398u
2012-11-26 11:51:31 +01:00
Christophe Matthieu 83ed2c955b [FIX] mail: event click on compose button on wall for firefox
bzr revid: chm@openerp.com-20121123110156-kz32k4871slnlxa4
2012-11-23 12:01:56 +01:00
Christophe Matthieu 50fcf01492 [IMP] mail: add documentations and comments
bzr revid: chm@openerp.com-20121123094659-sgkha5v1o3paqzw8
2012-11-23 10:46:59 +01:00
Christophe Matthieu 18ec2c978e [IMP] mail: add an show_link_partner params to display partner (authors, followers...) on link or not, for portal
bzr revid: chm@openerp.com-20121122154712-4wmjfy0v8trwq4cw
2012-11-22 16:47:12 +01:00
Christophe Matthieu 22fe97c509 [FIX] mail: concatenation of expandable messages
bzr revid: chm@openerp.com-20121122131827-cap2xfzgjh6ajoss
2012-11-22 14:18:27 +01:00
Christophe Matthieu 5fe04e7ce4 [IMP] mail: add fadeIn
bzr revid: chm@openerp.com-20121122100448-10szzpxz5o5dif4b
2012-11-22 11:04:48 +01:00
Christophe Matthieu 5d4b582467 [FIX] mail: auto-focus for composer
bzr revid: chm@openerp.com-20121122090201-gbpr2f9bmad6aw0k
2012-11-22 10:02:01 +01:00
Christophe Matthieu 7921e44995 [IMP] mail: break-word, css, help, button name
bzr revid: chm@openerp.com-20121122083837-578ffj6wcu5hs0z4
2012-11-22 09:38:37 +01:00
Olivier Dony fadd311945 [FIX] mail: remove ugly hack for context filtering that wreaks havoc in contexts
This hacks makes a mess and works with a whitelist that
completely breaks the generic context passing mechanism.
Replaced by specific guard through default_get overrides
for the models that are sensitive to default value
leaks via context.
E.g. mail.message is sensitive to leaked default_type
context keys that are meant for other models, such
as those passed by the Invoices menus.

bzr revid: odo@openerp.com-20121121101917-izeu4c493un86udf
2012-11-21 11:19:17 +01:00
Thibault Delavallée 3001a4dd49 [REV] Chatter: reverted hack about reloading menus.
bzr revid: tde@openerp.com-20121120090602-un5239e4yl3xcob6
2012-11-20 10:06:02 +01:00
Jigar Amin 1387cd9bca [IMP] Fix the timeagolib timezone conversion and passing timezone datetime string
bzr revid: jam@tinyerp.com-20121120060030-33w2u9v72kazd3ns
2012-11-20 11:30:30 +05:30
Thibault Delavallée 4d79649b55 [REV] Removed fix, to be inserted in a specific branch.
bzr revid: tde@openerp.com-20121119114125-51fhctk8n79ptx65
2012-11-19 12:41:25 +01:00
Christophe Matthieu 1ec9878370 [FIX] mail: do not display the body message false value
bzr revid: chm@openerp.com-20121119110158-iw2i7qt422fqatvm
2012-11-19 12:01:58 +01:00
ajay javiya (OpenERP) c984e286f6 [FIX]:fix issue for launch security and user message
bzr revid: aja@tinyerp.com-20121119092652-69f58c4au9rlei95
2012-11-19 14:56:52 +05:30
Thibault Delavallée 5747c6fddc [HACK] Temp hack about reloading menus.
bzr revid: tde@openerp.com-20121116171100-h2to6ij4p5idcui9
2012-11-16 18:11:00 +01:00
Thibault Delavallée 1631811168 [CLEAN] mail.js: removed some console.log
bzr revid: tde@openerp.com-20121116112712-wu63i6qq2x8g4huk
2012-11-16 12:27:12 +01:00
Thibault Delavallée aeecd20324 [FIX] mail: fixed a bug when replying to a private message, leading to a non-existent thread dataset. Should be mail.thread by default, only for the dataset, not anything else I think.
bzr revid: tde@openerp.com-20121116102143-jq2o0e5by76zv12w
2012-11-16 11:21:43 +01:00
Thibault Delavallée 99c1145d81 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121115131824-60tl5f9hvxpca827
bzr revid: tde@openerp.com-20121115181930-ypj3zbdhg9bvcdf5
2012-11-15 19:19:30 +01:00
Thibault Delavallée da9951baf9 [CLEAN] removed a commented statement, fixed a var name in js.é
bzr revid: tde@openerp.com-20121115124931-w20igi8qk66uvnj0
2012-11-15 13:49:31 +01:00
Christophe Matthieu f3bba6c77b [FIX] mail: do not convert text on html when the user post a message with the widget to message_post_api
bzr revid: chm@openerp.com-20121115102522-sicesckcupbh1nnc
2012-11-15 11:25:22 +01:00
Christophe Matthieu 3918c05a37 [MERGE] from trunk
bzr revid: chm@openerp.com-20121115101056-m96xojis7lky8xcn
2012-11-15 11:10:56 +01:00
Christophe Matthieu 3f655858d8 [IMP] mail: the placeholder of textarea on compose message can be custom with an attribute placeholder on the field
bzr revid: chm@openerp.com-20121115100542-7gigxjnxjloqt8ue
2012-11-15 11:05:42 +01:00
Thibault Delavallée 9aec899257 [FIX] Chatter: fixed rpely to a lonely message, that was badly indented.
bzr revid: tde@openerp.com-20121115100533-ly99op6fpfrzp9jw
2012-11-15 11:05:33 +01:00
Thibault Delavallée 25c684b171 [FIX] Chatter: fixed posting on user/partner. Cleaned a bit default options of mail.js.
bzr revid: tde@openerp.com-20121115095400-u7h6rw8ltp0xprtt
2012-11-15 10:54:00 +01:00
Christophe Simonis fa8463f804 [FIX] use session.url()
bzr revid: chs@openerp.com-20121114174258-ly0dniub0k383045
2012-11-14 18:42:58 +01:00
Christophe Matthieu b581043859 [FIX] mail: expandable insert after
bzr revid: chm@openerp.com-20121114155325-kuqyke9hcfmb0yyb
2012-11-14 16:53:25 +01:00
Thibault Delavallée 48ce331544 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121114154021-vsllo3keszi9732d
2012-11-14 16:40:21 +01:00
Christophe Matthieu 7885518850 [FIX] mail: insert new message on the wall and indented the reply of this message
bzr revid: chm@openerp.com-20121114153022-i6xv4v2jqxx8w39r
2012-11-14 16:30:22 +01:00
Christophe Matthieu d282df466c [FIX] mail: do not display record_name when the user is on a document
bzr revid: chm@openerp.com-20121114132517-6c5rfiikkuchcmxx
2012-11-14 14:25:17 +01:00
Christophe Matthieu a43662d125 [IMP] mail: change the header title and description for each mailbox and group discussion
bzr revid: chm@openerp.com-20121114122033-dl70fqty2kbd5gj1
2012-11-14 13:20:33 +01:00
Christophe Matthieu 4a91e273a8 [IMP] mail: unactivate reload menu
bzr revid: chm@openerp.com-20121114104717-zi5yl3knyhf7xgev
2012-11-14 11:47:17 +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
Christophe Matthieu 62b376307b [IMP] mail: change the counter of the need action menu when a message is read. Actually reload all the widget menu but we can upgrade and change the number only (less request)
bzr revid: chm@openerp.com-20121114082659-31vxgq5synhdpobl
2012-11-14 09:26:59 +01:00
Christophe Matthieu 183bc922c1 [FIX] mail: fix the openchatter reload when the user change of record view (click on next, delete...)
bzr revid: chm@openerp.com-20121113145722-72d2j7eiaxxlp6ys
2012-11-13 15:57:22 +01:00
Frédéric van der Essen b00a0ab711 [IMP] attachements are now always displayed
bzr revid: fva@openerp.com-20121113145453-35v399hqgz201ndj
2012-11-13 15:54:53 +01:00
Thibault Delavallée 0f3845bee6 [FIX] [CLEAN] mail.js: removed references to mail.thread. There shouldnot have been any of them left...
bzr revid: tde@openerp.com-20121113142759-wwhd3bssent1861a
2012-11-13 15:27:59 +01:00
Christophe Matthieu 99354ab558 [MERGE] form trunk-openchatter-needaction-chm + code review
bzr revid: chm@openerp.com-20121113131448-ebt0sr5it4lbk1l1
2012-11-13 14:14:48 +01:00
Christophe Matthieu b8f7e37715 [FIX] mail: openchatter reload message_ids for form view
bzr revid: chm@openerp.com-20121113125651-cq67yb0g5n66ej55
2012-11-13 13:56:51 +01:00
Christophe Matthieu cf4d660ce5 [FIX] mail: do not destroy double message if there are no message.id (for expandable message)
bzr revid: chm@openerp.com-20121113105850-ur1h9igelvk4uzcj
2012-11-13 11:58:50 +01:00
Fabien Pinckaers ccc8069a4c [IMP] style of empty mail boxes
bzr revid: fp@tinyerp.com-20121112183919-oh8ccaz2w3nnvf2h
2012-11-12 19:39:19 +01:00
Christophe Matthieu 99525e3a54 [FIX] mail: partner avatar is email_icon when there are no partner or partner_id is null
bzr revid: chm@openerp.com-20121112152753-houzjde3x8jfwtks
2012-11-12 16:27:53 +01:00
Christophe Matthieu 52ea928041 [FIX] mail: suppress id on expandable message, for not mark message as read/unread when the message is not loaded
bzr revid: chm@openerp.com-20121112143431-ybztdpcdacvfm293
2012-11-12 15:34:31 +01:00
Christophe Matthieu 3fd509b634 [IMP] mail: change the counter of the need action menu when a message is read. Actually reload all the widget menu but we can upgrade and change the number only (less request)
bzr revid: chm@openerp.com-20121112095941-yitxdd3dpjox4das
2012-11-12 10:59:41 +01:00
Christophe Matthieu 6bf37ebb14 [FIX] mail: To: Followers of 'Undefined' became To: Followers of this document
bzr revid: chm@openerp.com-20121112083936-i87pc2fecce7ektg
2012-11-12 09:39:36 +01:00
Christophe Matthieu d8bc98b989 [FIX] mail: flat_mode is a boolean
bzr revid: chm@openerp.com-20121112083023-dfhzi3ad7ilhg297
2012-11-12 09:30:23 +01:00
Christophe Matthieu 8098113cb9 [FIX] mail: add return false on read and vote js function for disable link after load function
bzr revid: chm@openerp.com-20121112082714-ih2zuw0k4wjti23e
2012-11-12 09:27:14 +01:00
Christophe Matthieu a1ac4867ee [FIX] mail: no_message on wall
bzr revid: chm@openerp.com-20121109143236-uswibdddjngif9v2
2012-11-09 15:32:36 +01:00
Christophe Matthieu 3dbf5a1611 [FIX] mail: avatar, record_name, rerender with childs propagation
bzr revid: chm@openerp.com-20121109142101-izotiix03uvx29mm
2012-11-09 15:21:01 +01:00
Christophe Matthieu c22eec5f7d [FIX] mail: scroll, avatar, delete attachments, print
bzr revid: chm@openerp.com-20121109101628-4e8cnjr1lcmt0tdv
2012-11-09 11:16:28 +01:00
Thibault Delavallée d4df1e1998 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121108164753-mso6bdwoc0ihn7sk
bzr revid: tde@openerp.com-20121109094444-5vw7aojazupnudy6
2012-11-09 10:44:44 +01:00
Christophe Matthieu bc0a84e097 [MERGE] from trunk
bzr revid: chm@openerp.com-20121109084135-lor21hoxyh5rb6i4
2012-11-09 09:41:35 +01:00
Christophe Matthieu 4ea0e6ea0e [FIX] mail: display the message after post
bzr revid: chm@openerp.com-20121109083451-83lnbqokig7jp5ob
2012-11-09 09:34:51 +01:00
Christophe Matthieu 911d530e09 [FIX] mail: like/dislike
bzr revid: chm@openerp.com-20121108161726-ojgjep51upuutbxy
2012-11-08 17:17:26 +01:00
Christophe Matthieu 01c914e9c9 [FIX] mail: auto close big compose message
bzr revid: chm@openerp.com-20121108161200-s0coomd8td3xo94i
2012-11-08 17:12:00 +01:00
Christophe Matthieu ac00728bf7 [IMP] mail: user avatar on compose message
bzr revid: chm@openerp.com-20121108154136-jw58ldfvmzmfud87
2012-11-08 16:41:36 +01:00
Christophe Matthieu df1403d9b6 [FIX] mail/followers: set partner_id of uid on the root thread; No set_value in followers widget
bzr revid: chm@openerp.com-20121108153327-wopb6dscgnf1t4wp
2012-11-08 16:33:27 +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
Christophe Matthieu b028b74ed0 [FIX] mail: res_model for wall
bzr revid: chm@openerp.com-20121108143923-10s9ng38thyqfu1a
2012-11-08 15:39:23 +01:00
Christophe Matthieu 5fde2760c6 [FIX] mail: fixing js and xml
bzr revid: chm@openerp.com-20121108123014-9iauyk1laec3alba
2012-11-08 13:30:14 +01:00
Christophe Matthieu c01cc688ce [MERGE] from trunk
bzr revid: chm@openerp.com-20121108111032-m1j10n2pjacr2u8w
2012-11-08 12:10:32 +01:00
Christophe Matthieu 66bd6d7503 [FIX] mail: _super => _super.apply
bzr revid: chm@openerp.com-20121108110716-ddyznsi694yq559a
2012-11-08 12:07:16 +01:00
Christophe Matthieu 8c055d6244 [IMP] mail: mail composer before the thread message
bzr revid: chm@openerp.com-20121108104036-pkhtyscv45qg7hag
2012-11-08 11:40:36 +01:00
Christophe Matthieu d28124c40c [REV] mail: remove the python read attachment and update the controleur for image resizing
bzr revid: chm@openerp.com-20121108100544-u4t3k3c43jzwqobh
2012-11-08 11:05:44 +01:00
Thibault Delavallée 48cec81235 [IMP] Chatter widget: display email icon only when sender is unknown.
bzr revid: tde@openerp.com-20121107152126-71yzsy1nb0tj549w
2012-11-07 16:21:26 +01:00
Christophe Matthieu da2bc197c4 [FIX] mail: jquery event
bzr revid: chm@openerp.com-20121107142407-zqnvehh0i7bx1v7k
2012-11-07 15:24:07 +01:00
Frédéric van der Essen 7bfc5c3fe4 [FIX] forgot to remove a call to a removed method
bzr revid: fva@openerp.com-20121107135418-xa74vzqvqlgt3469
2012-11-07 14:54:18 +01:00
Frédéric van der Essen 47967fa1cc [FIX] removed useless log
bzr revid: fva@openerp.com-20121107132857-oj0zyo3y84agprdm
2012-11-07 14:28:57 +01:00
Frédéric van der Essen 136dbd9506 [FIX] old attachments event was still here
bzr revid: fva@openerp.com-20121107131701-oa0bs25ld0vr9b99
2012-11-07 14:17:01 +01:00
Frédéric van der Essen 3b1478bf57 [IMP] mail: js dom bindings for the attachments
bzr revid: fva@openerp.com-20121107114413-399b2q2b5ziurxvp
2012-11-07 12:44:13 +01:00
Frédéric van der Essen 4e073ba068 [FIX] filetype and breakwords methods were merged in the wrong class
bzr revid: fva@openerp.com-20121107110536-v5yfn0tqopybjqqe
2012-11-07 12:05:36 +01:00
Frédéric van der Essen 41ccce3e53 [MERGE] mail: from chm
bzr revid: fva@openerp.com-20121107103530-qk0h13jqp9q2w1te
2012-11-07 11:35:30 +01:00
Fabien Meghazi 185b32d7d5 [MERGE] trunk
bzr revid: fme@openerp.com-20121107091958-f3rqu7nc585umjwq
2012-11-07 10:19:58 +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
Thibault Delavallée 7b5d0af159 [CLEAN] mail.js: removed unnecessary default values in context.
bzr revid: tde@openerp.com-20121106155702-bq5xg7z6qmwqjema
2012-11-06 16:57:02 +01:00
Thibault Delavallée 5cb888e747 [IMP] mail: mail_message body for chatter now calls the html_email_clean method; some var cleaning in mail.js.
bzr revid: tde@openerp.com-20121106153249-63xhbuiy8h0rww6c
2012-11-06 16:32:49 +01:00
Thibault Delavallée 3af6196d9a [MERGE] Sync with addons/trunk.
bzr revid: tde@openerp.com-20121106145346-twr7rg31q2za5bx9
2012-11-06 15:53:46 +01:00
Christophe Matthieu 63a8970112 [IMP] web: field many2many_tags_email moved to mail addon
bzr revid: chm@openerp.com-20121106095619-bl7xg1bhubweetpo
2012-11-06 10:56:19 +01:00
Fabien Meghazi 13be6e322f [MERGE] trunk
bzr revid: fme@openerp.com-20121105201222-ws94bdyo8l9rqjjq
2012-11-05 21:12:22 +01:00
Frédéric van der Essen 1a222f3d6a [IMP] mail: final touches on the attachments
bzr revid: fva@openerp.com-20121105180355-tzk2d6lbhgwgg8kl
2012-11-05 19:03:55 +01:00
Christophe Matthieu af94a6a2c3 [FIX] mail: launch widget with action (action contain params, context...)
bzr revid: chm@openerp.com-20121105175831-dfgglb63wtoibqy4
2012-11-05 18:58:31 +01:00
Christophe Matthieu ad4d823011 [IMP] mail: launch widget with action (action contain params, context...)
bzr revid: chm@openerp.com-20121105155450-3uyauk63cc2nakkn
2012-11-05 16:54:50 +01:00
Christophe Matthieu 521c043a8e [MERGE] merge from trunk
bzr revid: chm@openerp.com-20121105131625-53qaxm71l4vuherl
2012-11-05 14:16:25 +01:00
Fabien Meghazi cbbd4dcee3 [IMP] Client actions now takes the action as argument. Use action.params for options.
bzr revid: fme@openerp.com-20121105130130-dwkn8124zc6yq933
2012-11-05 14:01:30 +01:00
Christophe Matthieu f4bf65f723 [IMP] mail: update js with filtering id (read & star). No ID return by py for the expandable message
bzr revid: chm@openerp.com-20121105115852-10t2izyauqxamlhh
2012-11-05 12:58:52 +01:00
Christophe Matthieu 356fc45fac [IMP] mail: add view_inbox options on js. Inside the inbox, when the user mark a message as read/done, don't apply this value, for the stared/favorite message.
bzr revid: chm@openerp.com-20121105112517-tfkao2nuukewvm2y
2012-11-05 12:25:17 +01:00
Christophe Matthieu 1db87cc080 [IMP] mail: change check_for_destroy method js into check_for_rerender with rerender option
bzr revid: chm@openerp.com-20121105100444-yozpfk4xagf8siau
2012-11-05 11:04:44 +01:00
Thibault Delavallée fb222404e5 [IMP] mail: tried to have alwsays read/unread buttons; some code cleaning; added demo data.
bzr revid: tde@openerp.com-20121102135426-5np5wtupzdhx0dz4
2012-11-02 14:54:26 +01:00
Christophe Matthieu 6fdac36ca4 [IMP]mail: no sort in js insert_message; add filename for attachment
bzr revid: chm@openerp.com-20121101104404-sei3g5knixuv969j
2012-11-01 11:44:04 +01:00
Thibault Delavallée e21e4e178e [FIX] [TMP] mail: tmp fix of Compose a new message box. Also set some fields of the mail.compose.message wizard visible, to ease debugging. This will have to be removed.
bzr revid: tde@openerp.com-20121031165207-wnz41v2wrdfhuus0
2012-10-31 17:52:07 +01:00
Thibault Delavallée 22a6a022ce [DOC] mail.js: added some comments, renamed ThreadMessageGlobal to MessageCommon.
bzr revid: tde@openerp.com-20121031160058-m1jbgab039bf4kw8
2012-10-31 17:00:58 +01:00
Christophe Matthieu 1bbc2c0063 [IMP] mail: js, compose, expandable and message extend messageglobal
bzr revid: chm@openerp.com-20121031145610-e8m9l7lsmzzjru9k
2012-10-31 15:56:10 +01:00
Fabien Meghazi a2715888c1 [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121031103148-r1slfpl2kcnajjd3
2012-10-31 11:31:48 +01:00
Christophe Matthieu fd0b674f5c [IMP] mail: last_id (js/py)
bzr revid: chm@openerp.com-20121031090931-gloqsggi3j276jpj
2012-10-31 10:09:31 +01:00
Christophe Matthieu 6453930f28 [FIX] mail: on_scroll, load same messages => stack loading.
bzr revid: chm@openerp.com-20121030154700-oqe5dklhtvh0r5gj
2012-10-30 16:47:00 +01:00
Frédéric van der Essen 2ade3c5b9c [MERGE] from chm
bzr revid: fva@openerp.com-20121030154406-fs1udytai37yuv0y
2012-10-30 16:44:06 +01:00
Frédéric van der Essen e143d3fcf2 [IMP] read less message
bzr revid: fva@openerp.com-20121030153857-12w2b9zf36vaoip0
2012-10-30 16:38:57 +01:00
Christophe Matthieu 9b9231dc4f [FIX] mail: display message after save document
bzr revid: chm@openerp.com-20121030153523-ebg68dd2yxuv5r3d
2012-10-30 16:35:23 +01:00
Christophe Matthieu a7d64a13e8 [FIX] mail: write on the last message on a thread, don't indeted the message
bzr revid: chm@openerp.com-20121030144050-61ji54ydc3deto8k
2012-10-30 15:40:50 +01:00
Christophe Matthieu e0c039b0e5 [IMP] mail: convert dom search on_scroll by filter js
bzr revid: chm@openerp.com-20121030134738-h5ypheuze05ohy20
2012-10-30 14:47:38 +01:00
Frédéric van der Essen 095ebb9634 [MERGE] from chm
bzr revid: fva@openerp.com-20121030134438-ddfagxg1xa8ab9wy
2012-10-30 14:44:38 +01:00
Frédéric van der Essen aa900c135d [IMP] see more message clickable on entire line, and correctly centered
bzr revid: fva@openerp.com-20121030134342-cddrzs8vyc8d3gr2
2012-10-30 14:43:42 +01:00
Christophe Matthieu fbc46c5b2d [IMP] mail: review and reduce of js
bzr revid: chm@openerp.com-20121030131136-e72mj13a408m2bwx
2012-10-30 14:11:36 +01:00
Frédéric van der Essen 933a46893a [MERGE] from chm
bzr revid: fva@openerp.com-20121030125801-1jp2em616swa1ed4
2012-10-30 13:58:01 +01:00
Frédéric van der Essen 6734d50637 [MERGE] changes from chm
bzr revid: fva@openerp.com-20121030125308-5eqhp2h26a9fn19j
2012-10-30 13:53:08 +01:00
Christophe Matthieu f18b5723f6 [IMP] mail: review and reduce mail.RecordThread
bzr revid: chm@openerp.com-20121030124822-c551kk1krvdtp6vh
2012-10-30 13:48:22 +01:00
Christophe Matthieu 49325c24d2 [IMP] mail: reduce options on js
bzr revid: chm@openerp.com-20121030113356-374gjb6zanw4xtsw
2012-10-30 12:33:56 +01:00
Christophe Matthieu b8a9b420e8 [IMP] mail: -typof_thread option, +check_for_destroy method
bzr revid: chm@openerp.com-20121030105658-j5k6zctwmx7wwyfu
2012-10-30 11:56:58 +01:00
Christophe Matthieu 566d7dd3af [IMP] mail: activate default value for the search view
bzr revid: chm@openerp.com-20121030100318-pnvgcm2id034na93
2012-10-30 11:03:18 +01:00
Frédéric van der Essen c25c94b8d9 [IMP] css: global mail compose button is beautifuller and better integrated
bzr revid: fva@openerp.com-20121029165211-dzd1najj6btorzi9
2012-10-29 17:52:11 +01:00
Christophe Matthieu 2447ed07a7 [FIX] mail: display vote
bzr revid: chm@openerp.com-20121029151327-cptuukjtkrh06bij
2012-10-29 16:13:27 +01:00
Christophe Matthieu 54a945f63c [IMP] mail: openchatter fadeout fix
bzr revid: chm@openerp.com-20121029142856-kd2mnje5w4ee5x3t
2012-10-29 15:28:56 +01:00
Christophe Matthieu 79669aaf9b [FIX] mail: compose message with reduce DOM
bzr revid: chm@openerp.com-20121029113145-50gx1qdu3co3jd0c
2012-10-29 12:31:45 +01:00
Christophe Matthieu 81df392b71 [IMP] mail: openchatter, reduce DOM item
bzr revid: chm@openerp.com-20121029112254-e0az3mi3vmmk83ca
2012-10-29 12:22:54 +01:00
Thibault Delavallée d97ffd7b19 [CLEAN] Misc cleaning of code: removed debug statements, added some notes.
bzr revid: tde@openerp.com-20121029112117-kup1q99c2nbkgar7
2012-10-29 12:21:17 +01:00
Thibault Delavallée a2d3d1df80 [CLEAN] message_post_api: removed unnecessary type arg (posting is a comment).
bzr revid: tde@openerp.com-20121029101230-x39pep9p5edd54ml
2012-10-29 11:12:30 +01:00
Christophe Matthieu 0d44a35745 [MERGE] from trunk-openchatter-DOM-chm
bzr revid: chm@openerp.com-20121029095135-rx2037j97us5ocxz
2012-10-29 10:51:35 +01:00
Thibault Delavallée c4e6506f85 [FIX] mail.js: now giving an undefined (None) ids in message_read instead of a void list.
bzr revid: tde@openerp.com-20121029095047-k8ahahmuq6z4b9tv
2012-10-29 10:50:47 +01:00
Christophe Matthieu 0d4fdc41f9 [FIX] mail: resolve error to read message after posting
bzr revid: chm@openerp.com-20121029092934-gqfg7gq90xs8w3k1
2012-10-29 10:29:34 +01:00
Christophe Matthieu 46a60cdac7 [MERGE] from trunk-mail-concreting-tde, TODO fix bug
bzr revid: chm@openerp.com-20121029090847-27h3tmyvsv9c8vej
2012-10-29 10:08:47 +01:00
Frédéric van der Essen 4b6165f556 [FIX] simplifying animated_destroy
bzr revid: fva@openerp.com-20121026164338-omop4yjpk24ensei
bzr revid: fva@openerp.com-20121026164653-t019jpssq5sxokga
2012-10-26 18:46:53 +02:00
Christophe Matthieu b2bc5614a9 [IMP] mail: code pre review
bzr revid: chm@openerp.com-20121026163929-mx125ei97h01h42o
2012-10-26 18:39:29 +02:00
Frédéric van der Essen 38f4a6137a [IMP] mail: improved followers widget layout
bzr revid: fva@openerp.com-20121026145758-sfwxii65fizb3nqa
2012-10-26 16:57:58 +02:00
Christophe Matthieu 60e7f19ec5 [IMP] mail: bind event
bzr revid: chm@openerp.com-20121026141743-m2kod12as9z2eale
2012-10-26 16:17:43 +02:00
Christophe Matthieu 0975d105e2 [IMP] mail: one template for compose_message: compact & expend + replace by message
bzr revid: chm@openerp.com-20121026105835-i3gca74hku1z6y2x
2012-10-26 12:58:35 +02:00
Frédéric van der Essen b94aa74f18 [MERGE] from chm
bzr revid: fva@openerp.com-20121025134105-evuqxksk13k7pcnw
2012-10-25 15:41:05 +02:00
Frédéric van der Essen 0805371fa9 [IMP] mail: compose textarea auto-resizes, various small fixes
bzr revid: fva@openerp.com-20121025124320-ztzcdf4bkgjjs57h
2012-10-25 14:43: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
Christophe Matthieu 31965cf97a [IMP] mail: insert message post, and no quote for reply
bzr revid: chm@openerp.com-20121025095923-7urqi5he10q3z1i6
2012-10-25 11:59:23 +02:00
Christophe Matthieu a10c6c4dfd [IMP] mail: change message_post_api (method py return id); class indented in DOM for expandable & compose
bzr revid: chm@openerp.com-20121025083631-ze0x0rmnj7catsmu
2012-10-25 10:36:31 +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
Christophe Matthieu 3e4d6ad440 [IMP] mail: oppenchatter hidden attachment
bzr revid: chm@openerp.com-20121025080529-p2dw63h2u2ixyt26
2012-10-25 10:05:29 +02:00
Christophe Matthieu 4818ad676f [IMP] mail: for security, document loader is in comment
bzr revid: chm@openerp.com-20121024152711-igcz0seor2if6ist
2012-10-24 17:27:11 +02:00
Frédéric van der Essen 5eac688ef0 [MERGE] from chm
bzr revid: fva@openerp.com-20121024152429-js4f1w6t4v4fz1zq
2012-10-24 17:24:29 +02:00
Frédéric van der Essen 8d9fdcc352 [IMP] mail: followers css + widget integration in inbox and formview
bzr revid: fva@openerp.com-20121024152043-q5j7hpa4rur39k03
2012-10-24 17:20:43 +02:00
Christophe Matthieu 4f65723662 [IMP] mail: try to fix encodeURI for document loader
bzr revid: chm@openerp.com-20121024144350-yxf9ivj8rlmtx0eu
2012-10-24 16:43:50 +02:00
Christophe Matthieu 7b6cc50de7 [IMP] mail: filter has attachment
bzr revid: chm@openerp.com-20121024144135-frzyxty5iiksqtg4
2012-10-24 16:41:35 +02:00
Christophe Matthieu 4ce75bb9bd [IMP] mail: preview documents (doc, pdf...) on openchatter
bzr revid: chm@openerp.com-20121024140910-88gj3t5efhc7pzzi
2012-10-24 16:09:10 +02:00
Christophe Matthieu fc34572ee3 [IMP] mail: preview image on openchatter
bzr revid: chm@openerp.com-20121024134819-5gf165nf6cc21601
2012-10-24 15:48:19 +02:00
Christophe Matthieu 615b2bddbd [MREGE] from trunk-openchatter-DOM-chm
bzr revid: chm@openerp.com-20121024122913-ykcy751u3a21tzd2
2012-10-24 14:29:13 +02:00
Christophe Matthieu 875b2ede23 [IMP] mail: use widget one2many_binary and value fix
bzr revid: chm@openerp.com-20121024122803-ihr421qcvnsd3cjz
2012-10-24 14:28:03 +02:00
Frédéric van der Essen 7a507ea93e [FIX] mail: show compose in form comments
bzr revid: fva@openerp.com-20121024100518-ocqiyyo4wxzqaosc
2012-10-24 12:05:18 +02:00
Frédéric van der Essen de99d4a7f7 [MERGE] from chm
bzr revid: fva@openerp.com-20121024095015-9wa4n5br1ps1ijc4
2012-10-24 11:50:15 +02:00
Frédéric van der Essen 5ca5acef41 [IMP] mail: mail composer design
bzr revid: fva@openerp.com-20121023155827-au8m4bzz3hlfie3v
2012-10-23 17:58:27 +02:00
Christophe Matthieu 4c99b037a6 [IMP] mail: ancestor_id
bzr revid: chm@openerp.com-20121023121647-erx0p6416ufz6ni5
2012-10-23 14:16:47 +02:00
Christophe Matthieu d2805cdc00 [MERGE] from trunk-mail-concreting-tde
bzr revid: chm@openerp.com-20121023115910-5ajpk6xrtk0ztisr
2012-10-23 13:59:10 +02:00
Thibault Delavallée 8c8c0dd753 [IMP] mail: message_read: improved flat / threaded domains (using child_of for thread, or only id for flat); improved ancestor fetching (not using parent_id anymore, because ancestor is the parent message to display the message thread).
bzr revid: tde@openerp.com-20121023114124-co3ij97tz1c25qa8
2012-10-23 13:41:24 +02:00