Commit Graph
6329 Commits
Author SHA1 Message Date
Cédric Krier 9bcccacfb9 Add duration and truncate data in logging messages
issue11530
issue5228
review423311003
2022-07-17 23:52:44 +02:00
Cédric Krier a3c55b07eb Setup mixin following modules dependency order
issue11586
review443341003
2022-07-17 00:07:23 +02:00
Sergi Almacellas Abellana 4db0e2dd8e Add header parameter on export data
issue9301
review439151003
2022-07-01 12:45:38 +02:00
Cédric Krier ce127c1e57 Update sendmail tests for SSL context
issue11564
2022-06-21 10:57:08 +02:00
Cédric Krier 53227fcf7b Enforce certificate validation for SMTP connection
issue11564
review417381003
2022-06-21 10:16:35 +02:00
Adrià Tarroja Caubet 16275e0259 Display asserted inherit expression when nothing found
issue11560
review419311003
2022-06-15 18:59:58 +02:00
Cédric Krier 638f5505fa Do not convert exceptions in HTTPException for RPC calls
issue11483
review423381003
2022-06-15 18:52:38 +02:00
Cédric Krier 324180552a Add example for CORS configuration 2022-06-10 12:33:37 +02:00
Cédric Krier 96ea9b0af5 Unify logging exception in wrappers
Only with_pool is responsible to log exceptions.
Also it does not log UserError nor UserWarning but convert them as HTTP client
error.

issue11483
review435131003
2022-06-09 09:29:33 +02:00
Cédric Krier 3bfcb08ab1 Do not skip eager load for field in cache but depending on non-cached fields
and filter sibling ids only if all the needed fields are in caches.

issue11481
review419131003
2022-06-08 09:21:38 +02:00
Cédric Krier f6321fefe5 Do not group PYSON domains of Reference field
Each domain depend on the target so they can not be grouped into a single OR-ed
domain.

issue11544
review437141003
2022-06-08 09:19:40 +02:00
Cédric Krier 67582d6bd8 Ignore write and delete rule domains if they are the same as the read domain
issue11480
review419121003
2022-05-31 23:47:56 +02:00
Adrià Tarroja Caubet 1b54b30a7c Do not copy avatars nor uuid
issue11518
review433161003
2022-05-25 17:38:34 +02:00
Cédric Krier 656cd60531 Add cache on list icons
issue11438
review405311003
2022-05-19 22:12:32 +02:00
Cédric Krier fb245df255 Do not depend on the context for get_language cache
issue11437
review378791003
2022-05-19 22:10:43 +02:00
Cédric Krier 38edc41514 Ignore invalid Reference field when reading related fields
issue11484
review449081003
2022-05-19 22:02:33 +02:00
Cédric Krier cece7617b9 Do not log HTTPException in with_transaction
issue11482
review443091003
2022-05-19 22:00:57 +02:00
Nicolas Évrard 7e4150ca3f Read at most cache size or IN_MAX records from the database
issue11468
review427111003
2022-05-10 15:24:37 +02:00
Cédric Krier dd0b32a107 Use recreate table to drop column and init handler after table rename
As the handler is a singleton a new instance does not recreate the table.

issue11301
2022-05-07 14:10:36 +02:00
Cédric Krier a5ac7ba55c Use singleton for TableHandler
issue11301
review366861002
2022-05-07 11:35:14 +02:00
Cédric Krier 6528808d94 Clean translations after every templates have been parsed
A report can have many templates, so we must keep the translations for all of
them.

issue11436
review388441002
2022-05-07 10:58:45 +02:00
Nicolas Évrard 2bac806bbd Remove python2 compatibility code from fields.Binary
issue11467
review411111003
2022-05-06 18:18:01 +02:00
Cédric Krier 49981f7b78 Increase version number 2022-05-02 16:25:17 +02:00
Cédric Krier ee01cc8efe Add tag 6.4.0 [skip ci] 2022-05-02 16:24:53 +02:00
Cédric Krier be9f2a039d Prepare release 6.4.0 [skip ci] 2022-05-02 16:24:52 +02:00
Cédric Krier c0bba7c096 Update translations [skip ci] 2022-05-02 10:32:24 +02:00
Cédric Krier 8495a3f828 Initialize the pool when test create database that is already created 2022-05-02 10:20:14 +02:00
Cédric Krier c5a19d008c Distinct function from method in documentation
issue11408
2022-04-30 22:57:33 +02:00
Nicolas Évrard 769c997024 Remove user login and user preferences cache
The user login cache could result in an error when using trytond in a
multiprocess environment due to a delay in the broadcast of the cache
invalidation.

The user preferences cache was there only to set the context when validating
the records but it is useless since the context is now set from the
transaction.

review401251002
issue11430
2022-04-29 17:14:27 +02:00
Cédric Krier d16c6cdbea Restore inheritance of view from different model
changeset ce1e97be71de broke the inheritance between model by using only the
base architecture without applying the inheritance from its model.

issue11387
review405321002
2022-04-27 18:28:46 +02:00
Cédric Krier ef181c33dd Negate the origin expression of Many2Many with 'not where' operator
issue11425
review403401002
2022-04-27 17:51:52 +02:00
Cédric Krier 522ecac031 Update SMTP-URL link in documentation 2022-04-27 11:48:13 +02:00
Cédric Krier 0e5e162309 Use RFC 5322 instead of deprecated 822 in documentation 2022-04-27 11:45:59 +02:00
Cédric Krier 19b74ad16b Use RFC 5322 instead of deprecated 822 in documentation 2022-04-27 11:24:55 +02:00
Korbinian Preisler 9d142e5ef5 Clear sessions when active field is changed
issue11431
review392031002
2022-04-25 23:26:47 +02:00
Cédric Krier da43cb7905 Check links in documentation
issue11409
review390641002
2022-04-25 18:34:07 +02:00
Cédric Krier 379743c0e5 Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:21 +02:00
Cédric Krier ae61d68de1 Always use a Response wrapper when using testing client
This normalize the behavior through different versions of werkzeug.

issue11353
review385001002
2022-04-22 18:32:25 +02:00
Cédric Krier 348fd9fed9 Correctly indent tutorial entry in documentation index 2022-04-22 09:34:19 +02:00
Cédric Krier 4d048ea04e Remove unused expire variable in email reset password report
Since issue10906 it is no more used.
2022-04-21 10:01:42 +02:00
Cédric Krier 0945fd9b9c Initialize the pool before running queue or cron tasks
issue11400
review384981002
2022-04-19 13:21:42 +02:00
Cédric Krier 656fdc9729 Dumps Dict values in UTF-8 instead of ASCII
This is how they are stored in the database and so we must use also the UTF-8
version when using unaccent to properly remove the accents.

issue11418
2022-04-18 19:40:01 +02:00
Cédric Krier 63c26bbeea Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:20 +02:00
Cédric Krier 38efaaf887 Escape wildcard in tree separator for name domain
issue11321
review356281002
2022-04-16 11:25:38 +02:00
Nicolas Évrard 86534e2116 Remove extra operator when simplifying nested domains
issue11406
review390621002
2022-04-14 10:21:54 +02:00
Cédric Krier 69b60e4571 Add module tutorial
review32711002
2022-04-12 13:09:01 +02:00
Cédric Krier 5288ffac8c Validate domain of view search
issue11380
review354871002
2022-04-12 10:47:17 +02:00
Cédric Krier ca287e019a Test that all XML view and SVG icon files are used
issue10830
review375751002
2022-04-12 10:35:40 +02:00
Cédric Krier 4ecc0c4c71 Add notification message
issue11065
review367951004
2022-04-11 23:41:21 +02:00
Cédric Krier fcbe0df011 Add validate_fields to ModelStorage
issue11303
review386191002
2022-04-11 23:24:21 +02:00