Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add concurrency rules to all GitHub workflows | 2021-08-30 | -0/+19 | |
| | | | | | | | | | | This concurrency rule means that workflow actions will be cancelled if a new set of actions are triggered on the same ref. A ref is either a PR or a branch itself. Doing this means that if someone pushes to a PR multiple times in quick succession, workflows won't get queued up. Instead, only the workflows from the most recent changes will run, as this is all we really care about anyway. I see the benefits of this as twofold. 1. The author gets faster feedback about the most recent change pushed, rather than have to wait for all previous runs to completed 2. Other contributors don't need to wait for a queue of redundant workflows to finish. | |||
* | Remove the json argument from the raw command. (#1792) | 2021-08-30 | -6/+14 | |
| | ||||
* | Merge pull request #1790 from python-discord/restrictive-infra-commands | 2021-08-30 | -29/+60 | |
|\ | | | | | Prevent the usage of names and nicknames when issuing infractions. | |||
| * | Add more clarity to docstrings | 2021-08-29 | -5/+5 | |
| | | | | | | | | | | Clarify what Discord usernames are and the usage of the word "ambiguity". | |||
| * | Make the helper function more readable | 2021-08-29 | -8/+4 | |
| | | ||||
| * | Use unambiguous converters for infraction commands | 2021-08-29 | -15/+16 | |
| | | ||||
| * | Fix mismatches in parameter names and docstrings | 2021-08-29 | -2/+2 | |
| | | ||||
| * | Add the UnambiguousMember converter | 2021-08-29 | -3/+23 | |
| | | ||||
| * | Replace UserMentionOrID with UnambiguousUser | 2021-08-29 | -12/+26 | |
|/ | ||||
* | Added bot variables tag (#1784) | 2021-08-27 | -0/+23 | |
| | | | | | * Added a new tag with the name bot_var Co-authored-by: Bluenix <[email protected]> | |||
* | Merge pull request #1778 from python-discord/update-remind-help | 2021-08-26 | -4/+48 | |
|\ | | | | | Add time units and example to docstring of `!remind` commands | |||
| * | Merge branch 'main' into update-remind-help | 2021-08-26 | -2/+9 | |
| |\ | |/ |/| | ||||
* | | Merge pull request #1785 from python-discord/Output-public-url-when-sharing | 2021-08-26 | -1/+3 | |
|\ \ | | | | | | | Use publicly available URL when outputting metabase share URL | |||
| * | | Use publically available URL when outputting metabase share URL | 2021-08-26 | -1/+3 | |
|/ / | | | | | | | | | | | In production we use the internal URL to call the metabase API, to avoid egress but we still want to output the public url when giving the sharing link. Making it a constant like this makes it easier to change/overwrite in future if needed. | |||
* | | Merge pull request #1783 from python-discord/user-message-link-support | 2021-08-26 | -1/+6 | |
|\ \ | | | | | | | Add message link support to `!user` | |||
| * | | Add message link support to `!user` command | 2021-08-26 | -1/+6 | |
|/ / | ||||
| * | Add time units to the `!remind edit` and `!remind edit duration` help messages | 2021-08-25 | -2/+24 | |
| | | ||||
| * | Add time units and example to docstring of `!remind` and `!remind new` | 2021-08-25 | -2/+24 | |
|/ | | | | Supported time units and an example invocation are now displayed in the help message for `!remind` and `!remind new` | |||
* | Merge pull request #1777 from python-discord/mbaruh-patch-1 | 2021-08-25 | -2/+2 | |
|\ | | | | | Fix antispam looking at wrong messages | |||
| * | Fix antispam looking at wrong messages | 2021-08-24 | -2/+2 | |
|/ | ||||
* | Merge pull request #1731 from Numerlor/converter-typehints | 2021-08-24 | -128/+96 | |
|\ | | | | | Add converter typehints | |||
| * | Merge branch 'main' into converter-typehints | 2021-08-24 | -37/+75 | |
| |\ | |/ |/| | ||||
* | | Merge pull request #1776 from python-discord/community-partners-access | 2021-08-24 | -26/+36 | |
|\ \ | | | | | | | Give partners and community members more access | |||
| * | | Fix tests | 2021-08-24 | -2/+2 | |
| | | | ||||
| * | | Fix linting | 2021-08-24 | -1/+1 | |
| | | | ||||
| * | | Merge remote-tracking branch 'origin/community-partners-access' into ↵ | 2021-08-24 | -108/+610 | |
| |\ \ | | | | | | | | | | | | | community-partners-access | |||
| | * \ | Merge branch 'main' into community-partners-access | 2021-08-24 | -108/+610 | |
| | |\ \ | |_|/ / |/| | | | ||||
* | | | | Merge pull request #1700 from python-discord/enhance/1683/restrict-int-eval | 2021-08-24 | -3/+9 | |
|\ \ \ \ | | | | | | | | | | | Restrict internal eval command to bot owner when in debug mode | |||
| * \ \ \ | Merge branch 'main' into enhance/1683/restrict-int-eval | 2021-08-24 | -774/+1609 | |
| |\ \ \ \ | |/ / / / |/| | | | | ||||
* | | | | | Merge pull request #1775 from python-discord/TizzySaurus-patch-1 | 2021-08-24 | -3/+3 | |
|\ \ \ \ \ | | | | | | | | | | | | | Update nomination messages to display user mention | |||
| * | | | | | Update nomination messages to display user mention | 2021-08-24 | -3/+3 | |
|/ / / / / | ||||
* | | | | | Merge pull request #1770 from python-discord/antispam-ignore-bot-mentions | 2021-08-23 | -5/+27 | |
|\ \ \ \ \ | | | | | | | | | | | | | Ignore bot mentions in antispam mentions rule | |||
| * \ \ \ \ | Merge branch 'main' into antispam-ignore-bot-mentions | 2021-08-23 | -93/+566 | |
| |\ \ \ \ \ | |/ / / / / |/| | | | | | ||||
| * | | | | | Added some more test cases to ensure bot mentions aren't counted | 2021-08-23 | -1/+17 | |
| | | | | | | ||||
| * | | | | | Fix current tests by using MockMember in mention lists | 2021-08-23 | -3/+5 | |
| | | | | | | ||||
| * | | | | | Ignore bot mentions in antispam mentions rule | 2021-08-23 | -1/+5 | |
| | | | | | | ||||
| | * | | | | Enable debug mode by default | 2021-08-23 | -2/+2 | |
| | | | | | | ||||
| | * | | | | Restrict internal eval to bot owner when in debug mode | 2021-07-27 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a security risk to let anyone in a test server have essentially full access to the host machine. Resolve #1683 | |||
| | * | | | | Specify DEBUG_MODE via the config file | 2021-07-27 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `SITE_URL` environment variable hasn't been used by anything else for a long time. It wouldn't have been reliable to look for "local" anyway since the Docker hostname may be used. | |||
| | | * | | | Fix linting | 2021-08-24 | -5/+7 | |
| | | |/ / | ||||
| | | * | | Allow partners & members of the python community to have mentions in `!remind` | 2021-08-24 | -2/+2 | |
| | | | | | ||||
| | | * | | Ignore partners & members of the python community as well as staff from ↵ | 2021-08-24 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | `!liststream` | |||
| | | * | | Minor linting fixes | 2021-08-24 | -4/+9 | |
| | | | | | ||||
| | | * | | Allow partners & members of the python community to bypass cooldown and use ↵ | 2021-08-24 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | `!raw` in any channel | |||
| | | * | | Allow partners & members of the python community to use `!role` and `!roles` | 2021-08-24 | -2/+2 | |
| | | | | | ||||
| | | * | | Allow partners & members of the python community to use commands in any channel | 2021-08-24 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | Allow partners & members of the python community to use `!remind`, `!help` `!user`, `!snowflake`, `!ping`, `!charinfo` in any channel | |||
| | | * | | Add constants.STAFF_PARTNERS_COMMUNITY_ROLES | 2021-08-24 | -0/+1 | |
| | | | | | ||||
| | | | * | Remove TagContentConverter | 2021-08-23 | -58/+0 | |
| | | | | | ||||
| | | | * | Prevent import cycle when importing EXTENSIONS | 2021-08-23 | -2/+4 | |
| | | | | | ||||
| | | | * | Merge remote-tracking branch 'upstream/main' into converter-typehints | 2021-08-23 | -656/+1297 | |
| | | | |\ | |_|_|_|/ |/| | | | | | | | | | | | | | | # Conflicts: # bot/converters.py |