Commit Graph

3634 Commits

Author SHA1 Message Date
Dillon Kearns
14fb33e44b Remove obsolete helper function. 2022-03-08 16:13:19 -08:00
Dillon Kearns
f8596e8df8 Simpilfy interface for Request.skip. 2022-03-08 16:12:40 -08:00
Dillon Kearns
3e4643f598 Add expectBody. 2022-03-08 16:10:02 -08:00
Dillon Kearns
661c84467b Remove unnecessary Request Parser helper. 2022-03-08 16:04:46 -08:00
Dillon Kearns
d4fe62b815 Re-use rawBody parser for expectFormPost. 2022-03-08 15:56:25 -08:00
Dillon Kearns
d989a9ad9b Add tset case for form POST. 2022-03-08 15:56:02 -08:00
Dillon Kearns
8e6811412b Use andMap for mapN definitions. 2022-03-08 15:40:30 -08:00
Dillon Kearns
86ae4abbf9 Add remaining mapN functions. 2022-03-08 15:39:12 -08:00
Dillon Kearns
a93a530439 Rename Request.cookies -> allCookies. Add map5. 2022-03-08 15:34:59 -08:00
Dillon Kearns
8b0e78157b Re-use rawBody Request Parser in json body parser. 2022-03-08 11:08:34 -08:00
Dillon Kearns
cfd91b7b6d Update Request API, docs, and add a test suite. 2022-03-08 11:02:19 -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
c80b4597c2 Rename function. 2022-03-08 08:54:43 -08:00
Dillon Kearns
032c710c74 Add Response.withHeaders for adding more than one header at once. 2022-03-07 08:55:03 -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
b7495d73bb Change exported value from page -> route from Route Modules. 2022-03-05 10:35:17 -08:00
Dillon Kearns
ce69b83b8a Page Module -> Route Module in some copy. 2022-03-05 10:06:22 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
18666e18be Update error messages and internal naming in no contract violations rule. 2022-03-05 09:40:23 -08:00
Dillon Kearns
70143e7149 Fix no contract violations check to handle new Route Modules naming convention. 2022-03-05 09:38:18 -08:00
Dillon Kearns
a788a05a73 Fix docs. 2022-03-05 09:34:23 -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
b7f6c6cff8 Add page with route params to skeleton example. 2022-03-05 08:56:07 -08:00
Dillon Kearns
020e870883 Simplify basic auth example. 2022-03-05 08:48:46 -08:00
Dillon Kearns
2ed0ab08bc Add basic auth example to pokedex deployment. 2022-03-05 08:44:45 -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
4b0316b396 Remove unused. 2022-03-04 12:41:45 -08:00
Dillon Kearns
6324eca506 Remove unused dependencies. 2022-03-04 12:41:33 -08:00
Dillon Kearns
29341dd90e Add elm-review unused config for skeleton project. 2022-03-04 12:40:18 -08:00
Dillon Kearns
1c0e2b9cbc Move files out of public for skeleton project. 2022-03-04 12:34:45 -08:00
Dillon Kearns
55ae855f7c Formatting. 2022-03-04 12:33:04 -08:00
Dillon Kearns
fb65fbbad9 Save skeleton app example. 2022-03-04 12:32:52 -08:00
Dillon Kearns
b1af39c851 Remove unused NPM package. 2022-03-04 10:47:31 -08:00
Dillon Kearns
027945ddc6 Remove obsolete parsed cookies in adapter (cookie parsing is now handled in pure Elm). 2022-03-04 10:45:06 -08:00
Dillon Kearns
8df43bcd71 Use pure Elm for parsing cookies header. 2022-03-04 10:43:32 -08:00
Dillon Kearns
5c77acc96c Add test case for Server.Request cookie API. 2022-03-04 10:07:35 -08:00
Dillon Kearns
ac8f57b145 Rename function. 2022-03-04 09:43:48 -08:00
Dillon Kearns
12c0013ea3 Remove obsolete values from Session API experiments. 2022-03-04 09:42:52 -08:00
Dillon Kearns
1e2f4981ed Comment out test case that's still in the design stage. 2022-03-04 09:39:33 -08:00
Dillon Kearns
a0c378a1df Move final test cases to glob end-to-end test suite. 2022-03-04 09:37:00 -08:00
Dillon Kearns
bb81c49d0e Move test case to end-to-end suite. 2022-03-04 09:32:21 -08:00
Dillon Kearns
088dc59ec3 Move another test case to end-to-end suite. 2022-03-04 09:30:00 -08:00
Dillon Kearns
a937049993 Move test case to end-to-end suite. 2022-03-04 09:27:32 -08:00
Dillon Kearns
bfffe9e43b Move test case to end-to-end suite. 2022-03-04 09:12:06 -08:00
Dillon Kearns
2639d1333d Move test case. 2022-03-04 09:09:43 -08:00
Dillon Kearns
509535304e Remove duplicate test case. 2022-03-04 09:07:31 -08:00