Commit Graph

942 Commits

Author SHA1 Message Date
Dillon Kearns
658798e480 Add some annotations and remove some comments. 2019-12-06 20:02:24 -08:00
Philipp Krüger
55ed089a65
Documentation typo: Metadata doesn't take a param
Also: Removed redundant paranthesis.
2019-12-04 15:19:15 +01:00
Daniel Marin
362e5ffef5
Delay copying of elm files to /gen folder until cli app is done
Before this change webpack started compiling before the cli version
if the app was compiled in doCliStuff.

Not sure how but this was causing webpack to send the cli version
of the app to the browser when main.js was requested. This caused
the app to not render anything (because it was a worker app) and
not show any errors.

The change just waits until the cli finished compiling to only
then move the .elm files to the /gen folder, triggering webpack
to recompile using the correct (ui version) of the app.
2019-11-14 19:21:56 +00:00
Dillon Kearns
ca480b956d Bump npm package to 1.0.41. 2019-11-14 06:58:54 -08:00
Dillon Kearns
9e7620ad27 Update changelog. 2019-11-14 06:56:56 -08:00
Dillon Kearns
976b8d8e0e Fix regression with .emu frontmatter parsing. 2019-11-14 06:53:08 -08:00
Dillon Kearns
e617fce979 Move value out of let. 2019-11-12 20:16:46 -08:00
Dillon Kearns
f8766e0472 Only reduce JSON responses in prod build, not dev mode (so that JSON decoders can be safely re-run). 2019-11-12 20:14:34 -08:00
Dillon Kearns
18f5ef2778 Remove unused code. 2019-11-12 18:27:14 -08:00
Dillon Kearns
ebf0fd096a Add some log statements and remove some unused code. 2019-11-12 18:24:54 -08:00
Dillon Kearns
79ad4c28d3 Remove non-reducible json decoder functions from StaticHttp module. 2019-11-12 18:22:36 -08:00
Dillon Kearns
93494f4528 Remove some commented code. 2019-11-12 15:34:54 -08:00
Dillon Kearns
c8533f8fb9 Remove obsolete function. 2019-11-12 12:48:01 -08:00
Dillon Kearns
4e74a9a2eb Make request to pokeapi in example. 2019-11-12 10:00:01 -08:00
Dillon Kearns
62521a0e5a Add combine and resolve functions and test case. 2019-11-12 09:59:37 -08:00
Dillon Kearns
8401dc5dac Show pokemon sprite. 2019-11-11 19:03:11 -08:00
Dillon Kearns
b226776f60 Display errors from reducible json decoding. 2019-11-11 19:02:22 -08:00
Dillon Kearns
c0726adb2c Add request for pokemon to example. 2019-11-11 18:47:40 -08:00
Dillon Kearns
56933942c8 Rename module. 2019-11-11 17:48:08 -08:00
Dillon Kearns
7b78c2340a Remove unused modules. 2019-11-11 17:46:54 -08:00
Dillon Kearns
4c2ae1f6cf Remove some comments and debug statements. 2019-11-11 17:42:30 -08:00
Dillon Kearns
f3472892ac Wire through HTTP headers. 2019-11-11 16:57:51 -08:00
Dillon Kearns
63abeece20 Wire through empty headers in requests. 2019-11-11 16:20:53 -08:00
Dillon Kearns
cd8077ebc7 Wire through BuildErrors for Secret lookups. 2019-11-11 13:56:53 -08:00
Dillon Kearns
dad13ebd2a Fix raw response dict lookup when it includes secrets. 2019-11-11 13:01:52 -08:00
Dillon Kearns
45d5ce8e89 Wire through new Secrets API. 2019-11-11 12:40:38 -08:00
Dillon Kearns
2963598592 Add module for new Secrets API. 2019-11-10 07:35:03 -08:00
Dillon Kearns
8c04f42dd5 Add StaticHttp.request which can be used to build the other helpers. 2019-11-08 20:18:49 -08:00
Dillon Kearns
2637447fc0 Add reducedPost function. 2019-11-08 13:47:43 -08:00
Dillon Kearns
51e8617dc3 Remove a hardcoded HTTP method. 2019-11-08 07:37:26 -08:00
Dillon Kearns
80d8ee8a71 Remove a hardcoded HTTP method. 2019-11-08 07:33:53 -08:00
Dillon Kearns
e36f2734bc Wire through HTTP method into dict key for response lookup. 2019-11-07 21:47:36 -08:00
Dillon Kearns
a6fbfc36b4
Update error-style-guide.md 2019-11-05 13:56:06 -08:00
Dillon Kearns
cf4d62509b
Update error-style-guide.md 2019-11-05 13:52:37 -08:00
Dillon Kearns
d0fa4f7841
Update error-style-guide.md 2019-11-05 13:38:33 -08:00
Dillon Kearns
abba86c010
Update error-style-guide.md 2019-11-05 13:35:17 -08:00
Dillon Kearns
eb5a932c08
Create error-style-guide.md 2019-11-05 13:31:40 -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
870b941d49 Update changelog releases. 2019-11-04 10:37:44 -08:00
Dillon Kearns
d27b27115d Bump elm package. 2019-11-04 10:36:12 -08:00
Dillon Kearns
4609477816 Bump npm package to 1.0.40. 2019-11-04 10:34:51 -08:00
Dillon Kearns
15933796fa Add elm package changelog. 2019-11-04 10:33:39 -08:00
Dillon Kearns
d7b86a0d0f Update NPM changelog. 2019-11-04 10:28:13 -08:00
Dillon Kearns
f5ef176306 Generate files for extensions besides md and emu. Fixes #16. 2019-11-04 10:18:49 -08:00
Dillon Kearns
9d0e855a2d
Merge pull request #13 from bgins/remove-codeblock-newlines
Remove space above and below code elements
2019-11-03 20:21:53 -08:00
Dillon Kearns
86d14fb8e5 Only check flags for port, not env variables. 2019-11-03 20:18:49 -08:00