5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-14 17:38:18 +00:00

Merge branch 'rails' of 0xacab.org:sutty/sutty into production.panel.sutty.nl

This commit is contained in:
f 2024-06-03 12:19:54 -03:00
commit c756132139
No known key found for this signature in database
3 changed files with 2 additions and 11 deletions

View file

@ -12,7 +12,7 @@ class CreateFediblocks < ActiveRecord::Migration[6.1]
t.string :url, null: false
t.string :download_url, null: false
t.string :format, null: false
t.jsonb :instances, default: []
t.jsonb :hostnames, default: []
end
YAML.safe_load(File.read('db/seeds/activity_pub/fediblocks.yml')).each do |fediblock|

View file

@ -1,9 +0,0 @@
# frozen_string_literal: true
# Cambia el nombre de la columna para que podamos obtener todas las
# instancias de un fediblock
class RenameFediblockInstancesToHostnames < ActiveRecord::Migration[6.1]
def change
rename_column :activity_pub_fediblocks, :instances, :hostnames
end
end

View file

@ -6,7 +6,7 @@
id: "9046789a-5de8-4b16-beed-796060f8f3cc"
- title: "Oliphant Tier 0"
url: "https://writer.oliphant.social/oliphant/the-oliphant-social-blocklist"
download_url: "https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/mastodon/tier0.csv"
download_url: "https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/mastodon/seirdy-tier0.csv"
format: "mastodon"
id: "fc1efcb8-7e68-4a76-ae9e-0c447752b12b"
- title: "The Bad Space (90%)"