Commit Graph

786 Commits

Author SHA1 Message Date
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
b66b9a3ad1 Add json exploration library temporarily. 2019-11-03 09:10:19 -08:00
Dillon Kearns
4a83041a79 First pass at wiring for reducing JSON responses. 2019-11-03 09:10:05 -08:00
Dillon Kearns
f3fbc9ff72 Update docs to use the new StaticHttp module. 2019-11-02 16:32:12 -07:00
Dillon Kearns
a6a0a5abed Add regex package. 2019-11-02 15:35:20 -07: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
e1fd4d98b1 Make sure http errors are sent out. 2019-11-02 13:27:38 -07:00
Dillon Kearns
e6f8b691eb Terminate with port message after HTTP error. 2019-11-02 13:14:09 -07:00
Dillon Kearns
d4988dffe2 Remove unused code. 2019-11-02 12:44:40 -07:00
Dillon Kearns
d7bd04a24e Use opaque types for url masking logic. 2019-11-02 11:13:33 -07:00
Dillon Kearns
c63d5767fe Remove some unused code and logging statements. 2019-11-02 07:48:57 -07:00
Dillon Kearns
458e67d776 Fix incorrect test expectation. 2019-11-02 07:43:25 -07:00
Dillon Kearns
77c3ef6d6f Fix failing test. 2019-11-02 07:40:35 -07:00
Dillon Kearns
3d4c487add Distinguish between permanent StaticHttp failures and temporary failures before all responses are available. 2019-11-02 07:22:20 -07:00
Dillon Kearns
9d0653a9aa Fix stale data being passed to function. 2019-11-01 16:46:12 -07:00
Dillon Kearns
653b2a090b Add more mapN functions. 2019-11-01 16:19:51 -07:00
Dillon Kearns
994fcd1188 Use andThen in external data example. 2019-11-01 16:10:45 -07:00
Dillon Kearns
fa21290ddb Correctly wire up StaticHttp mapN functions. 2019-11-01 16:10:27 -07:00
Dillon Kearns
1a70ac7713 Get happy path for StaticHttp.andThen working. 2019-11-01 13:29:09 -07:00
Dillon Kearns
395d421be8 Add missing package to example. 2019-11-01 13:27:04 -07:00
Dillon Kearns
4eb2238acd Update idea config. 2019-11-01 13:26:57 -07:00
Dillon Kearns
6f295fd865 Add npm test script. 2019-11-01 13:26:49 -07:00
Dillon Kearns
7961a3c58d Fix implementation of StaticHttp.map for new andThen type. 2019-10-30 20:11:24 -07:00
Dillon Kearns
4023bf8be5 Initial wiring through for andThen. 2019-10-29 23:59:48 -07:00
Dillon Kearns
e48c16da94 Fix failing test. 2019-10-29 22:33:47 -07:00
Dillon Kearns
e55f9069cc Add update helper function. 2019-10-29 22:18:37 -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
8bc59a3d59 Move over internal functions from Secrets module to a new internal module. 2019-10-29 21:29:32 -07:00
Dillon Kearns
bcf33a86da Remove duplicate errors for now. 2019-10-29 18:44:54 -07:00
Dillon Kearns
d4d1431254 Add error message banners. 2019-10-29 18:17:41 -07:00
Dillon Kearns
843a27eb0a Improve error message. 2019-10-29 18:05:55 -07:00
Dillon Kearns
7d14d8de88 Do fuzzy search suggestion for missing secret. 2019-10-29 17:59:08 -07:00
Dillon Kearns
d3a61d5146 Comment out list of all env variables for now to reduce noise. 2019-10-29 17:45:13 -07:00
Dillon Kearns
c0d1cfecce Improve CLI error messages for HTTP errors. 2019-10-29 17:42:50 -07:00
Dillon Kearns
350408b8a2 Wire through error message from failed static requests. 2019-10-29 13:18:28 -07:00
Dillon Kearns
c313a1ce6a Restore html error messages for frontmatter decoder errors. 2019-10-29 12:42:52 -07:00
Dillon Kearns
d014dbf687 Improve error messages in CLI. 2019-10-29 11:42:07 -07:00
Dillon Kearns
179527d071 Move knowledge of how to build Secrets errorr to Secrets module. 2019-10-29 11:03:39 -07:00
Dillon Kearns
ac83f57972 Wire through available environment variable names. 2019-10-29 08:41:45 -07:00
Dillon Kearns
954ba98267 Improve error messages. 2019-10-29 08:28:53 -07:00
Dillon Kearns
d0012178cc Add more error message wiring. 2019-10-28 16:26:44 -07:00
Dillon Kearns
ceb7842f26 Setup some wiring for improved errors. 2019-10-28 16:07:19 -07:00
Dillon Kearns
8941ae1e84 Print out error string from CLI without extra noise. 2019-10-28 13:16:22 -07:00
Dillon Kearns
dc27463269 Add type annotation. 2019-10-28 08:12:04 -07:00
Dillon Kearns
9aa516dc81 Remove log statement. 2019-10-28 08:05:32 -07:00