Commit graph

93 commits

Author SHA1 Message Date
48c12f2e8c Create functions in build.zig 2022-06-08 23:54:15 -07:00
687fd6ef9d Start work on new http pkg 2022-06-08 23:44:36 -07:00
0f7754802d Split util into own package 2022-06-08 22:54:41 -07:00
407923eacd Make handlers return new Response object 2022-05-23 21:58:05 -07:00
004568a907 Add new context object 2022-05-23 21:54:26 -07:00
c141d537c8 Move to using zig master apis 2022-05-23 19:05:28 -07:00
e456a0aa13 Prepare to use new router 2022-05-22 19:37:56 -07:00
9e3cb40fca update names 2022-05-22 13:17:46 -07:00
f2aec8249b Turn routers into functions 2022-05-22 13:07:30 -07:00
b2430b333c Major refactor in router.zig 2022-05-22 12:58:03 -07:00
789e9062b2 Add way to specify route params 2022-05-21 20:22:26 -07:00
c19cc267bf Store path segments instead of path 2022-05-20 22:48:43 -07:00
d885dc5fc8 Match routes by path segments 2022-05-20 02:10:50 -07:00
283b85cfcc Add Route.bind 2022-05-19 21:46:39 -07:00
626a7d33b0 Split out Route into separate fn 2022-05-19 21:25:03 -07:00
c2be0e9833 Make path comparison case-insensitive 2022-05-19 21:13:04 -07:00
64004cbd82 Clean up tests 2022-05-19 21:08:58 -07:00
b24d96233d Test values passed to handler 2022-05-19 20:53:04 -07:00
d4d3226a39 Add http method routing 2022-05-19 20:27:21 -07:00
126ab9a57b Add 404 route 2022-05-19 20:19:54 -07:00
f891aeafa7 Dispatch based on path 2022-05-19 20:16:09 -07:00
c26ca37bc0 Start work on new router 2022-05-19 20:01:16 -07:00
ab471020b7 Add lookupAccountByHandle 2022-05-19 17:42:26 -07:00
2a6154b5ec Stub out account creation 2022-05-15 14:21:34 -07:00
cf8871bbcd Remove unnecessary import 2022-05-13 19:01:45 -07:00
a7e4ff1777 Error on invalid string passed to Uuid.parse 2022-05-12 22:46:34 -07:00
f56782a323 Fix tests for Uuid 2022-05-12 22:41:46 -07:00
bca6a98889 Add tests for ciutf8 2022-05-12 22:33:35 -07:00
d82d271a7f Add tests for Uuid 2022-05-12 22:06:33 -07:00
5353169250 Add Uuid.Nil 2022-05-12 22:05:17 -07:00
ea950dfe4f Generate random IDs on POST 2022-05-12 20:29:18 -07:00
fc704667af Create thread-safe random 2022-05-12 20:28:00 -07:00
b140b20298 Add Uuid.randV4 2022-05-12 20:27:42 -07:00
c484af6179 Create note endpoint 2022-05-12 18:49:26 -07:00
5bd4df8740 Move router.zig 2022-04-24 03:23:08 -07:00
4d18f031a8 Remove circular dependency 2022-04-23 03:18:46 -07:00
6a37685643 Create router.zig 2022-04-23 02:57:49 -07:00
40cad8287a Create http.zig 2022-04-23 00:25:45 -07:00
5eaed13f7a Create util.zig 2022-04-23 00:11:40 -07:00
47353aaf13 Create Uuid type 2022-04-21 02:34:04 -07:00
ddd8b14355 Split out AP stuff 2022-04-20 23:26:08 -07:00
266c18453a Case insensitivity and basic AP user 2022-04-03 20:36:32 -07:00
5fbb1b480b Basic web server 2022-04-02 13:23:18 -07:00