d3d5f98dfd
feat: authorized fetch on activities and objects
2024-04-12 22:21:23 +02:00
4e34446894
fix: oops must be generic impl
2024-04-12 21:55:19 +02:00
5de807b3d9
fix: don't clear audiences
...
still quite jank way to do it but at least should work again?
2024-04-12 21:42:06 +02:00
ca59c30e70
fix: auth filter conditions any, not all
2024-04-12 21:18:01 +02:00
6d7d767429
docs: updated README state
2024-04-12 20:05:30 +02:00
0fa88e51e6
feat: added all inboxes and outboxes
...
base POST to /outbox still returns NOT IMPLEMENTED tho
2024-04-12 20:01:47 +02:00
af8d11e75b
feat: inbox/outbox security and obj embedding
2024-04-12 19:36:00 +02:00
0d340185cf
feat: improved addressing select
2024-04-12 19:35:26 +02:00
3a874ed3e7
fix: insert activities, expand addressing
...
remote activities for Likes and Follows should still be added to our
database so we know where to verify those and we can present them in a
timeline for notifications
2024-04-12 18:40:24 +02:00
9e67eead69
feat: multi-join maybe? fix inbox not embedding obj
...
got this from https://github.com/SeaQL/sea-orm/discussions/1502 , not
sure it's what i need but i'm trying some stuff
2024-04-11 17:00:09 +02:00
d5c5d341e8
fix: ownerships
2024-04-11 16:59:47 +02:00
0261f87306
feat: first mastodon route yay, mastodon default on
2024-04-11 00:52:44 +02:00
86e84d88aa
chore: updated apb things, restructured a bit
2024-04-11 00:29:32 +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
4c2eb7b990
chore: better routing structure
2024-04-09 04:35:57 +02:00
bb26ff763d
chore: restructured completely
...
kinda MVC:
Model -> model
View -> routes
Controller -> server
2024-04-09 01:14:48 +02:00
395a8522cd
docs: better "roadmap"
2024-04-08 03:00:11 +02:00
51953695d7
docs: reworded
2024-04-08 02:58:59 +02:00
20ca18f9e3
chore: also modularized APInbox
2024-04-08 02:55:21 +02:00
7ce872cfff
chore: separated outbox business logic in methods
...
dumped all in server but temporary, now can be properly modularized
also fixed endpoints
2024-04-08 02:30:43 +02:00
9d3376a1f4
docs: document crate a little
2024-04-06 19:16:15 +02:00
863b17b363
chore: cargo metadata
2024-04-06 18:34:41 +02:00
b57d766b78
fix: dont publicly export macros
2024-04-06 18:34:15 +02:00
5672f75242
docs: added readme
2024-04-06 18:24:10 +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
24d547e93a
feat: subdivide into features
2024-04-06 18:03:13 +02:00
a624222751
feat: listed half of mastodon's api routes
2024-04-06 17:20:44 +02:00
ca871a867f
docs: some readmes
...
pretty useless but at least they're there
2024-04-06 17:20: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
b5867b90ac
feat: accept also bare note to publish
2024-03-28 05:24:38 +01:00
0ec839f42f
fix: followers was wrong because full model
2024-03-28 05:19:13 +01:00
3725097749
fix: followers querying with full id
2024-03-28 05:14:50 +01:00
d7efbf5131
chore: imports cleanup
2024-03-28 05:14:17 +01:00
e68332bc31
chore: refactor collections with utils, moved stuff
2024-03-28 04:52:17 +01:00
68823559c1
feat: process updates for notes and users
2024-03-28 04:47:49 +01:00
5bad5e0405
fix: more lenient nodeinfo
2024-03-28 04:05:47 +01:00
4274367285
feat: immediately wakeup dispatcher when sending
2024-03-27 05:09:20 +01:00
70c1f96959
fix: maybe fix for expanding addressings
2024-03-27 04:46:57 +01:00
746c5e5921
fix: log follow request accept/reject
2024-03-27 04:40:50 +01:00
bd4d123223
fix: less extreme logging for deliveries
2024-03-27 04:38:14 +01:00
742c769014
fix: filter out empty targets
2024-03-27 04:36:46 +01:00
625b8e0e02
fix: when missing embedded object still show url!
2024-03-27 04:28:09 +01:00
fe30ad59d7
feat: normalized pagination
2024-03-27 04:23:42 +01:00
139e973277
fix: don't insert when there's nothing to insert
2024-03-27 04:13:29 +01:00
1db09064a0
docs: updated README
2024-03-27 04:03:08 +01:00
ac2c86f16e
feat: crude implementation of most inbox flows
2024-03-27 04:00:27 +01:00
db8ecc7c3d
chore: moved around stuff
2024-03-27 04:00:18 +01:00
c3face463e
feat: crude implementation for most outbox methods
2024-03-27 03:24:14 +01:00
f83103ba72
fix: Node::id() returns owned value, imports fix
2024-03-27 03:23:54 +01:00