Cédric Krier
1738a4ec35
Add ir.message and use custom exceptions
...
issue3672
review35291002
2018-12-29 14:19:08 +01:00
Cédric Krier
d2a461390a
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Sergi Almacellas Abellana
a9595f3c25
Only convert to unicode exceptions string on python2
...
issue7097
review43941002
2018-02-07 12:08:56 +01:00
Cédric Krier
375629dfd3
Support unicode in message and description of TrytonException
...
The easiest way to support both Python 2 and 3 is to implement __unicode__ and
encode the result for __str__.
issue6768
review39681002
2017-09-26 01:33:02 +02:00
Sergi Almacellas Abellana
e3455875fb
Add option to install module dependencies with trytond-admin
...
issue5696
review29361002
2017-06-30 09:50:49 +02:00
Cédric Krier
6f5250bd60
Add custom __str__ to some TrytonException
...
issue6343
review34761002
2017-03-13 22:56:11 +01:00
Cédric Krier
afdc884277
Return 429 status when too many login attempts
...
This prevents to consume too much resource by sleeping over a very long period.
issue6215
review29161002
2017-02-02 11:55:44 +01:00
Cédric Krier
2c390fe71a
Add customizable login process
...
It adds new configuration option to define the list of login methods.
It defines a new Exception to use to request user data during the login
process.
It separates the generic login attempt protection from the actual
authentication method.
It replace the API of the login methods to use a dictionary of parameters
instead of a single password.
issue5521
review16191003
2016-05-31 12:49:23 +02:00
Cédric Krier
c19f93cd9b
NotLogged exception is no more used
...
issue5415
review17971003
2016-03-21 23:39:30 +01:00
Cédric Krier
8a4ba59b2d
Switch to WSGI API
...
issue4646
review20541003
2016-03-15 16:57:26 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
07e9780712
Add missing exceptions file for changeset ec9e6b9f2c9b
2011-09-06 11:20:34 +02:00