Add Super Security Filter List (thedoggybrad)

Co-authored-by: collinbarrett <6483057+collinbarrett@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-07-30 01:38:09 +00:00 committed by Collin Barrett
parent 3460c7386b
commit f3262147d3
8 changed files with 90528 additions and 0 deletions

View file

@ -0,0 +1,79 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
{
/// <inheritdoc />
public partial class AddSuperSecurityFilterList : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "FilterList",
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
values: new object[] { 2812, null, "Secure yourself with the biggest filterlist of dangerous websites, links and IPs. It is for UBlock Origin, UBlock, AdBlock Plus, AdBlock, Opera, Vivaldi and other compatible adblocks.", null, null, null, "https://github.com/thedoggybrad/supersecurityfilterlist", "https://github.com/thedoggybrad/supersecurityfilterlist/issues", 2, "The Super Security Filterlist", null, null, null });
migrationBuilder.InsertData(
table: "FilterListMaintainer",
columns: new[] { "FilterListId", "MaintainerId" },
values: new object[] { 2812, 185 });
migrationBuilder.InsertData(
table: "FilterListSyntax",
columns: new[] { "FilterListId", "SyntaxId" },
values: new object[] { 2812, (short)3 });
migrationBuilder.InsertData(
table: "FilterListTag",
columns: new[] { "FilterListId", "TagId" },
values: new object[,]
{
{ 2812, 6 },
{ 2812, 7 }
});
migrationBuilder.InsertData(
table: "FilterListViewUrl",
columns: new[] { "FilterListId", "Id", "Primariness", "Url" },
values: new object[] { 2812, 3199, (short)1, "https://raw.githubusercontent.com/thedoggybrad/supersecurityfilterlist/main/list.txt" });
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "FilterListMaintainer",
keyColumns: new[] { "FilterListId", "MaintainerId" },
keyValues: new object[] { 2812, 185 });
migrationBuilder.DeleteData(
table: "FilterListSyntax",
keyColumns: new[] { "FilterListId", "SyntaxId" },
keyValues: new object[] { 2812, (short)3 });
migrationBuilder.DeleteData(
table: "FilterListTag",
keyColumns: new[] { "FilterListId", "TagId" },
keyValues: new object[] { 2812, 6 });
migrationBuilder.DeleteData(
table: "FilterListTag",
keyColumns: new[] { "FilterListId", "TagId" },
keyValues: new object[] { 2812, 7 });
migrationBuilder.DeleteData(
table: "FilterListViewUrl",
keyColumns: new[] { "FilterListId", "Id" },
keyValues: new object[] { 2812, 3199 });
migrationBuilder.DeleteData(
table: "FilterList",
keyColumn: "Id",
keyValue: 2812);
}
}
}

View file

@ -20906,6 +20906,15 @@ protected override void BuildModel(ModelBuilder modelBuilder)
HomeUrl = "https://malsilo.gitlab.io/feeds/",
LicenseId = 5,
Name = "MalSilo URL Rules"
},
new
{
Id = 2812,
Description = "Secure yourself with the biggest filterlist of dangerous websites, links and IPs. It is for UBlock Origin, UBlock, AdBlock Plus, AdBlock, Opera, Vivaldi and other compatible adblocks.",
HomeUrl = "https://github.com/thedoggybrad/supersecurityfilterlist",
IssuesUrl = "https://github.com/thedoggybrad/supersecurityfilterlist/issues",
LicenseId = 2,
Name = "The Super Security Filterlist"
});
});
@ -33295,6 +33304,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
{
FilterListId = 2811,
MaintainerId = 205
},
new
{
FilterListId = 2812,
MaintainerId = 185
});
});
@ -44897,6 +44911,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
{
FilterListId = 2811,
SyntaxId = (short)48
},
new
{
FilterListId = 2812,
SyntaxId = (short)3
});
});
@ -61429,6 +61448,16 @@ protected override void BuildModel(ModelBuilder modelBuilder)
{
FilterListId = 2811,
TagId = 6
},
new
{
FilterListId = 2812,
TagId = 6
},
new
{
FilterListId = 2812,
TagId = 7
});
});
@ -90141,6 +90170,14 @@ protected override void BuildModel(ModelBuilder modelBuilder)
Primariness = (short)1,
SegmentNumber = (short)0,
Url = "https://malsilo.gitlab.io/feeds/dumps/malsilo-url.rules"
},
new
{
FilterListId = 2812,
Id = 3199,
Primariness = (short)1,
SegmentNumber = (short)0,
Url = "https://raw.githubusercontent.com/thedoggybrad/supersecurityfilterlist/main/list.txt"
});
});

View file

@ -18476,5 +18476,13 @@
"id": 2811,
"licenseId": 5,
"name": "MalSilo URL Rules"
},
{
"description": "Secure yourself with the biggest filterlist of dangerous websites, links and IPs. It is for UBlock Origin, UBlock, AdBlock Plus, AdBlock, Opera, Vivaldi and other compatible adblocks.",
"homeUrl": "https://github.com/thedoggybrad/supersecurityfilterlist",
"id": 2812,
"issuesUrl": "https://github.com/thedoggybrad/supersecurityfilterlist/issues",
"licenseId": 2,
"name": "The Super Security Filterlist"
}
]

View file

@ -6342,5 +6342,9 @@
{
"filterListId": 2811,
"maintainerId": 205
},
{
"filterListId": 2812,
"maintainerId": 185
}
]

View file

@ -9266,5 +9266,9 @@
{
"filterListId": 2811,
"syntaxId": 48
},
{
"filterListId": 2812,
"syntaxId": 3
}
]

View file

@ -13210,5 +13210,13 @@
{
"filterListId": 2811,
"tagId": 6
},
{
"filterListId": 2812,
"tagId": 6
},
{
"filterListId": 2812,
"tagId": 7
}
]

View file

@ -17563,5 +17563,11 @@
"id": 3198,
"primariness": 1,
"url": "https://malsilo.gitlab.io/feeds/dumps/malsilo-url.rules"
},
{
"filterListId": 2812,
"id": 3199,
"primariness": 1,
"url": "https://raw.githubusercontent.com/thedoggybrad/supersecurityfilterlist/main/list.txt"
}
]