Commit Graph

442 Commits

Author SHA1 Message Date
Dillon Kearns
e36f2734bc Wire through HTTP method into dict key for response lookup. 2019-11-07 21:47:36 -08:00
Dillon Kearns
32359078f9 Use record with method option for StaticHttp requests in preparation for configurable request headers and method. 2019-11-05 07:53:17 -08:00
Dillon Kearns
5b8ccee881 Use record for unmasked urls in preparation for adding HTTP request headers, method, and body. 2019-11-04 18:24:02 -08:00
Dillon Kearns
2152a71e7c Handle passing through reduced responses with map2. 2019-11-04 13:48:30 -08:00
Dillon Kearns
5f90f03ab3 Make sure stripped responses are passed through andThen chains. 2019-11-04 13:24:08 -08:00
Dillon Kearns
c20071a06e Fix up elm.json and remove test only and logs. 2019-11-04 13:05:12 -08:00
Dillon Kearns
a04f26bc99 Get a simple test case passing for JSON reducers! 2019-11-03 10:07:20 -08:00
Dillon Kearns
28c48af222 Fix test expectaion. 2019-11-02 14:46:52 -07:00
Dillon Kearns
72c84901ff Make sure missing secrets are reported for nested andThen requests. 2019-11-02 14:17:32 -07:00
Dillon Kearns
e6f8b691eb Terminate with port message after HTTP error. 2019-11-02 13:14:09 -07:00
Dillon Kearns
d7bd04a24e Use opaque types for url masking logic. 2019-11-02 11:13:33 -07:00
Dillon Kearns
458e67d776 Fix incorrect test expectation. 2019-11-02 07:43:25 -07:00
Dillon Kearns
9d0653a9aa Fix stale data being passed to function. 2019-11-01 16:46:12 -07:00
Dillon Kearns
1a70ac7713 Get happy path for StaticHttp.andThen working. 2019-11-01 13:29:09 -07:00
Dillon Kearns
7961a3c58d Fix implementation of StaticHttp.map for new andThen type. 2019-10-30 20:11:24 -07:00
Dillon Kearns
e48c16da94 Fix failing test. 2019-10-29 22:33:47 -07:00
Dillon Kearns
f44be0d46c Make sure that duplicate requests don't cause the CLI to hang. 2019-10-29 21:45:23 -07:00
Dillon Kearns
c313a1ce6a Restore html error messages for frontmatter decoder errors. 2019-10-29 12:42:52 -07:00
Dillon Kearns
60e93f393a Make sure port is sent out when there are no static http requests. 2019-10-28 08:04:34 -07:00
Dillon Kearns
89c9f9d803 Refactor test setup. 2019-10-28 07:57:21 -07:00
Dillon Kearns
65ad09d51f Fix test. 2019-10-26 16:50:09 -07:00
Dillon Kearns
de64cea7bb Remove unnecessary line of code. 2019-10-25 07:00:04 -07:00
Dillon Kearns
69e465d511 Fetch and store values from secrets. 2019-10-24 08:26:41 -07:00
Dillon Kearns
dd42d5eb78 Wire through secrets more. 2019-10-24 07:06:50 -07:00
Dillon Kearns
7cd6ebe39b Show decoder errors for each page. 2019-10-24 06:13:15 -07:00
Dillon Kearns
650d393f7c Show decoder failures during CLI build. 2019-10-24 05:58:48 -07:00
Dillon Kearns
34324d7b19 Change StaticHttp design to allow for multiple requests per page. 2019-10-23 21:01:11 -07:00
Dillon Kearns
f8f5504423 Include response data in static request port payload. 2019-10-22 12:43:26 -07:00
Dillon Kearns
e88847e1d2 Get updates working for static requests dict. 2019-10-22 08:42:17 -07:00
Dillon Kearns
fe844c52d9 Only send if there are no pending requests (staticRequestsUpdate needs to be implemented). 2019-10-22 08:31:36 -07:00
Dillon Kearns
dab2e4b32c Add setup for passing in different pages and requests in static http test harness. 2019-10-22 06:46:31 -07:00
Dillon Kearns
789cc59d88 Send manifest config through port. 2019-10-21 23:06:25 -07:00
Dillon Kearns
17997d7ea0 Get test running with codec. 2019-10-21 22:00:15 -07:00
Dillon Kearns
db860c67b1 Make assertion about outgoing port. 2019-10-21 20:21:52 -07:00
Dillon Kearns
56f1bcc3cf Get http request executing in elm-program-test example. 2019-10-21 19:56:48 -07:00
Dillon Kearns
4d2115f7f7 Wire in elm-program-test simulatedEffects. 2019-10-21 19:31:17 -07:00
Dillon Kearns
9a7373db33 Set up more elm-program-test boilerplate. 2019-10-21 19:26:04 -07:00
Dillon Kearns
b3d82b4688 Fix broken examples. 2019-10-21 19:11:40 -07:00
Dillon Kearns
c2f8b5253a Prepare some boilerplate for elm-program-test. 2019-10-21 18:49:46 -07:00
Dillon Kearns
313ae0e08c Move modules over in preparation for elm package publish. 2019-09-15 16:05:40 -07:00
Dillon Kearns
f0b98c8d63 Change file structure. 2019-07-23 08:50:51 -07:00
Dillon Kearns
71dd7cbabe elm-app-gen 2019-07-22 08:11:26 -07:00