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

finish unifying webmention receiving logic into Protocol.receive #529

Closed
Tracked by #512
snarfed opened this issue Jun 4, 2023 · 2 comments
Closed
Tracked by #512

finish unifying webmention receiving logic into Protocol.receive #529

snarfed opened this issue Jun 4, 2023 · 2 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Jun 4, 2023

Specifically, web.webmention_task. Will probably be ugly and tedious and a bit awkward. Important, but not urgent.

@snarfed
Copy link
Owner Author

snarfed commented Jun 15, 2023

Terminology:

  • recipient is a user or object
  • target is a string protocol endpoint that an activity can be delivered to, eg an AP inbox, Nostr relay, webmention target page

Activity Objects have recipients, recipients have one or more targets.

  • Protocol.deliver(obj) is protocol-agnostic, has activity processing logic, determines recipients, collects their targets, and calls send
  • Protocol.targets_for(obj) is per-protocol
  • Protocol.send(obj, target) is per-protocol

snarfed added a commit that referenced this issue Jun 16, 2023
snarfed added a commit that referenced this issue Jun 21, 2023
snarfed added a commit that referenced this issue Jul 2, 2023
snarfed added a commit that referenced this issue Jul 3, 2023
snarfed added a commit that referenced this issue Jul 11, 2023
snarfed added a commit that referenced this issue Jul 11, 2023
snarfed added a commit that referenced this issue Jul 11, 2023
@snarfed
Copy link
Owner Author

snarfed commented Jul 18, 2023

Shipped!

@snarfed snarfed closed this as completed Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant