aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
| |\
| * \ Merge branch 'main' into feat/tag-list-iterate-and-remove-gotchaGravatar Galen Rice2024-04-18-174/+174
| |\ \
| * | | fix: "in the example", less terse and less confusingGravatar Galen Rice2024-04-16-1/+1
| | | |
| * | | fix: text-only explanationGravatar Galen Rice2024-04-16-8/+3
| | | |
| * | | fix: include "adding" context, and add aliases for loop-add and loop-modifyGravatar Galen Rice2024-04-16-1/+2
| | | |
| * | | fix: slightly condensed languageGravatar Galen Rice2024-04-16-1/+1
| | | |
| * | | fix: correct language for how the iterator does its thingGravatar Galen Rice2024-04-16-1/+1
| | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| * | | fix: bold for list comp name, clean up some languageGravatar Galen Rice2024-04-16-2/+2
| | | |
| * | | fix: remove a lineGravatar Galen Rice2024-04-16-2/+1
| | | |
| * | | fix: further condense the second blockGravatar Galen Rice2024-04-16-4/+1
| | | |
| * | | fix: further condense first code blockGravatar Galen Rice2024-04-16-4/+1
| | | |
| * | | fix: condense some whitespace around code blocksGravatar Galen Rice2024-04-16-4/+0
| | | |
| * | | feat: tag loop-removeGravatar Galen Rice2024-04-16-0/+42
| | | | | | | | | | | | | | | | details the gotcha of removing items from a collection while iterating that collection inside a for loop.
* | | | Branding: improve decorator nameGravatar kwzrd2024-11-23-3/+3
| | | |
* | | | Branding: do not invoke calendar after refreshGravatar kwzrd2024-11-23-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We now send a result embed after refresh. It would be noisy to also send the calendar embed. Users can invoke the calendar manually if desired.
* | | | Branding: retry GitHub server errorsGravatar kwzrd2024-11-23-8/+35
| | | | | | | | | | | | | | | | Use the tenacity lib to retry 5xx responses from GitHub.
* | | | Branding: handle repo errors in cogGravatar kwzrd2024-11-23-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we fail to fetch an event, the whole branding sync will now be aborted. This will prevent situations where we fail to fetch the current event due to a 5xx error and the cog resorts to the fallback branding in the middle of an event. Error handling is moved to the cog. The repo abstraction will now propagate errors rather than silence them.
* | | | Deps: add tenacityGravatar kwzrd2024-11-23-1/+17
| | | |