Commit Graph

772 Commits

Author SHA1 Message Date
Denis Ledoux 0021fa977d Revert "[FIX] mail: read more show original message"
This reverts commit 0790682296.

This fix is not yet ready. See PR #3295
2014-10-28 13:43:25 +01:00
Denis Ledoux 0790682296 [FIX] mail: read more show original message
Instead of html cleaned html, to allow display blockquotes

opw-614729
2014-10-27 13:24:47 +01:00
Denis Ledoux 80017b04c2 [FIX] security: ir.config_parameter should not be readable by externals 2014-08-26 12:50:04 +02:00
Thibault Delavallée 3f2d24d1b7 [FIX] mail: Chatter widget: the RecordThread widget, that is
used to display the Chatter on documents, should use the
domain defined on the field. Indeed this domain is used when
computing the 'read more' expandable domains.
Before this fix it was not taken into account, leading to
messages being fetched without respecting the domain
defined on the field.

bzr revid: tde@openerp.com-20140109110709-iz2jxryg5xqjedo4
2014-01-09 12:07:09 +01:00
Thibault Delavallée 4998d09808 [FIX] mail: Chatter widget: keep void list of ids when fetching messages;
only specific false ids should be replaced by a domain.

bzr revid: tde@openerp.com-20140109100137-7yy9em3klefz77ij
2014-01-09 11:01:37 +01:00
Christophe Simonis 0d02d06675 [IMP] mail: announcement bar: hardcode close ttl + update link with dbuuid
bzr revid: chs@openerp.com-20131210174728-hgkbv609mwq8iuu5
2013-12-10 18:47:28 +01:00
Christophe Simonis 5520d73d5f [IMP] mail: announcement bar: no dblclick
bzr revid: chs@openerp.com-20131209192450-zacfq6i0xli7vjju
2013-12-09 20:24:50 +01:00
Christophe Simonis f8b889e1db [IMP] mail: announcement bar only for screen
bzr revid: chs@openerp.com-20131209192400-01jpkaofq1arqekz
2013-12-09 20:24:00 +01:00
Christophe Simonis eba79e46a5 [FIX] mail: correct announcement bar
bzr revid: chs@openerp.com-20131202114516-u0u44l3xbkk1zcbx
2013-12-02 12:45:16 +01:00
Denis Ledoux f07e01f491 [ADD]mail: The announcement bar (blue bar) to inform customers
bzr revid: dle@openerp.com-20131025153829-xu6mee27a4hajnk3
2013-10-25 17:38:29 +02:00
Thibault Delavallée 6bfcee2cb7 [FIX] mail: fixed replying to the first message in Inbox that was crashing
lp bug: https://launchpad.net/bugs/1212109 fixed

bzr revid: tde@openerp.com-20131125155349-4wfvjxuffnxyumkd
2013-11-25 16:53:49 +01:00
Denis Ledoux 22baa3253f [FIX]mail: backport of fix 8787 from saas-1 branch, rev-id: chm@openerp.com-20131003091603-rarztafazl56ugid
bzr revid: dle@openerp.com-20131003095400-wgfwaazfdfhho3vb
2013-10-03 11:54:00 +02:00
Olivier Dony 52379022db [FIX] OPW 586673: mail: make `read more/less` labels translatable
lp bug: https://launchpad.net/bugs/1165321 fixed

bzr revid: odo@openerp.com-20130606161837-1loqbdr269cr1udl
2013-06-06 18:18:37 +02:00
Thibault Delavallée 0816717526 [FIX] Chatter: fixed suggested recipients, when having no email, unchecking the box was not taken into account.
bzr revid: tde@openerp.com-20130524144224-wbi1o27regxed7mn
2013-05-24 16:42:24 +02:00
Thibault Delavallée 2a2a539be6 [FIX] chatter: yet another protection against reloading a non-existing menu
bzr revid: tde@openerp.com-20130508113952-29a1xk9holyvhc13
2013-05-08 13:39:52 +02:00
Olivier Dony aa68659e47 [FIX] mail: locate current menu using a safer method + check `undefined` case
bzr revid: odo@openerp.com-20130506133915-punpieubdyu1nxgl
2013-05-06 15:39:15 +02:00
Thibault Delavallée 5ab5c4b730 [FIX] mail: fixed a change introduced at revision 3911 that introduced a dependance between a revision in web and in addons: now addons revision is independant of the web revision.
bzr revid: tde@openerp.com-20130430100747-9fcrbdbso1v0prgg
2013-04-30 12:07:47 +02:00
Christophe Matthieu 14493f56ce [IMP] ir_ui_menu: trunk to 7.0 dynamic counters
bzr revid: chm@openerp.com-20130417133205-lx4lh53y6ak29cjc
2013-04-17 15:32:05 +02:00
Thibault Delavallée f994529725 [IMP] mail: finding partner based on email: improved code for suggested partners, added somme comments and tests.
bzr revid: tde@openerp.com-20130411101720-mumz152dsxvv1xbj
2013-04-11 12:17:20 +02:00
Thibault Delavallée f3a976fd53 [FIX] mail: fixed suggested recipients, not taking into account followers; when having multiple email addresses, this could lead to people being suggested based on email although they already are followers.
bzr revid: tde@openerp.com-20130326125311-xlt1lt1te28fcm1o
2013-03-26 13:53:11 +01:00
Thibault Delavallée 8b97805621 [FIX] mail: fixed some translation issues.
Document created text was not translatable
Subtype was fetched without context, therefore not translated
Removed odd override of _t introduced in mail_followers at revision 7885

bzr revid: tde@openerp.com-20130408092447-3ri41v6xluuj0wha
2013-04-08 11:24:47 +02:00
Thibault Delavallée 35b51a2efd [IMP] Chatter: improved footer of chatter messages: better differentiation of logged a note / send a message / system notification, with or without recipients.
bzr revid: tde@openerp.com-20130403145151-nvpeqdpp937079iu
2013-04-03 16:51:51 +02:00
ajay javiya (OpenERP) 8ecb77a59d [FIX]: mail chatter issue
bzr revid: aja@tinyerp.com-20130321125508-ixlskc9rnnalwcwl
2013-03-21 18:25:08 +05:30
Christophe Matthieu 6acf3838e6 [IMP] mail: remove reverse list inside on_expandable
bzr revid: chm@openerp.com-20130321084419-vx6owkvch4i8ekil
2013-03-21 09:44:19 +01:00
Christophe Matthieu 64046e182e [fix] mail: show more message always on flat mode
bzr revid: chm@openerp.com-20130320154643-nizd22s9ojzd363j
2013-03-20 16:46:43 +01:00
Christophe Matthieu 770b0cb380 [fix] mail: double clicking on post on the chatter
bzr revid: chm@openerp.com-20130320144101-5mz9mbar9j5vhppl
2013-03-20 15:41:01 +01:00
Thibault Delavallée ecd14f2181 [MERGE] Chatter and CRM: usability fixes and improvements
Chatter:
- now displays the 'To' of messages, aka notified people,
- now allows to Send a message or to Log a note, that is a message not pushed to anyone; however users that see the document still see the log message,
- fixed suggested recipient behavior: canceling the partner creation popup now correctly avoids creating a partner,
- moved 'Advanced wizard' button on top-right,
- unfollowing or removing someone from followers now displays a warning,
CRM, Recruitment, Issues:
- better management of customers/applicants: Chatter suggests to notify and add as follower the customer, or to create a partner based on the email_from,
CRM, Recruitment, Tasks, Issues:
- changing the user_id (salesman, responsible) still adds the related partner as follower; but now an unread notification is pushed, with the first email or first message if no email,
- updated and added if missing message_summary in kanban views, now displayed only when having unread messages, and the related number, to be more visible,
CRM:
- crm_partner_assign: fixed forward-to-partner wizard,
- crm_partner_assign: geo localization now also sets salesteam along with salesman,
- crm: fixed opportunity email_template,
- crm: removed 'Send mail' button, as the functionality should be covered by Chatter (but the code of the action is left untouched to avoid errors),
Mail:
- merged message_post and message_post_user_api because there was an opportunity to avoid doing similar things in two different methods,
- fixed email_from of incoming email not always stored,
- followers: authors of discussion messages are now added as followers, this is not only limited to incoming emails,
- followers: recipients of emails coming through the mail gateway are not automatically added as followers of the target documents,
- followers: slightly updated _notify, to be able to notify a partner of a specific message; the notification process is therefore accessible outside of the mail_message.create() process

bzr revid: tde@openerp.com-20130301101122-l18mr6hb0j5k4atv
2013-03-01 11:11:22 +01:00
Thibault Delavallée f70cc7c46b [IMP] Chatter: reason of adding someone added in tooltip.
bzr revid: tde@openerp.com-20130228172320-d0m7ibobhyfvtqht
2013-02-28 18:23:20 +01:00
Thibault Delavallée 718d38f056 [FIX] Chatter: mail_post_autofollow can be completed with mail_post_autofollow_partner_ids, that filters the recipients to subscribe. Purpose: suggested partners are added as followers, not people that could have been added after in the compose wizard.
bzr revid: tde@openerp.com-20130228164054-e3y3pdrygqph0dm2
2013-02-28 17:40:54 +01:00
Thibault Delavallée 6116b1e263 [FIX] Chatter: auto_follow back on suggested recipients.
bzr revid: tde@openerp.com-20130226132302-p156h39p9d8syxxt
2013-02-26 14:23:02 +01:00
Thibault Delavallée 093f37e7d5 [FIX] Chatter: log a note: going into full composer does not trigger recipint check anymore.
bzr revid: tde@openerp.com-20130226130047-1mqy5z1z1osa423w
2013-02-26 14:00:47 +01:00
Thibault Delavallée d2e1ff39cc [IMP] Chatter: full wizard composer does not display recipients in 'log' mode.
bzr revid: tde@openerp.com-20130226125038-bgpmfrmt3v44i870
2013-02-26 13:50:38 +01:00
Thibault Delavallée e4baaa666e [CLEAN] Chatter: removed log.
bzr revid: tde@openerp.com-20130226113327-ig0n4ou44nh82pm9
2013-02-26 12:33:27 +01:00
Thibault Delavallée 4d7579b357 [IMP] Chatter: mailboxes do not have "Share a message or Log a note", but the good ol' textarea like chatter.
bzr revid: tde@openerp.com-20130226100155-x38ub426vdpxr7b5
2013-02-26 11:01:55 +01:00
Thibault Delavallée 86720d6c1e [IMP] Chatter: Post and Log a note dead; now choice is done before posting, 2 links before opening the compose box.
bzr revid: tde@openerp.com-20130222143953-u89kmui5314zh09g
2013-02-22 15:39:53 +01:00
Thibault Delavallée 17451742f8 [FIX] Chatter: 'write to my followers' now correctly send the event.
bzr revid: tde@openerp.com-20130222101316-nlpjfxfj14yrxxco
2013-02-22 11:13:16 +01:00
Thibault Delavallée 4c98128d11 [IMP] mail: remove auto_follow on user_id field. Replaced by partner suggestion on user_id, based on message_get_suggested_partners called in Chatter. Improved JS code, to handle various case (partner without email, email without partner, partner with email).
bzr revid: tde@openerp.com-20130221184243-pu2tgtlanh34onpr
2013-02-21 19:42:43 +01:00
Thibault Delavallée e6d1208baa [IMP] mail: removed message_post_user_api, now everyone goes through message_post.
bzr revid: tde@openerp.com-20130221132647-kxbzzyo1bbhb67c4
2013-02-21 14:26:47 +01:00
Thibault Delavallée c3b6408715 [IMP] Chatter: refactoring of 'include new emails/partners' in Chatter compose. It does not create partner everytime; discarding the creation popup discards the creation and addition as recipient.
bzr revid: tde@openerp.com-20130220124923-w3e9hxomniphadj7
2013-02-20 13:49:23 +01:00
Thibault Delavallée cb2e28f59f [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130218090101-ye6f1gslafpg52bc
bzr revid: tde@openerp.com-20130220102822-aik3ywiz8n043e7x
2013-02-20 11:28:22 +01:00
Christophe Matthieu 093f3a12f2 [FIX] mail_followers: display_subtypes
bzr revid: chm@openerp.com-20130215111926-tpnwii4a3of1gkb7
2013-02-15 12:19:26 +01:00
Christophe Matthieu d374ffba59 [IMP] mail_followers: When unfollowing: confirmation box
bzr revid: chm@openerp.com-20130214150949-hgdlxvd4g18734mu
2013-02-14 16:09:49 +01:00
Christophe Matthieu 6f1f3f8a03 [IMP] mail: add 'Log a note' button right after 'Send to followers' button
bzr revid: chm@openerp.com-20130214113702-ste98tekdcj4kt4w
2013-02-14 12:37:02 +01:00
Thibault Delavallée ecde0aa380 [IMP] Chatter: now displays the 'To' that is the notified people of a given message.
bzr revid: tde@openerp.com-20130214085506-5akyw06ho9vq1xd9
2013-02-14 09:55:06 +01:00
Christophe Matthieu de3dbb971d [FIX] mail: add name in the dictionnary of attachments_tree and check url in js
bzr revid: chm@openerp.com-20130208115238-g4ys0jrcqwamrl3p
2013-02-08 12:52:38 +01:00
Christophe Matthieu 3843ebd45b [FIX] mail: use session.web.str_to_datetime instead of Date.parse
bzr revid: chm@openerp.com-20130201093018-24yiklef5bni6ya1
2013-02-01 10:30:18 +01:00
Christophe Matthieu 622c4975ef [FIX] mail: parent must have on_message_destroy function for set parent_thread
bzr revid: chm@openerp.com-20130201090239-1ekt20v6tiir8vbt
2013-02-01 10:02:39 +01:00
Christophe Matthieu 4e1f2c81ea [FIX] mail: Date.parse with a split for allow date format with micro sec
bzr revid: chm@openerp.com-20130201084013-eia7803w15is8ywt
2013-02-01 09:40:13 +01:00
Christophe Matthieu 17718ce925 [FIX] mail: attachement filetype
bzr revid: chm@openerp.com-20130131145427-zie2pwzfgfqer5oo
2013-01-31 15:54:27 +01:00
Thibault Delavallée 843956a624 [IMP] mail: Chatter widget: timeago is not used anymore for old dates; it just displays the date for message older than 1 week. Also added a tip on the timeago which gives the correct date.
bzr revid: tde@openerp.com-20130130132951-w7h14j1fko5a6b73
2013-01-30 14:29:51 +01:00