Commit Graph

3256 Commits

Author SHA1 Message Date
Dillon Kearns
119f989d93 Add commands to install lamdera to netlify build command. 2022-01-26 14:28:12 -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
ffb3656d12 Update plugin helper to remove OptimizedDecoder. 2022-01-26 11:05:55 -08:00
Dillon Kearns
2ebf3f6164 Remove instance of OptimizedDecoder. 2022-01-26 11:02:52 -08:00
Dillon Kearns
30f337750c Fix typo. 2022-01-26 11:02:43 -08:00
Dillon Kearns
0ae2caaad8 Extract updated MarkdownCodec helper, and use the new HTML-free helper for Docs to fix Lamdera Wire encoding error. 2022-01-26 10:57:19 -08:00
Dillon Kearns
fe60b7c812 Don't encode HTML. 2022-01-26 10:53:29 -08:00
Dillon Kearns
cc81a4f2f3 Remove unused. 2022-01-26 10:45:43 -08:00
Dillon Kearns
b9c9b262fd Remove unused. 2022-01-26 10:45:32 -08:00
Dillon Kearns
d15a191d5a Distill shared data. 2022-01-26 10:45:05 -08:00
Dillon Kearns
2dd7394f07 Update docs app to use vanilla decoders. 2022-01-26 09:47:18 -08:00
Dillon Kearns
4d2a96ad99 Delete distill helpers. 2022-01-26 09:06:10 -08:00
Dillon Kearns
ebcdf7d184 Delete OptimizedDecoder API. 2022-01-26 09:02:25 -08:00
Dillon Kearns
8229547cb7 Only use Bytes encoded responses, and delete StripResponse logic which is now obsolete. 2022-01-26 09:01:05 -08:00
Dillon Kearns
305e09cdaa Fix typo. 2022-01-26 08:38:24 -08:00
Dillon Kearns
8813122069 Remove strip response variant. 2022-01-26 08:37:39 -08:00
Dillon Kearns
45042b0472 Remove inaccurate comment from copy-paste. 2022-01-26 08:37:02 -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
afb7470cb1 Extract functions. 2022-01-25 18:26:46 -08:00
Dillon Kearns
d779ed15d2 Add missing lamdera dependencies. 2022-01-25 18:22:16 -08:00
Dillon Kearns
69feca1c42 Add distillBytes with some lamdera wire encoder/decoders. 2022-01-21 09:31:18 -08:00
Dillon Kearns
e29c4204a5 Use withSession helper for managing login. 2022-01-20 21:34:33 -08:00
Dillon Kearns
aa4086837f Change argument type for withSession to remove extra wrapper layer. 2022-01-20 20:01:07 -08:00
Dillon Kearns
c900b8662b Extract function. 2022-01-20 19:52:18 -08:00
Dillon Kearns
9b1f486a1b Don't use secret in example for now. 2022-01-20 19:24:55 -08:00
Dillon Kearns
a353a79e49 Use newer node version. 2022-01-20 19:20:15 -08:00
Dillon Kearns
08e635cbeb Try all secrets in list for decoding signed cookies. 2022-01-20 19:09:37 -08:00
Dillon Kearns
b7185adc39 Add example page. 2022-01-20 18:01:07 -08:00
Dillon Kearns
30ab850c90 Add prototype for withSession helper. 2022-01-20 18:00:38 -08:00
Dillon Kearns
d062546d0c Add withSetCookieHeader. 2022-01-18 18:45:03 -08:00
Dillon Kearns
d44da4ee85 Remove example. 2022-01-18 18:44:54 -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
c27377c8f7 Use dynamic route segments with different names by appending index. 2022-01-17 11:46:40 -08:00
Dillon Kearns
de3a740165 Add float input type, and handle validation errors for int and float inputs. 2022-01-17 10:32:08 -08:00
Dillon Kearns
df1c537f70 Rename number -> int in preparation for adding a separate float helper. 2022-01-17 10:05:00 -08:00
Dillon Kearns
80c85a1abe Run min/max validations against range input in pure Elm to ensure that UI isn't bypassed. 2022-01-17 09:56:20 -08:00
Dillon Kearns
cd6d65a12a Update docs. 2022-01-16 15:38:51 -08:00
Dillon Kearns
22b3b54799 Use phantom types to reduce the number of cominations of functions for setting values with different types. 2022-01-16 15:29:06 -08:00
Dillon Kearns
43a227d22c Add Form.Value module. 2022-01-16 14:31:19 -08:00
Dillon Kearns
d5478db009 Add time input. 2022-01-16 14:31:08 -08:00
Dillon Kearns
a769a3e569 Fix tests. 2022-01-15 19:29:30 -08:00
Dillon Kearns
6de253d91e Add constraints to only allow formatting input options to be applied to text inputs. 2022-01-15 19:03:13 -08:00
Dillon Kearns
4e78fceaef Regenerate docs.json. 2022-01-15 18:45:15 -08:00
Dillon Kearns
5b06fe51a4 Replace requiredRadio with radio that can apply required option. 2022-01-15 18:44:06 -08:00
Dillon Kearns
adc22cf493 Remove obsolete requiredNumber. 2022-01-15 18:30:17 -08:00
Dillon Kearns
69e8fc92f4 Use phantom builder for required checks. 2022-01-15 18:28:47 -08:00