Commit Graph
6256 Commits
Author SHA1 Message Date
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 f500317c27 Update documentation to follow guidelines 2022-03-27 16:06:09 +02:00
Cédric Krier db560a4a8f Rename queue.py into queue_.py
queue is already a module from the stdlib.

issue11305
review388071002
2022-03-26 13:06:48 +01:00
Cédric Krier 7c8e01c08d Prevent to create and delete singleton
issue1639
review378481002
2022-03-26 13:03:39 +01:00
Cédric Krier 57b1e4b69d Support PYSON size for Char field
issue11315
review390241005
2022-03-26 12:00:33 +01:00
David Harper b6e57422ec Allow CORS on root path
issue10974
review379651002
2022-03-24 09:59:09 +00:00
Sergi Almacellas Abellana 37e546a04c Allow button access to be deactivated
issue11284
review364911002
2022-03-22 09:53:36 +01:00
Sergi Almacellas Abellana 8f8cb9ba04 Allow to deactivate button access
issue11284
review364911002
2022-03-21 16:11:04 +01:00
Cédric Krier 9c4d0aa334 Always return tuple for MultiSelection
issue11282
review361021002
2022-03-20 01:45:22 +01:00
Cédric Krier 889539d5cc Use default selectors instead of select
issue11268
review364881002
2022-03-20 01:40:28 +01:00
Cédric Krier 33d19bd8f5 Backed out changeset d645aee76ab0
issue11262
2022-03-20 01:32:04 +01:00
Cédric Krier b6c1e21101 Use Timestamp for timestamp on ir.cache
issue11290
review390181003
2022-03-19 15:04:09 +01:00
Cédric Krier 8659065ca7 Add batch option to push queue tasks
issue11129
review381661002
2022-03-09 00:57:17 +01:00
Cédric Krier 5110586a84 Improve ref attribute in XML data
The model is enforced according to the ref usage.
The ref attribute can be used as value for Reference field.
The exceptions raised by the parser are normalized.

issue10982
review384341002
2022-03-07 00:52:58 +01:00
Cédric Krier 57de8723dd Import only once datetime for cache
issue11245
review370871002
2022-03-07 00:32:40 +01:00
Cédric Krier 8bd2525e95 Ensure to receive list of ids in Report.execute
issue11226
review397261002
2022-03-06 18:18:58 +01:00
Cédric Krier 0fbbe86928 Increase progressively the task retry duration up to 1 hour
issue11209
review385991002
2022-03-06 18:15:25 +01:00
Cédric Krier 8b960e55c2 Manage None as value of PYSON In
issue11280
review393771002
2022-03-06 18:02:00 +01:00
David Blanco Bautista 941038373a Remove unused imports
issue11276
review387981002
2022-03-05 17:32:18 +01:00
Cédric Krier 56c18b8a1c Protect against XML vulnerabilities
issue11219
issue11244
2022-03-01 19:07:56 +01:00
Cédric Krier 655257ec2c Use dictionary as search_order on Reference field
issue11251
review387941002
2022-02-22 23:06:02 +01:00
Cédric Krier cbd434c404 Ensure to set only once each email as default destination
issue11264
review384431002
2022-02-22 22:58:33 +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
Sergi Almacellas Abellana ec08578767 Catch UnicodeEncodeError when autocompleting emails
issue11261
review38036100
2022-02-18 13:06:20 +01:00
Cédric Krier 731009e3ab Replace ilike operator by like on Reference
issue11203
review395431002
2022-02-17 00:48:06 +01:00
Cédric Krier a9f00a2d40 Retry sending email on temporary failure
issue11179
review354581002
2022-02-17 00:43:04 +01:00
Cédric Krier 09c9e90506 Do not update field definition with Function field definition
issue11225
review360871002
2022-02-16 11:07:19 +01:00
Cédric Krier ed6f52c596 Do not sort state selection
issue11169
review374761005
2022-02-15 00:08:47 +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
Nicolas Évrard 7e3007ede1 Use the same heuristic to compute full text search config for both operation
issue11130
review395301002
2022-02-08 18:44:55 +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 a39dec543c Do not get domain from empty reference field
issue11074
2022-02-03 23:21:03 +01:00
Cédric Krier 10d277f001 Add optional column on tree view
issue10989
review374321002
2022-02-03 23:13:28 +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 c38d16b140 Always convert report when output format is different from input
issue11183
review387811002
2022-02-03 22:24:34 +01:00
Nicolas Évrard fd0709aa71 Add implicitely write_date to read columns only when reading already other columns
issue10359
review361791002
2022-02-03 15:04:03 +01:00
Nicolas Évrard 82b6bf9f1a Do not rely on depends to select the fields to read in form view
issue11134
review389681019
2022-01-31 22:25:59 +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
Cédric Krier 4a023ef216 Add RPC view_get method to View
This allows to extend the inherit mechanism of the view and support inherit for
the board view.
Also the inherit is now applied to all element found by the xpath.

issue11107
issue11108
review389601002
2022-01-23 13:32:59 +01:00
Cédric Krier 171cd78ac9 Limit board action domain to active id and ids
And use a dedicated _actions dictionary to store the active ids per action ids.

issue11106
review389591002
2022-01-23 13:27:52 +01:00
Cédric Krier c8dc6db2a8 Remove entropy check on password
It is not a good way to enforce good password. It is better to include common
password with repetitive or sequential characters in the forbidden list.

issue11100
review376341002
2022-01-23 13:05:17 +01:00
Cédric Krier 7c822ccfda Use cached data also to instantiate records with context field
If all the context fields are already in the cache we can use them without
having to call read and avoid a SQL query.

issue11096
review387631002
2022-01-23 10:23:50 +01:00
Cédric Krier 0f3587cf59 Set a max limit to sqlite backend
SQLite does not support offset without a limit. So we must use a negative value
to have no upper bound.

issue11126
review395291002
2022-01-20 19:03:19 +01:00