View Source Bonfire.Federate.ActivityPub.Adapter (bonfire_umbrella v0.9.8-cooperation-beta.31)

Adapter functions delegated from the ActivityPub Library

Summary

Functions

Process incoming activities

For updating an Actor in cache after a User/etc is updated

Functions

Callback implementation for ActivityPub.Federator.Adapter.base_url/0.

Link to this function

external_followers_for_activity(actor, activity_data)

View Source

Callback implementation for ActivityPub.Federator.Adapter.external_followers_for_activity/2.

Link to this function

federate_actor?(actor, direction \\ nil, by_actor \\ nil)

View Source
Link to this function

get_actor_by_ap_id(ap_id)

View Source

Callback implementation for ActivityPub.Federator.Adapter.get_actor_by_ap_id/1.

Callback implementation for ActivityPub.Federator.Adapter.get_actor_by_id/1.

Link to this function

get_actor_by_username(username)

View Source

Callback implementation for ActivityPub.Federator.Adapter.get_actor_by_username/1.

Link to this function

get_follower_local_ids(actor)

View Source

Callback implementation for ActivityPub.Federator.Adapter.get_follower_local_ids/1.

Link to this function

get_following_local_ids(actor)

View Source

Callback implementation for ActivityPub.Federator.Adapter.get_following_local_ids/1.

Callback implementation for ActivityPub.Federator.Adapter.get_locale/0.

Link to this function

get_or_create_service_actor()

View Source

Callback implementation for ActivityPub.Federator.Adapter.get_or_create_service_actor/0.

Link to this function

get_redirect_url(id_or_username_or_object)

View Source

Callback implementation for ActivityPub.Federator.Adapter.get_redirect_url/1.

Link to this function

handle_activity(activity)

View Source

Process incoming activities

Link to this function

local_actor_updated(character, is_local?)

View Source

For updating an Actor in cache after a User/etc is updated

Link to this function

maybe_create_remote_actor(actor)

View Source

Callback implementation for ActivityPub.Federator.Adapter.maybe_create_remote_actor/1.

Link to this function

maybe_publish_object(pointer_id, manually_fetching?)

View Source

Callback implementation for ActivityPub.Federator.Adapter.maybe_publish_object/2.

Link to this function

redirect_to_actor(username)

View Source
Link to this function

update_local_actor(actor, params)

View Source

Callback implementation for ActivityPub.Federator.Adapter.update_local_actor/2.

Link to this function

update_remote_actor(actor)

View Source

Callback implementation for ActivityPub.Federator.Adapter.update_remote_actor/1.

Link to this function

update_remote_actor(character, data)

View Source