<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/web_editor/static/src/js/snippets.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>[MOV] web_editor, website: reorganize files</title>
<updated>2017-08-16T08:59:39+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-06-07T15:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4f925af06fd3cebfcfb56eb947ab68c8a2ca4490'/>
<id>4f925af06fd3cebfcfb56eb947ab68c8a2ca4490</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] web, web_editor: expose 'cssFind' function</title>
<updated>2017-08-04T10:31:57+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-08-03T09:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bca7afe3ce93708d84f6241f9e242b22c899e6dd'/>
<id>bca7afe3ce93708d84f6241f9e242b22c899e6dd</id>
<content type='text'>
The web_editor app uses a 'cssFind' function but does not expose it. It
makes sense to move it in the web app in the 'dom' utility function set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The web_editor app uses a 'cssFind' function but does not expose it. It
makes sense to move it in the web app in the 'dom' utility function set.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] web, *: create jQuery ':hasVisibility' and ':hasOpacity' selectors</title>
<updated>2017-08-03T08:50:55+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-07-28T08:08:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=847afa1b697a5c326e95232ad1490e982ff4f0ff'/>
<id>847afa1b697a5c326e95232ad1490e982ff4f0ff</id>
<content type='text'>
* web_editor, web_tour

jQuery has the built-in ':visible' selector. This is however not enough
as this only checks if the element and its parents have a visible
'display' property. Ironically, if the element has the 'visibility'
property set to 'hidden', it will be considered ':visible' by jQuery.

This commit creates the ':hasVisibility' and ':hasOpacity' selectors
which respectively check if the element and its parents have a visible
'visibility' property and a visible 'opacity' property.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* web_editor, web_tour

jQuery has the built-in ':visible' selector. This is however not enough
as this only checks if the element and its parents have a visible
'display' property. Ironically, if the element has the 'visibility'
property set to 'hidden', it will be considered ':visible' by jQuery.

This commit creates the ':hasVisibility' and ':hasOpacity' selectors
which respectively check if the element and its parents have a visible
'visibility' property and a visible 'opacity' property.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web_editor, website(_*): show all snippets even if module is not installed</title>
<updated>2017-07-04T08:54:20+00:00</updated>
<author>
<name>Kishan Gajjar</name>
<email>kig@odoo.com</email>
</author>
<published>2017-03-21T06:18:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=aaeef14903d4a3f359fcd6dd61a4f8ee41c947a4'/>
<id>aaeef14903d4a3f359fcd6dd61a4f8ee41c947a4</id>
<content type='text'>
* mail_channel, mass_mailing, twitter, event

- t-install attribute holds the technical name of the module that
  needs to be install to use a particular snippet.

- Disable the drag &amp; drop feature for these dummy snippets.

- Move some images to website module.

- Installed snippets display at the top of the list.

- Hide not-installed module snippets if user don't have rights to install module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* mail_channel, mass_mailing, twitter, event

- t-install attribute holds the technical name of the module that
  needs to be install to use a particular snippet.

- Disable the drag &amp; drop feature for these dummy snippets.

- Move some images to website module.

- Installed snippets display at the top of the list.

- Hide not-installed module snippets if user don't have rights to install module.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web, *: reorganize our libraries' extensions</title>
<updated>2017-06-21T10:56:13+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-06-20T14:27:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=85d1e76ddbac9aeedfba4710443b74cbcc6586be'/>
<id>85d1e76ddbac9aeedfba4710443b74cbcc6586be</id>
<content type='text'>
* web_editor, web_tour, website_event_track

Before this commit, one JS file was responsible for all the library
extensions and fixes. There were two main problems with this system:

- The file was only available in the backend (as some extensions are
  made on backend-only libraries).

- Some other modules were doing library customizations.

This commit creates one file per library to regroup their associated
customization and adds them in the right asset. These are placed in
the web module and every other module should avoid doing customizations.
This allows to have libraries consistency accross all modules and
between the backend and the frontend.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* web_editor, web_tour, website_event_track

Before this commit, one JS file was responsible for all the library
extensions and fixes. There were two main problems with this system:

- The file was only available in the backend (as some extensions are
  made on backend-only libraries).

- Some other modules were doing library customizations.

This commit creates one file per library to regroup their associated
customization and adds them in the right asset. These are placed in
the web module and every other module should avoid doing customizations.
This allows to have libraries consistency accross all modules and
between the backend and the frontend.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-16 up to 6f3eada2c3a</title>
<updated>2017-06-06T17:38:29+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2017-06-06T17:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=99c34c41193660f6aa2d6958cea5956f87bfc59b'/>
<id>99c34c41193660f6aa2d6958cea5956f87bfc59b</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 10.0 up to 76cd8d2558d2a1fc11681dbc4a134ba06fb698c0</title>
<updated>2017-06-02T23:24:21+00:00</updated>
<author>
<name>Olivier Dony</name>
<email>odo@openerp.com</email>
</author>
<published>2017-06-02T23:24:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=de38d0262b17f8e55926ac051f685afca2a82804'/>
<id>de38d0262b17f8e55926ac051f685afca2a82804</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor, website: allow to detect indirect clones</title>
<updated>2017-06-02T08:26:24+00:00</updated>
<author>
<name>Dharmraj Jhala</name>
<email>dja@openerp.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=a33ec972abf1cadbae2a6a04f759617c82f2a95e'/>
<id>a33ec972abf1cadbae2a6a04f759617c82f2a95e</id>
<content type='text'>
When cloning a snippet section thanks to the editor, the associated
snippet options' `on_clone` methods are called. Now these methods
receive a new argument `options`. The option this commit introduces
is the `isCurrent` one. It allows the method to know if the snippet
section it is associated to is the one that was cloned or if it is a
child of the one that was cloned.

This is useful to solve a known bug when cloning elements which have
bootstrap columns:

- When one column is cloned we want it to lose its col-*-offset-*
  classes so that the offset is not duplicated (only the column).

- When a container with column children is cloned we do not want
  these column' offsets to be removed (we want the whole cloned
  container to be the same).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When cloning a snippet section thanks to the editor, the associated
snippet options' `on_clone` methods are called. Now these methods
receive a new argument `options`. The option this commit introduces
is the `isCurrent` one. It allows the method to know if the snippet
section it is associated to is the one that was cloned or if it is a
child of the one that was cloned.

This is useful to solve a known bug when cloning elements which have
bootstrap columns:

- When one column is cloned we want it to lose its col-*-offset-*
  classes so that the offset is not duplicated (only the column).

- When a container with column children is cloned we do not want
  these column' offsets to be removed (we want the whole cloned
  container to be the same).
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: hide customize menu when there are no options</title>
<updated>2017-06-01T15:08:49+00:00</updated>
<author>
<name>Kishan Gajjar</name>
<email>kig@odoo.com</email>
</author>
<published>2017-02-28T12:25:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=79477b8d96be47cca5609ce5e4dd84a7e7f64f0a'/>
<id>79477b8d96be47cca5609ce5e4dd84a7e7f64f0a</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 10.0 up to 7e44444878760ca44cf1b22bf05d77e26c477cab</title>
<updated>2017-05-31T22:15:27+00:00</updated>
<author>
<name>Olivier Dony</name>
<email>odo@openerp.com</email>
</author>
<published>2017-05-31T22:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b9e220726730e2e0c25dae9952fa90e783fadc16'/>
<id>b9e220726730e2e0c25dae9952fa90e783fadc16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
