Commit graph

70 commits

Author SHA1 Message Date
6f30696d30 Create API Context 2023-01-01 15:58:17 -08:00
57f2bd821e Add body_tag_from_query_param option
When you provide a string for this option, and the request body type
is a union, the query param provided will be treated as a value of
std.meta.Tag(Body). Then the associated value will be parsed from the
body during the request.
2022-12-16 02:02:13 -08:00
ee059ac36c Add breadcrumbs 2022-12-14 02:57:53 -08:00
620608964f Add user details to template context 2022-12-13 02:28:25 -08:00
04fdd2ae8e Move user-mini display to subtemplate 2022-12-11 20:23:20 -08:00
1e7900d730 Basic styling on pages 2022-12-09 04:31:23 -08:00
86e203730c (#64) Add implicit context
Closes #64
2022-12-07 23:48:31 -08:00
8c0548fc74 (#63) Allow invoking other templates
Closes #63
2022-12-07 23:34:57 -08:00
b60b629b30 Allow unknown fields in some api calls 2022-12-06 01:48:17 -08:00
16c574bdd6 Refactoring 2022-12-01 20:41:52 -08:00
8aa4f900f6 Use relative links on pagination 2022-11-27 01:59:37 -08:00
b2c69c2df8 queryStringify cleanup 2022-11-27 01:48:20 -08:00
856619b286 Finish using middleware impl 2022-11-26 17:52:30 -08:00
9c5e46ec5a Fix middleware compilation??? 2022-11-26 17:33:46 -08:00
04a95a280b use new middleware system 2022-11-25 17:43:30 -08:00
503ab62607 Get api source from context 2022-11-24 03:50:25 -08:00
051217cdaf Use middlewares in controller endpoint helper 2022-11-24 03:31:24 -08:00
73f7022d36 Start work on middleware api 2022-11-23 20:51:30 -08:00
e1c0d2942c Customize allocation strategy per endpoint 2022-11-20 15:42:34 -08:00
252c12403a Add unfollow endpoint 2022-11-19 03:33:35 -08:00
ea837f78bd Change error name on invalid cookie 2022-11-18 03:37:42 -08:00
67ad5bfa48 Get token from cookie 2022-11-17 22:51:51 -08:00
f33b4a856f Template helpers 2022-11-17 20:11:04 -08:00
6accb775d4 Cleanup of networking code 2022-11-17 18:42:23 -08:00
861c31c3ad Allow passing params by application/x-www-form-urlencoded 2022-11-15 01:03:47 -08:00
db1bd0f7c7 Remove Body param
Yeah I just misunderstood something in the HTML spec whoops
2022-11-15 00:56:30 -08:00
0b04ad5e00 Support for 'Data' field in controllers 2022-11-14 23:49:23 -08:00
85f57df0cb Controller helper refactor 2022-11-14 23:22:40 -08:00
76b9018297 Add basic webpage 2022-11-14 21:38:08 -08:00
81c705d519 Home timeline endpoint 2022-11-14 15:00:01 -08:00
763327292a Following/follower endpoints 2022-11-14 01:03:11 -08:00
568c6cd6b6 Combine pagination code 2022-11-14 00:25:52 -08:00
bfd73b7a1f Add union support to query parser 2022-11-13 20:40:13 -08:00
8694516180 Add local timeline 2022-11-12 05:23:55 -08:00
83da3c914b Basic global timeline 2022-11-12 04:39:49 -08:00
cbf98c1cf3 Fix chunked transfer encoding 2022-11-07 00:25:33 -08:00
2d464f0820 Chunked transfer encoding 2022-11-06 23:38:21 -08:00
4cb574bc91 Clean up header handling 2022-11-05 00:26:53 -07:00
e4cbb0acc3 Add basic websocket support 2022-10-16 05:48:12 -07:00
0ce315368a Minor HTTP refactor 2022-10-13 02:23:57 -07:00
46e71d8b44 Provide page links in communities query 2022-10-11 19:19:34 -07:00
195b201564 Add support for Community query 2022-10-10 21:49:36 -07:00
add17c0a0a Use new controller layout 2022-10-10 20:28:23 -07:00
228b9490ef Start re-adding controllers 2022-10-09 19:31:15 -07:00
83ee7efba0 Controller refactor 2022-10-09 19:06:11 -07:00
2aa9569050 controllers refactor 2022-10-09 02:05:01 -07:00
581159963f Move api to package 2022-10-08 13:47:54 -07:00
0e7484543e Some refactoring 2022-10-08 00:51:22 -07:00
ca123c1cc0 Notes 2022-09-08 00:52:23 -07:00
e0fd7097eb User creation 2022-09-07 23:56:29 -07:00