Commit graph

17 commits

Author SHA1 Message Date
3a663cb56e
feat(apb): added also_known_as from DID-CORE 2024-07-15 13:26:56 +02:00
2e7b7074ea
chore: macros under feature, less deps 2024-06-23 05:13:18 +02:00
980cc09bc3
chore: changed apb repository 2024-06-23 05:07:20 +02:00
40e01fe83b
feat(apb)!: getters return field error
this way we clean upstream code from a lot of .ok_or(), and everything
that doesn't care about the error can go back to previous usage just
adding .ok()
2024-06-01 01:04:03 +02:00
78bc514012
chore(apb): moved jsonld under apb as feature 2024-05-31 21:29:51 +02:00
34c01dd858
feat(apb): ostatus conversation and toot discoverable 2024-05-23 23:45:48 +02:00
f4db94db27
feat(apb): optional Send marker on Base, on by default 2024-05-20 02:39:23 +02:00
735cef762b
feat(apb): add emoji reacts activity 2024-05-11 22:48:35 +02:00
a499c93e99
feat(apb): add my custom extension to count follows
this is really mehhh because if it was possible to embed
following/followers collections this would be pointless but it isn't so
to avoid making multiple fetches i'm adding these fields in the first
actor document
2024-05-02 00:29:17 +02:00
a1d1ba3744
fix(apb): add setters/getters for all fields 2024-05-02 00:28:54 +02:00
05bce0c486
feat(apb): added my apb extension for frontends
very much ad-hoc but at least i made the ns page so it should be kind of
ok to use i think? if others want to use upub frontend and have all its
features working, this extension will be necessary, rather than some
custom whole api
2024-05-02 00:28:09 +02:00
e0331751a4
fix(apb): sensitive under proper extension 2024-05-01 21:14:23 +02:00
a9229adec8
feat(apb): restructured, added target and server
target is about addressing, and server has traits for barebones outbox
and inbox. these come from upub
2024-04-11 00:27:17 +02:00
9d3376a1f4
docs: document crate a little 2024-04-06 19:16:15 +02:00
03c606514e
chore: crate metadata, MIT license 2024-04-06 18:17:07 +02:00
101de0cc08
fix(apb): proper feature gating, dict->unstructured 2024-04-06 18:04:14 +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