Commit Graph
71 Commits
Author SHA1 Message Date
Thibault Delavallée cb8c2d2b7e [IMP] tools: sanitizer: quote detection
Quote detection is now done in the sanitizer itself. It tags nodes that are
inside quotes (signature, text quotes, email quotes). The purpose is to remove
html_email_clean and have all the html cleaning / sanitizing inside a single
function. When a node is tagged, data-o-mail-quote is set on the node.
This attribute is added in the whitelist of valid attributes for the
sanitizer.

[REM] Support of shortening messages. The read more / read less will only
display or hide detected quotes and signatures. Shortening messages above
a given amount of characters is not supported anymore. Indeed it adds much
complexity to the sanitizer without adding much value to the result. The
primary purpose of the sanitizer is indeed to remove noise and unnecessary
content.

[TESTS] a lot of test are not necessary anymore, as read more / read less
display will be moved in the front-end and as the shortening has been
removed.Tests have therefore been cleaned and simplified.

[DEMO] mail: small demo update to include a bit quote detection
2016-03-03 15:44:56 +01:00
Aaron Bohy c51af45384 [FIX] mail: various UI improvements
- vertically center date and messages separators in threads
- remove notifications in DM and livechat
- order mail demo data so that messages appear ordered (they are ordered by id)
- make sure that DM are pinned (they weren't on the receiver side)
- don't display DM until a message has been sent
- validate message body
- undo snackbar fine tuning
- fix Firefox scroll bug on sidebar rendering (the scroll position was often
  lost when the sidebar was re-rendered, seemingly because the width of the
  thread changed for a brief moment)
2015-11-17 10:06:18 +01:00
Yannick Tivisse c3a24af6a0 [REM] Remove res_partner_9, replace him by res_partner_12 2015-08-25 19:27:24 +02:00
Yannick Tivisse e35c166ea4 [REM] Remove res_partner_23, replace him by res_partner_12 2015-08-25 19:27:23 +02:00
Yannick Tivisse 0f3f8dec9b [REM] Remove res_partner_22, replace him by res_partner_1 2015-08-25 19:27:23 +02:00
Yannick Tivisse 1d75b68a2b [REM] Remove res_partner_21, replace him by res_partner_4 2015-08-25 19:27:23 +02:00
Yannick Tivisse dd12eb4fd8 [REM] Remove res_partner_20 2015-08-25 19:27:23 +02:00
Yannick Tivisse a0c82f9450 [REM] Remove res_partner_19, replace him by res_partner_2 2015-08-25 19:27:22 +02:00
Yannick Tivisse 706255eec1 [REM] Remove res_partner_17, replace him by res_partner_12 2015-08-25 19:27:22 +02:00
Yannick Tivisse bc80026f48 [REM] Remove res_partner_16, replace him by res_partner_1 2015-08-25 19:27:22 +02:00
Yannick Tivisse 2fa4e7c6a3 [REM] Remove res_partner_15, replace him by res_partner_3 2015-08-25 19:27:22 +02:00
Yannick Tivisse bdfc1a56b8 [REM] Remove res_partner_14, replace him by res_partner_4 2015-08-25 19:27:22 +02:00
Yannick Tivisse dfbc51135c [REM] Remove res_partner_13, replace him by res_partner_2 2015-08-25 19:27:21 +02:00
Yannick Tivisse f9dd6d70b9 [REM] Remove res_partner_11, replace him by res_partner_3 2015-08-25 19:27:21 +02:00
Yannick Tivisse 259f0c88bd [REM] Remove res_partner_8, replace him by res_partner_12 2015-08-25 19:27:21 +02:00
Yannick Tivisse 9c71ef9e90 [REM] Remove res_partner_7, replace him by res_partner_4 2015-08-25 19:27:21 +02:00
Yannick Tivisse 8b4a3e9ca4 [REM] Remove res_partner_6, replace him by res_partner_1 2015-08-25 19:27:21 +02:00
Yannick Tivisse ed97a70b10 [REM] Remove res_partner_5, replace him by res_partner_3 2015-08-25 19:27:21 +02:00
Thibault Delavallée 88b8cd0587 [REF] mail: model update for NewChatter
Main changes :
- mail.notification model is removed. People do not receive notifications
anymore. Instead two ways of following documents exist
  - using a channel; messages will be displayed on the channel itself
  in a near future commit
  - following with its partner; messages will all be considered as
  needaction, using a new m2m table. People should receive less
  needaction messages by following less records by themselves.
There is no more read / unread state anymore. Instead only needaction
messages are considered. Todo (Favorites) messages still exist, and are
stores on a new m2m table instead of using decorated notifciations.
- the main filter for documents is not message_unread anymore, but
message_needaction. A lot of views and filters have been updated
accordingly.
- the vote feature has been removed
2015-08-21 12:11:56 +02:00
Thibault Delavallée 4b122ad41d [MIGR] mail: migration to the new API 2015-04-27 10:36:15 +02:00
Jaydeep Barot 5bc04994f3 [IMP] typo error message and validateError and typo in chatter msg
bzr revid: jar@tinyerp.com-20140421065009-4j8z0awc9t4b82tb
2014-04-21 12:20:09 +05:30
Amit Vora cfbd8ae9f8 [IMP] change field name notificatio_email_send to notify_email and none selection key instead of never
bzr revid: avo@tinyerp.com-20140409101604-1l8ltrcpjps8pazi
2014-04-09 15:46:04 +05:30
Atul Patel (OpenERP) 33b99c8a07 [MERGE]: Merged with addons
bzr revid: atp@tinyerp.com-20140218055618-r36w29vat7zig9ar
2014-02-18 11:26:18 +05:30
Stephane Wirtel bea411bb98 [IMP] Backport one feature from website: this feature allows to specify a file
path on the field tag fetching the right file instead of using the base64
encoded file in the field.

<field name="image" type="base64" file="base/static/img/main_partner-image.png" />

bzr revid: stw@openerp.com-20140109154550-a04qybctzaaqtrlr
2014-01-09 16:45:50 +01:00
Mahendra Barad caa3510ea4 [IMP] Mail Improvements
bzr revid: kjo@tinyerp.com-20131218131805-e97d5tmq2tr6pvh2
2013-12-18 18:48:05 +05:30
Anand Patel (OpenERP) 6eb9e93ba1 [IMP]Improve code for message[mail]
bzr revid: pan@tinyerp.com-20121129062415-7kl6kggkf4dbo1rd
2012-11-29 11:54:15 +05:30
Thibault Delavallée 99a3ef8860 [CLEAN] Demo data: fixed some typos, cleaned a bit before merging.
bzr revid: tde@openerp.com-20121120102325-5xts5n801p9islgy
2012-11-20 11:23:25 +01:00
Thibault Delavallée d6639ba1e6 [MOV] admin and demo avatar: moved from mail to server.
bzr revid: tde@openerp.com-20121120091854-ksun8xc0ya79olil
2012-11-20 10:18:54 +01:00
Thibault Delavallée 5b32736597 [CLEAN] mail: cleaned a bit the demo data.
bzr revid: tde@openerp.com-20121119101953-np1gw8e7qhfhncgq
2012-11-19 11:19:53 +01:00
Thibault Delavallée b444043aea [IMP] mail demo data: removed a few warnings.
bzr revid: tde@openerp.com-20121119093705-netx11bsa1gsmrei
2012-11-19 10:37:05 +01:00
Thibault Delavallée 79c275c0ca [CLEAN] mail: cleaned demo data about files and noupdate: fixed some typos.
bzr revid: tde@openerp.com-20121119092457-lgiijzl4c6c90nuk
2012-11-19 10:24:57 +01:00
Thibault Delavallée 618829ccd9 [FIX] mail_demo: fixed attachment_ids.
bzr revid: tde@openerp.com-20121116171541-3rbe6kq04maa1z7e
2012-11-16 18:15:41 +01:00
Thibault Delavallée 61835e0080 [IMP] mail, crm: improved demo data.
bzr revid: tde@openerp.com-20121116153141-n8nxkg6g8uypex1a
2012-11-16 16:31:41 +01:00
Thibault Delavallée 2a61424ddb [FIX] mail, crm demo data: back to noupdate.
bzr revid: tde@openerp.com-20121116081657-kyua3pggy84awx4p
2012-11-16 09:16:57 +01:00
Fabien Pinckaers fa93a1d65e [IMP] demo data
bzr revid: fp@openerp.com-20121115222751-y25pkf50caeajwg1
2012-11-15 23:27:51 +01:00
Fabien Pinckaers 3a8353a302 [IMP] demo data
bzr revid: fp@openerp.com-20121115220945-fws0ue11f9d05ttj
2012-11-15 23:09:45 +01:00
Thibault Delavallée 8539249bdb [IMP] mail, crm: demo data largely updated.
bzr revid: tde@openerp.com-20121115182641-99ndilbr5m4x1oft
2012-11-15 19:26:41 +01:00
Christophe Matthieu 3918c05a37 [MERGE] from trunk
bzr revid: chm@openerp.com-20121115101056-m96xojis7lky8xcn
2012-11-15 11:10:56 +01:00
Thibault Delavallée 9f0f87f82b [FIX] mail: removed demo data that should not have been merged at rev 8004.
bzr revid: tde@openerp.com-20121114161607-n14fzx8jxygyfy8g
2012-11-14 17:16:07 +01:00
Thibault Delavallée 9c7951c84d [FIX] Fixed last merge... forgot a tag in mail_demo;
bzr revid: tde@openerp.com-20121114154739-ls35o0zfx8ckdlgk
2012-11-14 16:47:39 +01:00
Thibault Delavallée 48ce331544 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121114154021-vsllo3keszi9732d
2012-11-14 16:40:21 +01:00
Christophe Matthieu 52349a7525 [IMP] mail and crm: demodata for search (has attachment) and expandable
bzr revid: chm@openerp.com-20121114150047-f2d30euntwjurnt4
2012-11-14 16:00:47 +01:00
Christophe Matthieu eb6dc15b7f [IMP] mail and crm: demodata with favorite notification
bzr revid: chm@openerp.com-20121114134259-wtj5v6kplgu8ptvl
2012-11-14 14:42:59 +01:00
Christophe Matthieu d282df466c [FIX] mail: do not display record_name when the user is on a document
bzr revid: chm@openerp.com-20121114132517-6c5rfiikkuchcmxx
2012-11-14 14:25:17 +01:00
Christophe Matthieu a43662d125 [IMP] mail: change the header title and description for each mailbox and group discussion
bzr revid: chm@openerp.com-20121114122033-dl70fqty2kbd5gj1
2012-11-14 13:20:33 +01:00
Christophe Matthieu 758115c1a5 [IMP] mail: add date on messages for the datademo
bzr revid: chm@openerp.com-20121114104721-8b5ajc21ii7cp8a2
2012-11-14 11:47:21 +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
Christophe Matthieu 2414585a14 [IMP] mail: demo data
bzr revid: chm@openerp.com-20121113111642-3ri3zbg07na1n3w9
2012-11-13 12:16:42 +01:00
Christophe Matthieu cf4d660ce5 [FIX] mail: do not destroy double message if there are no message.id (for expandable message)
bzr revid: chm@openerp.com-20121113105850-ur1h9igelvk4uzcj
2012-11-13 11:58:50 +01:00
Thibault Delavallée 206b015f8b [IMP] [DEMO] mail: Wip about demo data. No time enough today, will be continued asap.
bzr revid: tde@openerp.com-20121112170956-o31nqximygax6is6
2012-11-12 18:09:56 +01:00