Commit Graph
17 Commits
Author SHA1 Message Date
Cédric Krier ae32cd004d Consider as stringable domain with empty clause
Closes #13414
(grafted from 49a55291512a957e496455f6474a9776e8c2c31c)

--HG--
branch : 7.0
2024-08-07 16:34:09 +02:00
Nicolas Évrard 87b1e66f67 Use PYSON's Bool evaluation for PYSON's Not evaluation
Closes #13096
(grafted from 009133813b11f264b5e038dc9c5912dc9e0101cb)

--HG--
branch : 7.0
2024-03-11 16:35:39 +01:00
Cédric Krier 3da873995a Use moment to parse time
Closes #13032
(grafted from 1b77b079e942f554c4f074533e209a340e5afa80)

--HG--
branch : 7.0
2024-02-21 09:52:06 +01:00
Cédric Krier caee2b8855 Replace jshint by eslint
Closes #13087
(grafted from b2a2c9483562f6ae5430df5cc957148003ac3520)

--HG--
branch : 7.0
2024-03-11 23:33:12 +01:00
Cédric Krier ae84e0a539 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
(grafted from 411d5752ff2a1283d65fb457a5c9ac2f399dafb0)

--HG--
branch : 7.0
2024-02-12 11:59:13 +01:00
Cédric Krier 1a543f72f2 Return new instances of PYSON object from PYSON shortcut methods
Closes #12985
(grafted from af58504c1e6ad2b17cac5b6c41454d7eda28c5c7)

--HG--
branch : 7.0
2024-02-03 19:29:59 +01:00
Cédric Krier d4660a701a Compare leaf values only of the same type to sort domain
Closes #12792
(grafted from cb0f2181f6188f8a920e591f0d27a2dac6be5678)

--HG--
branch : 7.0
2023-12-12 18:02:14 +01:00
Cédric Krier 4afb959a07 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
(grafted from c320a786923f19e138459d9a128c7d8cb097f1b1)

--HG--
branch : 7.0
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