Commit Graph

163 Commits

Author SHA1 Message Date
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 b6bb3fbde1 [IMP]mail: js
bzr revid: chm@openerp.com-20121002105235-pxap9qmfht35mc7z
2012-10-02 12:52:35 +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 5edca09558 [IMP] mail: js, xml, Full reply
bzr revid: chm@openerp.com-20121001164414-945a1acws46ba0xr
2012-10-01 18:44:14 +02:00
Christophe Matthieu d9c3a5ff0d [IMP] mail: js, xml
bzr revid: chm@openerp.com-20121001110335-aj1omzayoo0ati8k
2012-10-01 13:03:35 +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 64ef7a45cd [IMP]mail: js split object thread in thread + threadMessage
bzr revid: chm@openerp.com-20120929211924-focsoqj642403lvk
2012-09-29 23:19:24 +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
Christophe Matthieu c328ab9afe [IMP]mail: show more, domain. bzr status! test in conment for error
bzr revid: chm@openerp.com-20120927161558-6e5w2tblg64bltmu
2012-09-27 18:15:58 +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 bc85a60e8e [IMP] mail: read/unread with propagation; browse_thread on js
bzr revid: chm@openerp.com-20120927083056-o8s4h0pehsjdzw5j
2012-09-27 10:30:56 +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
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
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 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 389a7fc364 [MERGE] Merged vote system in Chatter.
Adds a +1 / -1 on displayed messages in Chatter. Those links allow to vote
or unvote for a given messages.
Purpose: being able to build a Chatter, using a ranking based on votes instgead
of date or ids. This will be used in a future vote-based FAQ.

bzr revid: tde@openerp.com-20120918152401-z6m38b1vllz4ckgi
2012-09-18 17:24:01 +02:00
Thibault Delavallée 76d1e4dad5 [CLEAN] mail: vote: cleaned frond-end. Improved XML of vote template; this template is now directly called when rendering the message. Re-binded the vote event, cleaned function called on voting and rendering system. Added a records var on thread, holding the message values. Cleaned CSS.
bzr revid: tde@openerp.com-20120918122315-t41hgufdz71qil1z
2012-09-18 14:23:15 +02:00
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 e4e21105b2 [FIX] mail.xml: fixed &, now classic ands.
bzr revid: tde@openerp.com-20120913161121-qc4m3ijwz1tbrmld
2012-09-13 18:11:21 +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
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
Thibault Delavallée 6de7585204 [CLEAN] mail.js: cleaned init of Thread widget (do not pass everything in options, but explicitely domain, context, options). Cleaned some var names, propagated change in code. Added reply_by_email for a reply link that does a quote and reply. Dropdown options are now prefixed with a dd.
bzr revid: tde@openerp.com-20120912102217-q6xnkn749how9en4
2012-09-12 12:22:17 +02:00
Thibault Delavallée ab82f7a9ac [IMP] mail.js: fixed cleaning of composer after posting a comment; cleaned a bit js and css.
bzr revid: tde@openerp.com-20120912092143-7bih2gmoa3tm1jyn
2012-09-12 11:21:43 +02:00
Thibault Delavallée 1bd02156eb [IMP] mail.js: cleaned link behavior (not href anymore, delegated function for message_delete and message_read).
bzr revid: tde@openerp.com-20120911163853-y7g769dp53jym028
2012-09-11 18:38:53 +02:00
Thibault Delavallée 309e2353c6 [CLEAN] mail.js: some cleaning in Wall and RecordThread.
bzr revid: tde@openerp.com-20120911162415-altimitaw1nz2r03
2012-09-11 18:24:15 +02:00
Thibault Delavallée 8aba3e0210 [IMP] Chatter: added option to delete attachments in composer.
bzr revid: tde@openerp.com-20120911161700-ty7h844h6f0t7nea
2012-09-11 18:17:00 +02:00
Thibault Delavallée dde8c1891d [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120911120604-jrnalik4zl1pyq2z
2012-09-11 14:06:04 +02:00
Atul Patel (OpenERP) 82b35507c6 [MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20120911045632-7ohufuop8vspr0g2
2012-09-11 10:26:32 +05:30
Thibault Delavallée 871cd8ce33 [FIX] mail.js: fixed links to related record in chatter, model and res_id were incorrect.
bzr revid: tde@openerp.com-20120910083200-iqq5m9l1jxghfpr9
2012-09-10 10:32:00 +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 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
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
Olivier Dony 41e16c6592 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20120905163135-9f6q0ghri1kq6z75
2012-09-05 18:31:35 +02:00
niv-openerp 8c89e963c8 wip
bzr revid: nicolas.vanhoren@openerp.com-20120905080402-mimiog42gosrb437
2012-09-05 10:04:02 +02:00
niv-openerp 904f66730c fix
bzr revid: nicolas.vanhoren@openerp.com-20120904164007-u45aey3w6zssht0w
2012-09-04 18:40:07 +02:00
niv-openerp 5126f6ff6e wip
bzr revid: nicolas.vanhoren@openerp.com-20120904163725-ptsij09rve8j3txs
2012-09-04 18:37:25 +02:00
Thibault Delavallée 9c26c8e000 [IMP] mail: cleaning of the Chatter front-end.
Wall and Wall-like group menu entries: now use the correct
contexts to give to the composer.
res_users: posting on the user consists in posting on the
related partner. TODO: clean that when we have cleared our
minds about what to do when posting in the wall.
xml, css: small cleanup of dead code
mail.js: propagated the use of 'default_' values in the
various contexts (Wall, RecordThread, Thread, ComposeMessage);
cleaned do_action overrides; general cleanup of the code
and options propagation.

bzr revid: tde@openerp.com-20120903152025-bzchl603mzuhggn4
2012-09-03 17:20:25 +02:00
Thibault Delavallée b5cd423bca [FIX] Chatter: tried to fix the display on Wall / document.
bzr revid: tde@openerp.com-20120827085145-7v4l5cz6u7lhsajw
2012-08-27 10:51:45 +02:00
Thibault Delavallée 4e6e86fab5 [IMP] [CLEAN] [WIP] composer: cleaning of the server-side code. It now relies less on context keys and values; some fields have been added to manage the composition mode, model, res_id and message_id as a classic form. Updated form view, with invisible fields, to have those value accessible and modifiable through onchange or through JS. Updated JS-part of the composer to handle the new composer; less options, less logic client-side ! Still not finished, short in time today (have to check mass_mail, templates).
bzr revid: tde@openerp.com-20120822162151-n9o23ik0v45h7v6j
2012-08-22 18:21:51 +02:00
Atul Patel (OpenERP) 59f1418678 [MERGE]: Merged with lp:openobject-addons
bzr revid: atp@tinyerp.com-20120817060036-w1e3jszyl0lfzxza
bzr revid: atp@tinyerp.com-20120820044311-6uyro54m5rgwe6kb
bzr revid: atp@tinyerp.com-20120821044929-mo7pi3ptjikz0xb7
bzr revid: atp@tinyerp.com-20120822043827-r3wdrn27ihr13r5p
bzr revid: atp@tinyerp.com-20120822102435-g2sgjoi0pufbvnjr
2012-08-22 15:54:35 +05:30
Thibault Delavallée eeb7878d43 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120821150936-0pvvttbq6w3t2byi
2012-08-21 17:09:36 +02:00
Thibault Delavallée c277a22f4d [CLEAN] mail.js: cleaned Wall and RecordThread. Deleted code in wall related to message_fetch, display and fetch more. Deleted dead XML and CSS.
bzr revid: tde@openerp.com-20120821114128-mwu6av0n52r2tbww
2012-08-21 13:41:28 +02:00
Thibault Delavallée 5872ed6bd3 [WIP] [CLEAN] mail.js: continuing the cleaning and refactoring. Wall and recordthread seems to basically work (not the 'fetch more' feature). Cleaned function name, duplicate code, ...
bzr revid: tde@openerp.com-20120821104345-1ithukovq0a1tv76
2012-08-21 12:43:45 +02:00
Thibault Delavallée 5562931eab [WIP] [CLEAN] mail.js: massive refactoring / cleaning of code, part 1: all logic delegated to the Thread widget, to avoid code duplication (Thread and Wall); Wall and RecordThread should be as small as possible, without specific logic or message fetching. WIP commit.
bzr revid: tde@openerp.com-20120821092015-u8q1osikpgf12pq6
2012-08-21 11:20:15 +02:00
Fabien Pinckaers 11ab424912 [IMP]
bzr revid: fp@tinyerp.com-20120820191058-kpjymskvxdasoq6c
2012-08-20 21:10:58 +02:00
Thibault Delavallée daf0f7412e [WIP] mail.js: first cleaning of Wall.
bzr revid: tde@openerp.com-20120820130730-lpjt9wpj7ggqq4yv
2012-08-20 15:07:30 +02:00
Fabien Pinckaers c086239c31 [MERGE] trunk mit
bzr revid: fp@tinyerp.com-20120817072348-jbp3jgtufpeme1wi
2012-08-17 09:23:48 +02:00