Commit Graph

47 Commits

Author SHA1 Message Date
Dillon Kearns
8ce539a3a3 Rename module. 2022-07-08 17:56:52 -07:00
Dillon Kearns
76d2ac367f Change module name. 2022-07-08 17:51:26 -07:00
Dillon Kearns
03729f89ed Rename module. 2022-07-08 17:40:01 -07:00
Dillon Kearns
c2eecd59b6 Update example to use new Form API. 2022-06-30 09:38:49 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
32b536f78a Use two separate functions for stateless and stateful form rendering. 2022-04-28 09:07:32 -07:00
Dillon Kearns
298faed45c Remove redundant form function for toHtml. 2022-04-25 14:44:51 -07:00
Dillon Kearns
e04310b603 Pass in optional Form.Msg to userMsg function, and don't register event handlers if not present. 2022-04-25 14:42:38 -07:00
Dillon Kearns
4111d4e677 Rename function. 2022-04-25 09:54:08 -07:00
Dillon Kearns
0adfa12bc8 Remove repetitive function from Form API. 2022-04-25 09:53:18 -07:00
Dillon Kearns
2d9695f551 Use logout effect from greet page. 2022-04-09 08:11:45 -07:00
Dillon Kearns
042dddf764 Add Logout Effect. 2022-04-09 08:10:45 -07:00
Dillon Kearns
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
8112e477e8 Extract functions into record. 2022-04-05 08:26:26 -07:00
Dillon Kearns
fc62058f63 Pass in fetchRouteData to perform. 2022-04-04 09:40:37 -07:00
Dillon Kearns
f8c130fe68 Fix end-to-end example compilation error. 2022-04-01 20:48:50 -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
9e498ca93b Update examples. 2022-03-25 09:03:22 -07:00
Dillon Kearns
979be6f3e4 Simulate user effects in tests. 2022-03-21 12:59:51 -07:00
Dillon Kearns
4ae34b9bf0 Remove unnecessary attribute. 2022-03-21 12:10:39 -07:00
Dillon Kearns
2d0f0f2651 Wire up Effect type. 2022-03-21 09:45:11 -07:00
Dillon Kearns
88f2a1dc14 Get test prototype working with redirects and form POST simulation with no event handlers. 2022-03-18 10:50:23 -07:00
Dillon Kearns
6eb29865e0 Handle initial page redirects in test harness. 2022-03-17 09:33:21 -07:00
Dillon Kearns
0b7e6053c9 Add program-test prototype that runs server-rendered routes. 2022-03-16 13:55:31 -07:00
Dillon Kearns
6e53ce5f74 Add test case for handling multiple content types. 2022-03-09 09:19:46 -08:00
Dillon Kearns
ad5f092d06 Improve expectContentType. 2022-03-09 08:49:46 -08:00
Dillon Kearns
a93a530439 Rename Request.cookies -> allCookies. Add map5. 2022-03-08 15:34:59 -08:00
Dillon Kearns
cfd91b7b6d Update Request API, docs, and add a test suite. 2022-03-08 11:02:19 -08:00
Dillon Kearns
8911ef9bb3 Rename Server.Request.Request -> Server.Request.Parser. 2022-03-08 08:57:46 -08:00
Dillon Kearns
9f788d8aba Fix naming in end-to-end to use new route exposed top-level value. 2022-03-07 08:34:22 -08:00
Dillon Kearns
8acabc3281 Simplify Response API to use builder pattern for different ways to construct a body and remove redundant permutations. 2022-03-07 08:33:03 -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
020e870883 Simplify basic auth example. 2022-03-05 08:48:46 -08:00
Dillon Kearns
0c469c225b Return headers for content.dat responses. 2022-03-04 20:45:03 -08:00
Dillon Kearns
e6488024a3 Add basic auth example. 2022-03-04 20:24:50 -08:00
Dillon Kearns
5c77acc96c Add test case for Server.Request cookie API. 2022-03-04 10:07:35 -08:00
Dillon Kearns
f572ee7218 Run esbuild to compile ports file from build command. 2022-03-02 14:35:48 -08:00
Dillon Kearns
121556f2ef Use html test runner for glob tests. 2022-02-28 17:45:16 -08:00
Dillon Kearns
068f73c811 Extract glob test cases into a module. 2022-02-28 14:47:22 -08:00
Dillon Kearns
ace71d09ce Run glob test code directly through elm-pages so the test assertions can be against Elm data instead of JSON. 2022-02-28 14:43:57 -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
ff9141d7ec Add some end-to-end glob specs. 2022-02-27 09:47:50 -08:00
Dillon Kearns
9ced0ccd2b Formatting. 2022-02-25 11:22:39 -08:00
Dillon Kearns
1c7ff8aa7c Fix 404 page message for non-matching routes. 2022-02-25 10:40:08 -08:00
Dillon Kearns
e082281b88 Update end-to-end example. 2022-02-25 10:04:19 -08:00