2024-01-12 20:37:37 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Cola de moderación de ActivityPub
|
|
|
|
class ModerationQueueController < ApplicationController
|
2024-03-14 15:02:37 +00:00
|
|
|
before_action :authenticate_usuarie!
|
|
|
|
|
|
|
|
breadcrumb -> { current_usuarie.email }, :edit_usuarie_registration_path
|
|
|
|
breadcrumb 'sites.index', :sites_path, match: :exact
|
2024-03-14 15:21:50 +00:00
|
|
|
|
2024-01-12 20:37:37 +00:00
|
|
|
# Cola de moderación viendo todo el sitio
|
|
|
|
def index
|
2024-02-06 19:50:26 +00:00
|
|
|
dummy_data
|
2024-03-15 15:23:04 +00:00
|
|
|
breadcrumb I18n.t('moderation_queue.index.title'), ''
|
2024-01-12 20:37:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# Perfil remoto de usuarie
|
|
|
|
def remote_profile
|
2024-02-06 19:50:26 +00:00
|
|
|
dummy_data
|
2024-01-12 20:37:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# todon.nl está usando /api/v2/instance
|
|
|
|
# mauve.moe usa /api/v1/instance
|
|
|
|
def instances
|
2024-02-06 19:50:26 +00:00
|
|
|
dummy_data
|
2024-01-12 20:37:37 +00:00
|
|
|
end
|
|
|
|
end
|