Christophe Matthieu
8d41ea91d8
[FIX] mail: Get attachment of a message with a SUPPERUSER_ID when the user can access to the message
...
bzr revid: chm@openerp.com-20121130134356-vbukzwgk2mj9dq51
2012-11-30 14:43:56 +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
Quentin (OpenERP)
e786a1675b
[MERGE] trunk
...
bzr revid: qdp-launchpad@openerp.com-20121130091824-e3xhak3k9z2anihv
2012-11-30 10:18:24 +01:00
Thibault Delavallée
9f84bbddfb
[IMP] mail: message_unread searchable field now returns a domain. This domain is quite complex, because it bypasses limitations of the _auto_join feature used on message_ids. It should be: message_ids.read = False. However, it takes into account the one2many model, as well as to_read being a function field also searchable. Ths parsing is not capable to handle this kind of thing correctly now without using an ugly hack. Updated _search_to_read and _search_starred.
...
bzr revid: tde@openerp.com-20121129144253-i9e7m2kqjteq8ajr
2012-11-29 15:42:53 +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
Thibault Delavallée
a293a948a6
[IMP] mail: when starring a message, create an unread notification if it does not exist; otherwise, set the notification as unread.
...
bzr revid: tde@openerp.com-20121128151939-v24cfx8k2aul8veg
2012-11-28 16:19:39 +01:00
Thibault Delavallée
2fcaf2252c
[IMP] mail_message model: now uses _auto_join.
...
bzr revid: tde@openerp.com-20121127181138-1mdebb6ehal2r973
2012-11-27 19:11:38 +01:00
Josse Colpaert
bf172d2959
[MERGE] merge from trunk
...
bzr revid: jco@openerp.com-20121126140054-0p35u0qd38k51w84
2012-11-26 15:00:54 +01:00
Josse Colpaert
7dbe9bc58a
[IMP] clean-up fp
...
bzr revid: jco@openerp.com-20121121144932-fmsldkrtngb097r8
2012-11-21 15:49:32 +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
3c8f8915b2
[FIX] mail: expandables: expandable was placed at a wrong place in the message list.
...
bzr revid: tde@openerp.com-20121114155810-q284caaual2sk8ka
2012-11-14 16:58:10 +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
Thibault Delavallée
0e2a8ad21f
[IMP] mail_message: added some indexes and explanations in the model fields.
...
bzr revid: tde@openerp.com-20121112140408-c3v4bb4gm5i2yl5e
2012-11-12 15:04:08 +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
acb1156ee5
[FIX] mail: fixed bug adding signature of partners without users, therefore without signature field; fixed message_id of mail.message without model,res_id, that were not granted a message_id, therefore generated when sending a mail.mail, therefore breaking parent relationship based on message_id. Also fixed content_subtype of message coming from message_process.
...
bzr revid: tde@openerp.com-20121108164138-8jp2340t6s2sa9hd
2012-11-08 17:41:38 +01:00
Thibault Delavallée
935964a710
[IMP] mail: mail_message: some string made more understandable.
...
bzr revid: tde@openerp.com-20121107172237-iqe5ay844eh2zsm5
2012-11-07 18:22:37 +01:00
Thibault Delavallée
f9829bbb93
[FIX] mail_thread: in message_parse, correctly set partner_ids of the message dict. By the way small things in amil module.
...
bzr revid: tde@openerp.com-20121107105148-6o1dvu7f4ms24rbx
2012-11-07 11:51:48 +01:00
Thibault Delavallée
c0e139bd4b
[IMP] mail: displayed messages now goe through html_email_clean to clean their content; added a css because we now have lots of <p> in chatter messages, and default margin is quite big (to be improved maybe); updated demo data.
...
bzr revid: tde@openerp.com-20121107085926-9g609zgmkg4kieqc
2012-11-07 09:59:26 +01:00
Christophe Matthieu
e9a24477a8
[FIX] mail: display 'Compose a new message' button; Limit messages: 30
...
bzr revid: chm@openerp.com-20121107082442-t48a3fqheme0r0h4
2012-11-07 09:24:42 +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
Thibault Delavallée
13a49a855c
[IMP] mail: updated notified_partner_ids field string and help; udpated demo data; updated __init__ to avoid issues with non existing columns in mail_favorite.
...
bzr revid: tde@openerp.com-20121102142322-prq9vvtec93u9mah
2012-11-02 15:23:22 +01:00
Thibault Delavallée
db19771e06
[FIX] mail_message: added a rec_name, because otherwise many2one widget crashes, because the name field does not exist.
...
bzr revid: tde@openerp.com-20121102104604-gyug2jgdm35xhh67
2012-11-02 11:46:04 +01:00
Thibault Delavallée
455a076050
[FIX] mail: fixed an order issue with expandables.
...
bzr revid: tde@openerp.com-20121102102248-juqo5b21wmn6ywl8
2012-11-02 11:22:48 +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
da31d41d85
[REF] mail: refactored message_read. It nows re-uses browse record instead of a read, to lessen the number of queries. Some optimizations have been added about queries. message_read now also sorts the messages, not the JS anymore.
...
bzr revid: tde@openerp.com-20121031154026-vx7s1ucag4kgb7nn
2012-10-31 16:40:26 +01:00
Thibault Delavallée
eb6735f6bc
[REV] Reverted fix about last_id, only python-side.
...
bzr revid: tde@openerp.com-20121031153500-0kjazjc9a2gq6p94
2012-10-31 16:35:00 +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
Christophe Matthieu
fd0b674f5c
[IMP] mail: last_id (js/py)
...
bzr revid: chm@openerp.com-20121031090931-gloqsggi3j276jpj
2012-10-31 10:09:31 +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
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
Thibault Delavallée
9014be7ca4
[CLEAN] mail: cleaned code before merging, removed debug and print statements.
...
bzr revid: tde@openerp.com-20121026123604-l4j4e1ta26hw6fur
2012-10-26 14:36:04 +02:00
Thibault Delavallée
daeccb5ab2
[IMP] mail: added a quote context to email notifications. This is a first basic implementation with a dummy template that will have to be improved. Updated tests. TOFIX: some of the tests will have to be cleaned a bit.
...
bzr revid: tde@openerp.com-20121026113336-s18129kmn2df4lhs
2012-10-26 13:33:36 +02:00
Thibault Delavallée
e1bbbad62f
[IMP] mail: ancestor_id -> back to parent_id; message_post force the parent to be the oldest ancestor.
...
bzr revid: tde@openerp.com-20121026080005-ns2vicwdksr515ll
2012-10-26 10:00:05 +02:00
Thibault Delavallée
95ce9afb67
[IMP] mail: mail_message.record_name is now store=True, removing a lot of access right checks and document reads. Also forced the parent_id to be the first ancestor of a thread.
...
bzr revid: tde@openerp.com-20121025151123-s3qiodtf8xm7huvq
2012-10-25 17:11:23 +02:00
Thibault Delavallée
82398c12c8
[FIX] mail: mail_message from field renamed to email_from, because of reserved word. Various fixes.
...
bzr revid: tde@openerp.com-20121025135020-83h1cybp6um53uq5
2012-10-25 15:50: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
Thibault Delavallée
12a3bacf8c
[FIX] message_read: giving ids is now just a way to avoid using the domain; everything else is the same.
...
bzr revid: tde@openerp.com-20121025075110-3re19dkvyxix8q76
2012-10-25 09:51:10 +02:00
Thibault Delavallée
25084cb88c
[CLEAN] mail_message: cleaned a bit methods about access rules.
...
bzr revid: tde@openerp.com-20121024155329-8rf0610r69ay0c93
2012-10-24 17:53:29 +02:00
Thibault Delavallée
b1122deb38
[IMP] mail: added _search override on mail_message, to filter the results of a search according to our custom rules. Added some tests.
...
bzr revid: tde@openerp.com-20121024141806-8iayf7cz2ndxyz2l
2012-10-24 16:18:06 +02:00
Christophe Matthieu
b38521f779
[MERGE] from trunk-mail-concreting-tde
...
bzr revid: chm@openerp.com-20121023140922-03ocuuc122ywa0a4
2012-10-23 16:09:22 +02:00
Thibault Delavallée
b4bcff666a
[FIX] mail: message_read: ancestor_id is set in thread mode as the first displayed ancestor; ancestor_id is set to parent_id parameter in flat mode.
...
bzr revid: tde@openerp.com-20121023132755-dp29bake9eux5vz7
2012-10-23 15:27:55 +02:00
Thibault Delavallée
7bae2a58fe
[FIX] mail: message_read: expandable parent_id -> ancestor_id; ancestor is now correctly set for messages, even when the parent is not added to the message_list.
...
bzr revid: tde@openerp.com-20121023122824-yqhsr65cwygorani
2012-10-23 14:28:24 +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
Thibault Delavallée
a013e6e62f
[IMP] [WIP] mail: expandables now limited to one level (using a child_of based domain); simplified code. message_read updated to fetch the oldest possible ancestor, not all direct parents. Updated some tests. Still WIP, will be continued tomorrow.
...
bzr revid: tde@openerp.com-20121022164638-gqe5af1uxvl5h043
2012-10-22 18:46:38 +02:00
Christophe Matthieu
739694db06
[IMP] mail: concat expandable messages
...
bzr revid: chm@openerp.com-20121022133247-oen01b8ozq2cozhk
2012-10-22 15:32:47 +02:00
Thibault Delavallée
c186168b71
[REM] mail_message: removed max_limit arg of expandables.
...
bzr revid: tde@openerp.com-20121022114502-dgod5p1u4ixmdcla
2012-10-22 13:45:02 +02:00
Thibault Delavallée
ebd9ceba11
[FIX] mail_message: fixed default args for message_read, using list assignation in args could lead to weird default parameter args because of the method re-using the same list.
...
bzr revid: tde@openerp.com-20121022113651-u0yn40e8zltwbf4f
2012-10-22 13:36:51 +02:00
Christophe Matthieu
a97b20d1ec
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20121022075824-hnyaunrv8wjd16bz
2012-10-22 09:58:24 +02:00
Thibault Delavallée
1fbee6cb3c
[WIP] mail: tests: WIP about comments and tests about message_read. Will be continued later.
...
bzr revid: tde@openerp.com-20121019140439-u64d06em0z7eax0m
2012-10-19 16:04:39 +02:00
Christophe Matthieu
491034ed0a
[FIX] mail: to_read value of _message_get_dict
...
bzr revid: chm@openerp.com-20121019131358-xn3b8yyepscsrad7
2012-10-19 15:13:58 +02:00
Christophe Matthieu
35b6725f3f
[FIX] mail: sort of expandable message
...
bzr revid: chm@openerp.com-20121019123816-dzortu46e3fofmxp
2012-10-19 14:38:16 +02:00
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
Christophe Matthieu
dfa34c0254
[IMP] mail: auto open and close the compose form on the threads
...
bzr revid: chm@openerp.com-20121019113951-pz44iipv45misvgk
2012-10-19 13:39:51 +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
Christophe Matthieu
97d11807aa
[MERGE] form trunk-openchater-mailbox-chm
...
bzr revid: chm@openerp.com-20121019090252-66g96eu83bvernbv
2012-10-19 11:02:52 +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
Atul Patel (OpenERP)
7d03e6bd0f
[MERGE]: Merged with lp:openobject-addons
...
bzr revid: atp@tinyerp.com-20121001060438-laikbtaqxu0xq59m
2012-10-01 11:34:38 +05:30
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
Christophe Matthieu
523d10017e
[IMP] mail/chatter: in progress
...
bzr revid: chm@openerp.com-20120927134823-tkwllczna72hb1th
2012-09-27 15:48:23 +02:00
Christophe Matthieu
4ddb50dbf9
[IMP] mail: subtype adapted for css onhover box
...
bzr revid: chm@openerp.com-20120926071709-v51ra4mzn2hp121j
2012-09-26 09:17:09 +02:00
Atul Patel (OpenERP)
1283e945bd
[MERGE]: Merged lp:~openerp-dev/openobject-addons/trunk-mail_message_read_unread-atp-read_unread-nco
...
bzr revid: atp@tinyerp.com-20120921121216-gcan2n01zk4u3xnv
2012-09-21 17:42:16 +05:30
Christophe Matthieu
fa63653de9
[MERGE] from trunk-mail-mail-rules-tde
...
bzr revid: chm@openerp.com-20120921095037-czl4s3v0do11yhkq
2012-09-21 11:50:37 +02:00
Christophe Matthieu
f859eab08a
[MERGE] from trunk-message_read-tde
...
bzr revid: chm@openerp.com-20120921084703-c4j4byp65tbx9i55
2012-09-21 10:47:03 +02:00
Thibault Delavallée
a514ed0208
[FIX] message_read: added back the limit, removed for ... well, I do not know.
...
bzr revid: tde@openerp.com-20120920151819-kra9h7nqzw7fq12d
2012-09-20 17:18:19 +02:00
Thibault Delavallée
3774f6d545
[IMP] [FIX] Chatter: fixed load more, message_read and expandables. Cleaned tests.
...
bzr revid: tde@openerp.com-20120920144645-o92edguwjzws3t3e
2012-09-20 16:46:45 +02:00
Thibault Delavallée
91cd539541
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120920125938-brd60c8kf6zpy20a
2012-09-20 14:59:38 +02:00
Thibault Delavallée
ed3518d858
[CLEAN] Cleaned subtype model, implementation and tests. Added a message_subtype_data field, holding data about subtypes. This will allow to avoid doing too much calls from the front-end.
...
bzr revid: tde@openerp.com-20120920101704-cri6zq7sqi7y660b
2012-09-20 12:17:04 +02:00
Thibault Delavallée
fa27dde6c9
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120919111000-w3xmyatd6new8ghm
2012-09-19 13:10:00 +02:00
Thibault Delavallée
470c0fa818
[IMP] mail_mesage: fixed message_dict_get (getting values is now inside try/except, not having access rigths on some details of the mail.message should not crash, just hide the data); My Feeds -> My Posts; mis cleaning in mail.js, xml and css.
...
bzr revid: tde@openerp.com-20120919101339-d1k16lxk5e4gwxxg
2012-09-19 12:13:39 +02:00
Thibault Delavallée
585ec570d2
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120918155905-rkdtkuu559ii0e6p
bzr revid: tde@openerp.com-20120919075051-zjxrbcbltrlp8h4k
2012-09-19 09:50:51 +02:00
Nimesh (Open ERP)
b343ad5f0c
[MERGE] merge with lp:~openerp-dev/openobject-addons/trunk-mail_message_read_unread-atp
...
bzr revid: nco@tinyerp.com-20120919055149-50at76nd566vbbp0
2012-09-19 11:21:49 +05:30
Thibault Delavallée
2183358164
[CLEAN] mail: vote: cleaned before merging.
...
bzr revid: tde@openerp.com-20120918150544-2pgwh1mhi5yyqi22
2012-09-18 17:05:44 +02:00
Nimesh (Open ERP)
bbf40f3d7e
[IMP] impove the read message to set msg read.
...
bzr revid: nco@tinyerp.com-20120918122359-uppqkoba9xxj8jst
2012-09-18 17:53:59 +05:30
Thibault Delavallée
cd7bf7b2d2
[CLEAN] mail: vote backend: cleaned code.
...
bzr revid: tde@openerp.com-20120918122139-543zxiuxytdzlqtk
2012-09-18 14:21:39 +02:00
Nimesh (Open ERP)
4b68f64473
[ADD] add context to client action and improve read method for set read message by user.
...
bzr revid: nco@tinyerp.com-20120918084731-eed2ssuzhw7woi78
2012-09-18 14:17:31 +05:30
Thibault Delavallée
6433a61ec4
[FIX] mail_message: in check_access_rules, use self._table instead of hadcodded mail_message; fix a bug hwen using mail_compose_message. TODO: check if this model has to use the rule checking or not.
...
bzr revid: tde@openerp.com-20120917160435-9ktdy4vpznvwr51s
2012-09-17 18:04:35 +02:00
Thibault Delavallée
3f63690a5a
[FIX] mail_message: in a search of function field on mail.message, replaced a browse by a read, to avoid access rights issues (user.partner_id).
...
bzr revid: tde@openerp.com-20120917095110-w5lxoykyrk3aa3yf
2012-09-17 11:51:10 +02:00
Thibault Delavallée
f641508fe3
[FIX] mail_message: fixed check_access_rule and misc acces issues.
...
bzr revid: tde@openerp.com-20120914161633-bpg65bl6i0wxu8k2
2012-09-14 18:16:33 +02:00
Thibault Delavallée
2909c507af
[FIX] mail_message: message_read evaluates the message domain as SUPERUSER (because even anonymous people will have a wall, and therefore evaluate notifications.partner_id.users_ids).
...
bzr revid: tde@openerp.com-20120914122139-dv1xlinpgvd4dw7g
2012-09-14 14:21:39 +02:00
Thibault Delavallée
9a9a56fa49
[WIP] [FIX] mail: fixing access rights: second turn of update.
...
bzr revid: tde@openerp.com-20120914115107-mtgu8soy3ck5xgir
2012-09-14 13:51:07 +02:00
Sanjay Gohel (Open ERP)
2abba24ef3
[MERGE]merge with parent branch
...
bzr revid: sgo@tinyerp.com-20120914053347-u28fihi7mcetup4j
2012-09-14 11:03:47 +05:30
Sanjay Gohel (Open ERP)
a807b57f4e
[MERGE]merge with trunk addons
...
bzr revid: apa@tinyerp.com-20120911054811-24s3e1perqf7x1wo
bzr revid: apa@tinyerp.com-20120911084547-trlru6t8r1dv1yhd
bzr revid: apa@tinyerp.com-20120912050215-glxhb94pu2aed5fz
bzr revid: apa@tinyerp.com-20120913050959-re58fqvnaqrhgzg0
bzr revid: sgo@tinyerp.com-20120914053201-khnzm9ei7rpjcp7u
2012-09-14 11:02:01 +05:30
Atul Patel (OpenERP)
9883a6c825
[MERGE]: Merged with lp:openobject-addons
...
bzr revid: atp@tinyerp.com-20120912174620-3kjdtcy77wihgeg7
bzr revid: atp@tinyerp.com-20120914044722-xu7x32rzapnl50tp
2012-09-14 10:17:22 +05:30
Thibault Delavallée
f6ed42db86
[WIP] [FIX] mail: fixing access rights + related tests. WIP, already fixed mail.group and mail.alias, not readable by anonymous not-employee users.
...
bzr revid: tde@openerp.com-20120913170500-um93rzw0nq6njl39
2012-09-13 19:05:00 +02:00
Thibault Delavallée
3180b4def5
[CLEAN] mail: cleaned mail-invite before merging. Updated some methods and var names; updated some comments.
...
bzr revid: tde@openerp.com-20120913154844-i5tikncn3sxepk34
2012-09-13 17:48:44 +02:00
Thibault Delavallée
b2c79d266b
[FIX] mail_message: fixed record_name, because we could call a name_get on a document we can not see (if we are in the recipints of a document we can not access). name_get is therefore inside a try/except statement, getting a void string as result if AccessDenied is raised. Updated JS to avoid displaying the record name on a void string.
...
bzr revid: tde@openerp.com-20120913121110-bd0syf813h0e39gk
2012-09-13 14:11:10 +02:00
Sanjay Gohel (Open ERP)
b6e298534c
[MERGE]merge with parent branch
...
bzr revid: sgo@tinyerp.com-20120913053647-12otf3bev3rap3l7
2012-09-13 11:06:47 +05:30
Atul Patel (OpenERP)
f09dca2042
[MERGE]: Merged lp:~openerp-dev/openobject-addons/trunk-openchatter-mail_vote-part-4-atp-vote_improvemet-nco with some improvement..
...
bzr revid: atp@tinyerp.com-20120912165720-kqkochsbub3ootkz
2012-09-12 22:27:20 +05:30
Thibault Delavallée
2b7112d7ae
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120912142748-mnsaftqea2anwkrc
2012-09-12 16:27:48 +02:00
Thibault Delavallée
828ed33de7
[ADD] mail: added Invite wizard, allowing to add partners to the followers.
...
bzr revid: tde@openerp.com-20120912133522-af5dvae1rmburfwy
2012-09-12 15:35:22 +02:00
Nimesh (Open ERP)
2b8e7613a0
[IMP] reduce the call when rendering vote, do the related changes in py, and improve the code for js and py
...
bzr revid: nco@tinyerp.com-20120912125623-ffrhgf84ttosjx44
2012-09-12 18:26:23 +05:30
Sanjay Gohel (Open ERP)
ce39ffe927
[IMP]changed as per new spec update and make it work for crm changes done in crm
...
bzr revid: sgo@tinyerp.com-20120912112245-3cp03024fiqb47qs
2012-09-12 16:52:45 +05:30
Thibault Delavallée
dfa14420d2
[WIP] mail_message: continued work on message_read and expandables.
...
bzr revid: tde@openerp.com-20120911120117-xeeercvglfwq3c9e
2012-09-11 14:01:17 +02:00
Thibault Delavallée
741bbaa9f4
[WIP] mail_message.message_read(): WIP about having correct expandables. Will be updated next week.
...
bzr revid: tde@openerp.com-20120907160920-4ijs93y9ogp39xma
2012-09-07 18:09:20 +02:00
Atul Patel (OpenERP)
e82782e1f6
[FIX]: replace vote_user_ids inplace of vote_ids.
...
write or update vote_ids
bzr revid: atp@tinyerp.com-20120907121028-oyklpcccxb0ewv21
2012-09-07 17:40:28 +05:30
Thibault Delavallée
910bc5f00a
[REV] Reverted hack about attachments, that was not good.
...
bzr revid: tde@openerp.com-20120907115422-zfynv8pdsxk5p3vg
2012-09-07 13:54:22 +02:00
Thibault Delavallée
9b9bdae9e0
[IMP] composer: attachments are attached to the mail.compose.message record, not the related document anymore. This way, when deleting the mail.compose.message, attachments will be unlinked. Added deletion cascaded to res_model and res_id = 0, because of attachments added on a not-already-saved composer. BTW, cleaned mail/__openerp__.py.
...
bzr revid: tde@openerp.com-20120906134201-8845xov0mjbxh8mr
2012-09-06 15:42:01 +02:00
Thibault Delavallée
a1fe453223
[IMP] mail_message: attachments deleted when unlinking are those with model=self._name, not only 'mail.mesage'. This allows to remove the unlink override in mail.compose.message.
...
bzr revid: tde@openerp.com-20120906125217-27nlyveznh12bk63
2012-09-06 14:52:17 +02:00
Atul Patel (OpenERP)
d3ba827de7
[MERGE]: Merged with lp:openobject-addons
...
bzr revid: atp@tinyerp.com-20120906113441-sutt7m5zv1wa0814
2012-09-06 17:04:41 +05:30
Thibault Delavallée
8303bef9ba
[IMP] Chatter: added support for attachments.
...
bzr revid: tde@openerp.com-20120906111444-n7bsjv0f10p9c3x4
2012-09-06 13:14:44 +02:00
Sanjay Gohel (Open ERP)
4707ee56a9
[IMP]add context to the method
...
bzr revid: sgo@tinyerp.com-20120906094123-ua4zxhot0z3wgd7g
2012-09-06 15:11:23 +05:30