Cédric Krier
48d894b08c
Increase version number
2018-10-01 12:31:00 +02:00
Cédric Krier
472a1e0fff
Prepare release 5.0.0
2018-10-01 12:30:45 +02:00
Cédric Krier
f41cb86e69
Allow to disable Bus
...
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Udo Spallek
75be7e9683
Clean install requirements
...
ipaddress and mock are part of stdlib in Python 3.4 at least.
issue7709
review48611002
2018-09-21 10:56:53 +02:00
Sergi Almacellas Abellana
615e50e080
Update documentation to use "activate-dependencies" instead of "install-dependencies"
...
issue7343
review52481002
2018-09-17 09:40:18 +02:00
Cédric Krier
5fadcc6c39
Add missing bus documentation in index and fix build warning
2018-09-01 14:29:51 +02:00
Cédric Krier
d221e36653
Improve ModelStorage.copy
...
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002
2018-09-01 01:02:04 +02:00
Nicolas Évrard
eb04b82822
Add bus management
...
issue7537
review66341002
2018-08-30 11:15:01 +02:00
Cédric Krier
e4a1a7fc8b
Allow to set any default configuration value from environment
...
issue7620
review74301002
2018-08-27 22:32:45 +02:00
Cédric Krier
5a7aca31ea
Manage session with max_age and timeout
...
and clear session when password is changed.
The sessions are checked using on a fix maximum age of 30 days using the
create_date value. The write_date is updated as long as the delay of the last
update is not bigger than the session timeout.
RPC can request a fresh session. A fresh session is a session that was updated
last time before the session timeout. If it is not the case, the session is
deleted and a request to create a new session is sent to the client.
All the sessions of the users for which the password has been changed are also
deleted in order to ensure that stolen session can no more be used.
We use this new feature for set_preferences of user instead of duplicate the
login mechanism.
issue7568
review53331002
2018-08-26 18:04:05 +02:00
Cédric Krier
fac1c92bef
Use passlib
...
issue4161
review51461002
2018-08-25 13:06:05 +02:00
Cédric Krier
ae06a8bca2
Add transactional queue and workers
...
issue7406
review45461002
2018-07-27 09:32:28 +02:00
Cédric Krier
7a2ce7905a
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
1e70b97140
Add missing documentation for ModelSQL.__table_history__
2018-07-19 19:23:10 +02:00
Cédric Krier
bc768136d0
Add documentation about RPC.unique
...
issue7567
review52411002
2018-07-16 14:49:34 +02:00
Cédric Krier
78b2811fff
Prevent Cache to start too much new transactions
...
resets starts a transaction only if there is something to store.
clean is run at best every 5 minutes by default.
issue7533
review64261002
2018-07-10 17:03:49 +02:00
Nicolas Évrard
d9ff752284
Add domain to dictionary schema
...
issue7199
review51401002
2018-07-09 12:41:40 +02:00
Cédric Krier
686123bd73
Stop transaction if Cache.clean failed during start
...
Otherwise the already created connection is never put back to the pool.
issue7532
review49481002
2018-07-02 23:18:40 +02:00
Cédric Krier
08d57b436d
Remove cdecimal dependency
...
It is no more needed as it is standard under Python3
2018-06-27 10:42:15 +02:00
Cédric Krier
06ac0aa064
Keep Python2 compatibility for the documentation
...
readthedocs.org build with a Python2 environment.
2018-06-26 23:04:21 +02:00
Cédric Krier
d2a461390a
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Cédric Krier
0d07dea2ac
Return new records from copy following the input order
...
issue7512
review58291002
2018-06-24 16:48:27 +02:00
Cédric Krier
58f2725049
Allow to define view id in switch client action
...
issue7364
review36181002
2018-06-20 10:18:33 +02:00
Cédric Krier
1f6dcc3e56
Precise the view_ids order for Many2Many
...
issue7509
review47531002
2018-06-18 21:53:33 +02:00
Cédric Krier
35bba61748
Make depends on methods generic to any method
...
issue5191
review50381002
2018-05-31 13:23:55 +02:00
Cédric Krier
6a50848201
Document _parent_ behaviour on One2Many
...
issue6711
review38841002
2018-05-29 10:35:26 +02:00
Cédric Krier
5ca66d5ccf
Add tree mixin
...
- Implement generic get_rec_name and search_rec_name
- Include recursive check
issue7383
review48281002
2018-05-12 00:45:55 +02:00
Cédric Krier
c1e08465dd
Correctly document the behaviour of child_of/parent_of
...
issue7404
review46421002
2018-05-07 16:38:34 +02:00
Cédric Krier
d23d7c9ccb
Do not call table_query for testing
...
Only the callable property of table_query is used to test if the ModelSQL uses
a table query or not.
issue5726
review47321002
2018-04-30 15:55:31 +02:00
Cédric Krier
00e4a51a41
Add sql_cast on Field
...
issue7266
review37141002
2018-04-30 14:59:01 +02:00
Cédric Krier
b2b613f433
Increase version number
2018-04-23 17:12:38 +02:00
Cédric Krier
1303161735
Prepare release 4.8.0
2018-04-23 17:12:01 +02:00
Cédric Krier
aa8281c1e3
Fix class name for ModelSQL.search documentation
...
issue7358
review47341002
2018-04-18 10:14:58 +02:00
Cédric Krier
60f167bcfe
Add index method to order field set calls
...
issue7090
review46301002
2018-04-05 19:18:52 +02:00
Sergi Almacellas Abellana
bfb76a70ad
Add deactivable mixin and ensure active field is present
...
issue4341
review38401002
2018-03-26 14:07:45 +02:00
Sergi Almacellas Abellana
b06f72c1be
Manage depends xml attribute on field tag
...
issue7127
review40081002
2018-03-26 10:33:02 +02:00
Nicolas Évrard
dc8f111662
Add expand attribute on group tag
...
issue7220
review38061002
2018-03-23 16:29:35 +01:00
Nicolas Évrard
ff5b79819b
Add support for search_* attributes on relational fields
...
issue6081
review25871002
2018-03-21 17:59:55 +01:00
Cédric Krier
ca2b442afc
Add depends on Pool.register
...
issue7178
review37051002
2018-03-20 17:27:12 +01:00
Cédric Krier
b3ca13748b
Add Exclude constraint
...
issue1422
review44061002
2018-03-19 16:57:49 +01:00
Nicolas Évrard
acdbe5a08f
Allow to perform unaccented searches on Char fields
...
issue7115
review44611002
2018-03-16 18:17:53 +01:00
Sergi Almacellas Abellana
ff2bded417
Ensure that all buttons are registered in ir.model.button
...
issue6389
review36621002
2018-03-01 11:59:23 +01:00
Cédric Krier
4a909f94a2
Add reset password
...
The reset password button generates a temporary random password which expires
after 1 day and is sent to the email address of the user.
The temporary password does not work as soon as a new password has been set.
The trytond-admin asks the email address for admin user and has an option to
set the admin email and to reset its password.
issue7037
review41761002
2018-02-23 19:13:19 +01:00
Sergi Almacellas Abellana
54f70e2971
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:35:37 +01:00
Cédric Krier
fbf488948b
Limit authentication attempt per IP network
...
ip_address and ip_network are added to LoginAttempt.
issue7110
review41031002
2018-02-14 19:24:01 +01:00
Cédric Krier
e8ee8dedac
Manage 'X-Forwarded' headers from proxies
...
issue7110
review41031002
2018-02-14 19:23:11 +01:00
Cédric Krier
b32d158d10
Remove MySQL backend
...
issue7017
review41771002
2018-01-24 20:12:42 +01:00
Nicolas Évrard
5673bdd98f
Add keyword attribute to button tag
...
issue7067
review39101002
2018-01-24 14:32:09 +01:00
Cédric Krier
50f4a789c0
Allow field name on image tag
...
issue7058
review43891002
2018-01-23 22:13:30 +01:00
Cédric Krier
cb29af71ad
Replace unoconv by calling soffice directly
...
issue5907
review34341002
2018-01-12 16:25:20 +01:00