<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/payment_transfer/controllers/main.py, 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>[IMP] payment: UI/flow</title>
<updated>2019-08-12T08:44:25+00:00</updated>
<author>
<name>Victor Feyens</name>
<email>vfe@odoo.com</email>
</author>
<published>2019-07-17T13:56:26+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=611fde6c8828d7d89b8c7f90b60484c58debcf73'/>
<id>611fde6c8828d7d89b8c7f90b60484c58debcf73</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>[IMP] payment_*: payment acquirers error handling</title>
<updated>2018-09-19T16:25:32+00:00</updated>
<author>
<name>Toufik Benjaa</name>
<email>tbe@odoo.com</email>
</author>
<published>2018-07-11T15:47:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6ed44181d081b3cfd8875dc82e4e155970cc07f5'/>
<id>6ed44181d081b3cfd8875dc82e4e155970cc07f5</id>
<content type='text'>
This commit aims to improve the user experience when using payment acquirers. There currently are no error feedback with some acquirers, which leaves the user wondering what is going on and what is the real status of its payment.
In some cases, the user is currently being redirected to the home page even though the payment has failed. We want to make it more obvious to the user that something unexpected has happened by redirecting to an intermediate page that will provide good feedback on payments status.

Another goal of this commit is to order acquirers by sequence instead of by flow and to select the first acquirer by default. This feature was already implmented in commit fe294fd43e521bd2d339e962f43acf46c3d4cb97, some UI adaptations were needed though.

Related to task #36680
Closes #26958
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit aims to improve the user experience when using payment acquirers. There currently are no error feedback with some acquirers, which leaves the user wondering what is going on and what is the real status of its payment.
In some cases, the user is currently being redirected to the home page even though the payment has failed. We want to make it more obvious to the user that something unexpected has happened by redirecting to an intermediate page that will provide good feedback on payments status.

Another goal of this commit is to order acquirers by sequence instead of by flow and to select the first acquirer by default. This feature was already implmented in commit fe294fd43e521bd2d339e962f43acf46c3d4cb97, some UI adaptations were needed though.

Related to task #36680
Closes #26958
</pre>
</div>
</content>
</entry>
<entry>
<title>[MIG] payment_transfer</title>
<updated>2016-07-06T13:10:49+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2016-07-05T12:24:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=48278ed39511ef8d58356f97afd67f78d2e86a5b'/>
<id>48278ed39511ef8d58356f97afd67f78d2e86a5b</id>
<content type='text'>
No functional change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional change.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ADD] *: CSRF protection in forms and routes</title>
<updated>2015-09-30T23:36:50+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2015-08-11T13:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7636b510a2cfc48bd0281374596f3c7caf1f7edf'/>
<id>7636b510a2cfc48bd0281374596f3c7caf1f7edf</id>
<content type='text'>
* make CSRF protection the default on all non-SAFE methods
  note: there currently is no way to call a CSRF-protected endpoint
  without a form-encoded entity-body as that's the only place we get the
  CSRF token from.
* simple CSRF token generation: just use the HMAC'd session id, no
  generating a new random token per session then HMAC it
* use constant-time equal function to avoid timing attacks
* assert that a database secret is configured before hashing/validating
  the CSRF token
* opt-out database manager from CSRF: The super-admin password serves
  the purpose of a CSRF token in the database manager screens.
  There is no request database to obtain the
  secret and generate a CSRF token.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* make CSRF protection the default on all non-SAFE methods
  note: there currently is no way to call a CSRF-protected endpoint
  without a form-encoded entity-body as that's the only place we get the
  CSRF token from.
* simple CSRF token generation: just use the HMAC'd session id, no
  generating a new random token per session then HMAC it
* use constant-time equal function to avoid timing attacks
* assert that a database secret is configured before hashing/validating
  the CSRF token
* opt-out database manager from CSRF: The super-admin password serves
  the purpose of a CSRF token in the database manager screens.
  There is no request database to obtain the
  secret and generate a CSRF token.
</pre>
</div>
</content>
</entry>
<entry>
<title>[REM] remove disable_db and ensure_db() from addons</title>
<updated>2014-01-30T09:23:08+00:00</updated>
<author>
<name>Fabien Meghazi</name>
<email>fme@openerp.com</email>
</author>
<published>2014-01-30T09:23:08+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e974e1fbead436e5b77df428f5117af3688d8893'/>
<id>e974e1fbead436e5b77df428f5117af3688d8893</id>
<content type='text'>
bzr revid: fme@openerp.com-20140130092308-s24a7h2mhzuaasf1</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: fme@openerp.com-20140130092308-s24a7h2mhzuaasf1</pre>
</div>
</content>
</entry>
<entry>
<title>[REM] Removed auth='admin' from modules</title>
<updated>2014-01-29T17:15:20+00:00</updated>
<author>
<name>Fabien Meghazi</name>
<email>fme@openerp.com</email>
</author>
<published>2014-01-29T17:15:20+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c4e48e2388ac63cdc2f55d46af1b1650476d5b4b'/>
<id>c4e48e2388ac63cdc2f55d46af1b1650476d5b4b</id>
<content type='text'>
bzr revid: fme@openerp.com-20140129171520-wkz8ot4pa63utoi3</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: fme@openerp.com-20140129171520-wkz8ot4pa63utoi3</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] payment_transfer: fixed controler, request.redirect -&gt; werkzeug.redirect</title>
<updated>2014-01-24T14:56:28+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2014-01-24T14:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=093e8633dcc2dd22513789ffe260c3a981d68184'/>
<id>093e8633dcc2dd22513789ffe260c3a981d68184</id>
<content type='text'>
bzr revid: tde@openerp.com-20140124145628-3e9pvz88wyww9kr3</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: tde@openerp.com-20140124145628-3e9pvz88wyww9kr3</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] payment_*: routes as admin, remove website parameter in routes</title>
<updated>2014-01-23T15:49:24+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2014-01-23T15:49:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=164a1ab180b368f9ce7417efc81ddd02013ff5fa'/>
<id>164a1ab180b368f9ce7417efc81ddd02013ff5fa</id>
<content type='text'>
bzr revid: tde@openerp.com-20140123154924-r1cylz0fobzav90y</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: tde@openerp.com-20140123154924-r1cylz0fobzav90y</pre>
</div>
</content>
</entry>
<entry>
<title>[RENAME] payment_acquirer_* -&gt; payment_ *</title>
<updated>2014-01-22T17:57:02+00:00</updated>
<author>
<name>Thibault Delavallée</name>
<email>tde@openerp.com</email>
</author>
<published>2014-01-22T17:57:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0b69bad9968ce2650f6dffd7df703cd33e7f38af'/>
<id>0b69bad9968ce2650f6dffd7df703cd33e7f38af</id>
<content type='text'>
bzr revid: tde@openerp.com-20140122175702-1h1e51z4njt4s70w</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: tde@openerp.com-20140122175702-1h1e51z4njt4s70w</pre>
</div>
</content>
</entry>
</feed>
