aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2023-04-07Handle archival task of deleted postGravatar Boris Muratov-0/+6
2023-04-07Remove cooldown when post is deletedGravatar Boris Muratov-1/+5
2023-04-07Add thread name filteringGravatar Boris Muratov-35/+52
Additionally fixes the nickname filter not using the right object to take action and report.
2023-04-07Change the infractions button emoji to a notepadGravatar Boris Muratov-1/+1
2023-04-06Temporarily disable help post name checkGravatar Boris Muratov-2/+2
This doesn't work at the moment with the new filtering and a proper fix will be made later
2023-04-06Use the right variables in antispamGravatar Boris Muratov-6/+6
2023-04-06Clarify commentGravatar Boris Muratov-1/+1
2023-04-06.__origin__ -> get_originGravatar Boris Muratov-12/+21
2023-04-06Add in_guild attribute to FilterContextGravatar Boris Muratov-4/+8
2023-04-06Bump rapidfuzz from 2.13.7 to 2.15.0 (#2507)Gravatar dependabot[bot]-92/+92
Bumps [rapidfuzz](https://github.com/maxbachmann/RapidFuzz) from 2.13.7 to 2.15.0. - [Release notes](https://github.com/maxbachmann/RapidFuzz/releases) - [Changelog](https://github.com/maxbachmann/RapidFuzz/blob/main/CHANGELOG.rst) - [Commits](https://github.com/maxbachmann/RapidFuzz/compare/v2.13.7...v2.15.0) --- updated-dependencies: - dependency-name: rapidfuzz dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06Don't notify the user for filters triggered in DMs.Gravatar Boris Muratov-4/+9
2023-04-06Fix settings parser to work when no description and template firstGravatar Boris Muratov-1/+1
2023-04-06Adjust to site using dicts in additional_settings instead of JSON stringsGravatar Boris Muratov-8/+6
This is to make sure that the unique constraint always compares between dicts instead of sometimes dealing with nulls.
2023-04-05Bump sentry-sdk from 1.18.0 to 1.19.1 (#2511)Gravatar dependabot[bot]-5/+6
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.18.0 to 1.19.1. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.18.0...1.19.1) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05Bump pre-commit from 3.2.1 to 3.2.2 (#2509)Gravatar dependabot[bot]-5/+5
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05Fix testGravatar Boris Muratov-1/+1
2023-04-05Fix infraction duration display for filter listsGravatar Boris Muratov-1/+1
2023-04-05Specify edited setting name in confirmation messageGravatar Boris Muratov-4/+8
2023-04-05Escape markdown in alert matchesGravatar Boris Muratov-1/+1
2023-04-05`domain/subdomains` -> `domain/only_subdomains` for clarityGravatar Boris Muratov-6/+6
Also changes the alert to use the full domain instead of the filter content.
2023-04-05Handle infracted user not being on the serverGravatar Boris Muratov-0/+7
This shouldn't happen in production, but just in case
2023-04-05Handle server possibly not having an iconGravatar Boris Muratov-1/+2
2023-04-05Properly format alert when there's no file extensionGravatar Boris Muratov-1/+1
2023-04-05Code style and clarificationsGravatar Boris Muratov-18/+17
2023-04-02Remove self-assignable helpers functionalityGravatar mbaruh-224/+1
2023-04-01Update ping cooldown for helpersGravatar bradtimmis-3/+3
2023-03-31Fix import order.Gravatar Steele Farnsworth-2/+1
2023-03-31Add blank line for linting.Gravatar Steele Farnsworth-0/+1
2023-03-31Make new helper role pingable for help request.Gravatar Steele Farnsworth-1/+3
Previously, the message from the bot requesting that new helpers answer off-topic questions did not cause a ping. Solved by this commit.
2023-04-01Avoid race conditions and stricter cooldownGravatar mbaruh-6/+11
2023-03-31Use broader heuristic for detecting questions.Gravatar Steele-13/+4
Namely just seeing if there's a question mark in it that isn't part of a URL.
2023-03-31Change "Help!" to "answer this!"Gravatar Steele-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).