hyphacoop / social.distributed.press

A Social Inbox for Decentralized Publishing and ActivityPub.
https://hypha.coop/dripline/announcing-dp-social-inbox/
GNU Affero General Public License v3.0
23 stars 3 forks source link

Feat: Replies collection #66

Closed RangerMauve closed 3 months ago

RangerMauve commented 4 months ago
fauno commented 4 months ago

@RangerMauve oh! is Note the only accepted type for replies? it'd be good to keep it type-agnostic, or at least support any type with an inReplyTo attribute. for instance, in the future we may change the post type from Note to Article (Mastodon "casts" them to Notes anyway) so replies between jekyll sites would be rejected.

fauno commented 4 months ago

another relevant fep: https://codeberg.org/fediverse/fep/src/branch/main/fep/7458/fep-7458.md

RangerMauve commented 4 months ago

Good point about different types of objects. Maybe I should have an APObjectStore instead of a note store and just index over attributes without caring about the type?

fauno commented 4 months ago

Maybe I should have an APObjectStore instead of a note store and just index over attributes without caring about the type?

not sure what this means but :ok_hand:

RangerMauve commented 4 months ago

I decided to simplify the route for replies a bit by making it /:actor/inbox/reples/:urlEncodedURL and skipped paging for now.

RangerMauve commented 4 months ago

FWIW I don't think mastodon even pulls from this collections. Some clients might? They should handle both paged and unpaged in that case.