Json endpoint #12

Closed
sashanoraa wants to merge 18 commits from json-resp into main

18 Commits

Author SHA1 Message Date
Sashanoraa 5ff817e902 Fix json indentation
Signed-off-by: Sashanoraa <ben@benaaron.dev>
2021-11-15 01:45:31 -05:00
Ben Aaron Goldberg 17acac814b WIP [web] Add a JSON pronouns endpoint
Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-11-15 01:42:25 -05:00
Sashanoraa 4cef709f52 REQUEST_URL debug log message
Signed-off-by: Sashanoraa <ben@benaaron.dev>
2021-11-15 01:41:49 -05:00
Emi Simpson 57e1b5c85b
[web] Use the asyncio block_on 2021-11-07 12:29:02 -05:00
Emi Simpson adcbae08ca
Allow binding to unix sockets 2021-11-05 16:24:31 -04:00
Ben Aaron Goldberg 3a4afbcaea [web] confirm safety of advance
After further testing and checks I'm fairy confident that the vectored
write code is safe.

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-11-03 20:30:30 -04:00
Ben Aaron Goldberg 63cfa014d5 [web] use actual vectored write
Since IoSlice::advance isn't stable I had to hack my own. I will need to
confirm that my implementation is safe.

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
2021-11-03 19:43:46 -04:00
Emi Simpson 4ed748cf1e
[web] [WIP] Use smol's constituent crates instead of all of smol 2021-11-03 11:28:37 -04:00
Emi Simpson 2bfdf0ef49
Improve URL encoding and decoding 2021-11-02 19:08:50 -04:00
Emi Simpson 26b4b20c1d
[web] [WIP] Re-enable url generation 2021-11-02 17:19:53 -04:00
Emi Simpson 7c07aac2af
[web] [WIP] Remove trailing TODO 2021-11-02 14:26:36 -04:00
Emi Simpson 2cfe9fcb5f
[web] [WIP] Fix sending OGP tags 2021-11-02 14:17:47 -04:00
Emi Simpson 56dbe50d2f
[web] Make sure no one mistakes our software as apolitical 2021-11-02 13:36:54 -04:00
Emi Simpson 74e41de309
[web] [WIP] Unbreak the previous two commits 2021-11-02 13:35:59 -04:00
Emi Simpson b9620e95a8
[web] [WIP] Removed old TODO 2021-11-01 18:39:12 -04:00
Emi Simpson e55442c47f
[web] [WIP] Optimize IO slightly 2021-11-01 18:28:47 -04:00
Emi Simpson 5d47635ce8
[web] [WIP] Restore static asset serving 2021-11-01 18:15:06 -04:00
Emi Simpson dd5b4c5238
[web] [WIP] Initial progress in converting to SCGI 2021-10-31 23:04:25 -04:00