Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.CommonAPI.Utils View Source

Link to this section Summary

Link to this section Functions

Link to this function

add_attachments(text, attachments)

View Source
Link to this function

attachments_from_ids_descs(ids, descs_str)

View Source
Link to this function

attachments_from_ids_no_descs(ids)

View Source
Link to this function

confirm_current_password(user, password)

View Source
Link to this function

context_to_conversation_id(context)

View Source
Link to this function

conversation_id_to_context(id)

View Source
Link to this function

emoji_from_profile(user)

View Source
Link to this function

format_input(text, format, options \\ [])

View Source

Formatting text to markdown.

Link to this function

format_naive_asctime(date)

View Source
Link to this function

get_addressed_users(mentioned_users, to)

View Source
Link to this function

get_replied_to_activity(id)

View Source
Link to this function

get_report_statuses(arg1, arg2)

View Source
Link to this function

get_to_and_cc(user, mentioned_users, inReplyTo, arg4, participation)

View Source
get_to_and_cc(
  Pleroma.User.t(),
  [String.t()],
  Pleroma.Activity.t() | nil,
  String.t(),
  Pleroma.Conversation.Participation.t() | nil
) :: {[String.t()], [String.t()]}
Link to this function

make_answer_data(user, object, name)

View Source
Link to this function

make_content_html(status, attachments, data, visibility)

View Source
Link to this function

make_context(arg1, participation)

View Source
Link to this function

make_note_data(actor, to, context, content_html, attachments, in_reply_to, tags, cw \\ nil, cc \\ [], sensitive \\ false, merge \\ %{})

View Source
Link to this function

make_report_content_html(comment)

View Source
Link to this function

maybe_add_attachments(parsed, attachments, no_links)

View Source
Link to this function

maybe_add_list_data(activity_params, user, arg3)

View Source
Link to this function

maybe_extract_mentions(arg1)

View Source
Link to this function

maybe_notify_mentioned_recipients(recipients, activity)

View Source
Link to this function

maybe_notify_subscribers(recipients, activity)

View Source
Link to this function

maybe_notify_to_recipients(recipients, activity)

View Source
Link to this function

validate_character_limit(full_payload, attachments, limit)

View Source