aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | * Only check URL-like objects against domain filtersGravatar Chris Lovering2021-08-28-4/+5
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a message such as 'https://google.com hello! flask.request.method' would be filtered due to us filtering the url shortener t.me. This commit changes to logic so that we only check parts of the messages that matched the URL regex against our blacklist, to avoid these false-positives.
* | | | | Added bot variables tag (#1784)Gravatar Hunter28072021-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-helpGravatar Xithrius2021-08-26-4/+48
|\ \ \ \ \ | | | | | | | | | | | | Add time units and example to docstring of `!remind` commands
| * \ \ \ \ Merge branch 'main' into update-remind-helpGravatar Xithrius2021-08-26-2/+9
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1785 from python-discord/Output-public-url-when-sharingGravatar Matteo Bertucci2021-08-26-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use publicly available URL when outputting metabase share URL
| * | | | | | Use publically available URL when outputting metabase share URLGravatar Chris Lovering2021-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-supportGravatar Matteo Bertucci2021-08-26-1/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Add message link support to `!user`
| * | | | | Add message link support to `!user` commandGravatar Izan2021-08-26-1/+6
|/ / / / /
| * | | | Add time units to the `!remind edit` and `!remind edit duration` help messagesGravatar Izan2021-08-25-2/+24
| | | | |
| * | | | Add time units and example to docstring of `!remind` and `!remind new`Gravatar Izan2021-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-1Gravatar ChrisJL2021-08-25-2/+2
|\ \ \ \ | | | | | | | | | | Fix antispam looking at wrong messages
| * | | | Fix antispam looking at wrong messagesGravatar Boris Muratov2021-08-24-2/+2
|/ / / /
* | | | Merge pull request #1731 from Numerlor/converter-typehintsGravatar ChrisJL2021-08-24-128/+96
|\ \ \ \ | | | | | | | | | | Add converter typehints
| * \ \ \ Merge branch 'main' into converter-typehintsGravatar ChrisJL2021-08-24-37/+75
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1776 from python-discord/community-partners-accessGravatar Matteo Bertucci2021-08-24-26/+36
|\ \ \ \ \ | | | | | | | | | | | | Give partners and community members more access
| * | | | | Fix testsGravatar Izan2021-08-24-2/+2
| | | | | |
| * | | | | Fix lintingGravatar Izan2021-08-24-1/+1
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/community-partners-access' into ↵Gravatar Izan2021-08-24-108/+610
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | community-partners-access
| | * \ \ \ \ Merge branch 'main' into community-partners-accessGravatar TizzySaurus2021-08-24-108/+610
| | |\ \ \ \ \ | |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #1700 from python-discord/enhance/1683/restrict-int-evalGravatar Matteo Bertucci2021-08-24-3/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Restrict internal eval command to bot owner when in debug mode
| * \ \ \ \ \ \ Merge branch 'main' into enhance/1683/restrict-int-evalGravatar Matteo Bertucci2021-08-24-774/+1609
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #1775 from python-discord/TizzySaurus-patch-1Gravatar Matteo Bertucci2021-08-24-3/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Update nomination messages to display user mention
| * | | | | | | | Update nomination messages to display user mentionGravatar TizzySaurus2021-08-24-3/+3
|/ / / / / / / /
* | | | | | | | Merge pull request #1770 from python-discord/antispam-ignore-bot-mentionsGravatar Boris Muratov2021-08-23-5/+27
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Ignore bot mentions in antispam mentions rule
| * \ \ \ \ \ \ \ Merge branch 'main' into antispam-ignore-bot-mentionsGravatar Boris Muratov2021-08-23-93/+566
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Added some more test cases to ensure bot mentions aren't countedGravatar wookie1842021-08-23-1/+17
| | | | | | | | |
| * | | | | | | | Fix current tests by using MockMember in mention listsGravatar wookie1842021-08-23-3/+5
| | | | | | | | |
| * | | | | | | | Ignore bot mentions in antispam mentions ruleGravatar wookie1842021-08-23-1/+5
| | | | | | | | |
| | * | | | | | | Enable debug mode by defaultGravatar MarkKoz2021-08-23-2/+2
| | | | | | | | |
| | * | | | | | | Restrict internal eval to bot owner when in debug modeGravatar MarkKoz2021-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 fileGravatar MarkKoz2021-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 lintingGravatar Izan2021-08-24-5/+7
| | | |/ / / / /
| | | * | | | | Allow partners & members of the python community to have mentions in `!remind`Gravatar Izan2021-08-24-2/+2
| | | | | | | |
| | | * | | | | Ignore partners & members of the python community as well as staff from ↵Gravatar Izan2021-08-24-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `!liststream`
| | | * | | | | Minor linting fixesGravatar Izan2021-08-24-4/+9
| | | | | | | |
| | | * | | | | Allow partners & members of the python community to bypass cooldown and use ↵Gravatar Izan2021-08-24-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `!raw` in any channel
| | | * | | | | Allow partners & members of the python community to use `!role` and `!roles`Gravatar Izan2021-08-24-2/+2
| | | | | | | |
| | | * | | | | Allow partners & members of the python community to use commands in any channelGravatar Izan2021-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_ROLESGravatar Izan2021-08-24-0/+1
| | | | | | | |
| | | | * | | | Remove TagContentConverterGravatar Numerlor2021-08-23-58/+0
| | | | | | | |
| | | | * | | | Prevent import cycle when importing EXTENSIONSGravatar Numerlor2021-08-23-2/+4
| | | | | | | |
| | | | * | | | Merge remote-tracking branch 'upstream/main' into converter-typehintsGravatar Numerlor2021-08-23-656/+1297
| | | | |\ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/converters.py
* | | | | | | | Merge pull request #1772 from D0rs4n/pr/nostafflakeGravatar Boris Muratov2021-08-23-4/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove restriction on snowflake command
| * \ \ \ \ \ \ \ Merge branch 'main' into pr/nostafflakeGravatar Boris Muratov2021-08-23-89/+564
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1760 from python-discord/mbaruh/anti-spamGravatar Boris Muratov2021-08-23-36/+465
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Cross-channel and deleted messages anti-spam
| * \ \ \ \ \ \ \ \ Merge branch 'main' into mbaruh/anti-spamGravatar Matteo Bertucci2021-08-23-311/+308
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1682 from python-discord/feat/mod/1665/override-auto-muteGravatar Boris Muratov2021-08-23-53/+99
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Allow manual mutes to override auto mutes
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into feat/mod/1665/override-auto-muteGravatar Boris Muratov2021-08-23-842/+1204
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Clarify a commentGravatar MarkKoz2021-07-23-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Fix pardon_infraction call for permanent bansGravatar MarkKoz2021-07-23-1/+1
| | | | | | | | | | |