aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | Use broader heuristic for detecting questions.Gravatar Steele2023-03-31-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Namely just seeing if there's a question mark in it that isn't part of a URL.
| | | * | | | | Change "Help!" to "answer this!"Gravatar Steele2023-03-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It may occasionally be confusing why the bot thinks people need to "help" if there's a false positive (ie if the message is not a question).
| | | * | | | | New Helper functionality.Gravatar Steele2023-03-31-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This cog will tell helpers when someone asks a question in off-topic channels, in an effort to improve question engagement.
| | | * | | | | Add helpering quizGravatar mbaruh2023-03-31-1/+148
| | | | | | | |
| | | | * | | | revert refactoring of site_api_clientGravatar shtlrs2023-03-31-7/+7
| | | | | | | |
| | | | * | | | converge site_api_scheme & site_api into site_apiGravatar shtlrs2023-03-30-5/+5
| | | | | | | |
| | | | * | | | Merge branch 'main' into shtlrs/get-rid-of-site-config-varGravatar shtlrs2023-03-30-175/+220
| | | | |\ \ \ \ | |_|_|_|/ / / / |/| | | | | | |
| | | | * | | | rename site_api to site_api_client inside NominationApi for better ↵Gravatar shtlrs2023-03-25-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | differentiation with our site_api constant
| | | | * | | | rename schema to schemeGravatar shtlrs2023-03-25-3/+3
| | | | | | | |
| | | | * | | | get rid of site config variableGravatar shtlrs2023-03-25-12/+6
| | | | | | | |
| | | | | * | | Support custom value representation in filtering UIGravatar mbaruh2023-03-28-29/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the `CustomIOField` class which can be used as a base for wrappers that store a value with a customized way to process the user input and to present the value in the UI.
| | | | | * | | Correct filter match docstringGravatar mbaruh2023-03-27-1/+1
| | | | | | | |
| | | | | * | | Group identical action descriptions in antispamGravatar mbaruh2023-03-27-2/+6
| | | | | | | |
| | | | | * | | Fix conditionGravatar mbaruh2023-03-27-1/+1
| | | | | | | |
| | | | | * | | Address typehint issues and IDE complaintsGravatar mbaruh2023-03-26-5/+5
| | | | | | | |
| | | | | * | | List input fixesGravatar mbaruh2023-03-26-2/+4
| | | | | | | |
| | | | | * | | Rename additional_field to additional_settingsGravatar mbaruh2023-03-26-6/+8
| | | | | | | |
| | | | | * | | Add support for snekbox IO in the new filtering systemGravatar mbaruh2023-03-23-116/+134
| | | | | | | |
| | | | | * | | Fix filtering testsGravatar mbaruh2023-03-23-6/+6
| | | | | | | |
| | | | | * | | Merge branch 'main' into new-filtersGravatar mbaruh2023-03-21-2607/+3219
| | | | | |\ \ \
| | | | | * | | | More type hint parameterizingGravatar mbaruh2023-03-04-2/+2
| | | | | | | | |
| | | | | * | | | Remove empty READMEGravatar mbaruh2023-03-04-0/+0
| | | | | | | | |
| | | | | * | | | Merge branch 'main' into new-filtersGravatar mbaruh2023-02-28-2815/+2417
| | | | | |\ \ \ \
| | | | | * | | | | Fix antispam alertingGravatar mbaruh2023-02-28-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Only upload deletion logs when there's actually deletion. - Don't upload deletion logs when an antispam event begins (could happen when another filter demanded an alert to be sent), but instead delay it until the antispam alert. Otherwise the antispam alert would cause an error because it would try to upload duplicate messages. - Correctly include any messages and channels added to the antispam event after the initial deletion.
| | | | | * | | | | Copy message from other infraction if result doesn't have one.Gravatar mbaruh2023-02-28-5/+19
| | | | | | | | | |
| | | | | * | | | | Don't allow adding filter lists with no implementationGravatar mbaruh2023-02-28-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filter lists with no implemenation are not loaded, therefore if one is added with no implementation there is then no way to interact with it. Instead of accounting for that case it makes more sense to require an implemenation first.
| | | | | * | | | | Re-add webhook and discord token check in other cogsGravatar mbaruh2023-02-28-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| | | | | * | | | | Correct type hintGravatar mbaruh2023-02-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| | | | | * | | | | Deprecated `warn` -> `warning`Gravatar mbaruh2023-02-28-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| | | | | * | | | | Fix Infraction checkGravatar mbaruh2023-02-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: decorator-factory <[email protected]>
| | | | | * | | | | Use literals as defaults where possibleGravatar mbaruh2023-02-28-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| | | | | * | | | | Properly parameterize type hints in filter contextGravatar mbaruh2023-02-28-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: decorator-factory <[email protected]>
| | | | | * | | | | `__or__` -> `union` + `Self` type-hint in action settingsGravatar mbaruh2023-02-28-24/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeps the type hint accurate in the subclasses, and avoids having type guards for each implementation. Co-authored-by: decorator-factory <[email protected]> Co-authored-by: Ionite <[email protected]>
| | | | | * | | | | Explicitly handle embed being too longGravatar mbaruh2023-02-27-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ionite <[email protected]>
| | | | | * | | | | Use public typing API for `starting_value`Gravatar mbaruh2023-02-27-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ionite <[email protected]>
| | | | | * | | | | Simplify `Settings.copy`Gravatar mbaruh2023-02-27-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ionite <[email protected]>
| | | | | * | | | | Create a guide for developing the filtering extGravatar mbaruh2023-01-28-0/+63
| | | | | | | | | |
| | | | | * | | | | Handle response message being a listGravatar mbaruh2023-01-28-5/+9
| | | | | | | | | |
| | | | | * | | | | Include filterlist information when patching filtersGravatar mbaruh2023-01-27-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The information is necessary for the serializer validaiton.
| | | | | * | | | | Fix display of sequence setting with non-string elementsGravatar mbaruh2023-01-27-1/+1
| | | | | | | | | |
| | | | | * | | | | Post descriptive embed on unexpected errorGravatar mbaruh2023-01-27-0/+2
| | | | | | | | | |
| | | | | * | | | | Bring back old system testsGravatar mbaruh2023-01-22-11/+484
| | | | | | | | | |
| | | | | * | | | | Improve loggingGravatar mbaruh2023-01-21-2/+13
| | | | | | | | | |
| | | | | * | | | | Change CODEOWNERSGravatar mbaruh2023-01-20-5/+1
| | | | | | | | | |
| | | | | * | | | | Bring back stats counting for triggered filtersGravatar mbaruh2023-01-20-2/+13
| | | | | | | | | |
| | | | | * | | | | Render list elements without quotesGravatar mbaruh2023-01-20-6/+11
| | | | | | | | | |
| | | | | * | | | | Show infraction name in passive form in alertGravatar mbaruh2023-01-20-1/+12
| | | | | | | | | |
| | | | | * | | | | fix: Correctly handle author being a UserGravatar mbaruh2022-11-28-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an offending message is sent in DMs, infractions that require the user being on the server didn't work, and there was an error while trying to display the user embed from that object, since the user is on the server (and therefore should have a nick attribute).
| | | | | * | | | | fix: Remove hash prefix from filter IDsGravatar mbaruh2022-11-28-4/+4
| | | | | | | | | |
| | | | | * | | | | fix setting nameGravatar mbaruh2022-11-28-1/+1
| | | | | | | | | |