Thibault Delavallée
e46ddc2c21
[REV] mail_message: vote_toggle and favorite_toggle back as SUPERUSER_ID, because of access rights issues for people not being able to write on the mail.message.
...
bzr revid: tde@openerp.com-20121019120616-pw8yop07fo1i2vu2
2012-10-19 14:06:16 +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
Thibault Delavallée
347be7b72c
[FIX] mail_message: fixed message_read adding too much expandables, due to bad code indentation.
...
bzr revid: tde@openerp.com-20121019091329-5jnht3of77zqukl0
2012-10-19 11:13:29 +02:00
Thibault Delavallée
91f4e942db
[IMP] mail: star is renamed as favorite (propagated changes through module); added views for this model in technical feature, under emails. Cleaned message_read and message_read_get_expandable because the code was quite obfuscated.
...
bzr revid: tde@openerp.com-20121018152322-cakaas3a77h1pi7m
2012-10-18 17:23:22 +02:00
Thibault Delavallée
93b545357d
[FIX] mail_message: fixed various bigs introduced when merging trunk.
...
bzr revid: tde@openerp.com-20121018131850-t4d4o38jyma8uaa1
2012-10-18 15:18:50 +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
Christophe Matthieu
68d1041d64
[FIX] mail: fix the notify followers
...
bzr revid: chm@openerp.com-20121018085424-hfspxqcpo2p5ya6t
2012-10-18 10:54:24 +02:00
Thibault Delavallée
bd1d7f9e78
[FIX] mail_message: browse -> read in get_record_name.
...
bzr revid: tde@openerp.com-20121017161245-6j28vno604lm8zny
2012-10-17 18:12:45 +02:00
Thibault Delavallée
fe93cea517
[IMP] mail: added to_read field on mail.message, based on unread notifications. When setting a notification as (un)read, it now creates a notification if it does not exist.
...
bzr revid: tde@openerp.com-20121017155733-8gpb5goyiomsop2x
2012-10-17 17:57:33 +02:00
Thibault Delavallée
3c7efc0de5
[FIX] Mailboxes: now post on res.users, with correct uid. Posts on res.users usign message_post_api are redirected to the related partner.
...
bzr revid: tde@openerp.com-20121017143335-xxgfe1fsqqwz2gon
2012-10-17 16:33:35 +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
Thibault Delavallée
1fd3eadaad
[FIX] mail_message: fixed errors in message_read.
...
bzr revid: tde@openerp.com-20121017135451-bschq7nhcace0638
2012-10-17 15:54:51 +02:00
Thibault Delavallée
fc815ba415
[REF] mail_message: message_read: re-implementation using read instead of browse, to avoid access rights issues. Fixed call in js; updated mail_follower and mail about set_value becoming render_value.
...
bzr revid: tde@openerp.com-20121017134449-l8gyp8l5e6ogcx3a
2012-10-17 15:44:49 +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
Christophe Matthieu
e8bd522f6b
[IMP] mail: prepare js for dom
...
bzr revid: chm@openerp.com-20121017001320-wmxtng544wc3whd3
2012-10-17 02:13:20 +02:00
Christophe Matthieu
54f54d3150
[IMP] mail: display options
...
bzr revid: chm@openerp.com-20121016124105-o5ciewoxm1j79lfr
2012-10-16 14:41:05 +02:00
Christophe Matthieu
0e4fcab679
[IMP] mail: hierarchy/flat options
...
bzr revid: chm@openerp.com-20121016113841-gqgq8oz89yc2gma7
2012-10-16 13:38:41 +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
Christophe Matthieu
44646f0da0
[IMP]mail/mailbox: js optimisation
...
bzr revid: chm@openerp.com-20121015141731-0nssfnal6lmua9ap
2012-10-15 16:17:31 +02:00
Christophe Matthieu
a88378cd4c
[IMP]mail: stared/unstared
...
bzr revid: chm@openerp.com-20121012152505-1rmms2k10vjr3yd4
2012-10-12 17:25:05 +02:00
Christophe Matthieu
fea03dc5d4
[IMP]mail: access/expandable
...
bzr revid: chm@openerp.com-20121012132600-wudojx5l17ptiugy
2012-10-12 15:26:00 +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
49a174df57
[IMP] chatter, follower: html/js for css imp
...
bzr revid: chm@openerp.com-20121010181611-rl167r9h0ejz8zdu
2012-10-10 20:16:11 +02:00
Christophe Matthieu
20d8b0fc76
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20121010112018-oswe04e2j0o95dry
2012-10-10 13:20:18 +02:00
Olivier Dony
7f516d2835
[FIX] mail.message: incorrect message-id generation, id/model were swapped
...
For backwards-compatibility reasons we need to stick
with this format: `res_id-model`, even if reversing
the values would look more logical
bzr revid: odo@openerp.com-20121009135040-spvejc1l4mos25yv
2012-10-09 15:50:40 +02:00
Christophe Matthieu
2e4a6953c4
[IMP] mail: attachment
...
bzr revid: chm@openerp.com-20121009132824-dsl7f02hxfpypc0w
2012-10-09 15:28:24 +02:00
Olivier Dony
099825109e
[FIX] mail.message: catch more error cases when trying to resolve msg author + lint cleanup
...
bzr revid: odo@openerp.com-20121009131911-6lo2knsrh2qgrxv8
2012-10-09 15:19:11 +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
9ca47b7f99
[IMP]mail chatter: wizard liked
...
bzr revid: chm@openerp.com-20121005122741-a0hwb656ww61qcro
2012-10-05 14:27:41 +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
Antony Lesuisse
3c26ec305a
[IMP] mail: move the code from publisher_warranty to mail
...
bzr revid: stw@openerp.com-20121004044624-hwa3kztl58zrjguh
2012-10-04 06:46:24 +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
Christophe Matthieu
27d3070220
[IMP] mail: private message
...
bzr revid: chm@openerp.com-20121003142712-rkadw5oii3tt5o1u
2012-10-03 16:27:12 +02:00
Christophe Matthieu
40f04361c0
fixes
...
bzr revid: chm@openerp.com-20121003100952-e5v8ncgshra3uitc
2012-10-03 12:09:52 +02:00
Christophe Matthieu
775f0d32de
[IMP]mail: domain/search
...
bzr revid: chm@openerp.com-20121003084029-jc184upr1i1bmk4l
2012-10-03 10:40:29 +02:00
Christophe Matthieu
c28a29c44c
[IMP]mail: expandable py
...
bzr revid: chm@openerp.com-20121003072845-64bufx2dj3qdpjm2
2012-10-03 09:28:45 +02:00
Christophe Matthieu
09763017a5
[IMP]mail: read_more with expandable, debug
...
bzr revid: chm@openerp.com-20121002151245-yhltbv3r9fo16qek
2012-10-02 17:12:45 +02:00
Christophe Matthieu
1ab943d7f0
[IMP]mail: read_more with expandable
...
bzr revid: chm@openerp.com-20121002134843-fzci9tizw6pxsra4
2012-10-02 15:48:43 +02:00
Christophe Matthieu
8cafaceb4a
[MERGE]from trunk-openchatter-chm
...
bzr revid: chm@openerp.com-20121002105328-1u9qk83fb5jz9teh
2012-10-02 12:53:28 +02:00
Christophe Matthieu
b6bb3fbde1
[IMP]mail: js
...
bzr revid: chm@openerp.com-20121002105235-pxap9qmfht35mc7z
2012-10-02 12:52:35 +02:00
Fabien Pinckaers
ee5f1e57ff
[FIX] tests on mails
...
bzr revid: fp@openerp.com-20121001210653-ss4uqv7ij1mobuwc
2012-10-01 23:06:53 +02:00
Christophe Matthieu
f0e4dfe42f
[IMP] mail: js, xml, Full reply; py read_message
...
bzr revid: chm@openerp.com-20121001175225-g27s6gtn2fmullgo
2012-10-01 19:52:25 +02:00
Christophe Matthieu
c75b23c95d
[IMP]mail: loader, vote, js and xml
...
bzr revid: chm@openerp.com-20121001093633-o0awtxy60prsj78f
2012-10-01 11:36:33 +02:00
Christophe Matthieu
24aea1657c
[IMP] mail
...
bzr revid: chm@openerp.com-20120928145147-3g5iptsnknvbh4py
2012-09-28 16:51:47 +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