@linos do you have a link to a documentation of the follow/approval process on application level, that is used by #mobilizon ?
Conversation
Notices
-
Embed this notice
Matthias Pfefferle (pfefferle@mastodon.social)'s status on Wednesday, 17-Apr-2024 15:48:50 JST Matthias Pfefferle -
Embed this notice
Matthias Pfefferle (pfefferle@mastodon.social)'s status on Wednesday, 17-Apr-2024 16:36:50 JST Matthias Pfefferle @linos @notiz.blog thanks, that helps a lot! :)
-
Embed this notice
André Menrath (linos@graz.social)'s status on Wednesday, 17-Apr-2024 16:36:51 JST André Menrath @pfefferle You maybe noticed, that also groups could get followed. The idea was that one could either enter e.g. @notiz.blog, or the URL of an group actor too. But it is not implemented yet. At least it never worked for me, and reading Elixir code is hard for me.
-
Embed this notice
André Menrath (linos@graz.social)'s status on Wednesday, 17-Apr-2024 16:36:52 JST André Menrath @pfefferle This is an example from the relevant Mobilizon debug logs:
1. Fetching application actor from NodeInfo
2. Getting or fetching actor by URL
3. Fetching NodeInfo details for domain
4. Going to get NodeInfo information from URL
5. Found nodeinfo information for domain
6. Ready to save instance actor details
7. Saved instance actor details for domain
...I currently don't have more, cause again here I stumbled into problems with local CAs, which should be fixed, but there is a bug.
-
Embed this notice
André Menrath (linos@graz.social)'s status on Wednesday, 17-Apr-2024 16:36:53 JST André Menrath @pfefferle To my knowledge this is not documented yet, but what I know:
1. Try Fetching application actor from NodeInfo (fallback, use the @relay@instance.tld actor) [1]
2. Do validations (e.g. type must be either Group or Application) [2]. Here also the faulty outbox, which I provided that small fix for recently led to problems.
Other than that, the process seems to be no different.
[1] https://framagit.org/framasoft/mobilizon/-/blob/main/lib/federation/node_info.ex#L17
[2] https://framagit.org/framasoft/mobilizon/-/blob/main/lib/federation/activity_pub/relay.ex#L47
Maybe I should document it... :)
-
Embed this notice