Brian Picciano
|
4f01edb923
|
move src out of srv, clean up default.nix and Makefile
|
2 years ago |
Brian Picciano
|
7f6d7366e3
|
improve logging of ips, to account for xff and x-real-ip
|
2 years ago |
Brian Picciano
|
79452e7472
|
Re-arrange routes so that cache only applies to blog routes
|
2 years ago |
Brian Picciano
|
fb905ad53c
|
Add in-memory cache to GET requests, purges on successful POSTs
|
2 years ago |
Brian Picciano
|
1de0ab3b72
|
Define an actual middleware type, use that to set up API routes
|
2 years ago |
Brian Picciano
|
09acb111a2
|
Rename api package to http
|
2 years ago |
Brian Picciano
|
69de76cb32
|
Add asset file upload form, plus related necessary refactors
|
2 years ago |
Brian Picciano
|
e41ff2b897
|
Implement index handler
This involved re-arranging how templates are being parsed, slightly.
|
2 years ago |
Brian Picciano
|
4c04177c05
|
Move template rendering logic into api package
|
2 years ago |
Brian Picciano
|
eed10ce514
|
Fix various problems with the srv build
|
2 years ago |
Brian Picciano
|
34f44cb5d5
|
implementation of basic chat page which can show history and not much else
|
3 years ago |
Brian Picciano
|
9343d2ea69
|
add chat handlers and only allow POST methods
|
3 years ago |
Brian Picciano
|
0197d9cd49
|
split configuration parsing out into separate packages, split api out as well
|
3 years ago |
Brian Picciano
|
47f32e1468
|
add response headers to prevent caching
|
3 years ago |
Brian Picciano
|
20b9213010
|
add api endpoints for pow and mailinglist, plus some framework improvements
|
3 years ago |