Commit graph

232 commits

Author SHA1 Message Date
b68dcc8fbf Add new pages 2022-11-17 20:12:49 -08:00
0e034a2064 Fix double free 2022-11-17 20:11:23 -08:00
f33b4a856f Template helpers 2022-11-17 20:11:04 -08:00
58a0dd900f Fix print call 2022-11-17 19:48:25 -08:00
fcbb1bb623 Use read instead of recv on socket 2022-11-17 19:48:07 -08:00
dac9d7c05d Support cookies 2022-11-17 19:39:24 -08:00
6accb775d4 Cleanup of networking code 2022-11-17 18:42:23 -08:00
58a81d74ec Use send() syscall instead of write() 2022-11-16 21:11:51 -08:00
432a11dbc9 Use templating system 2022-11-16 19:55:38 -08:00
305c5f8c92 Support for nested structs in sql layer 2022-11-16 02:23:14 -08:00
e4a04b869e refactor 2022-11-16 00:33:06 -08:00
c9d0090ab2 Add loop captures to capture struct 2022-11-16 00:18:14 -08:00
61493dc797 Combine Expressions and statements 2022-11-16 00:06:53 -08:00
8ebe77541f Add capture syntax 2022-11-16 00:01:45 -08:00
9d74bce266 Add loop captures 2022-11-15 23:53:29 -08:00
dcf777f5ea Iterate over for loop 2022-11-15 23:39:36 -08:00
934296b384 Parse for loop 2022-11-15 23:16:46 -08:00
efb50a325b Further split parsing and execution 2022-11-15 22:35:27 -08:00
d24957b7a0 Create ParseResult 2022-11-15 22:11:16 -08:00
7191ad8f27 Split up template parsing and execution 2022-11-15 22:07:45 -08:00
3b03764be7 Start work on template package 2022-11-15 19:11:29 -08:00
861c31c3ad Allow passing params by application/x-www-form-urlencoded 2022-11-15 01:03:47 -08:00
a15baaf2e7 Decode query string chars 2022-11-15 01:03:25 -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
721bf7e61a Rename follower/followee 2022-11-14 20:25:59 -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
c49f1487a7 Add list followers api calls 2022-11-14 00:14:29 -08:00
ebf8b34e15 Add follow table 2022-11-13 23:56:58 -08:00
4773a86313 Add args to timeline controller 2022-11-13 23:00:20 -08:00
4e81441a0d Move query format helpers into common code 2022-11-13 21:57:32 -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
5630c6160f Rename prep_allocator 2022-11-12 05:08:01 -08:00
139fc92854 Add queryRowsWithOptions method to db helper 2022-11-12 05:04:33 -08:00
83da3c914b Basic global timeline 2022-11-12 04:39:49 -08:00
7d13b2546b Fixes for stage1 compiler 2022-11-10 01:53:09 -08:00
181e57a631 Make inline for loops compatible with stage1 2022-11-09 16:49:42 -08:00
cfdc8c5761 Remove debug logging 2022-11-09 16:49:26 -08:00
cbf98c1cf3 Fix chunked transfer encoding 2022-11-07 00:25:33 -08:00
d2151ae326 Switch to ArrayHashMap 2022-11-06 23:59:35 -08:00
2d464f0820 Chunked transfer encoding 2022-11-06 23:38:21 -08:00
438c72b7e9 Make request generic based on reader 2022-11-05 03:09:59 -07:00
b46e82746c Parse list-based headers 2022-11-05 01:54:00 -07:00
4cb574bc91 Clean up header handling 2022-11-05 00:26:53 -07:00
5d94f6874d Fixes for zig 0.10.0 2022-11-03 23:26:50 -07:00