ActivityPub Plugin

@icaria36 @Melmel Thanks for your feedback and thoughts! It’s very much appreciated. I’ll follow up in more detail soon.

2 Likes

Job exception: undefined method skip_email_validation= for an instance of Tag

We are getting many of these errors. I don’t know whether this is the same problem as ActivityPub Plugin - #359 by Jagster, but since it refers to a Tag I thought it wouldn’t harm to report it.

This PR should address that exception.

Note that this exception would not have affected anything materially on your instance.

2 Likes

A post was split to a new topic: Follow local ActivityPub actors

Thanks for this great plugin!

I have a multisite discourse installation running with latest discourse updates. activitypub seems to be running fine on one of them (https://forum.toplap.org/), but not on the other (https://club.tidalcycles.org/).

On the latter, the content of posts is missing, there is only the title and link to the post, e.g.:

I’ve compared the settings of the two sites and they are the same. I’ve looked on a couple of different mastodon servers (including mastodon.social) and they show the same problem.

The plugin settings are as default, apart from turning on verbose logging.

I’ve tried both ‘note’ and ‘article’ for the object type.

I’m scratching my head over this - any suggestions for what might be going wrong?

1 Like

Hey @yaxu my first thought is that on club.tidalcycles.org you’re federating Article, as that is how Article appears on Mastodon (currently). Can you share a screenshot of the settings for the Discourse Actor connected with the screenshot you shared.

1 Like

Thanks @angus, I really thought I’d tested both Note and Article, but I must be mistaken – after switching it back to Note, it’s working fine now.

2 Likes

For example, I want to boost Support for ActivityPub tags from my Mastodon account but I can’t find a way to do it.

In one Discourse instance, we have one ActivityPub actor for a tag set to first post only, and new topics using this tag are federated automatically.

In another Discourse instance, we have several ActivitPub actors for various categories set to all posts, and… new topics won’t federate automatically. They need to be federated manually using the admin dialog in each topic.

I have checked the settings, and I believe both Discourse instances have the same. Do you know what is happening and how can we we have all new topics federated automatically?

1 Like

Hey @icaria36 could you share a specific example of new topics not federating automatically? If you could share:

  1. The details and settings of the actor.
  2. A link to the category.
  3. How new topics are being created in that category.
  4. Any relevant logs from that instance.
  5. Details of any other plugins you’re using on that instance.
2 Likes

I can provide all these details, but your questions make me think that perhaps the problem lies in topics automatically created by the rss-polling plugin – as opposed to topics manually created. Can this be the problem?

If I set up a username through the Plugin > Edit actor, is there a way to access this username through Mastodon in order to remove, edit and add posts there or will everything be administrated from Discourse?

I am self hosted and so the username is tagged with my forums web adress and not connected to any existing Mastodon server.

I see that a new actor has been created on Mastodon, should I see it as a hashtag and not as an account and admin it through Discourse?

Best regards
Olle

Can posts be shared with a language set based on the default locale site setting, instead of None, so the Translate button isn’t shown below every Mastodon post? (Probably would be even better if they didn’t offer to translate None language, but whatever)

Yes, that will be the reason. The ActivityPub plugin doesn’t support an automatic integration with the RSS polling plugin at the moment.

You can only administer the actor in Discourse. A Mastodon server’s copy of the actor should be updated to reflect the changes you make in Discourse.

Could you make a new Feature topic describing the locale support you’d like to see in the plugin (in some detail) and tag it activitypub? Thanks!

1 Like

I see, is there a way to get the links to be verified from the actor? Currently when searching for the actor it says that they are not verified. Maybe the actor needs to be created from Mastodon in order to get the links to be verified.

I also wonder if there is a way to hide “Topic is not published via ActivityPub.” in topics?

If you absolutely must, you can target that element and hide via CSS, .activity-pub-topic-status.not-published would narrow it down to just the “not published” status. But, generally speaking, I would leave that message there. It’s helpful status and it is only shown on topics with categories/tags that are ActivityPub-enabled.

1 Like

I see, thank you.

Is there a way to verify the actor as seen on Activitypub? Currently when searching for the actor it says that they are unverified.

Users of Discourse aren’t real actors in the meaning they can be followed. Only categories and tags can be. At the moment, anyway.

2 Likes

That makes sense,

How do i hide Activityhub/Federation from the sidebar?