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 |