Commit Graph

577 Commits

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