aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * Skip adding phishing button if user already bannedGravatar vivekashok12212024-03-28-0/+3
| |
| * Update regex to discard trailing ')' and lowercase triggered URL before set ↵Gravatar vivekashok12212024-03-28-2/+4
| | | | | | | | | | | | | | difference Updated the domain regex to account for trailing ")" characters. Also, normalized triggered URLs to lowercase before executing the set difference performed to figure out unknown URLs in a message.
| * Fix case sensitivity bug in phishing buttonGravatar vivekashok12212024-03-27-2/+4
|/
* Remove sentry sample rates and add asyncio integration (#2979)Gravatar ChrisJL2024-03-26-4/+2
|
* Merge pull request #2976 from python-discord/capture-cog-load-timesGravatar wookie1842024-03-26-46/+65
|\ | | | | Capture cog load times using sentry performance tracking
| * Add sentry performance spans to thread bumper cogGravatar Chris Lovering2024-03-26-17/+23
| |
| * Add sentry performance spans to subscribe cogGravatar Chris Lovering2024-03-26-15/+19
| |
| * Add sentry performance spans to news cogGravatar Chris Lovering2024-03-26-13/+17
| |
| * Capture cog load times using sentry performance trackingGravatar Chris Lovering2024-03-26-1/+6
|/
* Bump emoji from 2.10.1 to 2.11.0 (#2974)Gravatar dependabot[bot]2024-03-26-7/+7
| | | | | | | | | | | | | | | | Bumps [emoji](https://github.com/carpedm20/emoji) from 2.10.1 to 2.11.0. - [Release notes](https://github.com/carpedm20/emoji/releases) - [Changelog](https://github.com/carpedm20/emoji/blob/master/CHANGES.md) - [Commits](https://github.com/carpedm20/emoji/compare/v2.10.1...v2.11.0) --- updated-dependencies: - dependency-name: emoji 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>
* Remove the DM sent to users when they open a help postGravatar Chris Lovering2024-03-26-41/+0
| | | | This is no longer needed now that the new forum channel used for the help system automatically have the new post shown in the channel list
* Remove the help-dm featureGravatar Chris Lovering2024-03-26-109/+1
| | | | | | This feature allowed users to opt-in to getting DMs from the bot whenever someone messaged in a help channel they we participating in. This was useful in the old channel-based help system as it was hard to remember which channels you were participating in. Now that we've moved over to the forum channel, this is no longer an issue, as posts you are participating in now appear in the channel list, and others don't.
* Merge pull request #2669 from python-discord/phishing_buttonGravatar Boris Muratov2024-03-26-8/+145
|\ | | | | Phishing button
| * Merge branch 'main' into phishing_buttonGravatar Boris Muratov2024-03-26-334/+478
| |\ | |/ |/|
* | Ask for confirmation when banning members with elevated roles (#2316)Gravatar Robin2024-03-26-8/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add safeguard when banning staff * Update infractions.py * Fix logical error where user would not get banned * Update bot/exts/moderation/infraction/infractions.py Co-authored-by: Preocts <[email protected]> * Delete view if confirmed * Implement suggestions * Use instead of * Don't call timeout manually * Lint * Switch button colors * Remove message bind to view class * Set message property of view to sent message * Update poetry.lock * Remove unnecessary View initializer * Send message indicating if the infraction was cancelled or not * Remove feedback on confirm * Merge main into staff-ban-safeguard * Make invocation async * Make .stop() invocation sync again * Clean up code * Avoid truncating early and send message on timeout * Should probably move this, too * Fail safely * Move view to a new file * Break out confirmation into its own function --------- Co-authored-by: Preocts <[email protected]> Co-authored-by: Richard Si <[email protected]>
* | Fix type annotation in snekboxGravatar Mark2024-03-26-1/+1
| | | | | | Co-authored-by: wookie184 <[email protected]>
* | Snekbox: truncate blocked file extensionsGravatar Mark2024-03-26-62/+90
| | | | | | | | | | | | Avoid Discord's character limit for messages. Fix #2464
* | Attempt to fetch help post from cache before making an API requestGravatar Chris Lovering2024-03-26-1/+2
| |
* | Always try to close help posts, even when closing message couldn't be sentGravatar Chris Lovering2024-03-26-1/+5
| |
* | Check every 5 minutes for idle help channelsGravatar Chris Lovering2024-03-26-1/+10
| | | | | | | | | | This is to cover the case where a Discord outage causes us to miss a help post creation. I purposefully didn't use the discord.py task system here as this cog already has it's own scheduler and deals with closing all active tasks itself
* | Always cancel scheduled help post closes if present in scheduler when ↵Gravatar Chris Lovering2024-03-26-9/+5
| | | | | | | | rescheduling a task
* | Make help showable through button on command error message. (#2439)Gravatar wookie1842024-03-25-15/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make help showable through button on command error message. * Improve error message Improve error message for attempting to delete other users' command invocations Co-authored-by: Boris Muratov <[email protected]> * Use double quotes instead of single * Refactor to use `ViewWithUserAndRoleCheck` --------- Co-authored-by: Boris Muratov <[email protected]>
* | Bump pre-commit from 3.6.2 to 3.7.0 (#2969)Gravatar dependabot[bot]2024-03-25-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.6.2 to 3.7.0. - [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.6.2...v3.7.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development 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>
* | Bump pytest-cov from 4.1.0 to 5.0.0 (#2970)Gravatar dependabot[bot]2024-03-25-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump rapidfuzz from 3.6.2 to 3.7.0 (#2971)Gravatar dependabot[bot]2024-03-25-93/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz) from 3.6.2 to 3.7.0. - [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases) - [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst) - [Commits](https://github.com/rapidfuzz/RapidFuzz/compare/v3.6.2...v3.7.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>
* | Removed inactive users from `CODEOWNERS` (#2967)Gravatar Xithrius2024-03-23-13/+6
| |
* | Merge pull request #2966 from python-discord/dependabot/pip/ruff-0.3.4Gravatar Amrou Bellalouna2024-03-22-20/+20
|\ \ | | | | | | Bump ruff from 0.3.3 to 0.3.4
| * | Bump ruff from 0.3.3 to 0.3.4Gravatar dependabot[bot]2024-03-22-20/+20
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.3 to 0.3.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.3.3...v0.3.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | Bump rapidfuzz from 3.6.1 to 3.6.2 (#2945)Gravatar dependabot[bot]2024-03-21-93/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz) from 3.6.1 to 3.6.2. - [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases) - [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst) - [Commits](https://github.com/rapidfuzz/RapidFuzz/compare/v3.6.1...v3.6.2) --- updated-dependencies: - dependency-name: rapidfuzz dependency-type: direct:production 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>
* | update configuration tests (#2951)Gravatar Amrou Bellalouna2024-03-21-38/+28
| | | | | | The old test relied on the old system where we loaded config from a yaml file, which ended up doing nothing.
* | Bump tldextract from 5.1.1 to 5.1.2 (#2962)Gravatar dependabot[bot]2024-03-21-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [tldextract](https://github.com/john-kurkowski/tldextract) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/john-kurkowski/tldextract/releases) - [Changelog](https://github.com/john-kurkowski/tldextract/blob/master/CHANGELOG.md) - [Commits](https://github.com/john-kurkowski/tldextract/compare/5.1.1...5.1.2) --- updated-dependencies: - dependency-name: tldextract dependency-type: direct:production 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>
* | New Tag: "Avoid System Python for Development" (#2797)Gravatar Bruno Rodrigues dos Santos2024-03-21-0/+18
| |
* | Bump azure/k8s-deploy from 4 to 5 (#2965)Gravatar dependabot[bot]2024-03-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [azure/k8s-deploy](https://github.com/azure/k8s-deploy) from 4 to 5. - [Release notes](https://github.com/azure/k8s-deploy/releases) - [Changelog](https://github.com/Azure/k8s-deploy/blob/main/CHANGELOG.md) - [Commits](https://github.com/azure/k8s-deploy/compare/v4...v5) --- updated-dependencies: - dependency-name: azure/k8s-deploy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Merge pull request #2958 from python-discord/dependabot/pip/coverage-7.4.4Gravatar Amrou Bellalouna2024-03-21-55/+55
|\ \ | | | | | | Bump coverage from 7.4.3 to 7.4.4
| * | Bump coverage from 7.4.3 to 7.4.4Gravatar dependabot[bot]2024-03-20-55/+55
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.3 to 7.4.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.4.3...7.4.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | Bump sentry-sdk from 1.42.0 to 1.43.0 (#2964)Gravatar dependabot[bot]2024-03-20-5/+6
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump ruff from 0.3.2 to 0.3.3 (#2961)Gravatar dependabot[bot]2024-03-19-20/+20
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
| * Handle errors when adding inviteGravatar mbaruh2024-03-18-2/+5
| |
| * Merge branch 'main' into phishing_buttonGravatar mbaruh2024-03-17-3143/+2830
| |\ | |/ |/|
* | Merge pull request #2953 from python-discord/dependabot/pip/pytest-8.1.1Gravatar Amrou Bellalouna2024-03-14-5/+5
|\ \ | | | | | | Bump pytest from 8.1.0 to 8.1.1
| * | Bump pytest from 8.1.0 to 8.1.1Gravatar dependabot[bot]2024-03-14-5/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.0 to 8.1.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | Bump sentry-sdk from 1.41.0 to 1.42.0 (#2957)Gravatar dependabot[bot]2024-03-14-5/+6
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump azure/setup-kubectl from 3 to 4 (#2956)Gravatar dependabot[bot]2024-03-13-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [azure/setup-kubectl](https://github.com/azure/setup-kubectl) from 3 to 4. - [Release notes](https://github.com/azure/setup-kubectl/releases) - [Changelog](https://github.com/Azure/setup-kubectl/blob/main/CHANGELOG.md) - [Commits](https://github.com/azure/setup-kubectl/compare/v3...v4) --- updated-dependencies: - dependency-name: azure/setup-kubectl dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump ruff from 0.3.1 to 0.3.2 (#2954)Gravatar dependabot[bot]2024-03-11-20/+20
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump azure/k8s-set-context from 3 to 4 (#2952)Gravatar dependabot[bot]2024-03-11-1/+1
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Support reply as a message reference for raw commandGravatar Richard Si2024-03-10-2/+21
| | | | | | Co-authored-by: Daniel Brown <[email protected]>
* | Bump pytest-subtests from 0.11.0 to 0.12.1 (#2948)Gravatar dependabot[bot]2024-03-08-5/+5
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump sentry-sdk from 1.40.6 to 1.41.0 (#2949)Gravatar dependabot[bot]2024-03-08-6/+6
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump ruff from 0.3.0 to 0.3.1 (#2947)Gravatar dependabot[bot]2024-03-08-20/+20
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | Bump pytest from 8.0.2 to 8.1.0 (#2943)Gravatar dependabot[bot]2024-03-05-7/+7
| | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>