aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | Allow for more than 3 nomination votes if others are ticketedGravatar Joe Banks2024-05-18-4/+20
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes how we calculate whether we are ready for another vote in the talentpool autonomination system. Instead of hard-locking at 3 votes in the pool, we factor in whether an admin-task has been created for the vote (signified by a reaction with the :ticket: emoji). We allow for up to 10 votes to be in the pool total, which in theory allows 3 active votes and 7 votes waiting on the admin-task completion (though we should never hit this threshold realistically). This should allow for voting to be more or less continuous and ensure there is always new votes in the pool and we are not blocked on the completion of a Helpering/waiting for a Helper candidate to be available for a new vote to start. The thresholds are based on those suggested in the nomination-discussion moderator channel.
* | | | | | | | | Push raw to pastebin if too long for Discord (#3038)Gravatar ChrisJL2024-05-17-8/+26
| | | | | | | | |
* | | | | | | | | Bump regex from 2024.5.10 to 2024.5.15 (#3053)Gravatar dependabot[bot]2024-05-17-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | | Improve cancel staff infraction button colours and text (#2980)Gravatar Robin2024-05-14-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change color of cancel button from green to gray * Change "confirm" label to "ban" * Make docstring for confirm callback more accurate Co-authored-by: Vivek Ashokkumar <[email protected]> * Rename "InfractionConfirmationView" to "BanConfirmationView" --------- Co-authored-by: Vivek Ashokkumar <[email protected]>
* | | | | | | | | Update Metabase URLGravatar Joe Banks2024-05-14-1/+1
| | | | | | | | |
* | | | | | | | | Bump lxml from 5.2.1 to 5.2.2 (#3049)Gravatar dependabot[bot]2024-05-13-157/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [lxml](https://github.com/lxml/lxml) from 5.2.1 to 5.2.2. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-5.2.1...lxml-5.2.2) --- updated-dependencies: - dependency-name: lxml 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 pre-commit from 3.7.0 to 3.7.1 (#3048)Gravatar dependabot[bot]2024-05-13-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.0 to 3.7.1. - [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.7.0...v3.7.1) --- 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>
* | | | | | | | | Merge pull request #3050 from python-discord/jb3/nom-context-char-limitGravatar Joe Banks2024-05-13-0/+7
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Check length of nomination reason before attempting to send to site API
| * | | | | | | | | Check length of nomination reason before attempting to send to site APIGravatar Joe Banks2024-05-13-0/+7
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures we will not attempt to send a reason that is longer than the REASON_MAX_CHARS value, which can quickly be reached through the addition of message links in context.
* | | | | | | | | Merge pull request #3047 from python-discord/jb3/2938-nominate-context-menuGravatar Joe Banks2024-05-13-10/+173
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add context menu command for user nomination
| * | | | | | | | | Move from sentry_sdk.push_scope to sentry_sdk.new_scopeGravatar Joe Banks2024-05-13-9/+9
| | | | | | | | | |
| * | | | | | | | | Add new context menu command for nominating usersGravatar Joe Banks2024-05-13-1/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command either updates or creates a nomination for the author of the selected message, including a hyperlink to the selected message. Hopefully the benefits that this additional context brings as well as the reduced bar of entry for creating nominations will enhance the talentpool recruitment system.
| * | | | | | | | | Add new Talentpool API method for fetching a nomination reasonGravatar Joe Banks2024-05-13-0/+11
|/ / / / / / / / /
* | | | | | | | | Bump ruff from 0.4.3 to 0.4.4 (#3043)Gravatar dependabot[bot]2024-05-11-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | | Bump regex from 2024.4.28 to 2024.5.10 (#3044)Gravatar dependabot[bot]2024-05-11-82/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
| * | | | | | | | Fix showing `!source` on tags when tags cog is reloadedGravatar hedy2024-04-08-48/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the source command checks for the source object's class after getting it from the SourceType converter. When the tags cog is reloaded, TagIdentifier is redefined. We were checking whether the old TagIdentifier class (the `type()` of an instance of the old TagIdentifier) equals the newly defined TagIdentifier class. This returns false because the TagIdentifier class is redefined when the tags cog is reloaded, which caused tags, correctly identified by Source converter, to be unable to be identified in the source cog. The fix takes advantage of the fact that the source converter could correctly identify tags objects even after the tags cog reloads, and use enum comparisons rather than `isinstance`/`type()` to obtain the source type of whatever the source converter returns. Since we're no longer using the source converter as an actual converter, the function is moved to the source cog instead, and it still works fine.
| | * | | | | | | Fix typoGravatar wookie1842024-04-02-1/+1
| | | | | | | | |
| | * | | | | | | Reply to eval commands instead of using a mention where possibleGravatar wookie1842024-04-02-13/+20
| | | | | | | | |
| | * | | | | | | Improve accuracy (and efficiency) of MockContextGravatar wookie1842024-04-02-8/+12
| | | | | | | | |
| | | * | | | | | Adjust truncation for 11 linesGravatar vivekashok12212024-05-23-1/+4
| | | | | | | | |
| | | * | | | | | Don't upload to pastebin when no truncationGravatar vivekashok12212024-05-11-5/+5
| |_|/ / / / / / |/| | | | | | |
* | | | | | | | Bump rapidfuzz from 3.8.1 to 3.9.0 (#3039)Gravatar dependabot[bot]2024-05-08-93/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump sentry-sdk from 2.0.1 to 2.1.1 (#3040)Gravatar dependabot[bot]2024-05-08-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump coverage from 7.5.0 to 7.5.1 (#3041)Gravatar dependabot[bot]2024-05-08-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump ruff from 0.4.2 to 0.4.3 (#3042)Gravatar dependabot[bot]2024-05-06-21/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.2 to 0.4.3. - [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.4.2...v0.4.3) --- 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 HassanAbouelela/actions from setup-python_v1.4.2 to 1.5.0 (#3036)Gravatar dependabot[bot]2024-04-29-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [HassanAbouelela/actions](https://github.com/hassanabouelela/actions) from setup-python_v1.4.2 to 1.5.0. This release includes the previously tagged commit. - [Release notes](https://github.com/hassanabouelela/actions/releases) - [Commits](https://github.com/hassanabouelela/actions/compare/setup-python_v1.4.2...setup-python_v1.5.0) --- updated-dependencies: - dependency-name: HassanAbouelela/actions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump regex from 2024.4.16 to 2024.4.28 (#3035)Gravatar dependabot[bot]2024-04-29-97/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2024.4.16 to 2024.4.28. - [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt) - [Commits](https://github.com/mrabarnett/mrab-regex/compare/2024.4.16...2024.4.28) --- updated-dependencies: - dependency-name: regex 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 pytest-xdist from 3.5.0 to 3.6.1 (#3034)Gravatar dependabot[bot]2024-04-29-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 3.5.0 to 3.6.1. - [Release notes](https://github.com/pytest-dev/pytest-xdist/releases) - [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.1) --- updated-dependencies: - dependency-name: pytest-xdist 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 from 8.1.1 to 8.2.0 (#3033)Gravatar dependabot[bot]2024-04-29-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0. - [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.1...8.2.0) --- updated-dependencies: - dependency-name: pytest 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>
* | | | | | | | Notify help threads if the owner is no longer on the server (#3022)Gravatar wookie1842024-04-28-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ~hedy <[email protected]>
* | | | | | | | Update system-python.md: Improve bullet point formatting (#3029)Gravatar Bruno Rodrigues dos Santos2024-04-27-3/+0
| | | | | | | |
* | | | | | | | Removed rich embed filter as its no longer necessary. (#3013)Gravatar Hash2024-04-27-51/+0
| | | | | | | |
* | | | | | | | Use correct key to check if infraction has expiry (#3021)Gravatar wookie1842024-04-27-4/+7
| | | | | | | |
* | | | | | | | Bump ruff from 0.4.1 to 0.4.2 (#3030)Gravatar dependabot[bot]2024-04-27-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump sentry-sdk from 1.45.0 to 2.0.1 (#3031)Gravatar dependabot[bot]2024-04-27-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump coverage from 7.4.4 to 7.5.0 (#3027)Gravatar dependabot[bot]2024-04-25-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump emoji from 2.11.0 to 2.11.1 (#3026)Gravatar dependabot[bot]2024-04-22-5/+5
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [emoji](https://github.com/carpedm20/emoji) from 2.11.0 to 2.11.1. - [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.11.0...v2.11.1) --- updated-dependencies: - dependency-name: emoji 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 ruff from 0.3.7 to 0.4.1 (#3025)Gravatar dependabot[bot]2024-04-20-20/+20
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.7 to 0.4.1. - [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.7...v0.4.1) --- updated-dependencies: - dependency-name: ruff 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 regex from 2023.12.25 to 2024.4.16 (#3020)Gravatar dependabot[bot]2024-04-17-96/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2023.12.25 to 2024.4.16. - [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt) - [Commits](https://github.com/mrabarnett/mrab-regex/compare/2023.12.25...2024.4.16) --- updated-dependencies: - dependency-name: regex 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 aiohttp from 3.9.4 to 3.9.5 (#3019)Gravatar dependabot[bot]2024-04-17-79/+79
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.4 to 3.9.5. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.4...v3.9.5) --- 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>
* | | | | Merge pull request #2982 from python-discord/vivek/fix-phishing-buttonGravatar wookie1842024-04-16-4/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | Fix case sensitivity bug in phishing button
| * | | | Merge branch 'main' into vivek/fix-phishing-buttonGravatar wookie1842024-04-16-81/+81
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Bump aiohttp from 3.9.3 to 3.9.4 (#3016)Gravatar dependabot[bot]2024-04-16-79/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.3 to 3.9.4. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.3...v3.9.4) --- 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>
* | | | | Update Redis service addressGravatar Joe Banks2024-04-15-1/+1
| | | | |
* | | | | Update metabase namespaceGravatar Joe Banks2024-04-15-1/+1
| | | | |
| * | | | Merge branch 'main' into vivek/fix-phishing-buttonGravatar Galen Rice2024-04-15-666/+844
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Update site namespace in constantsGravatar Joe Banks2024-04-15-1/+1
| | | | |
* | | | | Update snekbox namespaceGravatar Joe Banks2024-04-15-1/+1
| | | | |
* | | | | Update deployment namespaceGravatar Joe Banks2024-04-14-1/+2
| | | | |
* | | | | Bump deepdiff from 6.7.1 to 7.0.1 (#3008)Gravatar dependabot[bot]2024-04-14-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [deepdiff](https://github.com/seperman/deepdiff) from 6.7.1 to 7.0.1. - [Release notes](https://github.com/seperman/deepdiff/releases) - [Changelog](https://github.com/seperman/deepdiff/blob/master/docs/changelog.rst) - [Commits](https://github.com/seperman/deepdiff/compare/6.7.1...7.0.1) --- updated-dependencies: - dependency-name: deepdiff 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>