View Source Bonfire.Social.Objects (bonfire v0.3.5-classic-beta.4)

Link to this section Summary

Link to this section Functions

Link to this function

cast(changeset, attrs, creator, opts)

View Source

Handles casting:

  • Creator
  • Caretaker
  • Threaded replies (when present)
  • Tags/Mentions (when present)
  • Acls
  • Activity
Link to this function

cast_acl(changeset, creator, opts)

View Source
Link to this function

cast_basic(changeset, attrs, creator, opts)

View Source

Handles casting:

  • Creator
  • Caretaker
  • Acls
Link to this function

cast_caretaker(changeset, caretaker)

View Source
Link to this function

cast_creator(changeset, creator)

View Source
Link to this function

cast_creator_caretaker(changeset, user)

View Source
Link to this function

cast_mini(changeset, attrs, creator, opts)

View Source

Handles casting:

  • Acls
Link to this function

cast_publish(changeset, attrs, creator, opts)

View Source

Handles casting:

  • Acls
  • Activity
  • Feed Publishes
Link to this function

changeset_named(object \\ %{}, attrs)

View Source
Link to this function

delete_apply_error(error, args)

View Source
Link to this function

list_query(type_or_query \\ nil, opts)

View Source
Link to this function

maybe_generic_delete(type, object, options \\ [])

View Source
Link to this function

maybe_preload_activity_object(pointer, current_user)

View Source
Link to this function

preload_reply_creator(object)

View Source
Link to this function

publish(creator, verb, thing, attrs \\ nil, for_module \\ __MODULE__)

View Source

Returns a basic query over undeleted pointable objects in the system, optionally limited to one or more types.

Link to this function

read(object_id, socket_or_current_user)

View Source
Link to this function

run_epic(type, options \\ [], on \\ :object)

View Source
Link to this function

set_boundaries(creator, thing, attrs \\ nil, for_module \\ __MODULE__)

View Source
Link to this function

set_name(id, name, opts)

View Source