wordpress-activitypub icon indicating copy to clipboard operation
wordpress-activitypub copied to clipboard

[WIP] Mentions

Open mediaformat opened this issue 4 years ago • 10 comments

Work in progress for constructing a per user inbox, federating replies.

  • [x] Basic Reply to Comments (no mentions or audience yet) #42
  • [x] Threaded Replies
  • [x] Inbox forwarding

The wordpress comment system is fine for allowing Fediverse users to interact with a post, however currently Private Mentions (non-public, such as Followers Only, and Direct/Private Messages) end up as WP Comments.

The following types of mentions go to a custom Mentions Post Type

  • [x] Private mentions should bypass comments and go to inbox as per #72
  • [x] Mentions unrelated to a Post should bypass comment system and go to mentions post type as per #50
  • [x] Reply to received Mention

mediaformat avatar Jun 03 '20 04:06 mediaformat

Slow and steady with this, there are a lot of moving parts to test.

  • [x] Tagging users in comments
  • [x] Only federate comments from AP enabled post types

Unfinished business:

  • [x] Tagging users in posts
  • [x] Post Audience (Local only?, Public, Unlisted, Followers only, Private) #53
  • [x] Report Private/Follower only mentions to moderation

mediaformat avatar Oct 12 '20 14:10 mediaformat

Isn't it easier to use a custom-post-type for direct messages? It would make it easiere to list them, to update them and to comment them?

pfefferle avatar Nov 02 '20 10:11 pfefferle

Indeed, this is what I have upstream, and will be pushing in the next few days.

mediaformat avatar Nov 04 '20 19:11 mediaformat

Still some work to do:

  • [x] Mention audience
  • [x] Mention threading
  • [x] Resolve Merge conflicts

mediaformat avatar Dec 01 '20 06:12 mediaformat

Rebased from master. Not ready for Merge

mediaformat avatar Dec 16 '20 04:12 mediaformat

  • [x] do not include link from content template, or bypass outright if sending a non-public mention
  • [x] change status for non-public mentions
  • [x] Federate comment deletes (send, process received)
  • [x] Verify signatures of incoming requests!

mediaformat avatar Dec 29 '20 16:12 mediaformat

Has there been any recent progress on this PR?

mkljczk avatar Jul 04 '21 15:07 mkljczk

Not so recently, however the features will be split into separate PRs in the near future.

mediaformat avatar Jul 06 '21 07:07 mediaformat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 01 '22 17:04 stale[bot]

Keep!

pfefferle avatar Apr 01 '22 18:04 pfefferle

This looks really interesting. I think this is really the only thing stopping me from giving it a go.

As someone who hasn't really used Mastodon much but was a huge Twitter user (over 100,000 tweets), would I be able to follow and interact with people if I used this once the feature is complete? And would I be able to login to a Mastodon client via the identity of my own site?

Apologies if I'm misunderstanding the intent of the project. I know it does a fair bit.

HammyHavoc avatar Dec 10 '22 12:12 HammyHavoc

@HammyHavoc This PR is very out of date, the work was largely ported to #142, and the remaining items will be added to a subsequent PR.

mediaformat avatar Dec 10 '22 20:12 mediaformat