2024-01-12 20:37:37 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Cola de moderación de ActivityPub
|
|
|
|
class ModerationQueueController < ApplicationController
|
|
|
|
# Cola de moderación viendo todo el sitio
|
|
|
|
def index
|
2024-02-06 19:50:26 +00:00
|
|
|
dummy_data
|
2024-02-24 16:04:52 +00:00
|
|
|
|
|
|
|
# @todo cambiar el estado por query
|
2024-02-26 13:39:00 +00:00
|
|
|
@activity_pubs = site.activity_pubs
|
|
|
|
@instances = ActivityPub::Instance.where(id: @activity_pubs.distinct.pluck(:instance_id))
|
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
|