WIP: Push/Receive federation, pt2
Since we merged pt1 early this MR is now rest of the federation infrastructure.
This MR adds a generic federator and publisher modules which allow for easy expanding of the federation capabilities to other protocols and a dedicated AP publisher. It also adds necessary functions for receiving and handling incoming activities.
-
Pushing activities (almost done, missing resolving follower collections) -
Receiving incoming activities -
Handling incoming activities (basic types done) -
Translating between AP JSON Database and MN Database (maybe out of scope of this MR? need to wait for MN DB refactor. UPDATE: activities are passed to MN database as is and are to be handled by a translation module) -
API for generating and federating basic activity types -
Syncing remote actors with MN database -
Updating local actors (This will only happen in one case - when the AP module generates an RSA PEM key to sign activities)
Edited by Karen Konou