Commit Graph
20 Commits
Author SHA1 Message Date
Nicolas Évrard 026ae5bff4 Use PYSON's Bool evaluation for PYSON's Not evaluation
Closes #13096
2024-03-11 16:35:39 +01:00
Cédric Krier 7b86761834 Do not minify JavaScript nor CSS
It is better to rely on the server compression and ease debugging source code
even on production installation.

Closes #11936
2024-03-15 10:13:23 +01:00
Cédric Krier 9aceea55c4 Use moment to parse time
Closes #13032
2024-02-21 09:52:06 +01:00
Cédric Krier 58e2e9f70d Activate no-useless-escape rule of eslint 2024-03-10 01:00:02 +01:00
Cédric Krier 9140665f5a Activate no-constant-condition rule of eslint 2024-03-11 23:37:56 +01:00
Cédric Krier 7dcfcfcb3a Replace jshint by eslint
Closes #13087
2024-03-11 23:33:12 +01:00
Cédric Krier 2837108682 Use operators when converting PYSON to string
Closes #12986
2024-03-09 01:41:54 +01:00
Cédric Krier ea53fb3ce8 Test number of dots in name before computing unique value from a domain
The type of value may not correspond with the single_value parameter if the
domain does not apply directly to the field but to a nested field.

Closes #12843
2024-02-12 11:59:13 +01:00
Cédric Krier 45ab83cba5 Return new instances of PYSON object from PYSON shortcut methods
Closes #12985
2024-02-03 19:29:59 +01:00
Cédric Krier 2b0d50afc4 Compare leaf values only of the same type to sort domain
Closes #12792
2023-12-12 18:02:14 +01:00
Cédric Krier e58a569f23 Do not force value for single list on multi-value field
Fields based on multi-value must not be forced to the single value of a list.

Closes #12737
2023-11-14 00:00:15 +01:00
Nicolas Évrard 82ae036d3a Add a canonicalize function for domains 2023-08-14 22:32:14 +02:00
Nicolas Évrard 99211dd03d Activate EcmaScript 6 compatibility for tests 2023-06-15 22:30:30 +02:00
Cédric Krier 041a3fb9b2 Support PYSON comparison of timedelta
Closes #10727
2023-06-15 17:06:13 +02:00
Cédric Krier d7aaac6740 Support encoding timedelta into PYSON TimeDelta
Closes #10727
2023-06-15 13:57:15 +02:00
Cédric Krier 26b9f97577 Use & and | as boolean operator in search widget
Closes #11962, #8714
2022-12-27 17:36:16 +01:00
Nicolas Évrard 3632c51c18 Manage domain on id in single value list as unique
Closes #11953
2023-01-02 11:49:34 +01:00
Cédric Krier e745f06e5f Add more prefixes for humanized number
Closes #11918
2022-12-26 13:00:02 +01:00
Nicolas Évrard 37ebcfc633 Use left part of domain leaf in unique_value return value
The left part must be returned because when the value is unique we also use the
name of field for further checks

Closes #11952
2022-12-20 13:37:06 +01:00
Cédric Krier bba0707929 Prepare migration to monorepo 2022-12-16 14:46:28 +01:00