aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into pastebin-auto-uploadpastebin-auto-uploadGravatar Steele Farnsworth2025-01-30-20/+41
|\
| * Add missing arg in help post archive callGravatar Chris Lovering2025-01-18-1/+1
| |
| * Ensure every path to close a help channel cancels scheduled closesGravatar Chris Lovering2025-01-18-12/+22
| |
| * Merge pull request #3240 from python-discord/Show-close-reasonsGravatar Boris Muratov2025-01-18-6/+17
| |\ | | | | | | Show close reasons in close message
| | * !close can also be used by moderators, not just OPGravatar Chris Lovering2025-01-18-1/+1
| | |
| | * More specific close message for native closeGravatar Chris Lovering2025-01-18-1/+1
| | |
| | * Don't repeat start of close message in every if branchGravatar Chris Lovering2025-01-18-6/+6
| | |
| | * Add closing reason for when OP closes uses native Discord close optionGravatar Chris Lovering2025-01-18-1/+4
| | |
| | * Change closing embed title based on close reasonGravatar Chris Lovering2025-01-18-1/+10
| | |
| | * Significantly shorten help channel close messageGravatar Chris Lovering2025-01-18-2/+2
| | |
| | * Remove unneeded constantGravatar Chris Lovering2025-01-18-2/+1
| |/
| * Update supported Python versions in Snekbox help text (#3237)Gravatar Bradley Reynolds2025-01-18-2/+2
| |
| * Merge pull request #3232 from python-discord/codeblock-instructionsGravatar Steele Farnsworth2025-01-14-31/+12
| |\ | | | | | | Abbreviate codeblock instructions; remove ability to dismiss the inst…
* | | Change how a file is determined to be text-like. Decode text with correct ↵Gravatar Steele Farnsworth2025-01-30-3/+4
| | | | | | | | | | | | | | | | | | encoding. Attachments with "charset" in their content type are presumed to be text. The specified charset is always used to decode the text.
* | | Remove messages related to disallowed text-like files.Gravatar Steele Farnsworth2025-01-30-34/+13
| | | | | | | | | | | | These files will be made allowed. Also move `TXT_LIKE_FILES` to the other module that uses it.
* | | Account for messages with attachments being deleted before author reacts.Gravatar Steele Farnsworth2025-01-29-0/+14
| | | | | | | | | | | | Messages might be deleted immediately if the message or the attachment trips a filter, in which case we don't want the user to be able to upload them.
* | | Add logging; expand initial message from bot; fix bug in deleting the paste.Gravatar Steele Farnsworth2025-01-29-3/+18
| | | | | | | | | | | | | | | | | | The expanded initial message tells the user that uploading to the paste bin is for accessibility. I hallucinated that PasteResponse objects have a delete method, which they do not.
* | | Add comments explaining each step.Gravatar Steele Farnsworth2025-01-29-5/+10
| | |
* | | Exit early if none of the attachments are text.Gravatar Steele Farnsworth2025-01-29-2/+1
| | | | | | | | | | | | Previously, the bot might have offered to upload the attachments in a message containing only images, and then done nothing.
* | | Move EmbedFileHandler cog to its own moduleGravatar Steele Farnsworth2025-01-29-87/+111
| | |
* | | Add helper function for extracting attachment text.Gravatar Steele Farnsworth2025-01-29-1/+8
| | | | | | | | | | | | Implements a somewhat arbitrary limit on how much text content is passed along for filtering, to avoid wasting compute time on large attachments that aren't intended to be read (such as CSVs)
* | | Apply token filters to text attachment content.Gravatar Steele Farnsworth2025-01-19-1/+10
| | | | | | | | | | | | Works by appending text attachment content to message content, and then applying the filters normally.
* | | Migrate to py3.12 typing syntax.Gravatar Steele Farnsworth2025-01-19-9/+5
| | |
* | | Migrate to py3.12 generic syntax (removes TypeVar).Gravatar Steele Farnsworth2025-01-12-4/+1
| | |
* | | work-in-progress: when upload a text file attachment, ask for permission to ↵Gravatar Steele Farnsworth2025-01-12-2/+92
| |/ |/| | | | | | | | | auto-upload to pastebin. Also DMs the delete URL to the user. This code will very likely be moved elsewhere before/if it is merged.
* | Further abbreviate the "wrong language specifier" message; remove extra ↵Gravatar Steele Farnsworth2025-01-10-7/+5
| | | | | | | | "please".
* | Abbreviate codeblock instructions; remove ability to dismiss the ↵Gravatar Steele Farnsworth2025-01-08-25/+8
|/ | | | | | instructions with emoji. The more concise instructions are intended to be easier to read and increase the rate of followthru. That the instructions cannot be dismissed is intended to make them harder to ignore.
* Remove unneeded importGravatar Chris Lovering2025-01-05-2/+1
|
* Re-fetch help threads before closing.Gravatar Steele Farnsworth2025-01-04-0/+4
| | | | This ensures that the thread title is up-to-date. Previously, even if someone changed the title of the thread, the bot might prepend the lock emoji to an older version of the title.
* Bump pydantic-settings from 2.6.1 to 2.7.1 (#3222)Gravatar dependabot[bot]2025-01-03-5/+5
| | | | | | | | | | | | | | | Bumps [pydantic-settings](https://github.com/pydantic/pydantic-settings) from 2.6.1 to 2.7.1. - [Release notes](https://github.com/pydantic/pydantic-settings/releases) - [Commits](https://github.com/pydantic/pydantic-settings/compare/v2.6.1...v2.7.1) --- updated-dependencies: - dependency-name: pydantic-settings 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>
* Bump rapidfuzz from 3.10.1 to 3.11.0 (#3223)Gravatar dependabot[bot]2025-01-03-91/+91
| | | | | | | | | | | | | | | | Bumps [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz) from 3.10.1 to 3.11.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.10.1...v3.11.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>
* Bump pytest-subtests from 0.13.1 to 0.14.1 (#3225)Gravatar dependabot[bot]2025-01-03-7/+7
| | | | | | | | | | | | | | | | Bumps [pytest-subtests](https://github.com/pytest-dev/pytest-subtests) from 0.13.1 to 0.14.1. - [Release notes](https://github.com/pytest-dev/pytest-subtests/releases) - [Changelog](https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-subtests/compare/v0.13.1...v0.14.1) --- updated-dependencies: - dependency-name: pytest-subtests 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 sentry-sdk from 2.19.0 to 2.19.2 (#3224)Gravatar dependabot[bot]2025-01-03-5/+5
| | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.19.0 to 2.19.2. - [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/2.19.0...2.19.2) --- updated-dependencies: - dependency-name: sentry-sdk 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>
* Bump markdownify from 0.13.1 to 0.14.1 (#3205)Gravatar ChrisJL2025-01-01-7/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump markdownify from 0.13.1 to 0.14.1 Bumps [markdownify](https://github.com/matthewwithanm/python-markdownify) from 0.13.1 to 0.14.1. - [Release notes](https://github.com/matthewwithanm/python-markdownify/releases) - [Commits](https://github.com/matthewwithanm/python-markdownify/compare/0.13.1...0.14.1) --- updated-dependencies: - dependency-name: markdownify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Remove surrounding whitespace from doc description markdown * Fix rendering of markdown headers in docs --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wookie184 <[email protected]>
| * Fix rendering of markdown headers in docsGravatar wookie1842024-12-30-1/+2
| |
| * Remove surrounding whitespace from doc description markdownGravatar wookie1842024-12-30-1/+18
| |
| * Bump markdownify from 0.13.1 to 0.14.1Gravatar dependabot[bot]2024-12-30-5/+5
|/ | | | | | | | | | | | | | Bumps [markdownify](https://github.com/matthewwithanm/python-markdownify) from 0.13.1 to 0.14.1. - [Release notes](https://github.com/matthewwithanm/python-markdownify/releases) - [Commits](https://github.com/matthewwithanm/python-markdownify/compare/0.13.1...0.14.1) --- updated-dependencies: - dependency-name: markdownify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Bump ruff from 0.8.0 to 0.8.4 (#3220)Gravatar dependabot[bot]2024-12-30-21/+21
| | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.0 to 0.8.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/0.8.0...0.8.4) --- updated-dependencies: - dependency-name: ruff 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>
* Bump pytest from 8.3.3 to 8.3.4 (#3219)Gravatar dependabot[bot]2024-12-30-5/+5
| | | | | | | | | | | | | | | | Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4. - [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.3.3...8.3.4) --- updated-dependencies: - dependency-name: pytest 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>
* Bump httpx from 0.27.2 to 0.28.1 (#3218)Gravatar dependabot[bot]2024-12-30-6/+5
| | | | | | | | | | | | | | | | Bumps [httpx](https://github.com/encode/httpx) from 0.27.2 to 0.28.1. - [Release notes](https://github.com/encode/httpx/releases) - [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/httpx/compare/0.27.2...0.28.1) --- updated-dependencies: - dependency-name: httpx 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 coverage from 7.6.7 to 7.6.10 (#3217)Gravatar dependabot[bot]2024-12-29-65/+65
| | | | | | | | | | | | | | | | Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.7 to 7.6.10. - [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.6.7...7.6.10) --- updated-dependencies: - dependency-name: coverage 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>
* Bump aiohttp from 3.11.7 to 3.11.11 (#3216)Gravatar dependabot[bot]2024-12-29-79/+79
| | | | | | | | | | | --- updated-dependencies: - dependency-name: aiohttp 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>
* Bump taskipy from 1.14.0 to 1.14.1 (#3206)Gravatar dependabot[bot]2024-12-29-7/+7
| | | | | | | | | | | | | | | Bumps [taskipy](https://github.com/taskipy/taskipy) from 1.14.0 to 1.14.1. - [Release notes](https://github.com/taskipy/taskipy/releases) - [Commits](https://github.com/taskipy/taskipy/compare/1.14.0...1.14.1) --- updated-dependencies: - dependency-name: taskipy 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>
* Merge pull request #3210 from kkrypt0nn/patch-heroku-hosting-tagGravatar ~hedy2024-12-04-1/+1
|\ | | | | Heroku is no longer free
| * Heroku is no longer freeGravatar Krypton2024-12-03-1/+1
|/
* Don't ignore newlines when filtering invites (#3207)Gravatar Boris Muratov2024-11-27-4/+4
|
* Bump pydis-core to 11.5.1Gravatar Chris Lovering2024-11-23-5/+5
|
* Sort __all__ in snekboxGravatar Chris Lovering2024-11-23-1/+1
|
* Merge pull request #3018 from ↵Gravatar ChrisJL2024-11-23-0/+27
|\ | | | | | | | | python-discord/feat/tag-list-iterate-and-remove-gotcha feat: tag loop-remove
| * Merge branch 'main' into feat/tag-list-iterate-and-remove-gotchaGravatar Galen Rice2024-04-20-20/+20
| |\