Mayel de Borniol 2023-03-23 23:31:49 +13:00
parent 389eaec919
commit 7696ae571f
3 changed files with 4 additions and 4 deletions

View file

@ -151,8 +151,7 @@ This namespace handles the ActivityPub logic and stores AP activities. It is lar
- `ActivityPub.Federator.Adapter` defines callback functions for the AP library.
It also contains some functionality that isn't part of the AP spec but is required for federation:
- `ActivityPub.Safety.Keys` - Generating and handling RSA keys for messagage signing
- `ActivityPub.Safety.Signatures` - Adapter for the HTTPSignature library
- `ActivityPub.Safety.Keys` - Generating and handling RSA keys and signatures
- `ActivityPub.Federator.WebFinger` - Implementation of the WebFinger protocol
- `ActivityPub.Federator.HTTP` - Module for making HTTP requests (wrapper around tesla)
- `ActivityPub.Instances` - Module for storing reachability information about remote instances

View file

@ -27,7 +27,7 @@ config :activity_pub, :mrf_simple,
avatar_removal: [],
banner_removal: []
config :http_signatures, adapter: ActivityPub.Safety.Signatures
config :http_signatures, adapter: ActivityPub.Safety.Keys
config :activity_pub, :http,
proxy_url: nil,

View file

@ -528,12 +528,13 @@ config :bonfire_data_identity, User,
@boost_ulid "300STANN0VNCERESHARESH0VTS"
@follow_ulid "70110WTHE1EADER1EADER1EADE"
# mixins
unquote_splicing(common.([:actor, :character, :created, :peered, :profile]))
has_one(:accounted, unquote(Accounted), foreign_key: :id)
has_one(:instance_admin, unquote(InstanceAdmin), foreign_key: :id, on_replace: :update)
has_one(:self, unquote(Self), foreign_key: :id)
has_one(:shared_user, unquote(Bonfire.Data.SharedUser), foreign_key: :id)
has_one(:settings, unquote(Settings), foreign_key: :id)
unquote_splicing(common.([:actor, :character, :created, :peered, :profile]))
# multimixins
unquote_splicing(common.([:controlled]))
# manies