Commit Graph

3518 Commits

Author SHA1 Message Date
Dillon Kearns
f5a3d6f897 Move decrypt/encrypt logic into interal request code path. 2022-02-16 16:54:15 -08:00
Dillon Kearns
c91077ad56 Change GotBatch data type to support different response types. 2022-02-16 16:51:59 -08:00
Dillon Kearns
370afc6703 Return build error instead of caching HTTP response in cases where HTTP errors are not handled (expectJson and expectString).
SInce it's always going to fail, caching the bad response would keep it stuck in a build failure state.
2022-02-16 10:51:26 -08:00
Dillon Kearns
2b6d13234f Add DataSource.Http.expectStringResponse which allows you to get response headers and handle bad status codes. 2022-02-15 16:01:23 -08:00
Dillon Kearns
c98001161a Formatting. 2022-02-14 15:59:06 -08:00
Dillon Kearns
64be4d0bda Remove unsued. 2022-02-14 14:50:43 -08:00
Dillon Kearns
205de41f21 Update docs. 2022-02-14 11:27:30 -08:00
Dillon Kearns
4ba800d22d Remove unused. 2022-02-14 11:24:40 -08:00
Dillon Kearns
83dcf70b0e Support global head tags from API Routes so plugins can add head tags like sitemap and RSS links. 2022-02-14 11:05:42 -08:00
Dillon Kearns
11de872c7c Remove unused imports. 2022-02-13 16:08:10 -08:00
Dillon Kearns
a9e853e79e Install latest elm-optimize-level-2. 2022-02-13 14:59:41 -08:00
Dillon Kearns
9ec57474a9 Install elm-format before running build. 2022-02-13 14:56:41 -08:00
Dillon Kearns
b883a5c60f Fix netlify config for docs site. 2022-02-13 14:49:43 -08:00
Dillon Kearns
b4e9278284 Fix path for compiling CLI app. 2022-02-13 14:40:25 -08:00
Dillon Kearns
3c61e908bb Pass in --compiler flag to elm-review to use lamdera compiler. 2022-02-13 13:59:23 -08:00
Dillon Kearns
c47dfce740 Handle remaining dead-code elimination cases. 2022-02-13 13:52:31 -08:00
Dillon Kearns
64b2fbf20d Remove unused. 2022-02-13 12:42:50 -08:00
Dillon Kearns
88ca2f8a02 Remove DataSource code from bundle. 2022-02-13 12:42:31 -08:00
Dillon Kearns
b91f978d24 Move Page Modules and special elm-pages modules into app folder. 2022-02-10 16:27:56 -08:00
Dillon Kearns
ce8a3c9e5c Delete log statement. 2022-02-10 14:51:41 -08:00
Dillon Kearns
e17d89d30a Add todo. 2022-02-10 14:51:20 -08:00
Dillon Kearns
de2650e357 Remove old invocation of port://env. 2022-02-10 10:10:26 -08:00
Dillon Kearns
6c2524e72a Fix Env.get. 2022-02-10 10:06:51 -08:00
Dillon Kearns
08540c52a0 Update pokedex example. 2022-02-10 09:55:20 -08:00
Dillon Kearns
3f8b68a655 Expose a Manifest generator helper. 2022-02-10 09:26:51 -08:00
Dillon Kearns
f0626f1a21 Inline function and move into let instead of case. 2022-02-10 09:08:21 -08:00
Dillon Kearns
49e8360030 Remove some redundant declarations. 2022-02-10 08:46:52 -08:00
Dillon Kearns
92abb27596 Remove unused. 2022-02-10 08:39:14 -08:00
Dillon Kearns
56b8bf5f41 Remove Cli done Continue logic since it's only sending a single page at a time it should be safe. 2022-02-10 07:55:04 -08:00
Dillon Kearns
acb50777e7 Remove some obsolete value from the Cli Model. 2022-02-09 21:38:37 -08:00
Dillon Kearns
5d8ffab1fd Update todo comment. 2022-02-09 21:37:55 -08:00
Dillon Kearns
9d6502bd4d Remove unused code. 2022-02-09 17:25:05 -08:00
Dillon Kearns
b10b247d99 Use more threads for build process. 2022-02-09 17:21:33 -08:00
Dillon Kearns
f777ecad07 Fix error decoding. 2022-02-09 16:26:28 -08:00
Dillon Kearns
46bda23c11 Remove obsolete special case from StaticResponses resolver that passed through stripped JSON. 2022-02-09 16:26:08 -08:00
Dillon Kearns
d7109bfe40 Add missing await. 2022-02-09 15:08:06 -08:00
Dillon Kearns
a643d78ce7 Resolve Site.data . 2022-02-09 14:45:31 -08:00
Dillon Kearns
fedda39a4f Remove manifest from Site.elm and move it into user-space. 2022-02-09 10:47:59 -08:00
Dillon Kearns
1d144996d8 Use an async version to check if file exists. 2022-02-08 11:41:05 -08:00
Dillon Kearns
f21893ac04 Remove unused. 2022-02-07 21:10:05 -08:00
Dillon Kearns
8f4491adf0 Remove unused code. 2022-02-07 21:07:54 -08:00
Dillon Kearns
50e81ca5de Remove some special cases for DataSource resolvers. 2022-02-07 17:49:14 -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
9c79667003 Show 404 page for unhandled API routes. 2022-02-07 09:00:50 -08:00
Dillon Kearns
a39c53de8b Fix ordering for ApiRoute matches. 2022-02-07 09:00:50 -08:00
Dillon Kearns
4e755be53e Expose additional type from Shiki plugin. 2022-02-06 16:24:40 -08:00
Dillon Kearns
6e7a179e07 Make Cli.perform TCO-friendly. 2022-02-06 16:04:08 -08:00
Dillon Kearns
e0b5fe1a3a Make DataSource.map2 TCO-friendly. 2022-02-06 15:28:40 -08:00
Dillon Kearns
c25d8b6d38 Make DataSource.map TCO friendly. 2022-02-06 15:21:47 -08:00