aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2023-06-30Bump emoji from 2.5.1 to 2.6.0 (#2659)Gravatar dependabot[bot]-4/+4
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26Bump HassanAbouelela/actions from setup-python_v1.4.0 to 1.4.1Gravatar dependabot[bot]-1/+1
Bumps [HassanAbouelela/actions](https://github.com/hassanabouelela/actions) from setup-python_v1.4.0 to 1.4.1. 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.0...setup-python_v1.4.1) --- updated-dependencies: - dependency-name: HassanAbouelela/actions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
2023-06-25Bump ruff from 0.0.272 to 0.0.274 (#2651)Gravatar dependabot[bot]-53/+76
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Lovering <[email protected]>
2023-06-24Bump pytest from 7.3.2 to 7.4.0 (#2656)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23Bump pydis-core from 9.8.0 to 9.9.1 (#2657)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23Swap the order of interaction resposnes in sub cogGravatar Chris Lovering-7/+10
interaction.followup is only available after interaction.response is successfully used. Since interaction.response.edit_message can fail, using interaction.followup afterwards is incorrect. By swapping the order around here, we guarantee that a followup webhook is available.
2023-06-23Remove logic around when a role is availableGravatar Chris Lovering-44/+10
This was deemed not needed, so removing it from the code makes the cog easier to read.
2023-06-23Don't have interaction_owner as a class varGravatar Chris Lovering-10/+1
Having it as a class var means that it is shared with all instances of the class, which we definitely do not want.
2023-06-23Bump sentry-sdk from 1.25.1 to 1.26.0 (#2655)Gravatar dependabot[bot]-5/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21Update NOMINATION_MESSAGE_REGEX for new discord.User.__str__ behaviourGravatar Chris Lovering-1/+1
2023-06-21Update MockAttachment data with new expected fieldsGravatar Chris Lovering-1/+12
2023-06-21Write custom get_role func for MockMemberGravatar Chris Lovering-0/+3
The new d.py Member.get_role uses the Guild.get_role function if the member has the role. SInce we don't set Guild.roles overwrite this instead.
2023-06-21Bump pydis-core from 9.7.0 to 9.8.0Gravatar dependabot[bot]-54/+54
Bumps [pydis-core](https://github.com/python-discord/bot-core) from 9.7.0 to 9.8.0. - [Changelog](https://github.com/python-discord/bot-core/blob/main/docs/changelog.rst) - [Commits](https://github.com/python-discord/bot-core/compare/v9.7.0...v9.8.0) --- updated-dependencies: - dependency-name: pydis-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2023-06-21Remove casing in domain filtering (#2654)Gravatar Boris Muratov-2/+2
The extraction of domains from a message in the filterlist removes casing, but the checks of individual filters kept theirs, which led to some filters not working. This assumes that two URLs that differ only by casing are identical, which isn't necessarily true, but a conflict is very unlikely.
2023-06-21Make new comp filters not pingGravatar mbaruh-1/+2
2023-06-21Allow use of msg reply to add context to incidentGravatar vivekashok1221-1/+3
2023-06-20pre-commit-hooks 2.5.0 -> 4.4.0 (#2640)Gravatar Xithrius-1/+1
2023-06-20Bump pre-commit from 3.3.2 to 3.3.3 (#2643)Gravatar dependabot[bot]-5/+5
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.2 to 3.3.3. - [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.3.2...v3.3.3) --- 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-06-20Bump emoji from 2.5.0 to 2.5.1 (#2644)Gravatar dependabot[bot]-4/+4
Bumps [emoji](https://github.com/carpedm20/emoji) from 2.5.0 to 2.5.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.5.0...v2.5.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>
2023-06-20Fix errors in the positional-keyword tagGravatar int-2/+2
2023-06-14Increase help thread timeout 30 -> 60 (#2641)Gravatar Steele Farnsworth-1/+1
2023-06-13Fix missing message unpinning on adding ticket emoji to nomination review. ↵Gravatar Vivek Ashokkumar-4/+1
(#2639)
2023-06-13Remove unnecessary pinning of nomination review message in ↵Gravatar Vivek Ashokkumar-3/+1
#nomination-voting (#2633)
2023-06-12Bump regex from 2023.5.5 to 2023.6.3 (#2637)Gravatar dependabot[bot]-91/+91
Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2023.5.5 to 2023.6.3. - [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt) - [Commits](https://github.com/mrabarnett/mrab-regex/compare/2023.5.5...2023.6.3) --- updated-dependencies: - dependency-name: regex 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-06-12Bump pydantic from 1.10.8 to 1.10.9 (#2635)Gravatar dependabot[bot]-39/+39
Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.8 to 1.10.9. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v1.10.8...v1.10.9) --- updated-dependencies: - dependency-name: pydantic 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>
2023-06-12Bump pytest from 7.3.1 to 7.3.2 (#2636)Gravatar dependabot[bot]-6/+6
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.3.2. - [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/7.3.1...7.3.2) --- 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>
2023-06-12Bump pydis-core from 9.6.0 to 9.7.0 (#2638)Gravatar dependabot[bot]-6/+6
Bumps [pydis-core](https://github.com/python-discord/bot-core) from 9.6.0 to 9.7.0. - [Changelog](https://github.com/python-discord/bot-core/blob/main/docs/changelog.rst) - [Commits](https://github.com/python-discord/bot-core/compare/v9.6.0...v9.7.0) --- updated-dependencies: - dependency-name: pydis-core 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-06-12Bump rapidfuzz from 3.0.0 to 3.1.1 (#2634)Gravatar dependabot[bot]-95/+95
Bumps [rapidfuzz](https://github.com/maxbachmann/RapidFuzz) from 3.0.0 to 3.1.1. - [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/v3.0.0...v3.1.1) --- 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-06-12Add 'n' alias and 'nom' root alias to 'nominate' command (#2632)Gravatar TizzySaurus-1/+5
2023-06-10Bump ruff from 0.0.267 to 0.0.272 (#2628)Gravatar dependabot[bot]-20/+20
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10Bump coverage from 7.2.6 to 7.2.7 (#2619)Gravatar dependabot[bot]-54/+63
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10Bump pytest-cov from 4.0.0 to 4.1.0 (#2616)Gravatar dependabot[bot]-6/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10Bump sentry-sdk from 1.24.0 to 1.25.1 (#2626)Gravatar dependabot[bot]-6/+6
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10Bump emoji from 2.2.0 to 2.5.0 (#2627)Gravatar dependabot[bot]-92/+12
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-10Make all roles self-subscribable year round (#2631)Gravatar Bradley Reynolds-3/+3
2023-06-05Update mutability tag to link Nedbat's talk (#2546)Gravatar Greg Taeger-0/+2
Co-authored-by: wookie184 <[email protected]> Co-authored-by: Bradley Reynolds <[email protected]>
2023-06-02Add new profile badgesGravatar Chris Lovering-0/+3
This is so that the user_info command can output them
2023-05-31Escape full stops in Filter.__str__ (#2621)Gravatar ChrisJL-1/+1
Discord sees a number followed by a dot as a potential numbered list, so messes up the numbering when on sequential lines. Escaping the dot disables this discord behaviour.
2023-05-30Temporarily remove suport for evaling under 3.10 (#2618)Gravatar ChrisJL-33/+16
* Temporarily remove suport for evaling under 3.10 This is until snekbox supports multi-version natively https://github.com/python-discord/snekbox/issues/158 * Remove special case 3.11 snekbox container 3.11 is the default in snekbox:latest now, so no need to have a special container. This also removes all notion of there being diferent containers for different snekbox versions
2023-05-29Bump pip-licenses from 4.3.1 to 4.3.2 (#2604)Gravatar dependabot[bot]-5/+5
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26Bump coverage from 7.2.5 to 7.2.6Gravatar dependabot[bot]-54/+54
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.5 to 7.2.6. - [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.2.5...7.2.6) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2023-05-26Bump httpx from 0.24.0 to 0.24.1Gravatar dependabot[bot]-5/+5
Bumps [httpx](https://github.com/encode/httpx) from 0.24.0 to 0.24.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.24.0...0.24.1) --- updated-dependencies: - dependency-name: httpx dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2023-05-26Bump taskipy from 1.10.4 to 1.11.0Gravatar dependabot[bot]-5/+5
Bumps [taskipy](https://github.com/taskipy/taskipy) from 1.10.4 to 1.11.0. - [Commits](https://github.com/taskipy/taskipy/compare/1.10.4...1.11.0) --- updated-dependencies: - dependency-name: taskipy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2023-05-24Bump pydantic from 1.10.7 to 1.10.8Gravatar dependabot[bot]-40/+40
Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.7 to 1.10.8. - [Release notes](https://github.com/pydantic/pydantic/releases) - [Changelog](https://github.com/pydantic/pydantic/blob/v1.10.8/HISTORY.md) - [Commits](https://github.com/pydantic/pydantic/compare/v1.10.7...v1.10.8) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2023-05-24Use f-string conversions over functionsGravatar Chris Lovering-4/+4
2023-05-24Bump ruff from 0.0.265 to 0.0.267Gravatar dependabot[bot]-40/+40
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.265 to 0.0.267. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.267) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2023-05-24Drop IS_MAIN_REFGravatar shtlrs-6/+2
2023-05-24use main ref as predicateGravatar shtlrs-1/+1
2023-05-24build docker image in all PRsGravatar shtlrs-2/+6
This will always trigger the build-deploy workflow The image will only be pushed & deployed if we're in main.
2023-05-23Bump sentry-sdk from 1.22.2 to 1.24.0 (#2608)Gravatar dependabot[bot]-6/+7
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>