View Source Bonfire.Social.Follows (bonfire_umbrella v0.9.6-classic-beta.12)

Summary

Functions

Accepts a follow request, publishes to feeds and federates. Parameter are a Request (or its ID) plus the subject as current_user

Link to this function

accept_from(subject, opts)

View Source

Accepts a follow request, publishes to feeds and federates. Parameters are the requester plus the subject as current_user

Link to this function

all_by_object(user, opts \\ [])

View Source
Link to this function

all_by_subject(user, opts \\ [])

View Source
Link to this function

all_followed_outboxes(user, opts \\ [])

View Source
Link to this function

all_objects_by_subject(user, opts \\ [])

View Source
Link to this function

all_subjects_by_object(user, opts \\ [])

View Source
Link to this function

ap_publish_activity(subject, verb, object)

View Source
Link to this function

ap_receive_activity(follower, activity, object)

View Source
Link to this function

follow(user, object, opts \\ [])

View Source

Follow someone/something. In case of success, publishes to feeds and federates.

If the user is not permitted to follow the object, or the object is a remote actor, will instead request to follow.

Link to this function

following?(subject, object)

View Source
Link to this function

get(subject, object, opts \\ [])

View Source
Link to this function

get!(subject, object, opts \\ [])

View Source
Link to this function

invalidate_followed_outboxes_cache(user)

View Source
Link to this function

list_followed(user, opts \\ [])

View Source
Link to this function

list_followers(user, opts \\ [])

View Source
Link to this function

list_my_followed(current_user, opts \\ [])

View Source
Link to this function

list_my_followers(current_user, opts \\ [])

View Source

Callback implementation for Bonfire.Common.ContextModule.query_module/0.

Link to this function

requested?(subject, object)

View Source

Callback implementation for Bonfire.Common.ContextModule.schema_module/0.