summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-22T4669: disallow range arguments to numeric unless explicitly allowedDaniil Baturin
with --allow-range option
2022-09-15Merge pull request #5 from jestabro/extend-numericDaniil Baturin
numeric: T4669: extend numeric.ml for inverted and range values
2022-09-06numeric: T4669: extend numeric.ml for inverted and range valuesJohn Estabrook
2022-06-18Merge pull request #4 from jestabro/increment-decrementChristian Poessinger
numeric: T4467: add support for relative values: +/-N
2022-06-17numeric: T4467: add support for relative values: +/-NJohn Estabrook
Add option '--relative' to check that value is of the form '+/-N' for some numeric N (e.g. +10' or '-30'), interpreted as a relative increment or decrement, rather than a signed integer/float. This may be combined with any other option, which will be applied to the value stripped of the leading modifier. Testing this extension revealed that negative values are being interpreted as options, whether quoted or not; to address that, an Arg.Rest keyword '--' is introduced, which will need to be passed along with the option in interface definitions using the above. For example: <validator name="numeric" argument="--relative --"/>
2022-05-13Merge pull request #2 from dmbaturin/T4421John Estabrook
T4421: add support for floating point number in the numeric validator
2022-05-10T4421: only allow numbers that look like an integer part with an optional ↵Daniil Baturin
fractional part
2022-05-10T4421: add support for floating point number in the numeric validatorDaniil Baturin
2021-12-04T4047: use full string match in the regex validatorDaniil Baturin
2021-06-22Merge pull request #1 from jestabro/T3574Daniil Baturin
T3574: add support for --grp argument
2021-06-13T3574: refactor for clarityJohn Estabrook
2021-06-08T3574: add support for --grp argumentJohn Estabrook
Add support for --grp argument, which joins the arguments following (up until the next --grp) with logical and; arguments preceding a group, and other groups following, are joined by logical or.
2021-04-18Consistent formatting in validate-value.mlDaniil Baturin
2021-03-26Jenkins: setup OCaml build environmentChristian Poessinger
2021-02-18T2759: collect output from validators in a buffer and print it only if ↵Daniil Baturin
validation fails.
2021-02-07Jenkins: enable arm64 buildsChristian Poessinger
2021-01-10Jenkins: add CI/CDChristian Poessinger
2020-06-19T1901: quote the value to avoid having the shell interpret anything as a ↵Daniil Baturin
part of the command.
2020-05-21Update debian package changelog.Daniil Baturin
2020-05-20T2434: use correct bigint comparison.Daniil Baturin
2020-05-06Initial import.Daniil Baturin
2020-05-06Initial commitDaniil Baturin