Commit Graph

231 Commits

Author SHA1 Message Date
Dillon Kearns
de2650e357 Remove old invocation of port://env. 2022-02-10 10:10:26 -08:00
Dillon Kearns
08540c52a0 Update pokedex example. 2022-02-10 09:55:20 -08:00
Dillon Kearns
094f46d5f7 Try base64 encoding responses in Netlify functions. 2022-02-04 11:17:44 -08:00
Dillon Kearns
51bc07f2c5 Formatting. 2022-02-04 11:08:21 -08:00
Dillon Kearns
26bf9e3171 Update adapter script to return bytes responses for content.dat. 2022-02-04 11:07:24 -08:00
Dillon Kearns
69cdf963cf Remove some instances of content.json. 2022-02-03 20:08:45 -08:00
Dillon Kearns
82dea47a89 Update package-lock. 2022-02-03 11:20:56 -08:00
Dillon Kearns
91c87dd235 Add favicon to example. 2022-01-29 09:14:38 -08:00
Dillon Kearns
a7f2fa7eda Remove obsolete unoptimizedRequest function. 2022-01-28 09:42:52 -08:00
Dillon Kearns
406c0cafd8 Rename function. 2022-01-28 09:34:11 -08:00
Dillon Kearns
6f7894fd3f Rename module. 2022-01-28 09:27:43 -08:00
Dillon Kearns
f9c85dec80 Remove more obsolete secrets code. 2022-01-27 15:52:42 -08:00
Dillon Kearns
ed956ae341 Remove now obsolete Secrets API! 2022-01-27 15:45:51 -08:00
Dillon Kearns
fdf14a70dc Try hardcoding path for now. 2022-01-26 14:59:16 -08:00
Dillon Kearns
11ff7e1afb Try downloading lamdera in current dir. 2022-01-26 14:56:08 -08:00
Dillon Kearns
19a5426d90 Try different download path. 2022-01-26 14:51:06 -08:00
Dillon Kearns
e76dbfd700 Try different file path for lamdera download. 2022-01-26 14:48:06 -08:00
Dillon Kearns
6b4f505832 Try another command to install lamdera on netlify build. 2022-01-26 14:45:26 -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
119f989d93 Add commands to install lamdera to netlify build command. 2022-01-26 14:28:12 -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
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
5342859ecd Use page reload port to reload data without refresh in todo example. 2022-01-25 11:20:34 -08:00
Dillon Kearns
359b3e92c5 Add todos example. 2022-01-24 20:55:07 -08:00
Dillon Kearns
d4eb37f8ac Add Fauna request helper module. 2022-01-24 20:45:32 -08:00
Dillon Kearns
f21b8b61b1 Add form data decoder and example. 2022-01-24 15:50:25 -08:00
Dillon Kearns
83945541d7 Add fauna todo list GraphQL schema. 2022-01-24 15:38:14 -08:00
Dillon Kearns
c207626a14 Install elm-graphql. 2022-01-24 15:37:53 -08:00
Dillon Kearns
b0cab3cc7d Use cookie session for logout route. 2022-01-23 13:42:50 -08:00
Dillon Kearns
1becbff897 Wire through errors with session checksums. 2022-01-23 13:35:04 -08:00
Dillon Kearns
7d1f675a90 Add some session helpers. 2022-01-23 13:01:04 -08:00
Dillon Kearns
aff8b1f850 Update Session API to pass through existing Session. 2022-01-23 10:43:06 -08:00
Dillon Kearns
d0bfc03d16 Return Nothing if there is no session. 2022-01-22 17:56:20 -08:00
Dillon Kearns
9bcba71c3a Extract session helper. 2022-01-22 14:40:04 -08:00
Dillon Kearns
d7eca2ee4b Use String instead of Json.Decode.Value for session values. Add flash helpers. 2022-01-22 13:47:51 -08:00
Dillon Kearns
05457709ae Update session decoders in example. 2022-01-21 11:13:36 -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
51aea3b539 Simplify Server.Response API by combining render repsonses and server responses into the same API. 2022-01-17 20:56:37 -08:00