Nicolas Évrard
6a4c1aa5e3
Parse equality to a date as two clauses when handling datetime fields
...
Closes #14778
(grafted from 6952308a8b6b65ff583a2b04d9cd558b44c4e4a9)
--HG--
branch : 8.0
2026-04-14 18:29:42 +02:00
José Antonio Díaz Miralles
6bbf39afb4
Replace bower by nodejs to handle dependencies
...
Closes #13566
2024-10-04 20:54:56 +02:00
Cédric Krier
e189e555fe
Fix domain parser for Reference field when there is no value but a target
...
Closes #14413
2025-12-11 18:27:45 +01:00
Cédric Krier
66da5bf18a
Add support to domain parser to search on empty relation field
...
Closes #14106
2025-11-06 18:15:38 +01:00
Cédric Krier
dc53b5fff1
Update npm dependencies
2025-04-12 21:11:11 +02:00
Cédric Krier
11bac062f7
Update gettext.js dependency to version 2
2025-01-13 19:05:35 +01:00
Cédric Krier
5d9be5e253
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
2024-11-04 13:09:34 +01:00
Cédric Krier
286c924486
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
2024-10-02 17:06:58 +02:00
Cédric Krier
8edd9f79f8
Use equality operators when stringify in domain clause with singleton
...
Closes #13557
2024-10-02 17:02:55 +02:00
Nicolas Évrard
6907ea5b7b
Add warning when using implicit rec_name target for relational domain
2024-09-07 00:39:55 +02:00
Nicolas Évrard
5cbedc1afd
Add tests on PYSON default value
2024-09-27 15:30:47 +02:00
Cédric Krier
6f7109b317
Consider as stringable domain with empty clause
...
Closes #13414
2024-08-07 16:34:09 +02:00
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