Commit Graph
661 Commits
Author SHA1 Message Date
Cédric Krier 7892f8ae56 Use declarative index definition for ModelSQL
issue5757
review361251002
2022-10-11 00:44:51 +02:00
Cédric Krier 18bc7b6c63 Apply domain on translation value of the left join
issue11781
review413711003
2022-10-10 19:39:21 +02:00
Cédric Krier 8cbce1db85 Test available_timezones 2022-10-09 14:06:18 +02:00
Cédric Krier 7cbf3e93aa Skip test of scheduling cron on DST with dateutil
dateutil does not compute the ambiguity of wall time correctly.

issue11758
review418251003
2022-10-03 16:53:11 +02:00
Nicolas Évrard 1793415b7d Schedule actions using server timezone
issue9436
review423091003
2022-10-03 00:20:49 +02:00
Cédric Krier c3a8be00ca Add option to remove leading and trailing white spaces from char
issue7914
review340511008
2022-09-19 21:25:55 +02:00
Cédric Krier 827bb0b69d Activate module tests for LRUDictTransaction tests
The test case use a Transaction instance which needs a database to connect to.
2022-09-19 09:03:03 +02:00
Cédric Krier 1fcefeacc9 Strip only one wildcard
issue11682
review443571003
2022-09-16 23:36:30 +02:00
Cédric Krier db583e3df5 Test custom order by calling search on the field
issue11638
review437311003
2022-09-14 19:27:00 +02:00
Cédric Krier 986397019c Remove same types restriction on PYSON If
issue11644
review419661003
2022-09-08 13:17:54 +02:00
Cédric Krier 7dd4445f56 Allow PYSON size of fields to be None
issue11643
review411571003
2022-09-08 13:15:54 +02:00
Cédric Krier 3b55a8d341 Include record name and value in validation error message
issue5581
review26711002
2022-08-06 23:05:40 +02:00
Cédric Krier 8f1a367eaf Support not sized iterable in grouped_slice
issue11575
review431301003
2022-07-18 00:25:45 +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 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 38edc41514 Ignore invalid Reference field when reading related fields
issue11484
review449081003
2022-05-19 22:02:33 +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 ef181c33dd Negate the origin expression of Many2Many with 'not where' operator
issue11425
review403401002
2022-04-27 17:51:52 +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 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 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 cd64bd7cef Remove unused get_eval_fields import
issue11134
2022-04-10 17:24:15 +02:00
Nicolas Évrard ccd48d320c Send only the required fields when fetching a readonly view definition
issue11134
review380081002
2022-04-08 19:07:14 +02:00
Cédric Krier 860fb136e0 Update rec_name of tree with on_change
issue11021
review403131002
2022-04-08 09:55:23 +02:00
Cédric Krier 9f5f7306e0 Make warning check re-entrant
issue11341
review354821002
2022-04-08 09:50:47 +02:00
Cédric Krier e46a277f6d Make date_trunc case insensitive for SQLite
issue11365
review403201002
2022-04-06 18:54:05 +02:00
Cédric Krier 1c55eee094 Manage DatabaseDataError in ModelSQL
issue11314
review399111003
2022-04-04 00:35:38 +02:00
Cédric Krier 115d185c55 Remove support for pysqlite2
issue11316
review366931002
2022-04-04 00:14:03 +02:00
Cédric Krier 60a6d5f390 Do not import empty One2Many data
issue11308
review388081002
2022-04-04 00:11:26 +02:00
Nicolas Évrard 5e78e9bccc Add compatibility with Werkzeug 2.1.0
issue11353
review356241003
2022-03-31 13:43:36 +02:00
Nicolas Évrard 27135a1bb7 Deduplicate entries in domain inversion's simplify
issue11248
review397301002
2022-03-30 19:20:31 +02:00
Cédric Krier 57b1e4b69d Support PYSON size for Char field
issue11315
review390241005
2022-03-26 12:00:33 +01:00
Cédric Krier 9c4d0aa334 Always return tuple for MultiSelection
issue11282
review361021002
2022-03-20 01:45:22 +01:00
Cédric Krier 8b960e55c2 Manage None as value of PYSON In
issue11280
review393771002
2022-03-06 18:02:00 +01:00
Cédric Krier 33b9833b65 Recompute path if part of the old path has already been updated
This happens when multiple parent are modified at the same time.
In such case the new path previously computed is no more correct.

issue11266
review368141002
2022-02-22 22:57:03 +01:00
Cédric Krier dd58ab653e Fill Value of MultiValue with the other default values
issue11077
review370761002
2022-02-21 00:52:10 +01:00
Cédric Krier 2495c0cbdd Order unsorted Selection by index definition
issue11169
review387771003
2022-02-15 00:06:57 +01:00
Cédric Krier 36d5bce9bc Avoid concurrency failure in cache with channel test
We need to ensure that the listener is running on the return of the transaction
start otherwise notification can be missed.
We must also just from time to time check that the listener is still the
current listener.
And finally we can not wait an arbitrary time for cache sync, instead we must
rely on the _clean_last being reset with the sync happens.

issue9413
review364831002
2022-02-14 23:12:00 +01:00
Nicolas Évrard 2147a5de01 Add tests on the euristic to compute the full text search configuration
issue11130
review395301002
2022-02-08 18:45:42 +01:00
Cédric Krier b20ee5bb48 Use subTest inside loop in ModuleTestCase
issue11195
review393571002
2022-02-07 00:40:56 +01:00
Cédric Krier 632deb43e5 Use dictionary as domain for Reference field
issue11074
review383911002
2022-02-03 23:05:47 +01:00
Cédric Krier 49f6350151 Use simplified parser for get_eval_fields
Instead of using the PYSONEncoder we can just iterate over the basic JSON types
and use the pyson method to retrieve nested PYSON instances.

issue11164
review376551002
2022-01-30 13:10:57 +01:00
Cédric Krier 5f34224215 Include model, field and column in import data error message
issue11132
review381701002
2022-01-30 12:58:51 +01:00
Cédric Krier 19ad886d45 Add limit to search count
issue10967
review389301002
2022-01-30 01:42:23 +01:00
Cédric Krier af64c1e2d7 Remove password entropy test
issue11100
2022-01-23 22:06:21 +01:00