oxalica
b8921a5485
chore(*): remove or update obsolete TODOs
2024-10-08 23:19:57 -04:00
oxalica
bc6e6c2056
refactor(webapi,types)!: make challenge type extensive
...
We may allow more challenge types other than PoW in the future, eg.
captcha. So make the relevent types more generic.
Now the challenge is returned in JSON response as a individual top-level
field `register_challenge` instead of in HTTP headers.
2024-10-01 05:26:00 -04:00
oxalica
a38b59da84
fix(types,blahd): reject timestamps > i64::MAX
2024-09-24 20:36:27 -04:00
oxalica
94e5913513
refactor(blahd),test: move feed generation into submod and add test
2024-09-23 20:32:24 -04:00
oxalica
b955d32099
fix(blahd): reject UNIX domain socket for now
...
It's too complex to bother with for the current `axum` API. Let's wait
for axum 0.8 release.
Ref: https://github.com/tokio-rs/axum/pull/2479
2024-09-19 09:04:50 -04:00
oxalica
fb76756482
feat(webapi): impl user registration and identity description format
2024-09-16 10:45:40 -04:00
oxalica
2775068e49
refactor(config): split into subsections and verify on parsing
2024-09-13 07:20:48 -04:00
oxalica
98b2df2fdf
feat(blahd): impl socket activation integration
...
This also allows arbitrary listening fd include UNIX domain sockets, via
environment variables as sd_listen_fds(3).
2024-09-11 13:17:52 -04:00
oxalica
c5263c607c
Split out socket config and switch back to toml
crate
...
basic-toml does not support externally-tagged enum yet.
See: https://github.com/dtolnay/basic-toml/issues/8
2024-09-10 01:29:21 -04:00
oxalica
4f0f1405dc
Librarify blahd for testing
2024-09-10 01:29:21 -04:00
oxalica
81a566a097
Move database logic into submodule and do simple version check
2024-09-06 02:05:27 -04:00
oxalica
77216aa0f8
Switch from event stream to WebSocket for events
2024-09-02 23:43:26 -04:00
oxalica
263c0ca44b
Fix typos
2024-08-31 22:39:09 -04:00
oxalica
e84b13c876
Package with nix and add systemd unit example
2024-08-31 16:38:43 -04:00
oxalica
6e7229e4ac
Make more server constants configurable
2024-08-31 01:25:38 -04:00
oxalica
abdc32b51f
Use configuration file to simplify CLI
2024-08-31 01:02:20 -04:00