aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | * | Refactor & simplifiy domain filter checkGravatar Chris Lovering2021-09-06-8/+3
| | | | | | | |
| | | | | | * | 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.
| | | | | | | * Use `isinstance` instead of `hasattr` to determine if `Member`Gravatar Izan2021-10-05-2/+2
| | | | | | | |
| | | | | | | * Fix testsGravatar Izan2021-09-01-6/+9
| | | | | | | |
| | | | | | | * Fix role hierarchy checkGravatar Izan2021-09-01-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now uses `>=` instead of `>`, as is meant to happen.
| | | | | | | * Prevent infractions raising error due to role hierarchyGravatar Izan2021-09-01-0/+12
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | Now explicitly states that the bot is unable to starify/kick/ban someone who's higher in the role hierarchy
* | | | | | | Add support for searching infractions by infraction id (#1787)Gravatar TizzySaurus2021-09-01-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for searching infractions by infraction id Can now search by infraction id via `!infraction {id}`.
* | | | | | | Rewording botvars.md tag (#1786)Gravatar Hunter28072021-08-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reword botvar.md Co-authored-by: Steele Farnsworth <[email protected]>
* | | | | | | Merge pull request #1779 from python-discord/experiments/akarys/check-licensesGravatar ChrisJL2021-08-31-86/+134
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | CI: check for dependency licenses
| * | | | | | Merge branch 'main' into experiments/akarys/check-licensesGravatar ChrisJL2021-08-31-37/+78
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #1791 from python-discord/dmrelay-mod-channelGravatar Xithrius2021-08-30-2/+4
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | Allow dmrelay to only be used in mod channels.
| * | | | | | Merge branch 'main' into dmrelay-mod-channelGravatar ChrisJL2021-08-30-35/+74
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Remove the json argument from the raw command. (#1792)Gravatar Qwerty-1332021-08-30-6/+14
| | | | | | |
* | | | | | | Merge pull request #1790 from python-discord/restrictive-infra-commandsGravatar ChrisJL2021-08-30-29/+60
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | Prevent the usage of names and nicknames when issuing infractions.
| * | | | | | Add more clarity to docstringsGravatar Qwerty-1332021-08-29-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify what Discord usernames are and the usage of the word "ambiguity".
| * | | | | | Make the helper function more readableGravatar Qwerty-1332021-08-29-8/+4
| | | | | | |
| * | | | | | Use unambiguous converters for infraction commandsGravatar Qwerty-1332021-08-29-15/+16
| | | | | | |
| * | | | | | Fix mismatches in parameter names and docstringsGravatar Qwerty-1332021-08-29-2/+2
| | | | | | |
| * | | | | | Add the UnambiguousMember converterGravatar Qwerty-1332021-08-29-3/+23
| | | | | | |
| * | | | | | Replace UserMentionOrID with UnambiguousUserGravatar Qwerty-1332021-08-29-12/+26
|/ / / / / /
| * / / / / Allow dmrelay to only be used in mod channels.Gravatar Qwerty-1332021-08-30-2/+4
|/ / / / /
| * | | | Merge branch 'main' into experiments/akarys/check-licensesGravatar Matteo Bertucci2021-08-28-6/+80
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | 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`
| * | | | CI: add ISC License (ISCL) to allowed licensesGravatar Matteo Bertucci2021-08-28-0/+1
| | | | |
| * | | | Upgrade pip-licenses to 5.3.2Gravatar Matteo Bertucci2021-08-28-5/+5
| | | | | | | | | | | | | | | | | | | | Thanks to https://github.com/raimon49/pip-licenses/pull/109, we are now able to ignore spaces around the allow-only parameter. Rejoice!
| * | | | CI: check for dependency licensesGravatar Matteo Bertucci2021-08-25-86/+133
|/ / / / | | | | | | | | | | | | Since our project is licensed under the MIT License, we can't be using any dependencies in our project. This commit adds a step to the CI lint phase that will use pip-licenses to verify that all the installed packages are part of an ALLOWED_LICENSE variable. This variable is currently set to be every license we currently use. We opted to use an allowlist instead of a denylist to make sure that new licenses are reviewed by hand and added to that variable.
* | | | 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
| | | | | | | | |