Commit Graph

500 Commits

Author SHA1 Message Date
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
Dillon Kearns
8911ef9bb3 Rename Server.Request.Request -> Server.Request.Parser. 2022-03-08 08:57:46 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
18666e18be Update error messages and internal naming in no contract violations rule. 2022-03-05 09:40:23 -08:00
Dillon Kearns
70143e7149 Fix no contract violations check to handle new Route Modules naming convention. 2022-03-05 09:38:18 -08:00
Dillon Kearns
1e2f4981ed Comment out test case that's still in the design stage. 2022-03-04 09:39:33 -08:00
Dillon Kearns
a0c378a1df Move final test cases to glob end-to-end test suite. 2022-03-04 09:37:00 -08:00
Dillon Kearns
bb81c49d0e Move test case to end-to-end suite. 2022-03-04 09:32:21 -08:00
Dillon Kearns
088dc59ec3 Move another test case to end-to-end suite. 2022-03-04 09:30:00 -08:00
Dillon Kearns
a937049993 Move test case to end-to-end suite. 2022-03-04 09:27:32 -08:00
Dillon Kearns
bfffe9e43b Move test case to end-to-end suite. 2022-03-04 09:12:06 -08:00
Dillon Kearns
2639d1333d Move test case. 2022-03-04 09:09:43 -08:00
Dillon Kearns
509535304e Remove duplicate test case. 2022-03-04 09:07:31 -08:00
Dillon Kearns
be20a6c9ee Remove duplicate test case. 2022-03-04 09:06:58 -08:00
Dillon Kearns
fb7f5fa1e9 Remove duplicate test case. 2022-03-04 09:06:10 -08:00
Dillon Kearns
8adac30f30 Move test case. 2022-03-04 09:05:35 -08:00
Dillon Kearns
0688e579dd Move test case. 2022-03-04 09:03:59 -08:00
Dillon Kearns
c6ddc0872c Move some test cases from old glob unit tests to new end-to-end tests. 2022-03-04 09:01:34 -08:00
Dillon Kearns
4a2e3c552c Remove cache tests since it's no longer used. 2022-03-04 08:47:30 -08:00
Dillon Kearns
f3c636a45d Review fixes. 2022-02-27 08:50:43 -08:00
Dillon Kearns
68fe1c2539 Remove redundant map function from expectString. 2022-02-27 08:09:33 -08:00
Dillon Kearns
d11226df45 Fix test case. 2022-02-26 14:42:31 -08:00
Dillon Kearns
3d2ebc6965 Remove commented code. 2022-02-26 14:36:03 -08:00
Dillon Kearns
c48cec7cde Fix a test case. 2022-02-26 14:35:52 -08:00
Dillon Kearns
7afbd8188e Fix a test case. 2022-02-26 14:18:37 -08:00
Dillon Kearns
edfe401f30 Fix some test cases. 2022-02-26 14:10:31 -08:00
Dillon Kearns
c56052dd8b Update message in test assertion. 2022-02-26 13:32:34 -08:00
Dillon Kearns
c8a37ed3c5 Review fixes. 2022-02-26 09:48:36 -08:00
Dillon Kearns
f82212e222 Fix test cases. 2022-02-26 09:38:03 -08:00
Dillon Kearns
de74127a3d Fix some test cases. 2022-02-26 08:46:07 -08:00
Dillon Kearns
b54e14570d Fix test compilation errors. 2022-02-26 08:36:55 -08:00
Dillon Kearns
3ec317f031 Fix a test case. 2022-02-26 08:32:31 -08:00
Dillon Kearns
5924109f7c Fix a test case. 2022-02-26 07:44:16 -08:00
Dillon Kearns
00edf1cd6e Fix some test cases. 2022-02-25 17:30:21 -08:00
Dillon Kearns
fc4d470405 Fix some test errors. 2022-02-25 16:57:50 -08:00
Dillon Kearns
e793a8fe89 Ensure that fixes don't infinitely apply for Request.oneOf [] case. 2022-02-21 15:50:17 -08:00
Dillon Kearns
c47dfce740 Handle remaining dead-code elimination cases. 2022-02-13 13:52:31 -08:00
Dillon Kearns
88ca2f8a02 Remove DataSource code from bundle. 2022-02-13 12:42:31 -08:00
Dillon Kearns
8f4491adf0 Remove unused code. 2022-02-07 21:07:54 -08:00
Dillon Kearns
3e65d2fae1 Fix test errors. 2022-02-07 14:50:38 -08:00
Dillon Kearns
6d2ce4d542 Fix some test suite errors. 2022-02-07 14:27:05 -08:00
Dillon Kearns
a39c53de8b Fix ordering for ApiRoute matches. 2022-02-07 09:00:50 -08:00
Dillon Kearns
a7f2fa7eda Remove obsolete unoptimizedRequest function. 2022-01-28 09:42:52 -08:00
Dillon Kearns
406c0cafd8 Rename function. 2022-01-28 09:34:11 -08:00
Dillon Kearns
a81de386d9 Remove unused. 2022-01-27 20:57:48 -08:00
Dillon Kearns
5d35b2c04c Fix compiler errors. 2022-01-27 20:43:16 -08:00
Dillon Kearns
d29d975596 Fix compiler errors. 2022-01-27 20:41:54 -08:00
Dillon Kearns
0e3958a71c Review fixes. 2022-01-27 20:21:49 -08:00
Dillon Kearns
9619e3e199 Apply some elm-review fixes. 2022-01-27 16:03:42 -08:00
Dillon Kearns
0cd9a56675 Add quotes around field name in error message. 2022-01-24 19:09:46 -08:00
Dillon Kearns
2d22f73aa8 Fix tests. 2022-01-24 15:43:37 -08:00
Dillon Kearns
d477687f18 Add test case. 2022-01-24 15:43:05 -08:00