bb26ff763d
chore: restructured completely
...
kinda MVC:
Model -> model
View -> routes
Controller -> server
2024-04-09 01:14:48 +02:00
520c8eff3a
feat: separated apb types into crate, reworked
...
no more "impl ..." hell, each trait has associated types so that we know
it's a "Self::Link" or a "Self::Actor", but in practice they can both be
a "serde_json::Value" and thus we can change its type. also Node::Array
is now a Vec<T> rather than Vec<Node<T>> because it makes more sense.
Node is Iterable and will yield zero (Empty|Link), one (Object) or many
(Array) Ts
2024-04-06 16:56:13 +02:00
4274367285
feat: immediately wakeup dispatcher when sending
2024-03-27 05:09:20 +01:00
bd4d123223
fix: less extreme logging for deliveries
2024-03-27 04:38:14 +01:00
db8ecc7c3d
chore: moved around stuff
2024-03-27 04:00:18 +01:00
f83103ba72
fix: Node::id() returns owned value, imports fix
2024-03-27 03:23:54 +01:00
b37d799f59
fix: oh yes that was it! now digest
2024-03-27 02:11:14 +01:00
21db907e17
fix: omg is it the day of the week?
2024-03-27 02:08:50 +01:00
e75758b320
fix: if this is it.............
2024-03-27 02:07:02 +01:00
44adbeb434
fix: maybe without the day? omg mastodon...
2024-03-27 01:56:44 +01:00
b730598abe
fix: well it's not standard duhh
2024-03-27 01:53:41 +01:00
ad012bd2ee
fix: what the fuck mastodon?
...
or is it rust's fault?
2024-03-27 01:48:55 +01:00
4d06af9c54
fix: ooo is it this one?
2024-03-27 01:44:27 +01:00
f2513f30c8
fix: show me what they say when rejecting sign :(
2024-03-27 00:24:14 +01:00
603724ebcc
feat: improved dispatcher sleep logic
2024-03-26 23:53:44 +01:00
46394af394
fix: include request-target
2024-03-26 23:42:22 +01:00
8437de6c1b
fix: add back algorithm, fix digest fn
2024-03-26 21:48:39 +01:00
e8eff349cf
fix: ops must include digest and compose header
2024-03-26 21:30:41 +01:00
fc4674ecca
fix: maybe if i do it the old way??
2024-03-26 21:24:10 +01:00
98cb07b547
fix: does 'require_header' change anything?
2024-03-26 21:14:01 +01:00
923d96bd7f
fix: are these the issue?
2024-03-26 21:09:49 +01:00
46b9a339f7
fix: also full AP header
2024-03-26 21:02:07 +01:00
2f5344af37
fix: correct path for signature
2024-03-26 20:22:15 +01:00
a99c21654d
fix: use date format mastodon shows in docs
...
can't be this, or can it?
2024-03-26 20:17:41 +01:00
8bf41aa28b
fix: use a reasonable crate for http signing
...
http_signatures is abandoned, http_sig is weird???
2024-03-26 19:27:35 +01:00
d321d0b22a
fix: calculate digest, remove algo field
...
https://docs.joinmastodon.org/spec/security/#http
2024-03-26 05:25:51 +01:00
8ed4251d31
fix: #main-key ...
2024-03-26 04:14:23 +01:00
d918caa815
fix: was getting host wrongly, also log way more
2024-03-26 03:49:09 +01:00
90cae9e5fd
fix: header and LD context...
2024-03-26 03:41:17 +01:00
8ba25d511e
fix: more resilient priv key selection
2024-03-26 03:21:00 +01:00
e6b30975cc
feat: catch dispatcher errors
2024-03-26 03:11:59 +01:00
81b6a7183a
fix: log delivery responses bodies
2024-03-26 03:05:43 +01:00
83b0b35043
fix: check status code when delivering
2024-03-26 02:50:58 +01:00
34a3769fba
fix: acktually algorithm is required by spec
2024-03-26 02:27:40 +01:00
0c8afc2780
fix: some logging on fetcher and dispatcher
2024-03-26 01:14:43 +01:00
d0816a0f6a
fix: from -> actor
2024-03-25 05:12:09 +01:00
5d7ce0e3c4
feat: simple delivery system + http signatures
2024-03-25 05:07:58 +01:00