Commit graph

71 commits

Author SHA1 Message Date
1d01a1cbf9
docs(apb): some comments 2024-07-15 21:54:04 +02:00
88b87c0b20
chore: deps cleanup
core down to 180 crates!! theres probably still a lot to be improved but
eh its a start!
2024-07-15 20:19:27 +02:00
f115ab67b8
chore(apb): bump version 2024-07-15 13:27:31 +02:00
3a663cb56e
feat(apb): added also_known_as from DID-CORE 2024-07-15 13:26:56 +02:00
2b4fb3bd62
fix(apb): actually link href is not guaranteed 2024-07-06 04:25:06 +02:00
141946444f
fix(apb): parsing links without href 2024-07-06 04:09:14 +02:00
bb79ca7728
feat: added notifications collections 2024-06-28 01:06:31 +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
cf26b77fdf
fix(apb): add link type, tag is Link 2024-06-19 17:56:05 +02:00
40392aef56
feat: add streams and move feed to its own field 2024-06-11 05:51:12 +02:00
58daf13708
docs(apb): docstrings for methods 2024-06-10 03:10:44 +02:00
846d0f21d5
fix(apb): dont put context extensions on collections 2024-06-09 18:42:35 +02:00
ca83b17681
feat(apb): added features from mastodon 2024-06-08 05:00:33 +02:00
827fb287db
feat(apb): mentioning method for jut .to() and .bto() 2024-06-07 23:13:18 +02:00
ffa92b4f61
fix(apb): audience is object, not actor 2024-06-06 20:38:28 +02:00
49fdc71dbd
fix(apb): enums implement Display too 2024-06-06 19:57:20 +02:00
d8feeec26f
test(apb): make sure .addressed() works 2024-06-06 16:22:47 +02:00
0c1160b42f
chore!: HUGE REFACTOR
not even sure stuff will stay this way but phewwwwww this was time
consuming asffff
2024-06-01 05:21:57 +02:00
ab006ffde9
feat(apb): helper: Option<String> to Field<&str> 2024-06-01 01:49:29 +02:00
7f091291af
fix(apb): oops missed these, also comment out some
just for now because i dont want to implement these everywhere
2024-06-01 01:26:19 +02:00
151eb606b6
fix(apb): Node::id behaves like Object::id 2024-06-01 01:24: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
b6a17184eb chore(apb): track todo &str 2024-05-31 15:56:41 +02:00
5b592874cb
chore: BIG refactor into smaller crates
hopefully this makes lsp more responsive? because it wont need to
recompile everything every time, but idk really
2024-05-31 04:07:39 +02:00
8712b5e723
fix(apb): export profile, remove dead code 2024-05-27 16:53:48 +02:00
34c01dd858
feat(apb): ostatus conversation and toot discoverable 2024-05-23 23:45:48 +02:00
e146dc2a51
chore(apb): imports 2024-05-23 01:59:22 +02:00
7e93bc6454
fix(apb): simpler macros, added into value, fix links
before array of links were silently discarded because macros relied on
into_iter().collect()... oops! technical debt, but should be ok now
2024-05-23 00:19:28 +02:00
54e7ebd905
fix(apb): extract correctly actor ids from addressing 2024-05-22 16:34:37 +02:00
2ac0ca8a38
feat(apb): quote url 2024-05-20 08:58:38 +02:00
f4db94db27
feat(apb): optional Send marker on Base, on by default 2024-05-20 02:39:23 +02:00
756012ee69
feat(apb): add .flat() to access inner nodes 2024-05-20 01:56:32 +02:00
8b15ae9f4f
feat(apb): Addressed auto impl for any Object 2024-05-19 21:19:22 +02:00
eddde7c8b9
fix(apb): setting href always succeeds 2024-05-19 21:18:58 +02:00
65aee2a27e
feat(apb): Node::Array is an array of nodes
this better represents AP arrays, because they could be mixed, and now
links are properly represented as links rather than "objects that are a
string"
2024-05-19 21:18:04 +02:00
6411923a0d
chore(apb): improved iterator impl for Node 2024-05-17 02:23:56 +02:00
2c5304a0d5
fix: oops remove special code for endpoints 2024-05-16 10:12:58 +02:00
461526df12
feat(apb): actor endpoints type (extends Object)
not sure if this can be an Object but AP says it can be a link to a
JSONLD document so i assume it can be?
2024-05-15 17:17:02 +02:00
88a6048dc2
fix(apb): id returns id of front for array node 2024-05-13 16:32:23 +02:00
735cef762b
feat(apb): add emoji reacts activity 2024-05-11 22:48:35 +02:00
30219c7fe6
chore(apb): move publshed and updated closer
i forgot that there's an updated field because it was too far
2024-05-02 15:12:57 +02:00
b708f642c1
fix(apb): dont panic if missing pubkey, return "" 2024-05-02 13:16:37 +02:00
eb472517ab
fix(apb): don't require Object for Addressed 2024-05-02 02:58:19 +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
a615b5d4e8
fix(apb): bool setter/getter with rename 2024-05-02 00:25:47 +02:00
bdf48bb7cb
feat(apb): likes and shares optional collections 2024-05-02 00:25:26 +02:00