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 |
|
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 |
|
Dillon Kearns
|
ff44e2757b
|
Allow formData in request tests.
|
2022-01-23 20:05:05 -08:00 |
|
Dillon Kearns
|
78cc936272
|
Fix tests.
|
2022-01-23 19:30:48 -08:00 |
|
Dillon Kearns
|
51aea3b539
|
Simplify Server.Response API by combining render repsonses and server responses into the same API.
|
2022-01-17 20:56:37 -08:00 |
|
Dillon Kearns
|
de3a740165
|
Add float input type, and handle validation errors for int and float inputs.
|
2022-01-17 10:32:08 -08:00 |
|
Dillon Kearns
|
80c85a1abe
|
Run min/max validations against range input in pure Elm to ensure that UI isn't bypassed.
|
2022-01-17 09:56:20 -08:00 |
|
Dillon Kearns
|
22b3b54799
|
Use phantom types to reduce the number of cominations of functions for setting values with different types.
|
2022-01-16 15:29:06 -08:00 |
|
Dillon Kearns
|
d5478db009
|
Add time input.
|
2022-01-16 14:31:08 -08:00 |
|
Dillon Kearns
|
a769a3e569
|
Fix tests.
|
2022-01-15 19:29:30 -08:00 |
|
Dillon Kearns
|
6b7c4586c9
|
Run field-level errors and form-level errors independently to avoid duplicates but get them in real-time.
|
2022-01-15 09:06:19 -08:00 |
|
Dillon Kearns
|
9c922c8f40
|
Run field-level validations on field change. Preparing for change to store dependent validation results separately so they can be updated independently.
|
2022-01-14 15:28:17 -08:00 |
|
Dillon Kearns
|
84e7d9d157
|
Use user-defined errors instead of a set list of validation errors.
|
2022-01-14 08:46:35 -08:00 |
|
Dillon Kearns
|
b8e7a47e34
|
Give multiple errors for non-fatal validation errors.
|
2022-01-13 14:18:53 -08:00 |
|
Dillon Kearns
|
90d6bc821d
|
Add ability to do dependent validations looking at entire form value.
|
2022-01-13 09:06:58 -08:00 |
|
Dillon Kearns
|
a875161a8a
|
Fix tests.
|
2022-01-11 09:33:45 -08:00 |
|
Dillon Kearns
|
95eff70f02
|
Run validations on init. Make Int and Float ranges.
|
2022-01-10 18:35:46 -08:00 |
|
Dillon Kearns
|
7d5b999966
|
Fix tests.
|
2022-01-10 16:35:45 -08:00 |
|
Dillon Kearns
|
80171b84f8
|
Set default values in form dict on init.
|
2022-01-10 10:14:02 -08:00 |
|
Dillon Kearns
|
e042393830
|
Add function to include client-side validation.
|
2022-01-06 09:44:46 -08:00 |
|
Dillon Kearns
|
e22d688920
|
Wire up Err for client-side validations.
|
2022-01-06 08:25:14 -08:00 |
|
Dillon Kearns
|
c747893453
|
Add starting point for client-side validations.
|
2022-01-05 19:57:25 -08:00 |
|
Dillon Kearns
|
e93f127c2c
|
Fix import.
|
2022-01-01 13:55:37 -08:00 |
|
Dillon Kearns
|
86142cb6d8
|
Remove obsolete server request code from initial prototype.
|
2021-12-31 11:52:37 -08:00 |
|
Dillon Kearns
|
d79311a5fa
|
Fix tests.
|
2021-12-31 11:22:19 -08:00 |
|
Dillon Kearns
|
820fdba64d
|
Update oneOf error ordering.
|
2021-12-30 20:22:26 -08:00 |
|
Dillon Kearns
|
bfbb5866f2
|
Capture multiple matching errors for server requests.
|
2021-12-30 19:55:45 -08:00 |
|
Dillon Kearns
|
68a4fc42c4
|
Add ServerRequest tests and remove obsolete expectFormField in favor of expectFormPost.
|
2021-12-30 11:43:10 -08:00 |
|
Dillon Kearns
|
e0ac48f77a
|
Fix tests.
|
2021-12-30 10:30:58 -08:00 |
|
Dillon Kearns
|
3a56c0af9e
|
Add remaining attribute to SetCookie API.
|
2021-12-23 20:14:15 -08:00 |
|
Dillon Kearns
|
1e25d7aea4
|
Add additional SetCookie options.
|
2021-12-23 20:04:49 -08:00 |
|
Dillon Kearns
|
1c746e4c2c
|
Encode Set-Cookie values.
|
2021-12-23 19:44:52 -08:00 |
|
Dillon Kearns
|
99b35546cf
|
Add starting point for SetCookie API.
|
2021-12-23 19:25:51 -08:00 |
|
Dillon Kearns
|
27fe73ba15
|
Remove ApiRoute.int.
|
2021-12-23 15:14:36 -08:00 |
|
Dillon Kearns
|
e3bab7392c
|
Fix types in test.
|
2021-12-23 15:14:21 -08:00 |
|
Dillon Kearns
|
6dddcf96d0
|
Update ApiRoute naming for consistency with Page.elm.
|
2021-12-23 15:01:38 -08:00 |
|
Dillon Kearns
|
4fedf9ee19
|
Rename prerender -> preRender.
|
2021-12-23 13:34:19 -08:00 |
|
Dillon Kearns
|
a7bc4226e9
|
Add FormData API.
|
2021-12-22 21:28:39 -08:00 |
|
Dillon Kearns
|
6df0ce9987
|
Add cookie parser.
|
2021-12-22 14:42:35 -08:00 |
|
Dillon Kearns
|
fad924d28d
|
Add another test case.
|
2021-12-21 10:02:01 -08:00 |
|
Dillon Kearns
|
7f2d47c6de
|
Add serverless ApiRoute builder and some examples in pokedex app.
|
2021-12-21 07:47:47 -08:00 |
|
Dillon Kearns
|
c79d76f473
|
Include kind in API routes to tell the rendering mode. Generate redirects for serverless API routes.
|
2021-12-20 13:35:34 -08:00 |
|
Dillon Kearns
|
7eaa94a9e4
|
Include Pattern information for ApiRoutes.
|
2021-12-20 11:26:12 -08:00 |
|
Dillon Kearns
|
6327087998
|
Add symlink to Internal folder so unit tests can depend on copied internal code files in generated folder.
|
2021-12-11 12:20:08 -08:00 |
|
Dillon Kearns
|
c25f18610c
|
Fix review errors.
|
2021-10-07 12:11:23 -07:00 |
|
Dillon Kearns
|
99da8d8ebe
|
Delete temporary test harness.
|
2021-10-07 11:56:09 -07:00 |
|
Dillon Kearns
|
c91b01d5a4
|
Port over HTML to string helpers from elm-explorations/test. TODO - still need to port the escaping fixes I did to the elm-explorations/test implementation.
|
2021-10-07 11:34:08 -07:00 |
|
Dillon Kearns
|
0fd02b8b2c
|
Fix tests.
|
2021-09-27 10:48:49 -07:00 |
|