3
0

28 Commits

Author SHA1 Message Date
Tomaž Jerman
e8451fa855 Tweak value validators to not require checker functions 2021-02-24 15:24:39 +01:00
Denis Arh
cd1f25ab68 Keep ref to module on compose record 2021-02-03 12:43:22 +01:00
Tomaž Jerman
3572364ac1 Fix select value validator edgecase 2020-12-21 15:54:31 +01:00
Denis Arh
da7c4d0174 Fix option validation tests 2020-12-11 08:30:14 +01:00
Denis Arh
22061063c9 Fix select field option list value type conversion 2020-12-10 20:14:36 +01:00
Denis Arh
8296e48f89 Prevent exec of value vldt/san/fmt on val. expr fields 2020-11-30 20:31:02 +01:00
Denis Arh
01da39a484 Fix broken value expr tests 2020-11-30 20:31:02 +01:00
Denis Arh
791b002ed9 Support for basic expr functions (num, date, str) 2020-11-30 20:31:02 +01:00
Denis Arh
61469330f3 Add pkg/expr for unified expression handling 2020-11-30 20:31:02 +01:00
Denis Arh
112a72410c Implement expressions storage on module fields 2020-11-30 20:31:02 +01:00
Denis Arh
784f61cc27 Expression error logging 2020-11-30 20:31:02 +01:00
Denis Arh
3d2a3130f6 Implement value validators on fields 2020-11-30 20:31:02 +01:00
Denis Arh
d2142d6448 Implement value formatters on fields 2020-11-30 20:31:02 +01:00
Denis Arh
cf7b31cbc0 Implement value sanitizers on fields 2020-11-30 20:31:02 +01:00
Denis Arh
dcd3beeced Implement value expressions on fields 2020-11-30 20:31:02 +01:00
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00
Denis Arh
4cef8eecd4 Tidy up id.Next() and time.Now() use 2020-09-16 07:37:06 +02:00
Denis Arh
24f8457d71 Rename Storable interface to Storer
See https://golang.org/doc/effective_go.html#interface-names
2020-09-09 08:40:50 +02:00
Denis Arh
e8049fe7aa Pass ctx+store to validators, refactor record (script) triggering 2020-08-27 23:21:14 +02:00
Jože Fortun
dec88dcd98 Fix number sanitizer bug 2020-07-17 13:37:11 +02:00
Denis Arh
df6909286a Improve number sanitization (precision) 2020-06-26 13:14:11 +02:00
Tomaž Jerman
ce9c997584 Respect Number field's specified precision 2020-06-26 13:14:10 +02:00
Denis Arh
526a76dd71 Add output formatter for record values 2020-03-26 20:21:13 +01:00
Denis Arh
ed445d120c Sanitization & validation refactoring (dates, refs) 2020-03-11 19:45:33 +01:00
Denis Arh
f4ce3bbbe5 Fix problems with multi-value set/del 2020-03-10 11:06:21 +01:00
Denis Arh
efb82f721d Remove obsolete automation files & references to it 2020-02-26 08:32:17 +01:00
Denis Arh
79047e9d39 Add value validators & sanitizers for all field kinds 2020-02-25 17:25:55 +01:00
Denis Arh
7ce5a13bca Refactor and improve record value sanitization & validation 2020-02-22 06:53:01 +01:00