Skip to content

Add Turk-AdFilter to directory (ABP + Hosts variants)#5718

Merged
collinbarrett merged 2 commits into
mainfrom
copilot/add-turk-adfilter
Jul 11, 2026
Merged

Add Turk-AdFilter to directory (ABP + Hosts variants)#5718
collinbarrett merged 2 commits into
mainfrom
copilot/add-turk-adfilter

Conversation

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Adds the community-maintained Turkish regional blocklist Turk-AdFilter by omerdduran, covering Turkey-specific ads, trackers, malware, phishing, and gambling domains not addressed by global lists.

New filter lists

  • Turk-AdFilter (ID 2859) — Adblock Plus syntax; primary URL (GitHub raw) + Codeberg mirror
  • Turk-AdFilter (Hosts) (ID 2860) — Hosts/DNS variant for Pi-hole, AdGuard Home, NextDNS

New metadata

  • Maintainer (ID 216): omerdduranhttps://github.com/omerdduran
  • License: GPLv3 (ID 4)
  • Tags (both lists): ads, privacy, malware, phishing, gambling
  • Language (both lists): Turkish (tr, ID 161)
  • Syntax: Adblock Plus (ID 3) for main list; Hosts localhost IPv4 (ID 1) for hosts variant

Migration

EF Core migration AddTurkAdFilter generated covering all inserts across FilterList, Maintainer, FilterListViewUrl, FilterListMaintainer, FilterListTag, FilterListLanguage, and FilterListSyntax.

Co-authored-by: collinbarrett <6483057+collinbarrett@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new list: Turk-AdFilter for Turkish ad blocking Add Turk-AdFilter to directory (ABP + Hosts variants) Jul 11, 2026
Copilot AI requested a review from collinbarrett July 11, 2026 22:22
@collinbarrett collinbarrett marked this pull request as ready for review July 11, 2026 22:22
Copilot AI review requested due to automatic review settings July 11, 2026 22:22
@collinbarrett collinbarrett merged commit 2203bcc into main Jul 11, 2026
8 checks passed
@collinbarrett collinbarrett deleted the copilot/add-turk-adfilter branch July 11, 2026 22:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the Turk-AdFilter blocklist to the Directory seed data and EF Core migrations, introducing both an Adblock Plus list and a Hosts/DNS variant with associated relationships (maintainer, language, syntax, tags, and view URLs).

Changes:

  • Add two new FilterList entries (Turk-AdFilter + Turk-AdFilter (Hosts)) with metadata (home/issues/submission URLs, license).
  • Add a new Maintainer and wire up the new lists to language/syntax/tags/maintainer junction tables.
  • Add FilterListViewUrl entries (primary GitHub raw + Codeberg mirror for ABP; GitHub raw for hosts) and include an EF Core migration + updated model snapshot.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/QueryDbContextModelSnapshot.cs Updates model snapshot seed data to include the new lists and relationships.
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20260711222048_AddTurkAdFilter.cs Adds EF Core migration to seed new lists, maintainer, and junction/view-url rows.
services/Directory/data/Maintainer.json Adds maintainer omerdduran (ID 216).
services/Directory/data/FilterListViewUrl.json Adds view URLs for both variants (including a mirror for the ABP list).
services/Directory/data/FilterListTag.json Adds tag relationships for both lists.
services/Directory/data/FilterListSyntax.json Adds syntax relationships (ABP + hosts).
services/Directory/data/FilterListMaintainer.json Adds maintainer relationships for both lists.
services/Directory/data/FilterListLanguage.json Adds Turkish language relationships for both lists.
services/Directory/data/FilterList.json Adds the two new filter lists with descriptive metadata and URLs.

Comment on lines +13318 to 13341
{
"filterListId": 2859,
"tagId": 16
},
{
"filterListId": 2860,
"tagId": 2
},
{
"filterListId": 2860,
"tagId": 3
},
{
"filterListId": 2860,
"tagId": 6
},
{
"filterListId": 2860,
"tagId": 7
},
{
"filterListId": 2860,
"tagId": 16
}
Comment on lines +61 to +71
{ 2859, 2 },
{ 2859, 3 },
{ 2859, 6 },
{ 2859, 7 },
{ 2859, 16 },
{ 2860, 2 },
{ 2860, 3 },
{ 2860, 6 },
{ 2860, 7 },
{ 2860, 16 }
});
Comment on lines +137 to +140
migrationBuilder.DeleteData(
table: "FilterListTag",
keyColumns: new[] { "FilterListId", "TagId" },
keyValues: new object[] { 2859, 16 });
Comment on lines +162 to +165
migrationBuilder.DeleteData(
table: "FilterListTag",
keyColumns: new[] { "FilterListId", "TagId" },
keyValues: new object[] { 2860, 16 });
Comment on lines +62271 to +62272
FilterListId = 2859,
TagId = 16
Comment on lines +62296 to +62297
FilterListId = 2860,
TagId = 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new list: Turk-AdFilter (Turkish ad, tracker & malicious content blocklist)

3 participants