Commit Graph

646 Commits

Author SHA1 Message Date
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