View Source Bonfire.Federate.ActivityPub.AdapterUtils (Bonfire v0.9.10-classic-beta.169)

Summary

Functions

without :ok / :error tuple

Functions

Link to this function

all_recipients(activity, fields \\ [:to, :bto, :cc, :bcc, :audience])

View Source
Link to this function

apply_fun_style(fallback_module \\ __MODULE__, fun, args)

View Source
Link to this function

character_module(struct)

View Source
Link to this function

character_to_actor(character)

View Source
Link to this function

create_author_object(map)

View Source
Link to this function

create_remote_actor(actor)

View Source
Link to this function

determine_recipients(actor, comment)

View Source
Link to this function

determine_recipients(actor, comment, parent)

View Source
Link to this function

determine_recipients(actor, comment, to, cc)

View Source
Link to this function

format_actor(user_etc, type \\ "Person")

View Source
Link to this function

get_actor_by_ap_id(ap_id, local_instance \\ nil)

View Source
Link to this function

get_by_url_ap_id_or_username(q, opts \\ [])

View Source
Link to this function

get_character(q, opts \\ [])

View Source
Link to this function

get_character_by_ap_id(ap_id)

View Source
Link to this function

get_character_by_ap_id!(ap_id)

View Source

without :ok / :error tuple

Link to this function

get_character_by_id(id, opts \\ [skip_boundary_check: true])

View Source
Link to this function

get_character_by_username(username)

View Source
Link to this function

get_different_creator_ap_id(character)

View Source
Link to this function

get_in_reply_to(comment)

View Source
Link to this function

get_local_actor_by_ap_id(ap_id)

View Source
Link to this function

get_local_character_by_ap_id(ap_id, local_instance \\ nil)

View Source
Link to this function

get_object_ap_id!(object)

View Source
Link to this function

get_object_or_actor_by_ap_id!(ap_id)

View Source
Link to this function

get_or_create_service_character(service_character_id \\ service_character_id(), service_character_username \\ service_character_username())

View Source
Link to this function

get_or_fetch_and_create_by_uri(q, opts \\ [])

View Source
Link to this function

get_or_fetch_and_create_by_username(q, opts \\ [])

View Source
Link to this function

get_or_fetch_character_by_ap_id(actor_or_ap_id)

View Source
Link to this function

get_pointer_id_by_ap_id(ap_id)

View Source
Link to this function

is_local?(thing, opts \\ [])

View Source
Link to this function

is_local_collection?(ap_id)

View Source
Link to this function

is_local_collection_or_built_in?(ap_id)

View Source
Link to this function

maybe_add_aliases(user_etc, aliases)

View Source
Link to this function

maybe_attach_property_value(key, url)

View Source
Link to this function

maybe_create_banner_object(url, actor)

View Source
Link to this function

maybe_create_icon_object(url, actor)

View Source
Link to this function

maybe_create_image_object(url, actor)

View Source
Link to this function

maybe_fix_image_object(url)

View Source
Link to this function

maybe_format_image_object_from_path(url)

View Source
Link to this function

maybe_pointer_id_for_ap_id(ap_id)

View Source
Link to this function

return_pointable(f, opts \\ [skip_boundary_check: true])

View Source
Link to this function

return_pointer(id, opts)

View Source
Link to this function

service_character_username()

View Source