Commit Graph

451 Commits

Author SHA1 Message Date
Dillon Kearns
5e9492d45a Use new validated min/max field attributes in place of obsolete non-validated versions. 2022-06-23 10:29:28 -07:00
Dillon Kearns
6928e0cbbe Add minlength and maxlength. 2022-06-23 10:07:27 -07:00
Dillon Kearns
fabbec5d80 Add float field. 2022-06-23 09:36:22 -07:00
Dillon Kearns
7a655336f1 Add checked min/max field helpers. 2022-06-23 09:14:27 -07:00
Dillon Kearns
1830425a12 Add required int tests. 2022-06-23 07:41:55 -07:00
Dillon Kearns
b5b3296b05 Add some date parsing tests. 2022-06-23 07:22:48 -07:00
Dillon Kearns
fb1d6c5430 Fix optional int parsing for empty case. 2022-06-22 16:32:26 -07:00
Dillon Kearns
bd840d289f Add a field tests module. 2022-06-22 16:26:32 -07:00
Dillon Kearns
89278009be Fix tests. 2022-06-22 16:11:52 -07:00
Dillon Kearns
58c7a84038 Add basic prototype for dependent form parsing. 2022-06-20 14:20:39 -07:00
Dillon Kearns
0e682cba4b Rename module. 2022-06-18 10:34:55 -07:00
Dillon Kearns
d5b6c5bd47 Rename module. 2022-06-18 10:29:41 -07:00
Dillon Kearns
9b5a1871b3 Rename function. 2022-06-18 10:02:59 -07:00
Dillon Kearns
814794db19 Rename some types. 2022-06-18 10:01:36 -07:00
Dillon Kearns
3e44e8eccc Add test case for non-matching password confirmation. 2022-06-18 09:52:54 -07:00
Dillon Kearns
df16cf19fc Allow form parser combining function to do dependent field errors. 2022-06-18 08:44:57 -07:00
Dillon Kearns
c653bad6a4 Remove unused. 2022-06-17 09:34:04 -07:00
Dillon Kearns
04ff00414e Add initial setup for <select> form input. 2022-06-15 11:48:24 -07:00
Dillon Kearns
061643eedc Add prototype for oneOf form parsing. 2022-06-14 11:17:17 -07:00
Dillon Kearns
cc81cf6bfb Fix test. 2022-06-14 09:42:59 -07:00
Dillon Kearns
7a289700df Use form field defined in Field module. 2022-06-10 11:21:39 -07:00
Dillon Kearns
3c0bce5769 Include field errors in FormParser view function. 2022-06-09 09:54:48 -07:00
Dillon Kearns
5e9275ec4c Include a view function in form parser. 2022-06-08 08:37:36 -07:00
Dillon Kearns
4f5bbce442 Parse form data into more structure. 2022-06-08 07:23:21 -07:00
Dillon Kearns
a8de3da635 Use new approach for form proof-of-concept API. 2022-06-06 13:20:10 -07:00
Dillon Kearns
cfad541029 Update form parser API. 2022-06-03 07:23:26 -07:00
Dillon Kearns
bd98bdb095 Add prototype for form parser. 2022-06-02 11:30:15 -07:00
Dillon Kearns
16e78e8f31 Remove obsolete test case. 2022-05-11 15:53:51 -07:00
Dillon Kearns
ec40fa4740 Ensure that ActionData is exposed. 2022-05-11 15:52:15 -07:00
Dillon Kearns
cd049aaebb Fix some test errors. 2022-05-11 15:49:04 -07:00
Dillon Kearns
6a464f4418 Fix form tests. 2022-05-11 15:37:18 -07:00
Dillon Kearns
8ce0e08efa Fix hardcoded value in non-matching expectFormPost message. 2022-04-07 09:24:32 -07:00
Dillon Kearns
089db1378e Update examples. 2022-04-05 08:28:56 -07:00
Dillon Kearns
8dc986d60d Fix test error. 2022-04-04 16:48:09 -07:00
Dillon Kearns
d50846cf9b Check for exposed head function in NoContractViolations. 2022-03-31 09:17:49 -07:00
Dillon Kearns
14bee8d395 Fix test. 2022-03-31 09:17:33 -07:00
Dillon Kearns
339d54a9e9 Update examples to use ErrorPage, and add to NoContractViolations. 2022-03-29 15:32:43 -07:00
Dillon Kearns
2b8e923a30 Add annotation in test. 2022-03-25 10:42:00 -07:00
Dillon Kearns
5f183c5f89 Review fixes. 2022-03-25 10:36:09 -07:00
Dillon Kearns
91a084266f Fix Request.Parser errors for content-type mismatch. 2022-03-25 10:25:14 -07:00
Dillon Kearns
97424df15a Fix test. 2022-03-25 10:17:24 -07:00
Dillon Kearns
019b1a3242 Fix test error. 2022-03-25 10:16:08 -07:00
Dillon Kearns
f5e2b511a0 Report contract violation errors for missing exposed types and values for core modules. 2022-03-24 16:10:35 -07:00
Dillon Kearns
a6870989a1 Report missing core modules in NoContractViolations review check. 2022-03-24 15:18:28 -07:00
Dillon Kearns
58ba422c2a Fix test compilation error. 2022-03-24 10:04:12 -07:00
Dillon Kearns
4424929c0c Review fixes. 2022-03-11 11:52:33 -08:00
Dillon Kearns
717d1a8a2a Use module name lookup table to make sure RouteBuilder references are caught whether or not it is aliased/unqualified. 2022-03-11 11:29:57 -08:00
Dillon Kearns
8c87da2d04 Fix tests. 2022-03-09 09:50:34 -08:00
Dillon Kearns
9fe97c7b9a Update elm-review codemod and contract enforcer with new route naming. 2022-03-09 09:48:48 -08:00
Dillon Kearns
d1829d6cd1 Move Request Parser definition to internal package-opaque type. 2022-03-09 09:29:11 -08:00