jaina heartles heartles
  • fae/she @heartles@egirls.gay on fedi

  • Joined on 2022-08-05
heartles pushed to main at heartles/fediglam 2022-11-18 07:13:44 +00:00
67ad5bfa48 Get token from cookie
b68dcc8fbf Add new pages
0e034a2064 Fix double free
f33b4a856f Template helpers
58a0dd900f Fix print call
Compare 7 commits »
heartles pushed to main at heartles/fediglam 2022-11-18 02:43:21 +00:00
6accb775d4 Cleanup of networking code
58a81d74ec Use send() syscall instead of write()
432a11dbc9 Use templating system
Compare 3 commits »
heartles commented on issue heartles/fediglam#38 2022-11-17 05:12:39 +00:00
Spurious crashes

After switching to using the send() syscall instead of write(), the crashes don't occur anymore. Still need to do some work to clean this fix up.

heartles commented on issue heartles/fediglam#38 2022-11-17 04:37:32 +00:00
Spurious crashes

I've tracd it down to happening when connections are closed too quickly. Steps that I used to reproduce the issue on my machine:

  • Open up the index page in a web browser
  • Hold down F5 in the…
heartles commented on issue heartles/fediglam#18 2022-11-16 12:58:53 +00:00
Support Keep-Alive header in HTTP layer

more generally we ought to use timeouts when reading data anyway

heartles pushed to main at heartles/fediglam 2022-11-16 10:38:14 +00:00
305c5f8c92 Support for nested structs in sql layer
e4a04b869e refactor
c9d0090ab2 Add loop captures to capture struct
61493dc797 Combine Expressions and statements
8ebe77541f Add capture syntax
Compare 12 commits »
heartles commented on issue heartles/fediglam#6 2022-11-16 09:13:34 +00:00
Public HTML pages

Current progress: working on a templating engine to power this. Initial attempts of jury-rigging something with std.fmt proved unsuccessful, and it's probably for the best anyway.

heartles pushed to main at heartles/fediglam 2022-11-15 10:13:21 +00:00
861c31c3ad Allow passing params by application/x-www-form-urlencoded
a15baaf2e7 Decode query string chars
db1bd0f7c7 Remove Body param
0b04ad5e00 Support for 'Data' field in controllers
85f57df0cb Controller helper refactor
Compare 6 commits »
heartles commented on issue heartles/fediglam#2 2022-11-15 09:06:29 +00:00
Follower/Following lists

Generally my thought re: api stuff is that I think the way other servers did it has it right, with just treating follow requests as their own resource in themselves and scrapping REST for a more…

heartles commented on issue heartles/fediglam#2 2022-11-15 09:05:02 +00:00
Follower/Following lists

This is partly implemented right now but it's missing a mechanism for follow requests, and I don't like the API. Leaving this issue open until its resolved.

heartles pushed to main at heartles/fediglam 2022-11-15 04:26:07 +00:00
721bf7e61a Rename follower/followee
81c705d519 Home timeline endpoint
763327292a Following/follower endpoints
568c6cd6b6 Combine pagination code
c49f1487a7 Add list followers api calls
Compare 6 commits »
heartles opened issue heartles/fediglam#38 2022-11-14 23:22:35 +00:00
Spurious crashes
heartles opened issue heartles/fediglam#37 2022-11-14 07:14:20 +00:00
Better Error Messages
heartles opened issue heartles/fediglam#36 2022-11-14 07:12:11 +00:00
OpenAPI endpoint
heartles pushed to main at heartles/fediglam 2022-11-14 07:04:29 +00:00
06aa3ad44e Updated README
heartles closed issue heartles/fediglam#3 2022-11-14 07:03:15 +00:00
Local / Global timelines
heartles commented on issue heartles/fediglam#3 2022-11-14 07:03:13 +00:00
Local / Global timelines

Implemented in 4773a86313613861cbb4506e6cf708df90636ee4

heartles pushed to main at heartles/fediglam 2022-11-14 07:02:07 +00:00
4773a86313 Add args to timeline controller
heartles pushed to main at heartles/fediglam 2022-11-14 06:03:11 +00:00
4e81441a0d Move query format helpers into common code
bfd73b7a1f Add union support to query parser
8694516180 Add local timeline
5630c6160f Rename prep_allocator
139fc92854 Add queryRowsWithOptions method to db helper
Compare 17 commits »
heartles commented on issue heartles/fediglam#13 2022-11-11 07:13:09 +00:00
Internal Job Queue

I'm putting the "waiting for zig 0.11" tag on this but we might be able to push this up. Reconsider this in a later release, we might be able to do it before async/await gets released in the…