Commit Graph
10 Commits
Author SHA1 Message Date
Cédric Krier 6a701e0a8f Accept object has type for Greater statements
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.

Closes #13645
(grafted from df6e3c10a5105e545e1aa8e58c3c087285146a58)

--HG--
branch : 6.0
2024-11-04 13:09:34 +01:00
Cédric Krier ed15911ab3 Quote empty string when formatting list value of domain
This is needed to keep the empty string in the list on a second parsing.

Closes #13558
(grafted from 747825bc93a35fef995094be5ca9d7e04c414692)

--HG--
branch : 6.0
2024-10-02 17:06:58 +02:00
Cédric Krier 075c60bc62 Use equality operators when stringify in domain clause with singleton
Closes #13557
(grafted from 075696a648468748ed3d9bba7d1bba7553ab21cc)

--HG--
branch : 6.0
2024-10-02 17:02:55 +02:00
Cédric Krier c1d6b10cd2 Consider as stringable domain with empty clause
Closes #13414
(grafted from 49a55291512a957e496455f6474a9776e8c2c31c)

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

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

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

--HG--
branch : 6.0
2024-03-26 00:10:10 +01:00
Cédric Krier 8eac7634e2 Return new instances of PYSON object from PYSON shortcut methods
Closes #12985
(grafted from af58504c1e6ad2b17cac5b6c41454d7eda28c5c7)

--HG--
branch : 6.0
2024-02-03 19:29:59 +01:00
Nicolas Évrard 16de998d1b 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
(grafted from 5ae26db33565f1d67e5eb2ae975f5c16a38cd4d9)

--HG--
branch : 6.0
2022-12-20 13:37:06 +01:00
Cédric Krier afab1e5061 Prepare migration to monorepo
--HG--
branch : 6.0
2022-12-16 14:46:32 +01:00