[PR #353] [MERGED] Content filter v2.0 #428

Closed
opened 2026-02-15 15:55:55 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/353
Author: @13xforever
Created: 7/26/2019
Status: Merged
Merged: 7/26/2019
Merged by: @13xforever

Base: masterHead: feature/content_filter_v2


📝 Commits (10+)

  • b989a76 update deps
  • 62196fb content filter 2.0
  • bff64cf start implementing new management commands
  • c2cdf3e mark mod queue messages for the test instance
  • ecb2d92 regular checkmark is invisible in the dark theme
  • b9963b2 add ef core query translation in debug build
  • 5dadd4a renamed !piracy to !filters
  • 5b957e4 content filter editor
  • aab0832 fixes for filter editor, and some overloads for !filter edit and remove
  • ce118a1 fix warnings and removed debug code

📊 Changes

21 files changed (+1327 additions, -224 deletions)

View changed files

📝 Clients/CompatApiClient/CompatApiClient.csproj (+1 -1)
📝 CompatBot/Commands/Antipiracy.cs (+639 -31)
📝 CompatBot/Commands/Attributes/RequiresDm.cs (+11 -1)
📝 CompatBot/Commands/CompatList.cs (+2 -14)
📝 CompatBot/Commands/Explain.cs (+1 -1)
📝 CompatBot/CompatBot.csproj (+6 -5)
📝 CompatBot/Config.cs (+8 -0)
📝 CompatBot/Database/BotDb.cs (+27 -0)
CompatBot/Database/Migrations/BotDb/20190723151803_ContentFilter2.0.Designer.cs (+290 -0)
CompatBot/Database/Migrations/BotDb/20190723151803_ContentFilter2.0.cs (+70 -0)
📝 CompatBot/Database/Migrations/BotDb/BotDbModelSnapshot.cs (+23 -1)
CompatBot/Database/Providers/ContentFilter.cs (+148 -0)
CompatBot/Database/Providers/PiracyStringProvider.cs (+0 -85)
📝 CompatBot/Database/ThumbnailDb.cs (+3 -1)
📝 CompatBot/EventHandlers/AntipiracyMonitor.cs (+4 -57)
📝 CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs (+4 -2)
📝 CompatBot/Utils/Extensions/BotDbExtensions.cs (+10 -0)
📝 CompatBot/Utils/Extensions/DiscordClientExtensions.cs (+8 -3)
📝 CompatBot/Utils/Extensions/DiscordEmbedBuilderExtensions.cs (+1 -0)
CompatBot/Utils/Extensions/FilterActionExtensions.cs (+36 -0)

...and 1 more files

📄 Description

  • Chat- and log-only filters
  • Regex validation to curb false positives
  • Configurable action system with potential for extension
  • Improved senpai experience

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/discord-bot/pull/353 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 7/26/2019 **Status:** ✅ Merged **Merged:** 7/26/2019 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `feature/content_filter_v2` --- ### 📝 Commits (10+) - [`b989a76`](https://github.com/RPCS3/discord-bot/commit/b989a76a541dc30d134799fac534082edee8c82d) update deps - [`62196fb`](https://github.com/RPCS3/discord-bot/commit/62196fb1db8f3d6905f4bbf9899c1be0ade61777) content filter 2.0 - [`bff64cf`](https://github.com/RPCS3/discord-bot/commit/bff64cff0073906f64500dc10a6757ea2a70e271) start implementing new management commands - [`c2cdf3e`](https://github.com/RPCS3/discord-bot/commit/c2cdf3e7e1e2f46e2c89b392bef21a8b1a15539a) mark mod queue messages for the test instance - [`ecb2d92`](https://github.com/RPCS3/discord-bot/commit/ecb2d921740e31b79f4e8e3943ce8c7a64565c21) regular checkmark is invisible in the dark theme - [`b9963b2`](https://github.com/RPCS3/discord-bot/commit/b9963b2982206d10f6c9583dd3b10cf11d6b3963) add ef core query translation in debug build - [`5dadd4a`](https://github.com/RPCS3/discord-bot/commit/5dadd4abb72bc9904ab86660630bf21220d33b3a) renamed !piracy to !filters - [`5b957e4`](https://github.com/RPCS3/discord-bot/commit/5b957e4931573f6219ae8a848bcbb41fcb765b8d) content filter editor - [`aab0832`](https://github.com/RPCS3/discord-bot/commit/aab0832ecdf3168e6e91fb8f2dabdb226655f0f6) fixes for filter editor, and some overloads for !filter edit and remove - [`ce118a1`](https://github.com/RPCS3/discord-bot/commit/ce118a1a43430179dd770daefb8480e4c58a01ef) fix warnings and removed debug code ### 📊 Changes **21 files changed** (+1327 additions, -224 deletions) <details> <summary>View changed files</summary> 📝 `Clients/CompatApiClient/CompatApiClient.csproj` (+1 -1) 📝 `CompatBot/Commands/Antipiracy.cs` (+639 -31) 📝 `CompatBot/Commands/Attributes/RequiresDm.cs` (+11 -1) 📝 `CompatBot/Commands/CompatList.cs` (+2 -14) 📝 `CompatBot/Commands/Explain.cs` (+1 -1) 📝 `CompatBot/CompatBot.csproj` (+6 -5) 📝 `CompatBot/Config.cs` (+8 -0) 📝 `CompatBot/Database/BotDb.cs` (+27 -0) ➕ `CompatBot/Database/Migrations/BotDb/20190723151803_ContentFilter2.0.Designer.cs` (+290 -0) ➕ `CompatBot/Database/Migrations/BotDb/20190723151803_ContentFilter2.0.cs` (+70 -0) 📝 `CompatBot/Database/Migrations/BotDb/BotDbModelSnapshot.cs` (+23 -1) ➕ `CompatBot/Database/Providers/ContentFilter.cs` (+148 -0) ➖ `CompatBot/Database/Providers/PiracyStringProvider.cs` (+0 -85) 📝 `CompatBot/Database/ThumbnailDb.cs` (+3 -1) 📝 `CompatBot/EventHandlers/AntipiracyMonitor.cs` (+4 -57) 📝 `CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs` (+4 -2) 📝 `CompatBot/Utils/Extensions/BotDbExtensions.cs` (+10 -0) 📝 `CompatBot/Utils/Extensions/DiscordClientExtensions.cs` (+8 -3) 📝 `CompatBot/Utils/Extensions/DiscordEmbedBuilderExtensions.cs` (+1 -0) ➕ `CompatBot/Utils/Extensions/FilterActionExtensions.cs` (+36 -0) _...and 1 more files_ </details> ### 📄 Description * Chat- and log-only filters * Regex validation to curb false positives * Configurable action system with potential for extension * Improved senpai experience --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:55:55 -05:00
yindo closed this issue 2026-02-15 15:55:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/discord-bot#428