module ActorModelRenderer
Included Modules
Extended Modules
Defined in:
models/activity_pub/actor.cr
Class Method Summary
_layout_src_views_layouts_default_html_ecr(env, title, head, content)
_layout_src_views_layouts_default_html_ecr,
_view_src_views_activities_activity_json_ecr(env, activity, recursive)
_view_src_views_activities_activity_json_ecr,
_view_src_views_actors_actor_html_slang_layout_src_views_layouts_default_html_ecr(env, actor)
_view_src_views_actors_actor_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_actors_actor_json_ecr(env, actor)
_view_src_views_actors_actor_json_ecr,
_view_src_views_actors_notifications_html_slang_layout_src_views_layouts_default_html_ecr(env, account, actor, notifications)
_view_src_views_actors_notifications_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_actors_notifications_json_ecr(env, account, actor, notifications)
_view_src_views_actors_notifications_json_ecr,
_view_src_views_actors_posts_html_slang_layout_src_views_layouts_default_html_ecr(env, actor, objects)
_view_src_views_actors_posts_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_actors_posts_json_ecr(env, actor, objects)
_view_src_views_actors_posts_json_ecr,
_view_src_views_actors_public_posts_html_slang_layout_src_views_layouts_default_html_ecr(env, actor, objects)
_view_src_views_actors_public_posts_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_actors_public_posts_json_ecr(env, actor, objects)
_view_src_views_actors_public_posts_json_ecr,
_view_src_views_actors_remote_html_slang_layout_src_views_layouts_default_html_ecr(env, actor)
_view_src_views_actors_remote_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_actors_remote_json_ecr(env, actor)
_view_src_views_actors_remote_json_ecr,
_view_src_views_actors_timeline_html_slang_layout_src_views_layouts_default_html_ecr(env, actor, timeline)
_view_src_views_actors_timeline_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_actors_timeline_json_ecr(env, actor, timeline)
_view_src_views_actors_timeline_json_ecr,
_view_src_views_everything_index_html_slang_layout_src_views_layouts_default_html_ecr(env, collection)
_view_src_views_everything_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_everything_index_json_ecr(env, collection)
_view_src_views_everything_index_json_ecr,
_view_src_views_filters_form_html_slang_layout_src_views_layouts_default_html_ecr(env, term)
_view_src_views_filters_form_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_filters_form_json_ecr(env, term)
_view_src_views_filters_form_json_ecr,
_view_src_views_filters_index_html_slang_layout_src_views_layouts_default_html_ecr(env, terms)
_view_src_views_filters_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_filters_index_json_ecr(env, terms)
_view_src_views_filters_index_json_ecr,
_view_src_views_home_index_html_slang_layout_src_views_layouts_default_html_ecr(env, accounts, objects)
_view_src_views_home_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_home_index_json_ecr(env, accounts, objects)
_view_src_views_home_index_json_ecr,
_view_src_views_home_step_1_html_slang_layout_src_views_layouts_default_html_ecr(env, settings)
_view_src_views_home_step_1_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_home_step_1_json_ecr(env, settings)
_view_src_views_home_step_1_json_ecr,
_view_src_views_home_step_2_html_slang_layout_src_views_layouts_default_html_ecr(env, account, actor)
_view_src_views_home_step_2_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_home_step_2_json_ecr(env, account, actor)
_view_src_views_home_step_2_json_ecr,
_view_src_views_interactions_index_html_slang_layout_src_views_layouts_default_html_ecr(env, message, error, target, action, domain)
_view_src_views_interactions_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_interactions_index_json_ecr(env, message, error, target, action, domain)
_view_src_views_interactions_index_json_ecr,
_view_src_views_mentions_index_html_slang_layout_src_views_layouts_default_html_ecr(env, mention, collection, count, follow)
_view_src_views_mentions_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_mentions_index_json_ecr(env, mention, collection, count, follow)
_view_src_views_mentions_index_json_ecr,
_view_src_views_metrics_metrics_html_slang_layout_src_views_layouts_default_html_ecr(env, charts, range, granularity, labels)
_view_src_views_metrics_metrics_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_metrics_metrics_json_ecr(env, charts, range, granularity, labels)
_view_src_views_metrics_metrics_json_ecr,
_view_src_views_objects_edit_html_slang_layout_src_views_layouts_default_html_ecr(env, object, recursive)
_view_src_views_objects_edit_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_objects_edit_json_ecr(env, object, recursive)
_view_src_views_objects_edit_json_ecr,
_view_src_views_objects_index_html_slang_layout_src_views_layouts_default_html_ecr(env, drafts)
_view_src_views_objects_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_objects_index_json_ecr(env, drafts)
_view_src_views_objects_index_json_ecr,
_view_src_views_objects_object_html_slang_layout_src_views_layouts_default_html_ecr(env, object, recursive)
_view_src_views_objects_object_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_objects_object_json_ecr(env, object, recursive)
_view_src_views_objects_object_json_ecr,
_view_src_views_objects_replies_json_ecr(env, object, replies, recursive)
_view_src_views_objects_replies_json_ecr,
_view_src_views_objects_reply_html_slang_layout_src_views_layouts_default_html_ecr(env, object)
_view_src_views_objects_reply_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_objects_thread_html_slang_layout_src_views_layouts_default_html_ecr(env, object, thread, follow, task)
_view_src_views_objects_thread_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_objects_thread_json_ecr(env, object, thread, follow, task)
_view_src_views_objects_thread_json_ecr,
_view_src_views_pages_generic_html_slang_layout_src_views_layouts_default_html_ecr(env, message)
_view_src_views_pages_generic_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_partials_actor_panel_html_slang(env, actor)
_view_src_views_partials_actor_panel_html_slang,
_view_src_views_partials_collection_json_ecr(env, collection)
_view_src_views_partials_collection_json_ecr,
_view_src_views_partials_editor_html_slang(env, object, recursive)
_view_src_views_partials_editor_html_slang,
_view_src_views_partials_editor_html_slang_layout_src_views_layouts_default_html_ecr(env, object, recursive)
_view_src_views_partials_editor_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_partials_editor_json_ecr(env, object, recursive)
_view_src_views_partials_editor_json_ecr,
_view_src_views_partials_object_content_html_slang(env, object, author, actor, with_detail, for_thread)
_view_src_views_partials_object_content_html_slang,
_view_src_views_partials_object_label_html_slang(env, author, actor)
_view_src_views_partials_object_label_html_slang,
_view_src_views_relationships_actors_html_slang_layout_src_views_layouts_default_html_ecr(env, related)
_view_src_views_relationships_actors_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_relationships_actors_json_ecr(env, related)
_view_src_views_relationships_actors_json_ecr,
_view_src_views_relationships_inbox_html_slang_layout_src_views_layouts_default_html_ecr(env, account, activities)
_view_src_views_relationships_inbox_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_relationships_inbox_json_ecr(env, account, activities)
_view_src_views_relationships_inbox_json_ecr,
_view_src_views_relationships_objects_html_slang_layout_src_views_layouts_default_html_ecr(env, objects)
_view_src_views_relationships_objects_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_relationships_objects_json_ecr(env, objects)
_view_src_views_relationships_objects_json_ecr,
_view_src_views_relationships_outbox_html_slang_layout_src_views_layouts_default_html_ecr(env, activities)
_view_src_views_relationships_outbox_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_relationships_outbox_json_ecr(env, activities)
_view_src_views_relationships_outbox_json_ecr,
_view_src_views_searches_actor_html_slang_layout_src_views_layouts_default_html_ecr(env, actor, message, query)
_view_src_views_searches_actor_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_searches_actor_json_ecr(env, actor, message, query)
_view_src_views_searches_actor_json_ecr,
_view_src_views_searches_form_html_slang_layout_src_views_layouts_default_html_ecr(env, message, query)
_view_src_views_searches_form_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_searches_form_json_ecr(env, message, query)
_view_src_views_searches_form_json_ecr,
_view_src_views_searches_object_html_slang_layout_src_views_layouts_default_html_ecr(env, object, message, query)
_view_src_views_searches_object_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_searches_object_json_ecr(env, object, message, query)
_view_src_views_searches_object_json_ecr,
_view_src_views_sessions_new_html_slang_layout_src_views_layouts_default_html_ecr(env, message, username, password)
_view_src_views_sessions_new_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_sessions_new_json_ecr(env, message, username, password)
_view_src_views_sessions_new_json_ecr,
_view_src_views_settings_settings_html_slang_layout_src_views_layouts_default_html_ecr(env, account, actor, settings)
_view_src_views_settings_settings_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_settings_settings_json_ecr(env, account, actor, settings)
_view_src_views_settings_settings_json_ecr,
_view_src_views_system_index_html_slang_layout_src_views_layouts_default_html_ecr(env, log_levels, sources)
_view_src_views_system_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_system_index_json_ecr(env, log_levels, sources)
_view_src_views_system_index_json_ecr,
_view_src_views_tags_index_html_slang_layout_src_views_layouts_default_html_ecr(env, hashtag, collection, count, follow, task)
_view_src_views_tags_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_tags_index_json_ecr(env, hashtag, collection, count, follow, task)
_view_src_views_tags_index_json_ecr,
_view_src_views_tasks_index_html_slang_layout_src_views_layouts_default_html_ecr(env, tasks)
_view_src_views_tasks_index_html_slang_layout_src_views_layouts_default_html_ecr,
_view_src_views_tasks_index_json_ecr(env, tasks)
_view_src_views_tasks_index_json_ecr
activity_button(arg1, arg2, arg3, type = nil, method = "POST", public = true, form_class = "ui inline form", button_class = "ui button", form_data = nil, button_data = nil, csrf = env.session.string?("csrf"), &block)
activity_button,
activity_path(activity = nil)
activity_path,
activity_pub_collection(collection, &block)
activity_pub_collection,
actor_path(actor = nil)
actor_path,
actor_relationships_path(actor = nil, relationship = nil)
actor_relationships_path,
actor_remote_follow_path(actor = nil)
actor_remote_follow_path,
anchor(object = nil)
anchor,
approve_path(object = nil)
approve_path,
authenticity_token(env)
authenticity_token,
back_path
back_path,
block_actor_path(actor = nil)
block_actor_path,
block_object_path(object = nil)
block_object_path,
cancel_fetch_hashtag_path(hashtag = nil)
cancel_fetch_hashtag_path,
cancel_fetch_thread_path(object = nil)
cancel_fetch_thread_path,
comma(collection, counter)
comma,
distance_of_time_in_words(*args)
distance_of_time_in_words,
edit_object_path(object = nil)
edit_object_path,
embed(filename, io_name)
embed,
error_block(model, comma = true)
error_block,
error_messages(model)
error_messages,
everything_path
everything_path,
fetch_task_status_line(task, collection = nil, detail = false)
fetch_task_status_line,
field_pair(model, field, comma = true)
field_pair,
filter_path(filter = nil)
filter_path,
filters_path
filters_path,
follow_hashtag_path(hashtag = nil)
follow_hashtag_path,
follow_mention_path(mention = nil)
follow_mention_path,
follow_thread_path(object = nil)
follow_thread_path,
form_button(arg1, action = nil, method = "POST", form_class = "ui inline form", button_class = "ui button", form_data = nil, button_data = nil, csrf = env.session.string?("csrf"), &block)
form_button,
form_tag(model, action, *, method = "POST", form = nil, class _class = "ui form", data = nil, csrf = env.session.string?("csrf"), &block)
form_tag,
hashtag_path(hashtag = nil)
hashtag_path,
home_path
home_path,
host
host,
id
id,
id_param(env, type = :url, name = "id")
id_param,
inbox_path(actor = nil)
inbox_path,
input_tag(label, model, field, class _class = "", type = "text", placeholder = nil, data = nil)
input_tag,
iri_param(env, path = nil, type = :url, name = "id")
iri_param,
mention_path(mention = nil)
mention_path,
metrics_path
metrics_path,
object_path(object = nil)
object_path,
object_remote_like_path(object = nil)
object_remote_like_path,
object_remote_reply_path(object = nil)
object_remote_reply_path,
object_remote_share_path(object = nil)
object_remote_share_path,
objects_path
objects_path,
outbox_path(actor = nil)
outbox_path,
params_to_inputs(params, exclude exclude_ = nil, include include_ = nil)
params_to_inputs,
pluralize(count, noun)
pluralize,
remote_activity_path(activity = nil)
remote_activity_path,
remote_actor_path(actor = nil)
remote_actor_path,
remote_interaction_path
remote_interaction_path,
remote_object_path(object = nil)
remote_object_path,
remote_thread_path(object = nil, anchor = true)
remote_thread_path,
reply_path(object = nil)
reply_path,
s(str)
s,
search_path
search_path,
select_tag(label, model, field, options, selected = nil, class _class = "ui selection dropdown", data = nil)
select_tag,
sessions_path
sessions_path,
settings_path
settings_path,
start_fetch_hashtag_path(hashtag = nil)
start_fetch_hashtag_path,
start_fetch_thread_path(object = nil)
start_fetch_thread_path,
submit_button(value = "Submit", class _class = "ui primary button")
submit_button,
system_path
system_path,
task_status_line(task, detail = false)
task_status_line,
tasks_path
tasks_path,
thread_path(object = nil, anchor = true)
thread_path,
unapprove_path(object = nil)
unapprove_path,
unblock_actor_path(actor = nil)
unblock_actor_path,
unblock_object_path(object = nil)
unblock_object_path,
unfollow_hashtag_path(hashtag = nil)
unfollow_hashtag_path,
unfollow_mention_path(mention = nil)
unfollow_mention_path,
unfollow_thread_path(object = nil)
unfollow_thread_path
Class Method Detail
def self.
to_json_ld(actor, recursive)
#