mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 23:22:40 +00:00
This commit is contained in:
parent
389eaec919
commit
7696ae571f
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue