Dillon Kearns
|
175417a7cc
|
Wire up hardcoded error page state.
|
2022-03-31 10:46:39 -07:00 |
|
Dillon Kearns
|
c8ff9e0ca1
|
Try optimized build.
|
2022-03-31 09:51:12 -07:00 |
|
Dillon Kearns
|
e53c897eb6
|
Try rendering static 404 pages in build.
|
2022-03-31 09:24:46 -07:00 |
|
Dillon Kearns
|
07fd572c46
|
Wire up head in ErrorPage.
|
2022-03-31 09:18:02 -07:00 |
|
Dillon Kearns
|
b4dc540cc2
|
Add a try catch for killApp in render.
|
2022-03-31 09:06:17 -07:00 |
|
Dillon Kearns
|
40ffea6ce9
|
Render error pages with Shared.view.
|
2022-03-31 09:04:11 -07:00 |
|
Dillon Kearns
|
f739f70706
|
Change argument order for Route.link helper.
|
2022-03-31 08:25:43 -07:00 |
|
Dillon Kearns
|
339d54a9e9
|
Update examples to use ErrorPage, and add to NoContractViolations.
|
2022-03-29 15:32:43 -07:00 |
|
Dillon Kearns
|
34f428f1df
|
Add proof of concept for error pages.
|
2022-03-29 11:48:04 -07:00 |
|
Dillon Kearns
|
3790fbe7b7
|
Merge pull request #282 from j-maas/fix-port-data-source-import-windows
Fix port data source import on Windows
|
2022-03-25 11:28:41 -07:00 |
|
Dillon Kearns
|
4f58d763f4
|
Generate preload directive for hashed entrypoint JS file.
|
2022-03-25 09:50:50 -07:00 |
|
Dillon Kearns
|
9e498ca93b
|
Update examples.
|
2022-03-25 09:03:22 -07:00 |
|
Dillon Kearns
|
05bd7b0bff
|
Fix build step logic to show elm-review contract violation errors.
|
2022-03-24 15:27:46 -07:00 |
|
Dillon Kearns
|
9262399fdc
|
Remove redundant fields from dev server adapter.
|
2022-03-21 12:10:52 -07:00 |
|
Dillon Kearns
|
2d0f0f2651
|
Wire up Effect type.
|
2022-03-21 09:45:11 -07:00 |
|
Dillon Kearns
|
67c0fb57b0
|
Add missing argument to generator.
|
2022-03-21 08:16:48 -07:00 |
|
Dillon Kearns
|
a437459865
|
Merge remote-tracking branch 'origin/master' into serverless-latest
|
2022-03-20 07:31:15 -07:00 |
|
Johannes Maas
|
d9ecd328d8
|
Differentiate between missing port data source file and import error
|
2022-03-20 15:22:00 +01:00 |
|
Johannes Maas
|
10cf930226
|
Fix import of port-data-source.js on Windows.
|
2022-03-20 14:28:49 +01:00 |
|
Sev Furneaux
|
74ca559626
|
Upgrade elm-optimize-level-2 to 0.3.4
|
2022-03-15 22:47:06 +00:00 |
|
Dillon Kearns
|
7ff9b555f3
|
Add DataSource request mocking prototype.
|
2022-03-14 19:17:19 -07:00 |
|
Dillon Kearns
|
55ac3da02d
|
Update starter template.
|
2022-03-14 11:39:41 -07:00 |
|
Dillon Kearns
|
f2f51cd40d
|
Remove app dying messages from compiled lamdera output.
|
2022-03-11 11:50:02 -08:00 |
|
Dillon Kearns
|
6ecc087a0f
|
Improve error message.
|
2022-03-11 11:46:13 -08:00 |
|
Dillon Kearns
|
44ffec84c1
|
Use strict lamdera bytes decoder.
|
2022-03-11 11:32:29 -08:00 |
|
Dillon Kearns
|
a116989ab2
|
Simplify file read command.
|
2022-03-11 11:11:10 -08:00 |
|
Dillon Kearns
|
25972e5724
|
Run adapter script from build step (if configured).
|
2022-03-10 11:49:07 -08:00 |
|
Dillon Kearns
|
3e12b48112
|
Update template project.
|
2022-03-09 15:06:49 -08:00 |
|
Dillon Kearns
|
6eafb379ee
|
Make sure lamdera is on path for dev-server.
|
2022-03-09 14:05:22 -08:00 |
|
Dillon Kearns
|
32705e11a8
|
Fix error message.
|
2022-03-09 10:59:57 -08:00 |
|
Dillon Kearns
|
8ac95844cd
|
Merge branch 'master' into serverless-latest
# Conflicts:
# package-lock.json
|
2022-03-09 10:50:43 -08:00 |
|
Dillon Kearns
|
d5055ce03f
|
Fix scaffolding generator.
|
2022-03-08 10:22:40 -08:00 |
|
Dillon Kearns
|
8911ef9bb3
|
Rename Server.Request.Request -> Server.Request.Parser.
|
2022-03-08 08:57:46 -08:00 |
|
Dillon Kearns
|
b7495d73bb
|
Change exported value from page -> route from Route Modules.
|
2022-03-05 10:35:17 -08:00 |
|
Dillon Kearns
|
f16a30320d
|
Rename Page.elm -> RouteBuilder.elm.
|
2022-03-05 09:50:01 -08:00 |
|
Dillon Kearns
|
0310152df4
|
Change Page.* modules to be Route.* modules.
|
2022-03-05 09:05:12 -08:00 |
|
Dillon Kearns
|
a828ecee58
|
Add some todo comments.
|
2022-03-05 08:56:20 -08:00 |
|
Dillon Kearns
|
0c469c225b
|
Return headers for content.dat responses.
|
2022-03-04 20:45:03 -08:00 |
|
Dillon Kearns
|
55ae855f7c
|
Formatting.
|
2022-03-04 12:33:04 -08:00 |
|
Dillon Kearns
|
8df43bcd71
|
Use pure Elm for parsing cookies header.
|
2022-03-04 10:43:32 -08:00 |
|
Dillon Kearns
|
dd2474b6a7
|
Remove some log noise.
|
2022-03-03 10:33:45 -08:00 |
|
Dillon Kearns
|
c71b7681e9
|
Add annotation.
|
2022-03-03 10:29:49 -08:00 |
|
Dillon Kearns
|
cc134dc363
|
Add todo comment.
|
2022-03-03 10:29:43 -08:00 |
|
Dillon Kearns
|
d27b00a110
|
Remove unused.
|
2022-03-03 10:29:29 -08:00 |
|
Dillon Kearns
|
5c983e5334
|
Include port-data-source file in serverless function output, and include example in netlify project.
|
2022-03-03 09:29:50 -08:00 |
|
Dillon Kearns
|
e03afdc95e
|
Remove messy log statement from CLI command.
|
2022-03-03 09:18:14 -08:00 |
|
Dillon Kearns
|
8f1e25e605
|
Improve error handling when there is no port-data-source file present.
|
2022-03-02 14:45:34 -08:00 |
|
Dillon Kearns
|
f572ee7218
|
Run esbuild to compile ports file from build command.
|
2022-03-02 14:35:48 -08:00 |
|
Dillon Kearns
|
2a14ba1941
|
Fix error handling for internal data source handlers.
|
2022-03-02 14:25:11 -08:00 |
|
Dillon Kearns
|
8489f44a3d
|
Use esbuild to transpile port-data-source file, and watch for changes.
|
2022-03-02 10:14:55 -08:00 |
|
Dillon Kearns
|
288dc1c266
|
Add Glob.toDataSourceWithOptions.
|
2022-03-01 15:46:10 -08:00 |
|
Dillon Kearns
|
c8c7a884da
|
Pass glob options in JSON body.
|
2022-02-28 20:37:39 -08:00 |
|
Dillon Kearns
|
5652b9b3d1
|
Remove obsolete field.
|
2022-02-28 19:49:43 -08:00 |
|
Dillon Kearns
|
8990555331
|
Remove unused.
|
2022-02-28 19:40:09 -08:00 |
|
Dillon Kearns
|
ca9b80d34e
|
Change await ordering to improve build speed.
|
2022-02-28 19:38:35 -08:00 |
|
Dillon Kearns
|
7376fcffe8
|
Remove lamdera's generated "App dying" log message (and no need to generate app.die function anymore since lamdera provides one).
|
2022-02-28 19:38:07 -08:00 |
|
Dillon Kearns
|
ddff730b26
|
Add Glob.listDirectories.
|
2022-02-28 16:52:41 -08:00 |
|
Dillon Kearns
|
a636e5ed31
|
Delete unused.
|
2022-02-28 14:51:51 -08:00 |
|
Dillon Kearns
|
81ab07897f
|
Use micromatch to get glob captures to ensure that they match with the globby matching logic.
|
2022-02-27 11:27:49 -08:00 |
|
Dillon Kearns
|
3468ac0a20
|
Simplify GotBatch decoder.
|
2022-02-25 11:59:02 -08:00 |
|
Dillon Kearns
|
1c56e82258
|
Simplify gotBatchPort payload (bytes are being handled as base64 string so may as well remove the Bytes part now since it's unused - might change it back for performance if it makes a difference).
|
2022-02-25 11:50:24 -08:00 |
|
Dillon Kearns
|
2d81800317
|
Add dev server styles into a css file and make sure that not found page styles are included.
|
2022-02-25 11:22:32 -08:00 |
|
Dillon Kearns
|
9d50907053
|
Add some end-to-end test cases for API handlers and remove some obsolete request payload pre-processing in JavaScript (optimizations that were there for OptimizedDecoder's before but aren't needed with Lamdera Wire).
|
2022-02-25 09:07:57 -08:00 |
|
Dillon Kearns
|
1706880175
|
Add some more error handling around showing error messages to ensure that errors aren't dropped.
|
2022-02-25 09:02:36 -08:00 |
|
Dillon Kearns
|
d48d062ed7
|
Make sure build error is printed.
|
2022-02-23 16:25:40 -08:00 |
|
Dillon Kearns
|
6f2a29a1f1
|
Fix ssr option.
|
2022-02-23 16:25:34 -08:00 |
|
Dillon Kearns
|
caea3f7c56
|
Don't fail build when missing config.
|
2022-02-23 16:25:28 -08:00 |
|
Dillon Kearns
|
033db9fa59
|
Add favicon to template project.
|
2022-02-23 14:55:32 -08:00 |
|
Dillon Kearns
|
463adc8007
|
Move template's index.js and style.css entrypoints for new Vite setup.
|
2022-02-23 14:55:21 -08:00 |
|
Dillon Kearns
|
b9b68b06cc
|
Add initial elm-pages.config.mjs file to template.
|
2022-02-23 14:39:31 -08:00 |
|
Dillon Kearns
|
da08e1e1b3
|
Add try catch to ensure dev error shows up even if console logging it fails.
|
2022-02-23 14:39:17 -08:00 |
|
Dillon Kearns
|
45126cdf1f
|
Simplify value.
|
2022-02-23 14:38:50 -08:00 |
|
Dillon Kearns
|
f007f79ec1
|
Improve error when using implicit config file.
|
2022-02-23 14:38:32 -08:00 |
|
Dillon Kearns
|
b3216ea5db
|
Update Site and Index.elm to use latest type contract in template.
|
2022-02-23 14:36:28 -08:00 |
|
Dillon Kearns
|
4226f3ecfb
|
Update dependencies in template.
|
2022-02-23 14:36:07 -08:00 |
|
Dillon Kearns
|
f49595a578
|
Change elm-pages setup code so it works on root route (Vite had an issue loading it from a script module import).
|
2022-02-23 12:20:38 -08:00 |
|
Dillon Kearns
|
c617baa3d3
|
Use vite config from elm-pages.config.mjs.
|
2022-02-23 10:06:15 -08:00 |
|
Dillon Kearns
|
1ae88f181a
|
Use node-fetch instead of undici for Node 14 compatability.
|
2022-02-22 11:37:09 -08:00 |
|
Dillon Kearns
|
763fc37695
|
Remove some log statements.
|
2022-02-22 11:19:10 -08:00 |
|
Dillon Kearns
|
846ddad4f9
|
Add missing return.
|
2022-02-22 10:55:20 -08:00 |
|
Dillon Kearns
|
93a44b6c78
|
Add error logging to debug netlify issue.
|
2022-02-21 18:16:16 -08:00 |
|
Dillon Kearns
|
ff71b62321
|
Try using vite-generated HTML template in adapter-generated scripts.
|
2022-02-21 16:54:51 -08:00 |
|
Dillon Kearns
|
bc4612ddab
|
Use elm-review option --fix-all-without-prompt instead of stdin pipe.
|
2022-02-21 15:50:42 -08:00 |
|
Dillon Kearns
|
939635eec4
|
Remove hardcoded index.html project file.
|
2022-02-21 15:37:24 -08:00 |
|
Dillon Kearns
|
7da42c9ffd
|
Delete unused.
|
2022-02-21 14:56:38 -08:00 |
|
Dillon Kearns
|
0964448ae5
|
Remove obsolete code.
|
2022-02-21 14:46:51 -08:00 |
|
Dillon Kearns
|
8287623f23
|
Pass through root tag to HTML template replacement.
|
2022-02-21 09:57:23 -08:00 |
|
Dillon Kearns
|
8ee5b2a649
|
Add missing. (+2 squashed commits)
Squashed commits:
[ea4646e3] Fix two errors.
[31faf674] Add initial Vite SSR setup.
|
2022-02-21 09:30:31 -08:00 |
|
Dillon Kearns
|
fbcbfa3c27
|
Add optional body parameter to reload page data port in order to avoid an extra round trip for form POST.
|
2022-02-17 11:52:21 -08:00 |
|
Dillon Kearns
|
c5b5f35504
|
Add expectBytesResponse.
|
2022-02-16 21:25:43 -08:00 |
|
Dillon Kearns
|
edc808ac37
|
Add DataSource.Http.expectWhatever.
|
2022-02-16 21:13:04 -08:00 |
|
Dillon Kearns
|
2215a63580
|
Add expectBytes.
|
2022-02-16 20:54:56 -08:00 |
|
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
|
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
|
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
|
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
|
6c2524e72a
|
Fix Env.get.
|
2022-02-10 10:06:51 -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
|
d7109bfe40
|
Add missing await.
|
2022-02-09 15:08:06 -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
|
50e81ca5de
|
Remove some special cases for DataSource resolvers.
|
2022-02-07 17:49:14 -08:00 |
|
Dillon Kearns
|
364753694f
|
Improve build error message ouptut.
|
2022-02-05 20:34:42 -08:00 |
|
Dillon Kearns
|
6663151122
|
Handle redirects when doing client-side navigations (through content.dat fetches).
|
2022-02-05 13:14:07 -08:00 |
|
Dillon Kearns
|
cb8509f519
|
Fix template for server-rendered page.
|
2022-02-04 11:44:26 -08:00 |
|
Dillon Kearns
|
5c2cdb93e1
|
Return empty list when listing files if directory doesn't existing.
|
2022-02-04 10:59:10 -08:00 |
|
Dillon Kearns
|
4c2f779477
|
Format errors if type is list.
|
2022-02-04 10:53:41 -08:00 |
|
Dillon Kearns
|
c1febe27b6
|
Try temporarily moving code back into source directory for better elm-review fixes.
|
2022-02-04 09:12:19 -08:00 |
|
Dillon Kearns
|
55131aa828
|
Delete obsolete variant.
|
2022-02-04 09:09:12 -08:00 |
|
Dillon Kearns
|
ac687f398e
|
Remove calls to distillBytes.
|
2022-02-04 09:01:08 -08:00 |
|
Dillon Kearns
|
18831846aa
|
Remove distillBytes calls from generated entrypoint and make sure that DataSource's resolve without it.
|
2022-02-04 08:59:11 -08:00 |
|
Dillon Kearns
|
5f181ad1bc
|
Update error formatter to handle being passed direct JSON values.
|
2022-02-04 08:56:40 -08:00 |
|
Dillon Kearns
|
194337c80d
|
Delete log statement.
|
2022-02-03 20:44:18 -08:00 |
|
Dillon Kearns
|
38cd1c35c6
|
Review fixes.
|
2022-02-03 20:17:00 -08:00 |
|
Dillon Kearns
|
1ed1d8bb8a
|
Remove some ContentCache references.
|
2022-02-03 20:11:22 -08:00 |
|
Dillon Kearns
|
69cdf963cf
|
Remove some instances of content.json.
|
2022-02-03 20:08:45 -08:00 |
|
Dillon Kearns
|
550c66dacb
|
Send shared data updates for dev server to make sure shared data hot reloads.
|
2022-02-03 18:30:49 -08:00 |
|
Dillon Kearns
|
6892ee8bc7
|
Inline value.
|
2022-02-03 17:45:57 -08:00 |
|
Dillon Kearns
|
d3e54fcff2
|
Inline value.
|
2022-02-03 16:56:48 -08:00 |
|
Dillon Kearns
|
1c9d6340f1
|
Simplify case expression.
|
2022-02-03 16:38:54 -08:00 |
|
Dillon Kearns
|
c9f78e7c5f
|
Encode NotFound pages for dev server.
|
2022-02-03 14:59:54 -08:00 |
|
Dillon Kearns
|
062cbea918
|
Send wrapper type instead of individual page data for Bytes content.dat.
|
2022-02-03 14:01:45 -08:00 |
|
Dillon Kearns
|
163f611894
|
Prettier formatting.
|
2022-02-03 11:51:34 -08:00 |
|
Dillon Kearns
|
159c075324
|
Send content.dat updates for hot reloading.
|
2022-02-03 11:51:17 -08:00 |
|
Dillon Kearns
|
e435c994b5
|
Uncomment hot reload watcher.
|
2022-02-02 09:53:47 -08:00 |
|
Dillon Kearns
|
103433ade6
|
Use Lamdera Wire decoders to decode initial page data from flags.
|
2022-02-01 17:59:57 -08:00 |
|
Dillon Kearns
|
1ee6cef81e
|
Render base64 string without btoa function to avoid error.
|
2022-02-01 11:07:24 -08:00 |
|
Dillon Kearns
|
934846b697
|
Use byte decoder fail instead of Debug.todo in generated code.
|
2022-02-01 11:01:50 -08:00 |
|
Dillon Kearns
|
502b2cf42b
|
Delete log statements.
|
2022-02-01 11:01:40 -08:00 |
|
Dillon Kearns
|
8df1439025
|
Write content.dat files instead of content.json for build step, and include bytes format in pre-rendered HTML output.
|
2022-02-01 10:57:21 -08:00 |
|
Dillon Kearns
|
0418d98de3
|
Update package-lock.
|
2022-02-01 10:55:46 -08:00 |
|
Dillon Kearns
|
db4e2f289e
|
Add missing variable.
|
2022-02-01 10:38:42 -08:00 |
|
Dillon Kearns
|
34db57235c
|
Add TODO comment.
|
2022-02-01 10:11:56 -08:00 |
|
Dillon Kearns
|
fcdd39b910
|
Use byte encodings for content.dat in dev server.
|
2022-02-01 10:11:47 -08:00 |
|
Dillon Kearns
|
cfbbf71bf5
|
Check if port is defined before subscribing to avoid error if port is unused.
|
2022-01-29 09:15:19 -08:00 |
|
Dillon Kearns
|
8e3736d051
|
Use restoreColorSafe in more places.
|
2022-01-29 09:01:27 -08:00 |
|
Dillon Kearns
|
e638bd13fd
|
Fix error with sending api responses from dev server.
|
2022-01-29 09:00:38 -08:00 |
|
Dillon Kearns
|
c3b8032683
|
Add missing report option to restore dev server compiler errors.
|
2022-01-28 18:01:04 -08:00 |
|
Dillon Kearns
|
2180ee09e1
|
Run elm-optimize-level-2 on lamdera output.
|
2022-01-28 12:03:47 -08:00 |
|
Dillon Kearns
|
b6135799fc
|
Skip elm-optimize-level-2 for the lamdera build for now.
|
2022-01-28 11:26:30 -08:00 |
|
Dillon Kearns
|
a0462a647e
|
Add safe error formatter function that prints raw error if it can't be JSON parsed, and improve error output for build.
|
2022-01-28 11:26:14 -08:00 |
|
Dillon Kearns
|
7ac4ceecde
|
Add NoPrematureLetComputation review rule.
|
2022-01-28 08:27:04 -08:00 |
|
Dillon Kearns
|
59346721b5
|
Remove log.
|
2022-01-27 20:13:30 -08:00 |
|
Dillon Kearns
|
59fb87782a
|
elm-review fixes.
|
2022-01-27 16:16:40 -08:00 |
|
Dillon Kearns
|
f82ae79e24
|
Remove obsolete SecretsDict usage.
|
2022-01-27 15:50:59 -08:00 |
|
Dillon Kearns
|
ed956ae341
|
Remove now obsolete Secrets API!
|
2022-01-27 15:45:51 -08:00 |
|
Dillon Kearns
|
d7dd124880
|
Show error output if it can't be parsed as JSON.
|
2022-01-26 15:03:44 -08:00 |
|
Dillon Kearns
|
7497934772
|
Merge branch 'lamdera-wire' into serverless-latest
# Conflicts:
# examples/pokedex/netlify.toml
# examples/pokedex/src/Api.elm
# examples/pokedex/src/Page/Greet.elm
# examples/pokedex/src/Page/Login.elm
# src/Session.elm
|
2022-01-26 14:32:39 -08:00 |
|
Dillon Kearns
|
e2145a5844
|
Restore --report json option to make command.
|
2022-01-26 14:27:24 -08:00 |
|
Dillon Kearns
|
b979c5bc3c
|
Run lamdera compiler instead of elm to make wire encoders available.
|
2022-01-26 14:27:15 -08:00 |
|
Dillon Kearns
|
d15a191d5a
|
Distill shared data.
|
2022-01-26 10:45:05 -08:00 |
|
Dillon Kearns
|
9b4e4dab9b
|
Log dev server errors in case they can't be decoded to JSON.
|
2022-01-26 08:36:48 -08:00 |
|
Dillon Kearns
|
3e9a93c636
|
Generate distillBytes with wire codecs for all page modules.
|
2022-01-25 21:56:02 -08:00 |
|
Dillon Kearns
|
21d9ae9e35
|
Add port to reload current page's data.
|
2022-01-25 11:20:18 -08:00 |
|
Dillon Kearns
|
e84232d67a
|
Include form helper in build output elm file.
|
2022-01-24 20:54:53 -08:00 |
|
Dillon Kearns
|
f21b8b61b1
|
Add form data decoder and example.
|
2022-01-24 15:50:25 -08:00 |
|
Dillon Kearns
|
1becbff897
|
Wire through errors with session checksums.
|
2022-01-23 13:35:04 -08:00 |
|
Dillon Kearns
|
69feca1c42
|
Add distillBytes with some lamdera wire encoder/decoders.
|
2022-01-21 09:31:18 -08:00 |
|
Dillon Kearns
|
08e635cbeb
|
Try all secrets in list for decoding signed cookies.
|
2022-01-20 19:09:37 -08:00 |
|
Dillon Kearns
|
30ab850c90
|
Add prototype for withSession helper.
|
2022-01-20 18:00:38 -08:00 |
|
Dillon Kearns
|
ea5be72234
|
Update generator.
|
2022-01-17 20:59:17 -08:00 |
|
Dillon Kearns
|
51aea3b539
|
Simplify Server.Response API by combining render repsonses and server responses into the same API.
|
2022-01-17 20:56:37 -08:00 |
|
Dillon Kearns
|
03dd16a86f
|
Wire through custom headers and status codes for RenderPage server responses.
|
2022-01-17 16:56:40 -08:00 |
|
Dillon Kearns
|
67cc4e045a
|
Update add cli command.
|
2022-01-05 15:12:38 -08:00 |
|
Dillon Kearns
|
08138e7a26
|
Use () instead of Never for Msg's in stateless pages. That way, you can map Msg's (unlike never).
|
2022-01-05 14:09:37 -08:00 |
|
Dillon Kearns
|
7b743cf72d
|
Rename module.
|
2021-12-31 16:15:41 -08:00 |
|
Dillon Kearns
|
86142cb6d8
|
Remove obsolete server request code from initial prototype.
|
2021-12-31 11:52:37 -08:00 |
|
Dillon Kearns
|
3aae8c1adf
|
Remove Handler type in favor of a type variable for ServerRequest type.
|
2021-12-31 11:14:23 -08:00 |
|
Dillon Kearns
|
bfbb5866f2
|
Capture multiple matching errors for server requests.
|
2021-12-30 19:55:45 -08:00 |
|
Dillon Kearns
|
9e9eb26a02
|
Try different lamda file read root.
|
2021-12-30 09:31:24 -08:00 |
|
Dillon Kearns
|
d0d205bee4
|
Try new filename resolution for netlify function.
|
2021-12-30 09:27:20 -08:00 |
|
Dillon Kearns
|
2a90dc9d51
|
Try adding path.resolve for netlify file paths.
|
2021-12-29 21:57:35 -08:00 |
|
Dillon Kearns
|
701d949304
|
Remove resolved path netlify file path read trick to see if it works.
|
2021-12-29 21:46:47 -08:00 |
|
Dillon Kearns
|
6684c36852
|
Try resolving filepath from serverless function root.
|
2021-12-29 21:31:53 -08:00 |
|
Dillon Kearns
|
c14a38bfc6
|
Fix in-memory cache reset.
|
2021-12-29 17:38:45 -08:00 |
|
Dillon Kearns
|
d13a397507
|
Use in-memory fs or real fs for http cache depending on whether context is serverless.
|
2021-12-29 17:18:37 -08:00 |
|
Dillon Kearns
|
9a60119484
|
Rearrange template.
|
2021-12-29 16:02:18 -08:00 |
|
Dillon Kearns
|
862c48d134
|
Update template.
|
2021-12-29 15:57:12 -08:00 |
|
Dillon Kearns
|
4444ef6fc0
|
Update render result types and adapter script.
|
2021-12-29 13:58:21 -08:00 |
|
Dillon Kearns
|
b2c1a31c68
|
Handle multipart forms in dev server and adapter script.
|
2021-12-29 13:02:45 -08:00 |
|
Dillon Kearns
|
0ac78944ce
|
Update adapter.
|
2021-12-28 11:53:43 -08:00 |
|
Dillon Kearns
|
572f6f2336
|
Add greet api function.
|
2021-12-28 11:53:33 -08:00 |
|
Dillon Kearns
|
5136dd50a6
|
Use Server.Request for ApiRoutes.
|
2021-12-28 08:32:25 -08:00 |
|
Dillon Kearns
|
0a849061b0
|
Add --with-fallback scaffolding option.
|
2021-12-27 13:46:21 -08:00 |
|
Dillon Kearns
|
010a6e4526
|
Update scaffolding template for server-rendered.
|
2021-12-27 10:09:10 -08:00 |
|
Dillon Kearns
|
10bbeb491d
|
Use more declarative interface for Server Requests.
|
2021-12-26 21:56:33 -08:00 |
|
Dillon Kearns
|
43a7e4fda9
|
Add elm-pages codegen command.
|
2021-12-23 14:37:31 -08:00 |
|
Dillon Kearns
|
bf67cff13e
|
Rename TemplateModulesBeta.elm entrypoint file -> Main.elm.
|
2021-12-23 14:28:52 -08:00 |
|
Dillon Kearns
|
31c3af5aa8
|
Merge pull request #258 from j-maas/expose-base
Expose base URL
|
2021-12-23 13:59:16 -08:00 |
|
Dillon Kearns
|
6f82aa59f8
|
Add ServerRequest.withRequestTime, and make body nullable.
|
2021-12-23 13:34:54 -08:00 |
|
Dillon Kearns
|
4fedf9ee19
|
Rename prerender -> preRender.
|
2021-12-23 13:34:19 -08:00 |
|