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

Summary

Functions

Link to this function

as_permitted_for(q, opts \\ [], verbs \\ [:see, :read])

View Source
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

cast_sensitivity(changeset, sensitive?)

View Source
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

do_delete(objects, opts)

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, opts_or_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

reset_preset_boundary(creator, thing, previous_preset, opts_or_attrs \\ [], for_module \\ nil)

View Source
Link to this function

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

View Source
Link to this function

set_boundaries(creator, thing, opts_or_attrs \\ [], for_module \\ __MODULE__)

View Source
Link to this function

set_name(id, name, opts)

View Source
Link to this function

set_sensitivity(pointer, arg2)

View Source