Commit Graph

97 Commits

Author SHA1 Message Date
Dillon Kearns
f7e1e8d3cb Run elm-review fixes. 2020-12-07 08:41:10 -08:00
Dillon Kearns
74b3ba2b5e Fix compiler error. 2020-10-26 11:50:06 -07:00
Dillon Kearns
5ad85cad0d Use ImagePath for manifest icons. 2020-10-20 20:48:21 -07:00
Dillon Kearns
59a8d1f5da Fix compiler error. 2020-10-20 19:38:51 -07:00
Dillon Kearns
7ae76293d8 Fix compiler error in tests. 2020-10-19 17:41:27 -07:00
Dillon Kearns
299ebd0edc Use codecs to send out ports to JS. 2020-10-17 18:58:17 -07:00
Dillon Kearns
eb170bd2c1 Fix some test compiler errors. 2020-10-17 13:47:41 -07:00
Dillon Kearns
4587e235d8 Process one page at a time. 2020-10-13 21:02:12 -07:00
Dillon Kearns
1d304ad094 Wire in starting point for continuing steps one at a time for cli pre-rendering. 2020-10-13 15:40:36 -07:00
Dillon Kearns
86ea65a3ba Generate multiple pages, and show error messages. 2020-10-11 21:21:34 -07:00
Dillon Kearns
daa128796d Split off beta build process and add snapshot test. 2020-10-09 17:08:02 -07:00
Dillon Kearns
7c32c6683f Avoid using deprecated individually cached responses per request in one case. 2020-10-07 12:27:33 -07:00
Dillon Kearns
962c397d75 Restore staticResponses update for now to fix some cases. 2020-10-07 11:08:43 -07:00
Dillon Kearns
1a20715be6 Avoid storing stripped requests and instead compute at the last moment. 2020-10-06 21:02:23 -07:00
Johannes Maas
aa27d9a49e Update error message test 2020-07-19 20:09:38 +02:00
Dillon Kearns
4962bf6520 Make pending requests check check if the cache contains requests. Fixes #107. 2020-06-15 19:42:04 -07:00
Dillon Kearns
4101b060a5 Use equalDicts helper. 2020-06-15 15:23:07 -07:00
Dillon Kearns
0d39eafb06 Add test case for generating files with static http data. 2020-06-13 13:43:35 -07:00
Dillon Kearns
229a8c4445 Add additional parameter to test start function. 2020-06-13 12:31:47 -07:00
Dillon Kearns
44b5fad025 Rewrite type annotation across lines. 2020-06-13 12:29:36 -07:00
Dillon Kearns
79d4d6bdcc Extract codec to module. 2020-06-13 06:09:09 -07:00
Dillon Kearns
f0d67660b3 Extract Effect type to module. 2020-06-11 20:57:19 -07:00
Dillon Kearns
eef6e7d568 Extract ToJsPayload module. 2020-06-11 20:55:19 -07:00
Dillon Kearns
2fb7f0c08d Make sure to eagerly evaluate markdown rendering in CLI mode to get errors. 2020-05-13 21:14:05 -07:00
Dillon Kearns
eab4900140 Clean up some code. 2020-05-11 16:42:54 -07:00
Dillon Kearns
43bfd94df2 Fix test failure. 2020-05-11 10:42:40 -07:00
Dillon Kearns
4cf6ad9d92 Merge branch 'master' into generate-files-static-http 2020-05-11 09:27:30 -07:00
Dillon Kearns
dedeb0725d Add a test case. 2020-04-19 10:35:17 -07:00
Dillon Kearns
3c690106f4 Wire in static http cache to prevent making extra requests. 2020-04-19 08:17:51 -07:00
Dillon Kearns
f72a4588c7 Add an optimized decoder wrapper module. 2020-04-16 22:03:39 -07:00
Steven Vandevelde
07c001d998 Adjust tests 2020-03-11 17:03:47 +01:00
Dillon Kearns
1bc941de89 Hardcode empty generate files as a first step before actually performing the static http requests. 2020-03-07 11:28:13 -08:00
Dillon Kearns
3cdbe8b0a3 Include content type in StringBody. Include more context in bad http requests. 2020-03-04 08:24:06 -08:00
Dillon Kearns
f158af027e Expose specific variants of Expect explicitly, and change String version to give a Result. 2020-03-03 07:54:16 -08:00
Dillon Kearns
ce28a25acb Add a simple copy-pasted API for StaticHttp Expect values. 2020-03-02 22:08:00 -08:00
Dillon Kearns
25bbea6f9b Add an escape hatch for unoptimized StaticHttp requests. 2020-03-01 19:09:39 -08:00
Dillon Kearns
c7145974a7 Fix a test failure. 2020-01-27 15:28:42 -08:00
Dillon Kearns
5a1e06c729 Keep dev server running for non-fatal errors. 2020-01-27 15:05:40 -08:00
Dillon Kearns
2825dd038f Fix compilation error in test module. 2020-01-26 10:19:37 -08:00
Dillon Kearns
c79d736844 Change generateFiles to return Results so users can make it fail explicitly instead of squelching errors. 2020-01-25 12:47:06 -08:00
Dillon Kearns
81ce8979e9 Comment out debug log statement. 2020-01-03 14:02:24 -08:00
Dillon Kearns
cc2b43ed23 Move the body constructors to the StaticHttp module to be more analagous to elm/http. 2020-01-03 13:57:45 -08:00
Dillon Kearns
21da4794e7 Change Body to Custom Type. 2020-01-03 13:37:50 -08:00
Dillon Kearns
5c9e8bc9b5 Include Body in StaticHttp requests. 2020-01-03 13:22:53 -08:00
Dillon Kearns
f2e8c70883 Change url hashing function to use JSON encoding. 2020-01-03 12:18:18 -08:00
Dillon Kearns
80b852e55d Move StaticHttp under Pages module namespace. 2019-12-11 06:13:02 -08:00
Dillon Kearns
4545e1229e Remove some noise. 2019-12-09 09:41:01 -08:00
Dillon Kearns
adfd95678a Use plaintext test helper. 2019-12-07 06:46:45 -08:00
Dillon Kearns
79142c7be1 Inline error to string function for static http requests. 2019-12-07 06:35:36 -08:00
Dillon Kearns
8ddfa36dee Move error titles into BuildError type. 2019-12-07 06:21:54 -08:00