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
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
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
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