Commit Graph

143 Commits

Author SHA1 Message Date
Dillon Kearns
99f00c1d85 Fix test. 2021-05-24 11:40:36 -07:00
Dillon Kearns
ab65e84eac Remove PagePath module. 2021-05-23 15:40:01 -07:00
Dillon Kearns
40fbf3a14f Fix test. 2021-05-23 10:53:43 -07:00
Dillon Kearns
5a88903f4e Fix test. 2021-05-23 10:44:39 -07:00
Dillon Kearns
7bcc276929 Add missing argument in test. 2021-05-19 07:58:37 -07:00
Dillon Kearns
075a886adf Add missing argument in test. 2021-05-14 19:38:10 -07:00
Dillon Kearns
ffcaabca77 Remove Site.apiRoutes, since it now lives in Api.elm. 2021-05-07 10:09:04 -07:00
Dillon Kearns
6fab76ab96 Rename ApiHandler -> ApiRoute. 2021-05-06 07:26:21 -07:00
Dillon Kearns
b16f32c1fa Rename field. 2021-05-06 07:16:05 -07:00
Dillon Kearns
4d175558ce Remove obsolete generateFiles. 2021-05-06 07:14:49 -07:00
Dillon Kearns
16b15bf4a4 Wire in initial handling for api requests. 2021-05-04 10:37:37 -07:00
Dillon Kearns
7f59d64151 Remove unused import. 2021-04-23 16:25:12 -07:00
Dillon Kearns
9c09b18812 Fix test failure. 2021-04-23 16:24:26 -07:00
Dillon Kearns
521c3c0cc7 Rename StaticData -> Data. 2021-04-23 16:22:23 -07:00
Dillon Kearns
20f37a4069 Remove obsolete sourceIcon. 2021-04-23 08:47:11 -07:00
Dillon Kearns
af55887d72 Fix test. 2021-04-22 11:33:06 -07:00
Dillon Kearns
f707815679 Fix test. 2021-04-21 07:52:56 -07:00
Dillon Kearns
1e1f16e23d Add missing field in test setup. 2021-04-20 20:54:18 -07:00
Dillon Kearns
7f14f6171a Apply review fixes. 2021-04-20 14:35:55 -07:00
Dillon Kearns
a082d9e291 Move HTTP-related DataSource API under DataSource.Http. 2021-04-20 13:52:54 -07:00
Dillon Kearns
84abfb4b2b DataSource.Request -> DataSource.DataSource. 2021-04-20 07:45:35 -07:00
Dillon Kearns
47fccf2cca Rename StaticHttp to DataSource. 2021-04-20 07:33:12 -07:00
Dillon Kearns
03fc86e577 Remove access to static data for canonicalSiteUrl for now. 2021-04-17 21:43:22 -07:00
Dillon Kearns
3b5d790bdc Remove extra argument. 2021-04-17 12:35:00 -07:00
Dillon Kearns
632e1961f0 Review fixes. 2021-04-17 08:18:26 -07:00
Dillon Kearns
e11d359222 Make sure send page progress events get kicked off when there are no initial requests from getStaticRoutes or generateFiles. 2021-04-17 07:44:22 -07:00
Dillon Kearns
9bb173baab Run elm-review. 2021-04-16 09:32:09 -07:00
Dillon Kearns
21ecb7e746 Remove debug log statements. 2021-04-16 09:28:59 -07:00
Dillon Kearns
51f2eb2a20 Remove obsolete test case. 2021-04-16 09:28:43 -07:00
Dillon Kearns
bdd4ace0fd Normalize error message test assertions. 2021-04-16 09:27:20 -07:00
Dillon Kearns
fbc161c77b Add a toString in the build error decoder for the test assertions. 2021-04-16 09:20:28 -07:00
Dillon Kearns
d04d670669 Fix getStaticRoutes wiring for tests. 2021-04-16 08:27:12 -07:00
Dillon Kearns
d0f3af3a1c Fix compiler errors in test. 2021-04-16 08:04:15 -07:00
Dillon Kearns
12b36d964f No more PathKey for PagePath! 2021-04-10 10:33:26 -07:00
Dillon Kearns
ca901b043d Apply fixes. 2021-04-10 10:12:51 -07:00
Dillon Kearns
89650a4eb1 Merge branch 'serverless' into static-files
# Conflicts:
#	examples/docs/package-lock.json
#	examples/docs/src/Template/BlogIndex.elm
#	examples/docs/src/Template/Page.elm
#	generator/src/cli.js
#	netlify.toml
#	package-lock.json
#	package.json
#	src/Pages/Internal/Platform/Cli.elm
#	tests/BetaStaticHttpRequestsTests.elm
#	tests/StaticHttpRequestsTests.elm
2021-04-05 19:49:08 -07:00
Dillon Kearns
d9e2d23cab Fix compiler error. 2021-04-05 17:15:22 -07:00
Dillon Kearns
2f78c3592a Run review fixes. 2021-04-03 21:24:08 -07:00
Dillon Kearns
6ef3000011 Handle initial StaticHttp requests to get routes. 2021-04-03 13:08:02 -07:00
Dillon Kearns
66d407b5c8 Add hardcoded fetch for static routes. 2021-04-03 09:53:42 -07:00
Dillon Kearns
e2d943d913 Add detail to test error. 2021-04-03 06:39:07 -07:00
Dillon Kearns
39b83767b6 Fix some test errors. 2021-04-02 21:43:57 -07:00
Dillon Kearns
4a199146a0 Address review errors. 2021-04-02 14:49:18 -07:00
Dillon Kearns
77ed808d18 Remove unused code. 2021-04-02 14:44:40 -07:00
Dillon Kearns
1e5d6b8a0e Add file path and glob handlers. 2021-03-31 19:55:28 -07:00
Dillon Kearns
da3ef40e7f Wire through request json. 2021-03-26 15:44:32 -07:00
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