Commit graph

301 commits

Author SHA1 Message Date
2bcef49e5e Add star segment support in routes 2022-12-02 23:21:49 -08:00
2206cd6ac9 Form File support 2022-12-02 22:34:12 -08:00
e6f57495c0 Cleaner multipart handling 2022-12-02 22:20:24 -08:00
6e56775d61 Multipart/form-data 2022-12-02 21:49:27 -08:00
0b13f210c7 Refactor 2022-12-02 21:49:17 -08:00
ba4f3a7bf4 Reorganize tests 2022-12-01 21:02:33 -08:00
f7bcafe1b1 Remove dead code 2022-12-01 20:52:51 -08:00
16c574bdd6 Refactoring 2022-12-01 20:41:52 -08:00
b2093128de Remove ciutf8 2022-12-01 19:46:51 -08:00
04c593ffdd add util.comptimeToCrlf 2022-12-01 19:46:07 -08:00
8400cd74fd Use deserialization utils 2022-12-01 01:56:17 -08:00
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