@angus Im currently testing some new changes for federating with Discourse. Its pretty close to working, but now there is a problem because Discourse doesnt mark its posts as public. To fix this you should add "https://www.w3.org/ns/activitystreams#Public" either in cc or to.
Edit: The changes are now live on voyager.lemmy.ml so you can give it a try.
We mark activities and objects as public when theyâre being sent to an inbox, and when the activity is being retrieved directly, but yes, we need to add the same addressing when the object is being retrieved directly. Thatâll be the case when this is merged.
Iâll try federating between socialhub and voyager.lemmy.ml when that PR is merged
Actors areât making changes in others instances and I canât delete current actors to recreate this is a bug? It listed my first actor and when i set it again nothing at mastodon.social
The problem with the post you linked is the attributedTo field (which contains the author). It refers to a Group when Lemmy only supports a Person or Service in that position. In fact the object also references the same Group as audience and to, while the Person is not referenced anywhere. When I previously tested federation with socialhub, it correctly specified a Person as attributedTo. So it seems like some kind of bug in Discord.
@nutomic That is expected behaviour for a specific configuration of the plugin.
@db0 Basically, if you want to federate with Lemmy your Discourse Actor needs to be configured as âFull Topicâ, not âFirst Post Onlyâ. As mentioned on meta, this will also address other questions you raised.
So the discourse forums are not configured in a way to federate with lemmy? Can this be adjusted? Is there a reason to have this configuration at all if it excludes lemmy?
You mean the meta.discourse.org categories with First Post Only enabled? Yes, they will not currently federate with Lemmy, because as @nutomic noted, Lemmy doesnât support it.
Yes, the configuration is optimised for announcement-style use cases (which is why it is used on the âAnnouncementsâ category on meta.discourse.org). The point of having a Note attributedTo a Group actor (i.e. a Category) is because some folks want to federate content from an Actor that isnât a specific user. Other folks use this configuration to federate announcements to Mastodon (which supports it).
The goal isnât to exclude Lemmy, itâs to support a wide variety of use cases. Discourse Actors set up as âFull Topicâ will federate with Lemmy as expected. If Lemmy adds support for content attributedTo Group Actors, then âFirst Post Onlyâ will work with Lemmy too.
Ok well I hope this distinction is made clear for forum admins in the settings, if it works as expected. Is there any forum or post in the meta forums which is set to be compatible with lemmy, so I can test with?
Iâm not seeing any old posts when opening any of those topics on lemmy (i.e itâs not retrieving historical posts), but ok, maybe this is because itâs a new federation? But at least itâs showing me as subscribed.
Iâm not sure what the expected behaviour in Lemmy is for dropping in an object link like that. Maybe @nutomic can clarify.
Could be a number of reasons. The category actor may have not been enabled when the post was made.
Most likely because the post was made prior to the category being federated.
Remember federation is not turned on by default and doesnât automatically federate out everything in a category historically (you can do that with an admin task, but doing it automatically would cause a lot of issues). Itâs turned on (and off).
Thatâs what I thought at well, which is why I picked posts opened a couple of days ago. Unless the pplugin was only enabled yesterday or something. I literally cannot find a single thing that is federated. :-/
PS: I also have a suggestion. I think that once the plugin is activated for a category, it should enable federation for all existing posts in that category. Thatâs not to say it should immediately broadcast them all out, but it should allow external services to retrieve them through search (which normally initiates a GET operation via apub)