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

  • Joined on 2022-08-05
heartles commented on issue heartles/fediglam#2 2022-11-19 11:34:00 +00:00
Follower/Following lists

In hindsight, follow requests should go in a different issue, after profile updates.

heartles closed issue heartles/fediglam#38 2022-11-18 12:17:15 +00:00
Spurious crashes
heartles commented on issue heartles/fediglam#6 2022-11-18 12:14:08 +00:00
Public HTML pages

Templating engine still in progress, currently supports:

  • Text substitution
  • Loops
  • Conditionals

A few basic pages are up for testing purposes.

heartles pushed to main at heartles/fediglam 2022-11-18 12:08:03 +00:00
1b379513f7 ugly fucking global timeline endpoint
heartles pushed to main at heartles/fediglam 2022-11-18 11:43:50 +00:00
6748f065ef Move api calls to /api/v0 subpath
37ee6f9593 Remove redundant content-type header
ea837f78bd Change error name on invalid cookie
Compare 3 commits »
heartles pushed to main at heartles/fediglam 2022-11-18 11:32:42 +00:00
fdf0a84593 Fix whitespace stripping after control blocks
229acd6d3b Refactor template code
802e6402bf Token -> ControlToken
1340862c28 Add It param to ParseResult
52bb8739f8 Rename statement -> ControlBlock
Compare 10 commits »
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