Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic backfill via resolvable context #12647

Closed
12 of 13 tasks
julianlam opened this issue Jun 21, 2024 · 0 comments
Closed
12 of 13 tasks

Topic backfill via resolvable context #12647

julianlam opened this issue Jun 21, 2024 · 0 comments
Assignees
Milestone

Comments

@julianlam
Copy link
Member

julianlam commented Jun 21, 2024

As a proof-of-concept implementation with Discourse, NodeBB will enable topic backfill via a resolvable context property.

  • Each post (typically of type as:Note) will contain a context property that points to a resolvable activitypub object.

  • This object is expected to be the topic containing the post, and should be of type Collection or OrderedCollection.

  • Iterating through the pages of the collection should allow a server to remotely backfill an entire topic.

  • This behaviour would take precedence over the fallback behaviour of inReplyTo traversal.

  • as:Note provides context

  • context resolves to a Collection (or OrderedCollection)

  • Topic backfill with compatible NodeBB implementation

  • Topic backfill with compatible Discourse implementation

  • Discourse is able to backfill topics from compatible NodeBB implementation

Additional compatibility with FEP-7888:

  • Resolved context contains an attributedTo (the category actor)
  • Resolved context's attributedTo resolves to an Actor
  • Upon receipt of object:
    • If context collection is retrieved and there are unprocessed items, send an Add activity out to category followers and post author
  • Upon object creation:
    • When queried, object context is set to local instance context
    • Created object is sent to context authority for addition
    • When a corresponding Add activity is received referencing the created object, the object context can be updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant