<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/link_tracker/controller, 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>[FIX] *: use `auth='public'` in controllers that use `request.env`</title>
<updated>2019-07-04T11:32:22+00:00</updated>
<author>
<name>Raphael Collet</name>
<email>rco@odoo.com</email>
</author>
<published>2019-06-27T15:00:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=caf900e89ea292c56ed773232792a2aab19de8d5'/>
<id>caf900e89ea292c56ed773232792a2aab19de8d5</id>
<content type='text'>
The following trick used to work, because `sudo()` was actually making
an environment for the superuser to operate upon:

request.env[...].sudo().method(...)

It no longer works in general, since `sudo()` now makes an environment
in superuser mode but with `uid=None`!  It may still work by accident
for operations that never use `env.uid`, but is broken in general.

Using `auth='public'` fixes the problem by using the public user when no
user is available.

closes odoo/odoo#34297

Signed-off-by: Olivier Dony (odo) &lt;odo@openerp.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following trick used to work, because `sudo()` was actually making
an environment for the superuser to operate upon:

request.env[...].sudo().method(...)

It no longer works in general, since `sudo()` now makes an environment
in superuser mode but with `uid=None`!  It may still work by accident
for operations that never use `env.uid`, but is broken in general.

Using `auth='public'` fixes the problem by using the public user when no
user is available.

closes odoo/odoo#34297

Signed-off-by: Olivier Dony (odo) &lt;odo@openerp.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] link_tracker, mass_mailing: simplify add_click method and add tests</title>
<updated>2019-01-14T10:34:26+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@odoo.com</email>
</author>
<published>2018-10-29T14:23:16+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b670911a92883ebea49d427acafe2abac2753ace'/>
<id>b670911a92883ebea49d427acafe2abac2753ace</id>
<content type='text'>
In this commit we rewrite a bit add_click in order to remove the inlined sudo
and ease inheritance and parameter management inside the method.

Access through controllers is sudo-ed as the main API method is now done
with current user access rights.

This commit is linked to task ID 1904277 and PR #28242.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this commit we rewrite a bit add_click in order to remove the inlined sudo
and ease inheritance and parameter management inside the method.

Access through controllers is sudo-ed as the main API method is now done
with current user access rights.

This commit is linked to task ID 1904277 and PR #28242.</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] link_tracker: do not let public read technical / private link data</title>
<updated>2019-01-14T10:34:21+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@odoo.com</email>
</author>
<published>2018-10-19T10:46:26+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=75638ffb94fa4ae1753f733d8cb6f7f58f0b6a0a'/>
<id>75638ffb94fa4ae1753f733d8cb6f7f58f0b6a0a</id>
<content type='text'>
Link tracker models are rather technical and should not be accessed as it is
by external people. Let us delegate control to controllers and lessen a bit
model accessibility.

Currently everyone can use add_click method and generate statistics. Now
statistics will be generated only through dedicated routes. It will make
statistics more reliable and ensure technical data remain private.

Next commit will update code from controllers and main methods in order to be
have a more readable click API and avoid link between non dependent modules.

This commit is linked to task ID 1904277 and PR #28242.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Link tracker models are rather technical and should not be accessed as it is
by external people. Let us delegate control to controllers and lessen a bit
model accessibility.

Currently everyone can use add_click method and generate statistics. Now
statistics will be generated only through dedicated routes. It will make
statistics more reliable and ensure technical data remain private.

Next commit will update code from controllers and main methods in order to be
have a more readable click API and avoid link between non dependent modules.

This commit is linked to task ID 1904277 and PR #28242.</pre>
</div>
</content>
</entry>
<entry>
<title>[MOV] link_tracker: organize module structure according to guidelines</title>
<updated>2018-10-26T12:42:49+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@odoo.com</email>
</author>
<published>2018-10-19T10:09:44+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ae2866a11e82f7a2099fae7179b17b9b11138a5a'/>
<id>ae2866a11e82f7a2099fae7179b17b9b11138a5a</id>
<content type='text'>
This module still holds old code and deserves some love. This commit cleans a
bit the init and manifest files as well as renaming view file according to
guidelines.

This commit is linked to task ID 1896681 and PR #27975. No functional change
should occur with this commit as it contains only renaming / move.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This module still holds old code and deserves some love. This commit cleans a
bit the init and manifest files as well as renaming view file according to
guidelines.

This commit is linked to task ID 1896681 and PR #27975. No functional change
should occur with this commit as it contains only renaming / move.</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] Various P3-related import changes</title>
<updated>2017-04-28T07:06:53+00:00</updated>
<author>
<name>xmo-odoo</name>
<email>xmo@odoo.com</email>
</author>
<published>2017-04-28T07:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=b4429c2a91889bf60b56e0c7909c844d357363f7'/>
<id>b4429c2a91889bf60b56e0c7909c844d357363f7</id>
<content type='text'>
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&amp;keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&amp;keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-12 up to 9f28139</title>
<updated>2016-09-09T16:13:31+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2016-09-09T16:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=298e2032ea3a8ef7aac3a606e2cbc420760fd4c9'/>
<id>298e2032ea3a8ef7aac3a606e2cbc420760fd4c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] link_tracker: fix link tracer when no geoip in session</title>
<updated>2016-09-06T10:04:43+00:00</updated>
<author>
<name>Denis Ledoux</name>
<email>dle@odoo.com</email>
</author>
<published>2016-09-06T10:01:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f19d179bb0311df7d79cdef7f2726e0ccb6b9e27'/>
<id>f19d179bb0311df7d79cdef7f2726e0ccb6b9e27</id>
<content type='text'>
The `geoip` is not always defined in the session,
and therefore one needs to check it's defined before
attempting to use it.

The same is done at different places in the code,
through the different modules.

opw-687783
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `geoip` is not always defined in the session,
and therefore one needs to check it's defined before
attempting to use it.

The same is done at different places in the code,
through the different modules.

opw-687783
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] various: use odoo for imports instead of openerp and update class names</title>
<updated>2016-08-10T13:48:07+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2016-08-09T14:17:17+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c8a313d51e57e9db52758a2c92c13044efef5a6a'/>
<id>c8a313d51e57e9db52758a2c92c13044efef5a6a</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, *: change deprecated import openerp.addons.web.http to odoo.http</title>
<updated>2016-08-03T11:42:05+00:00</updated>
<author>
<name>fwi-odoo</name>
<email>fwi@odoo.com</email>
</author>
<published>2016-07-22T09:43:12+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d4e813b87336984d52d9ebaeb7db16e0203013f6'/>
<id>d4e813b87336984d52d9ebaeb7db16e0203013f6</id>
<content type='text'>
We also remove the mock in web as there is no need for it anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also remove the mock in web as there is no need for it anymore.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] mass_mailing: remove depends to website. Create a website_mass_mailing bridge to add subscribe snippet into website builder. Split website_links to have link_tracker to create short and trackable URLs, and website_links to have a website layout for link_tracker and add button to share page.</title>
<updated>2015-07-10T15:00:15+00:00</updated>
<author>
<name>Christophe Matthieu</name>
<email>chm@odoo.com</email>
</author>
<published>2015-06-10T08:42:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=fd5361c0f7116e951cf9e69e2d97a8ccb07ce1b6'/>
<id>fd5361c0f7116e951cf9e69e2d97a8ccb07ce1b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
