5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:36:22 +00:00

fix: dejar de cargar datos de prueba

This commit is contained in:
f 2024-03-05 16:10:06 -03:00
parent 5b53a9813f
commit b1dee5d567
No known key found for this signature in database
7 changed files with 0 additions and 570 deletions

View file

@ -27,16 +27,6 @@ class ApplicationController < ActionController::Base
end
private
# Traer datos de muestra de la cola de moderación
def dummy_data
@moderation_queue = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'moderation_queue.yaml')))
@remote_profile = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'remote_profile.yaml')))
@instances = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'instances.yaml')))
@blocklists= YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'blocklists.yml')))
@moderation_queue.each do |activity|
activity['attributedTo'] = @remote_profile
end
end
def notify_unconfirmed_email
return unless current_usuarie

View file

@ -4,8 +4,6 @@
class ModerationQueueController < ApplicationController
# Cola de moderación viendo todo el sitio
def index
dummy_data
session[:moderation_queue_filters] = params.permit(:state, :actor_state, :activity_pub_state)
# @todo cambiar el estado por query
@ -14,10 +12,4 @@ class ModerationQueueController < ApplicationController
@actor_moderations = rubanok_process(site.actor_moderations, with: ActorModerationProcessor)
@moderation_queue = rubanok_process(site.activity_pubs, with: ActivityPubProcessor)
end
# todon.nl está usando /api/v2/instance
# mauve.moe usa /api/v1/instance
def instances
dummy_data
end
end

View file

@ -63,7 +63,6 @@ Rails.application.routes.draw do
post 'collaborate', to: 'collaborations#accept_collaboration'
get 'moderation_queue', to: 'moderation_queue#index'
get 'instances', to: 'moderation_queue#instances'
resources :instance_moderations, only: [] do
patch :pause, to: 'instance_moderations#pause'

View file

@ -1,7 +0,0 @@
---
- id: gardenfence
title: Gardenfence
link: 'https://gardenfence.github.io/'
- id: lista
title: Lista
link: '#'

View file

@ -1,285 +0,0 @@
---
- domain: todon.nl
title: Todon.nl
version: 4.2.3
source_url: https://github.com/mastodon/mastodon
description: Radicaal linkse anti-autoritaire server. Voor anarchisten, socialisten,
(klimaat)activisten, LHBTQIA+, antiracisten, antifascisten, antikapitalisten,
intersectionelen, veganisten, mensenrechten, enz.
usage:
users:
active_month: 372
thumbnail:
url: https://todon.nl/system/site_uploads/files/000/000/004/@1x/297e509bc8a81f62.png
blurhash: UXAw3zN4M|xsoga#WBay9DxntQRmITocofWE
versions:
"@1x": https://todon.nl/system/site_uploads/files/000/000/004/@1x/297e509bc8a81f62.png
"@2x": https://todon.nl/system/site_uploads/files/000/000/004/@2x/297e509bc8a81f62.png
languages:
- en
configuration:
urls:
streaming: wss://todon.nl
status: https://status.todon.eu
accounts:
max_featured_tags: 10
statuses:
max_characters: 1312
max_media_attachments: 4
characters_reserved_per_url: 23
media_attachments:
supported_mime_types:
- image/jpeg
- image/png
- image/gif
- image/heic
- image/heif
- image/webp
- image/avif
- video/webm
- video/mp4
- video/quicktime
- video/ogg
- audio/wave
- audio/wav
- audio/x-wav
- audio/x-pn-wave
- audio/vnd.wave
- audio/ogg
- audio/vorbis
- audio/mpeg
- audio/mp3
- audio/webm
- audio/flac
- audio/aac
- audio/m4a
- audio/x-m4a
- audio/mp4
- audio/3gpp
- video/x-ms-asf
image_size_limit: 16777216
image_matrix_limit: 33177600
video_size_limit: 103809024
video_frame_rate_limit: 120
video_matrix_limit: 8294400
polls:
max_options: 4
max_characters_per_option: 50
min_expiration: 300
max_expiration: 2629746
translation:
enabled: true
registrations:
enabled: false
approval_required: false
message: |
<p style="text-align: center"><strong>¡No pasarán!</strong></p>
<p>Je kunt tijdelijk geen nieuw account op Todon.nl aanvragen.</p>
<!--<p>Je kunt tussen 9u00 en 23u00 Midden-Europese tijd (UTC+1) een account op Todon.nl aanvragen. Geef ons ajb voldoende tijd om je accountaanvraag te beoordelen.</p>-->
<p>Ga naar <a href="https://joinmastodon.org/servers">joinmastodon.org</a> of <a href="https://fedidb.org/network?s=mastodon">FediDB Network</a> om een andere server te vinden.</p>
<p>It is temporary not possible to request on account on Todon.nl.</p>
<!--<p>You can request an account on Todon.nl between 9h00 and 23h00 Central European Time (UTC+1). Please give us enough time to review your account request.</p>-->
<p>Go to <a href="https://joinmastodon.org/servers">joinmastodon.org</a> or <a href="https://fedidb.org/network?s=mastodon">FediDB Network</a> to find another server.</p>
url:
max_toot_chars: 1312
contact:
email: todon@posteo.eu
account:
id: '1'
username: admin
acct: admin
display_name: "Admin \U0001F913 Todon.nl (mod)"
locked: false
bot: false
discoverable: false
group: false
created_at: '2017-04-28T00:00:00.000Z'
note: "<p>This account is used for \U0001F399 Todon.nl announcements and ⚖️
moderation.</p><p>\U0001F6AB Don&#39;t follow this account when you are not
on Todon.nl.</p><p>New? First read our \U0001F469\U0001F3EB Todon 101 \U0001F469\U0001F393
at <a href=\"https://wiki.todon.eu/todon/101\" target=\"_blank\" rel=\"nofollow
noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span
class=\"\">wiki.todon.eu/todon/101</span><span class=\"invisible\"></span></a></p><p>⚖️
For all our moderators go to <a href=\"https://wiki.todon.nl/todon/moderators\"
target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span
class=\"invisible\">https://</span><span class=\"\">wiki.todon.nl/todon/moderators</span><span
class=\"invisible\"></span></a></p><p>\U0001F4DD Public toots from this account
are in English.</p><p>\U0001F515 Criticism is fine, but people who do false
accusations are muted. </p><p>✉ todon@posteo.eu</p><p><a href=\"https://todon.nl/tags/nobot\"
class=\"mention hashtag\" rel=\"tag\">#<span>nobot</span></a></p>"
url: https://todon.nl/@admin
uri: https://todon.nl/users/admin
avatar: https://todon.nl/system/accounts/avatars/000/000/001/original/2db61726225ed3e6.png
avatar_static: https://todon.nl/system/accounts/avatars/000/000/001/original/2db61726225ed3e6.png
header: https://todon.nl/system/accounts/headers/000/000/001/original/fb3a846cbc20aa09.png
header_static: https://todon.nl/system/accounts/headers/000/000/001/original/fb3a846cbc20aa09.png
followers_count: 3164
following_count: 8
statuses_count: 724
last_status_at: '2024-01-12'
noindex: true
emojis: []
roles:
- id: '3'
name: Admin
color: "#595aff"
fields:
- name: "\U0001F4DC Terms of Service"
value: <a href="https://wiki.todon.nl/todon/terms_en" target="_blank" rel="nofollow
noopener noreferrer me" translate="no"><span class="invisible">https://</span><span
class="">wiki.todon.nl/todon/terms_en</span><span class="invisible"></span></a>
verified_at: '2018-11-01T14:39:45.465+00:00'
- name: Wiki
value: <a href="https://wiki.todon.nl/todon/information" target="_blank" rel="nofollow
noopener noreferrer me" translate="no"><span class="invisible">https://</span><span
class="ellipsis">wiki.todon.nl/todon/informatio</span><span class="invisible">n</span></a>
verified_at: '2018-11-01T14:40:54.679+00:00'
- name: "\U0001F4CA Status"
value: <a href="https://status.todon.eu" target="_blank" rel="nofollow noopener
noreferrer me" translate="no"><span class="invisible">https://</span><span
class="">status.todon.eu</span><span class="invisible"></span></a>
verified_at: '2023-10-26T20:38:30.185+00:00'
- name: "\U0001F4B3 Donations"
value: <a href="https://wiki.todon.eu/todon/donations" target="_blank" rel="nofollow
noopener noreferrer me" translate="no"><span class="invisible">https://</span><span
class="">wiki.todon.eu/todon/donations</span><span class="invisible"></span></a>
verified_at: '2022-11-02T00:06:31.865+00:00'
rules:
- id: '1'
text: We do not accept racism (in all its forms, incl. hate against Muslims, antisemitism,
apartheid and casteism - see our Terms of Service for our complete definition).
- id: '2'
text: We do not accept hate against lesbians, gays, bisexuals, pansexuals, transgenders,
non-binary people, intersexual people, queer people in general, etc.
- id: '4'
text: Sexism, misogyny and hate against black women (misogynoir).
- id: '6'
text: We do not accept ableism (incl. COVID-19 denial/downplaying and anti-vax)
and body-shaming.
- id: '8'
text: We do not accept harassment and trolling.
- id: '10'
text: We also do not accept other forms of hate speech.
- id: '11'
text: We do not accept (sexual) abuse of minors, adults and animals (also not
virtual).
- id: '13'
text: We do not accept glorification of violence, calls for murder, death threats,
terrorism and militarism.
- id: '15'
text: We do not accept (neo)colonialism (incl. Zionism), imperialism in all forms
and nationalism (above all nationalism of nation states, incl. flags/symbols
of those on Todon.*, see our Terms of Service).
- id: '16'
text: We do not accept fascism, right-wing populism, and right-wing and religious
extremism.
- id: '17'
text: We do not accept evangelisation and other forms of religious propaganda
[local only], and extreme sects and cults.
- id: '19'
text: We do not accept Marxist-Leninists, Stalinists, Maoists or other followers
of extreme authoritarian (so called) communist/socialist ideologies/regimes
(aka tankies).
- id: '20'
text: We do not accept capitalists, including so called 'anarcho-capitalists'
(aka ancaps) and neoliberals.
- id: '21'
text: We do not accept anthropogenic climate change denial, downplaying the climate
crisis, greenwashing and deceptive climate solutions (like nuclear energy).
- id: '27'
text: We do not accept (right-wing) conspiracy 'theories', hoaxes, fake news and
other forms of disinformation.
- id: '28'
text: Another rule in our terms of service at wiki.todon.eu/todon/terms_en. Explain
in the final step.
- uri: mastodon.mauve.moe
title: Mauvestodon
short_description: Escape ship from centralized social media run by Mauve.
description: Chat about random techie and anarchist stuff.
email: contact@mauve.moe
version: 3.5.10
urls:
streaming_api: wss://mastodon.mauve.moe
stats:
user_count: 12
status_count: 3287
domain_count: 11625
thumbnail: https://mastodon.mauve.moe/system/site_uploads/files/000/000/001/original/mauvesoftwareinc.png
languages:
- en
registrations: false
approval_required: false
invites_enabled: true
configuration:
statuses:
max_characters: 500
max_media_attachments: 4
characters_reserved_per_url: 23
media_attachments:
supported_mime_types:
- image/jpeg
- image/png
- image/gif
- video/webm
- video/mp4
- video/quicktime
- video/ogg
- audio/wave
- audio/wav
- audio/x-wav
- audio/x-pn-wave
- audio/ogg
- audio/vorbis
- audio/mpeg
- audio/mp3
- audio/webm
- audio/flac
- audio/aac
- audio/m4a
- audio/x-m4a
- audio/mp4
- audio/3gpp
- video/x-ms-asf
image_size_limit: 10485760
image_matrix_limit: 16777216
video_size_limit: 41943040
video_frame_rate_limit: 60
video_matrix_limit: 2304000
polls:
max_options: 4
max_characters_per_option: 50
min_expiration: 300
max_expiration: 2629746
contact_account:
id: '1'
username: admin
acct: admin
display_name: ''
locked: false
bot: false
discoverable: true
group: false
created_at: '2022-04-25T00:00:00.000Z'
note: ''
url: https://mastodon.mauve.moe/@admin
avatar: https://mastodon.mauve.moe/system/accounts/avatars/000/000/001/original/8c21e71667b48a95.png
avatar_static: https://mastodon.mauve.moe/system/accounts/avatars/000/000/001/original/8c21e71667b48a95.png
header: https://mastodon.mauve.moe/headers/original/missing.png
header_static: https://mastodon.mauve.moe/headers/original/missing.png
followers_count: 0
following_count: 0
statuses_count: 0
last_status_at: '2023-01-30'
emojis: []
fields:
- name: Alternatel Contact
value: <span class="h-card"><a href="https://mastodon.mauve.moe/@mauve" class="u-url
mention">@<span>mauve</span></a></span>
verified_at:
rules: []

File diff suppressed because one or more lines are too long

View file

@ -1,106 +0,0 @@
---
"@context":
- https://www.w3.org/ns/activitystreams
- https://w3id.org/security/v1
- manuallyApprovesFollowers: as:manuallyApprovesFollowers
toot: http://joinmastodon.org/ns#
featured:
"@id": toot:featured
"@type": "@id"
featuredTags:
"@id": toot:featuredTags
"@type": "@id"
alsoKnownAs:
"@id": as:alsoKnownAs
"@type": "@id"
movedTo:
"@id": as:movedTo
"@type": "@id"
schema: http://schema.org#
PropertyValue: schema:PropertyValue
value: schema:value
discoverable: toot:discoverable
Device: toot:Device
Ed25519Signature: toot:Ed25519Signature
Ed25519Key: toot:Ed25519Key
Curve25519Key: toot:Curve25519Key
EncryptedMessage: toot:EncryptedMessage
publicKeyBase64: toot:publicKeyBase64
deviceId: toot:deviceId
claim:
"@type": "@id"
"@id": toot:claim
fingerprintKey:
"@type": "@id"
"@id": toot:fingerprintKey
identityKey:
"@type": "@id"
"@id": toot:identityKey
devices:
"@type": "@id"
"@id": toot:devices
messageFranking: toot:messageFranking
messageType: toot:messageType
cipherText: toot:cipherText
suspended: toot:suspended
focalPoint:
"@container": "@list"
"@id": toot:focalPoint
id: https://mastodon.mauve.moe/users/mauve
type: Person
following: https://mastodon.mauve.moe/users/mauve/following
followers: https://mastodon.mauve.moe/users/mauve/followers
inbox: https://mastodon.mauve.moe/users/mauve/inbox
outbox: https://mastodon.mauve.moe/users/mauve/outbox
featured: https://mastodon.mauve.moe/users/mauve/collections/featured
featuredTags: https://mastodon.mauve.moe/users/mauve/collections/tags
preferredUsername: mauve
name: "Mauve \U0001F441\U0001F49C"
summary: "<p>Occult Enby that&#39;s making local-first software with peer to peer
protocols, mesh networks, and the web.</p><p>Also exploring what a local-first
cyberspace might look like in my spare time.</p>"
url: https://mastodon.mauve.moe/@mauve
manuallyApprovesFollowers: false
discoverable: true
published: '2022-04-25T00:00:00Z'
devices: https://mastodon.mauve.moe/users/mauve/collections/devices
alsoKnownAs:
- https://infosec.exchange/users/RangerMauve
publicKey:
id: https://mastodon.mauve.moe/users/mauve#main-key
owner: https://mastodon.mauve.moe/users/mauve
publicKeyPem: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxjxu6bRQOjH4caQu7JgZ
umIWFeX0ZdbVnofElev2d9JByqcDoWhmaks3RYdW71RDPNrr0JxqZvUbIw9kQBng
7iQ9YTcXTdJ/N9CQoB22msffYkEIw4ilehCDXdchNs4aoVAUwI8IhkM0p/itz6gK
75C3CQv74Y7rHUJC8ob2p4KUwRUyhgzyhp8QWwCAn/RZ28wP8EbjWF9IskMRo9vq
WUX+Io6hpADRkSwZGoOSW2zxCEBVco6tRmABTte8I0WcAucLyMEyfGMlUvxRew4D
zAWoEBS8SyqM68vUabbZYLns6kya34tvsf1NkvajDGrfgU3D0LlGX++tOa6N9Pkf
XwIDAQAB
-----END PUBLIC KEY-----
tag: []
attachment:
- type: PropertyValue
name: Pronouns
value: they/them/it
- type: PropertyValue
name: Email
value: mauve@mauve.moe
- type: PropertyValue
name: Matrix
value: <span class="h-card"><a href="https://mastodon.mauve.moe/@mauve" class="u-url
mention">@<span>mauve</span></a></span>:mauve.moe
- type: PropertyValue
name: Github/Twitter
value: "@RangerMauve"
endpoints:
sharedInbox: https://mastodon.mauve.moe/inbox
icon:
type: Image
mediaType: image/png
url: https://mastodon.mauve.moe/system/accounts/avatars/000/000/002/original/e4b910cee121b1b8.png
image:
type: Image
mediaType: image/png
url: https://mastodon.mauve.moe/system/accounts/headers/000/000/002/original/a96f990025091662.png