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

Support reply controls #181

Open
mediaformat opened this issue Nov 15, 2022 · 6 comments
Open

Support reply controls #181

mediaformat opened this issue Nov 15, 2022 · 6 comments
Labels
[Type] Enhancement New feature or request

Comments

@mediaformat
Copy link
Collaborator

This plugin follows Wordpress site options, but a Post's comment options are not advertised in anyway.

The streams project uses commentPolicy with various options:

'commentPolicy' can be any of
'authenticated' - matches the typical ActivityPub permissions
'contacts' - matches approved followers
'any connections' - matches followers regardless of approval
'site: foobar.com' - matches any actor or clone instance from 'foobar.com'
'public' - matches anybody at all, may require moderation if the network isn't known
'self' - matches the activity author only
'until=2001-01-01T00:00Z' - comments are closed after the date given. This can be supplied on its own or appended to any other commentPolicy string by preceding with a space; for example 'contacts until=2001-01-01T00:00Z'.

We could minimally support until with get_option( 'close_comments_days_old' ) + post_publish date.

w3c/activitypub#319 replyPreference
mastodon/mastodon#8565

@mediaformat mediaformat added the [Type] Enhancement New feature or request label Nov 15, 2022
@mediaformat
Copy link
Collaborator Author

A FEP is being proposed that covers most of the use cases.

https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-5624.md

@stale
Copy link

stale bot commented Mar 20, 2023

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 stale bot added the [Status] wontfix This will not be worked on label Mar 20, 2023
@pfefferle
Copy link
Member

Keep

@stale stale bot removed the [Status] wontfix This will not be worked on label Mar 20, 2023
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Oct 2, 2023
@mediaformat mediaformat removed the Stale label Oct 2, 2023
@Menrath
Copy link
Contributor

Menrath commented Nov 30, 2023

Mobilizon uses repliesModerationOption with allow_all, closed, moderated.
PeerTube has a commentsEnabled field with true or false (Edit: which Mobilizon also has a fallback to!)

We are currently investigating this as well.

@mediaformat mediaformat changed the title Support commentPolicy Support reply controls Jan 10, 2024
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants