Cédric Krier
48d894b08c
Increase version number
2018-10-01 12:31:00 +02:00
Cédric Krier
d77aeacfc2
Added tag 5.0.0 for changeset e8cadc044d59
2018-10-01 12:30:45 +02:00
Cédric Krier
472a1e0fff
Prepare release 5.0.0
2018-10-01 12:30:45 +02:00
Cédric Krier
3b7a4172e2
Update translations
2018-09-28 23:02:33 +02:00
Cédric Krier
8e9c476e6f
Use correct number arguments in rename column warning
...
issue7688
review47701002
2018-09-28 17:24:01 +02:00
Cédric Krier
77f7dda24e
Set icon on sequence strict menu
...
As it is liked to an action with the first view without type, we must set
ourself the icon.
issue7724
review48621002
2018-09-28 16:55:57 +02:00
Udo Spallek
c5829cbee9
Only use existing config files in werkzeug reloader
...
issue7727
review66401002
2018-09-27 22:19:33 +02:00
Cédric Krier
d6c6147757
Use OrdereDict to register class in Pool
...
This allow to speedup the assertion which check that a class is not already
registered.
issue7728
review49581002
2018-09-26 23:10:00 +02:00
Cédric Krier
f41cb86e69
Allow to disable Bus
...
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Cédric Krier
f02adda81b
Fix assert in Pool.register
...
The pool is filled with (cls, depends) so the assertion should be done only on
the list of cls.
issue7728
review66411002
2018-09-25 22:20:16 +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
Cédric Krier
e14201731a
Merge fs_values when extending record from other module
...
When a module extend a record from another module, it should not erase the
fs_values of the original module but instead extend it. So the data is not
considered out of sync.
issue7693
review70371002
2018-09-19 00:15:05 +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
b80f1da93e
Remove migration before 3.0 in convert.py
...
issue6470
review60341002
2018-09-14 08:28:51 +02:00
Cédric Krier
fa0ee967fa
Log configuration that are not loaded
...
issue7690
review64361002
2018-09-12 12:47:40 +02:00
Cédric Krier
81375e0d45
Use callable instead of instance of collections.Callable
...
issue7666
review50571002
2018-09-11 00:19:52 +02:00
Sergi Almacellas Abellana
3c80cfd8c4
Allow non translatable reports
...
issue4033
review56361002
2018-09-07 16:23:52 +02:00
Cédric Krier
12f6582e08
Rename tryton-dialog-* icon into tryton-*
...
issue474
2018-09-06 10:01:11 +02:00
Cédric Krier
ff948820bf
Use dropdown for attachments
...
issue7659
review50551002
2018-09-02 10:44:38 +02:00
Cédric Krier
a6a7325f46
Remove deprecation warning
...
- remove invalid escape sequence
- use read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes
issue7666
issue7390
review53361004
2018-09-01 17:06:28 +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
c37f12834e
Use a copied list to iterate on databases
...
The close method pop the database from the list during the iteration which
will change the size of the dict.
issue7639
review70331002
2018-08-27 10:43:08 +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
e310cfc96a
Remove unique constraint on attachment name
...
issue7613
review50531002
2018-08-20 22:39:16 +02:00
Cédric Krier
098ec6d737
Use material design icons
...
and redefine the default list of icons
issue474
review60291002
2018-08-19 19:59:58 +02:00
Cédric Krier
2542224ce5
Add pyson TimeDelta
...
issue7351
review47651002
2018-08-18 17:19:33 +02:00
Cédric Krier
4d779f27eb
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:52 +02:00
Cédric Krier
29d72c8746
Test mimetypes instead of the accept_mimetypes tuple
...
The property returns a list of tuple with mimetype, priority. The protocol
must be tested against only the mimetype instead of the tuple which will
always failed except if the type is exact.
issue7598
review64311002
2018-08-07 14:00:03 +02:00
Cédric Krier
507a06a107
Use sqlite3.backup when available
...
issue7212
review44131002
2018-08-06 19:05:44 +02:00
Cédric Krier
97a912896d
Improve dialog size
...
Run configuration wizard in window mode because they contain full form which
need the full main window size.
issue7511
review70301002
2018-08-01 12:21:22 +02:00
Cédric Krier
c3d2be19f5
Add support of timestamp field on client
...
issue6463
review50521002
2018-08-01 11:37:09 +02:00
Sergi Almacellas Abellana
3158279cb3
Remove button if it is not allowed to access some of its dependant fields
...
issue7502
review47511002
2018-08-01 10:44:06 +02:00
Cédric Krier
bc0799ece3
Add support for Python 3.7
...
issue7547
2018-07-28 16:44:11 +02:00
Cédric Krier
ae06a8bca2
Add transactional queue and workers
...
issue7406
review45461002
2018-07-27 09:32:28 +02:00
Cédric Krier
14e98fbcd3
Remove extra cls argument in __table_handler__ call
2018-07-24 22:16:18 +02:00
Cédric Krier
7a2ce7905a
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
3547690d8b
Allow SQL expression and where clause in index_action
...
issue7580
review46621002
2018-07-24 19:29:16 +02:00
Cédric Krier
1e70b97140
Add missing documentation for ModelSQL.__table_history__
2018-07-19 19:23:10 +02:00
Cédric Krier
8d291af9d9
Fallback to import http.client if HTTPStatus is not present
...
HTTPStatus is available only since Python 3.5
2018-07-16 15:47:15 +02:00
Cédric Krier
bc768136d0
Add documentation about RPC.unique
...
issue7567
review52411002
2018-07-16 14:49:34 +02:00
Cédric Krier
45a5984a0e
Use HTTP status code
...
- FORBIDDEN for forbidden RPC and no database list
- UNAUTHORIZED for login failure
issue7565
review49511002
2018-07-16 14:47:05 +02:00
Sergi Almacellas Abellana
26f775e0b4
Add test for recursive dependant fields without access
...
issue7501
review46551002
2018-07-11 16:23:11 +02:00
Sergi Almacellas Abellana
119af696a1
Recursively remove dependant fields when no access
...
issue7501
review46551002
2018-07-11 16:22:37 +02:00
Cédric Krier
283b3970f8
Do not keep unused database for 30 minutes
...
This prevents to keep the minimal connection on database that are not used
anymore. And set minimal connection to 0 for template1
issue7531
review62261002
2018-07-10 17:56:44 +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
Cédric Krier
9681897041
Implicit conversion to boolean in PYSON statement
...
issue7528
review58271002
2018-07-10 16:55:37 +02:00