Follow profile preferences more closely in ActivityPub plugin

I noticed a couple points to point out for AP plugin improvements. In this SocialHub topic @wakest shows a snapshot of how my posts appear on Mastodon. Various things here do not correspond with my profile settings and/or admin settings (besided @wakest observation that mentions aren’t linkified).

The forum admin setting “display name on posts” (Show a user’s full name on their posts in addition to their @username) is false, yet on the fediverse the full display name is used.

Then I have “hide my public profile” set to true in preferences (not because I particularly want to hide it, but this is the way to avoid being shown by the Presence plugin). I am not sure if this flag is honored, or that this current minimum information (handle/username, display name, avatar) is the only thing the implementation handles rn.

There is also the “hide user profiles from public” admin setting to take into account. Not sure if that is tackled too. On Social coding commons forum I have this setting on “Disable user cards, user profiles and user directory for anonymous users”.

Finally, bit tangential, but the “ActivityPub” profile tab is not self-descriptive and intuitive for how “Linked Actors” are configured and what the impact of that will be. I tried various things, all leading to a non-descriptive error. So one need to go to Discourse Meta to figure that out.

What further strikes me is that there are only 2 types of Linked Actor, namely “Discourse” and “Mastodon”. In other words 2 “apps” in fediverse parlance. Is this indeed so app-specific? For microblogging alone there are N apps that can do interop with Mastodon.