Commit graph

290 commits

Author SHA1 Message Date
83af6a40e4 More serialization refactor 2022-11-30 21:11:54 -08:00
c7dcded04a Add tests for deserialization 2022-11-30 20:01:17 -08:00
aa632ace8b Work on deserialization refactor 2022-11-30 19:21:55 -08:00
96a46a98c9 Multipart deserialization 2022-11-27 22:33:05 -08:00
2f78490545 Add rudimentary scalar parsing 2022-11-27 06:24:41 -08:00
4a98b6a9c4 Parse form params 2022-11-27 06:11:01 -08:00
938ee61477 Start work on multipart form parser 2022-11-27 05:43:06 -08:00
b99a0095d4 Rudimentary test cases for ParseBody 2022-11-27 02:21:22 -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
abf31ea33c Flesh out test cases for unions 2022-11-27 01:07:45 -08:00
ce40448dc8 Revamp QueryString parser test 2022-11-27 00:58:56 -08:00
f7f84f0516 Add util.testing.expectDeepEqual 2022-11-27 00:21:50 -08:00
d0e08e4b04 Fix parsing for enum and boolean values 2022-11-26 23:28:00 -08:00
29a38240d9 Fix test 2022-11-26 23:14:19 -08:00
de19083cd9 Update build.zig for unit tests 2022-11-26 23:11:34 -08:00
5b0505b355 Add tests for middleware.zig 2022-11-26 22:56:16 -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
43ddc7534b debugging changes for middleware 2022-11-25 17:43:16 -08:00
a28af9e1fe Move json and query helpers 2022-11-25 17:42:58 -08:00
039377f168 Add router helper fn 2022-11-24 03:55:47 -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
03338da307 Update server.zig to use new handlers 2022-11-24 03:30:49 -08:00
73f7022d36 Start work on middleware api 2022-11-23 20:51:30 -08:00
f457b7a0d6 Add drive files to db 2022-11-21 03:58:54 -08:00
14c75e0659 Add build flags for sqlite/postgres support 2022-11-21 02:18:46 -08:00
3544222065 Percent encode/decode header values 2022-11-21 00:54:03 -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
4e85c0225b Sample Cluster admin page 2022-11-19 03:13:05 -08:00
1b379513f7 ugly fucking global timeline endpoint 2022-11-18 04:07:58 -08:00
6748f065ef Move api calls to /api/v0 subpath 2022-11-18 03:43:41 -08:00
37ee6f9593 Remove redundant content-type header 2022-11-18 03:37:54 -08:00
ea837f78bd Change error name on invalid cookie 2022-11-18 03:37:42 -08:00
fdf0a84593 Fix whitespace stripping after control blocks 2022-11-18 03:32:30 -08:00
229acd6d3b Refactor template code 2022-11-18 03:24:25 -08:00
802e6402bf Token -> ControlToken 2022-11-18 02:05:13 -08:00
1340862c28 Add It param to ParseResult 2022-11-18 02:02:24 -08:00
52bb8739f8 Rename statement -> ControlBlock 2022-11-18 02:00:26 -08:00
1a7db9a834 Split expression/statements in parser 2022-11-18 01:58:13 -08:00
58adc38945 Parse whitespace stripping chars 2022-11-18 00:09:10 -08:00
22277beffc Add fields for whitespace stripping 2022-11-17 23:52:07 -08:00
c9af99d08f Add if statements to templating engine 2022-11-17 23:39:32 -08:00
5bb9742ab9 Change syntax for end_for statement 2022-11-17 23:23:02 -08:00
67ad5bfa48 Get token from cookie 2022-11-17 22:51:51 -08:00
b68dcc8fbf Add new pages 2022-11-17 20:12:49 -08:00
0e034a2064 Fix double free 2022-11-17 20:11:23 -08:00