Commit graph

22 commits

Author SHA1 Message Date
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
e68332bc31
chore: refactor collections with utils, moved stuff 2024-03-28 04:52:17 +01:00
13f99532fe
fix: put bac protocol in urls 2024-03-26 01:02:48 +01:00
6d078f7068
feat: show pub key and created time for app actor 2024-03-26 00:48:37 +01:00
6be486ca3d
fix: add also server column for server addressing 2024-03-25 02:26:47 +01:00
a3df3e882e
feat: super barebones auth route 2024-03-24 23:55:48 +01:00
2ac7fa0588
chore: split inbox/outbox, added forgotten mods 2024-03-24 04:05:09 +01:00
02ae091962
feat: manage follower/followig collections 2024-03-22 02:50:38 +01:00
8cb8632521
feat: added relation table 2024-03-22 02:29:37 +01:00
7751114bda
fix: disable shared inbox/outbox
they aren't really implemented anyway and it's too much hassle now,
they're only relevant for big instances, not 1-user dev junk
2024-03-22 01:56:06 +01:00
aab31eac67
feat: handle host-meta and webfingers 2024-03-22 00:17:52 +01:00
d318ccb782
fix: ld_context to all 2024-03-21 19:32:07 +01:00
c4f677097b
fix: make @context addition explicit
also moved things around: object() is now into LD trait
2024-03-21 19:15:19 +01:00
bc182bdf70
fix: i checked the logs, content type ld+json...
was it really just this??? ffs
2024-03-21 03:07:35 +01:00
1215f49499
fix: base app Actor, domain stripper 2024-03-21 01:11:20 +01:00
a5c51f00ea
feat: more link helpers and node constructors 2024-03-21 00:04:44 +01:00
bf8cd97c8f
chore: Mut traits take owned self rather than &mut 2024-03-21 00:04:01 +01:00
9a7199c496
feat: serve application actor on /
mastodon uses /actor, but i think the root is fine?
2024-03-20 11:24:54 +01:00
5386c7ba7a
feat: allow specifying base domain 2024-03-20 08:56:35 +01:00
b2079a2c91
feat: simple outbox without objects
links dont require me to do relations now, but are likely needed
2024-03-20 07:55:24 +01:00
c51ca0744b
chore: polish 2024-03-20 07:55:03 +01:00
339d92986e
chore: moved AP routes in separate folder dir 2024-03-20 05:44:50 +01:00