<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/mass_mailing/static/src/js/mass_mailing_editor.js, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[REF] web_editor,*: Move and rename files to prepare refactoring</title>
<updated>2019-01-17T08:40:21+00:00</updated>
<author>
<name>Christophe Matthieu</name>
<email>chm@odoo.com</email>
</author>
<published>2018-12-28T17:49:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=de444335b7da30a2ab3a4c5b92c9731a023f3f07'/>
<id>de444335b7da30a2ab3a4c5b92c9731a023f3f07</id>
<content type='text'>
The refactoring of the wysiwyg editor and 'html' field allows us to
move some of the code that was in web_editor but only used in website or
in mass_mailing. Some parts are still in web_editor but will be
moved at a later time.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The refactoring of the wysiwyg editor and 'html' field allows us to
move some of the code that was in web_editor but only used in website or
in mass_mailing. Some parts are still in web_editor but will be
moved at a later time.</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] mass_mailing: focus on content when user selects the plaintext theme</title>
<updated>2018-08-13T09:34:34+00:00</updated>
<author>
<name>Parth Gajjar</name>
<email>pga@openerp.com</email>
</author>
<published>2018-07-13T14:37:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=072d7232ce5a1bab6789c0669be4d81b9c0ba478'/>
<id>072d7232ce5a1bab6789c0669be4d81b9c0ba478</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] mass_mailing: removed font-family from plain text</title>
<updated>2018-08-13T09:34:34+00:00</updated>
<author>
<name>Anshuman Sharma</name>
<email>ans@odoo.com</email>
</author>
<published>2018-07-12T06:03:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=590679f868234c07e7f263171f3fa2c6fa9eea8b'/>
<id>590679f868234c07e7f263171f3fa2c6fa9eea8b</id>
<content type='text'>
Purpose behind this commit is to remove font-family from all elements in
plaintext theme. So mail receiver will see this mail in default system font.
This is inspired by new Gmail and suggested by FP

As we want to show system's default font in the mail sent with the basic theme.
And so we remove font-family from basic theme while saving. But by doing so in
readonly mode is not getting proper font in odoo as we don't having any assets in
readonly mail editor. So we added stylesheet just for display purpose.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose behind this commit is to remove font-family from all elements in
plaintext theme. So mail receiver will see this mail in default system font.
This is inspired by new Gmail and suggested by FP

As we want to show system's default font in the mail sent with the basic theme.
And so we remove font-family from basic theme while saving. But by doing so in
readonly mode is not getting proper font in odoo as we don't having any assets in
readonly mail editor. So we added stylesheet just for display purpose.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, adapt dropdowns and carets</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-03-14T15:21:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1c1c0897e8eca607c7f1b96b68a06c026c543e6a'/>
<id>1c1c0897e8eca607c7f1b96b68a06c026c543e6a</id>
<content type='text'>
- The dropdown structure was simplified, allowing to get rid of the
  3-levels structure induced by &lt;ul/&gt; elements and dropdowns can now
  contain anything. The class 'dropdown-item' is now mandatory for
  each dropdown clickable element. The class 'dropdown-item-text' can
  be used to add same padding and style but without making the element
  have a clickable look.

- Dividers now use the class 'dropdown-divider'

- The way dropdowns are opened and hidden also changed (before the
  'open' class was added on the `.dropdown-menu` parent, now the
  'show' class is added on both the `.dropdown-menu` parent and the
  `.dropdown-menu` itself).

- JS-wise, no click event handlers can be put on `.dropdown-toggle`
  elements anymore (instead, use handlers for dropdown events).

- Carets are automatically put on `.dropdown-toggle` elements, so this
  commit replaces the `.caret` elements with this. This feature was
  possible to disable but would prevent us from adding a caret with
  scss. Also, this simplifies the DOM. The 'o-no-caret' class was also
  introduced to allow using the 'dropdown-toggle' class on non-caret
  elements.

- Also adapt the scss to use $caret-width instead of $caret-width-base
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The dropdown structure was simplified, allowing to get rid of the
  3-levels structure induced by &lt;ul/&gt; elements and dropdowns can now
  contain anything. The class 'dropdown-item' is now mandatory for
  each dropdown clickable element. The class 'dropdown-item-text' can
  be used to add same padding and style but without making the element
  have a clickable look.

- Dividers now use the class 'dropdown-divider'

- The way dropdowns are opened and hidden also changed (before the
  'open' class was added on the `.dropdown-menu` parent, now the
  'show' class is added on both the `.dropdown-menu` parent and the
  `.dropdown-menu` itself).

- JS-wise, no click event handlers can be put on `.dropdown-toggle`
  elements anymore (instead, use handlers for dropdown events).

- Carets are automatically put on `.dropdown-toggle` elements, so this
  commit replaces the `.caret` elements with this. This feature was
  possible to disable but would prevent us from adding a caret with
  scss. Also, this simplifies the DOM. The 'o-no-caret' class was also
  introduced to allow using the 'dropdown-toggle' class on non-caret
  elements.

- Also adapt the scss to use $caret-width instead of $caret-width-base
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] *: BS4, adapt display classes</title>
<updated>2018-07-27T10:36:54+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-04-24T15:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7f10b55a5035bd3cab48ba58a519510a25b94f60'/>
<id>7f10b55a5035bd3cab48ba58a519510a25b94f60</id>
<content type='text'>
The system completely changed. I also had to adapt classes to new
screen breakpoints.

hidden/hide -&gt; d-none
show -&gt; d-block
hidden-xs -&gt; d-none d-md-(block/inline/...)
hidden-sm -&gt; d-md-none d-lg-(block/inline/...)
hidden-md -&gt; d-lg-none d-xl-(block/inline/...)
hidden-lg -&gt; d-xl-none
visible-xs-* -&gt; d-* d-md-none
visible-sm-* -&gt; d-none d-md-* d-lg-none
visible-md-* -&gt; d-none d-lg-* d-xl-none
visible-lg-* -&gt; d-none d-xl-*
hidden-print -&gt; d-print-none
visible-print-* -&gt; d-none d-print-*
...
and all possible combination of those had to be handled too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The system completely changed. I also had to adapt classes to new
screen breakpoints.

hidden/hide -&gt; d-none
show -&gt; d-block
hidden-xs -&gt; d-none d-md-(block/inline/...)
hidden-sm -&gt; d-md-none d-lg-(block/inline/...)
hidden-md -&gt; d-lg-none d-xl-(block/inline/...)
hidden-lg -&gt; d-xl-none
visible-xs-* -&gt; d-* d-md-none
visible-sm-* -&gt; d-none d-md-* d-lg-none
visible-md-* -&gt; d-none d-lg-* d-xl-none
visible-lg-* -&gt; d-none d-xl-*
hidden-print -&gt; d-print-none
visible-print-* -&gt; d-none d-print-*
...
and all possible combination of those had to be handled too.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-11.1 up to a277b585072</title>
<updated>2018-02-15T10:52:10+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2018-02-15T10:52:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3b959c313d49889c8c81f37545d9028c63904484'/>
<id>3b959c313d49889c8c81f37545d9028c63904484</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-16 up to 77927559465</title>
<updated>2018-02-14T17:26:57+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2018-02-14T17:26:57+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=72508cc241301a564a8c2550a550bb6f3d0b3cdb'/>
<id>72508cc241301a564a8c2550a550bb6f3d0b3cdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-14 up to 9d0de611147</title>
<updated>2018-02-14T15:34:13+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2018-02-14T15:34:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d24bdbde81be971be27e39ef7a2e1a1b2371074e'/>
<id>d24bdbde81be971be27e39ef7a2e1a1b2371074e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] mass_mailing, *: duplicating two-columns snippets</title>
<updated>2018-02-13T13:19:07+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-06-01T15:36:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=5e6c5d24be38e53d010a8489d2444a3fdaadaa5f'/>
<id>5e6c5d24be38e53d010a8489d2444a3fdaadaa5f</id>
<content type='text'>
* web_editor, website

This commit fixes a bug with table duplication in mailing template:
- Click on a snippet with two columns
- Duplicate it
-&gt; the snippet is duplicated but the two columns are transformed in two
   rows.

This was because there is an implemented behavior for column
duplication: if we duplicate a column which was alone on its row, we
duplicate the row instead. This code should however be triggered when
duplicating the column alone to be working, not the snippet that
contains it.

Note: this required a backport of a33ec972abf1cadbae2a6a04f759617c82f2a95e
which was fixing a non-critical "bug" for 11.0. This non-critical "bug" is
therefor fixed here too.

opw-807105
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* web_editor, website

This commit fixes a bug with table duplication in mailing template:
- Click on a snippet with two columns
- Duplicate it
-&gt; the snippet is duplicated but the two columns are transformed in two
   rows.

This was because there is an implemented behavior for column
duplication: if we duplicate a column which was alone on its row, we
duplicate the row instead. This code should however be triggered when
duplicating the column alone to be working, not the snippet that
contains it.

Note: this required a backport of a33ec972abf1cadbae2a6a04f759617c82f2a95e
which was fixing a non-critical "bug" for 11.0. This non-critical "bug" is
therefor fixed here too.

opw-807105
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] mass_mailing: complete commit 66aefb1723c336cc1c61fb32926ed926ba9e29e4</title>
<updated>2018-02-05T14:18:55+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2018-01-25T16:30:22+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=1ed7f219a59a2ff036bcaf72cb423b961a39802c'/>
<id>1ed7f219a59a2ff036bcaf72cb423b961a39802c</id>
<content type='text'>
- There should not be margins around lists
- There should not be editor overlay on the whole content
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- There should not be margins around lists
- There should not be editor overlay on the whole content
</pre>
</div>
</content>
</entry>
</feed>
