Commit Graph

460 Commits

Author SHA1 Message Date
Dillon Kearns
44c2b0a6f5 Apply fixes. 2022-06-30 09:54:25 -07:00
Dillon Kearns
7ca1b4178f Remove obosolete Form API in favor of new API. 2022-06-30 08:18:53 -07:00
Dillon Kearns
3e78e1deea Add time of day picker field. 2022-06-29 09:16:51 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
dfb9a81761 Fix tests. 2022-06-28 14:30:41 -07:00
Dillon Kearns
b82602e18f Add Validation.withErrorIf helper. 2022-06-27 10:24:34 -07:00
Dillon Kearns
b6d03955bc Fix test failure. 2022-06-25 15:38:15 -07:00
Dillon Kearns
669bc2e53f Run dependent validations even if an individual field fails so that you can have more fine-grained control over dependent errors. 2022-06-25 14:30:31 -07:00
Dillon Kearns
9713e2f637 Add helper to fail dependent parser. 2022-06-23 10:48:50 -07:00
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