aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | * | | | Silence: remove thread related permissionsGravatar Matteo Bertucci2021-09-12-2/+16
| | | | | | | | |
| | | | | * | | | Modlog: respect blacklist with threadsGravatar Matteo Bertucci2021-09-12-19/+36
| | | | | | | | |
| | | | | * | | | Silence: forbid threads from being silencedGravatar Matteo Bertucci2021-09-06-1/+7
| | | | | | | | |
| | | | | * | | | Make the bot auto-join threadsGravatar Matteo Bertucci2021-09-06-1/+17
| | | | | | | | |
| | | | | * | | | Migrate to Discord.py 2.0a0Gravatar Matteo Bertucci2021-09-06-139/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case). This commits fixes any problem related to the migration: - New avatar interface - TZ aware datetimes - Various inernal API changes
| | | | | | * | | Raise for status to prevent parsing of invalid pagesGravatar Numerlor2021-08-31-1/+1
| | | | | | | | |
| | | | | | * | | Delete stale item counters when clearing doc cacheGravatar Numerlor2021-08-30-0/+13
| | | | | | | | |
| | | | | | * | | Prevent erroneous symbols from always raising stale warningsGravatar Numerlor2021-08-30-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some doc symbols are improperly generated and never exist on the doc page the inventory file defines them in, causing the stale warning to get raised every time the page is parsed (at a maximum every week because of the redis expire). This can be prevented by keeping a counter in redis for the items which were stale, every time the item is warned for the counter is incremented and set to expire in 3 weeks. Then a warning is only raised when the counter is below 3, resulting in the unpreventable warning only being raised twice until it is fixed by the maintainers after it expires in 3 weeks after the last increment.
| | | | | | * | | create a helper function to get the redis key of a doc itemGravatar Numerlor2021-08-30-12/+5
| | | | | | | | |
| | | | | | | * | Update infraction DM tests to reflect new outputGravatar Chris Lovering2021-09-24-10/+10
| | | | | | | | |
| | | | | | | * | Direct users to the appeals server when bannedGravatar Chris Lovering2021-09-24-10/+10
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new appeals process we are trialing. Users who get banned join this server and DM a modmail bot, who relays the message to the main server for mods to discuss. I have updated the shortening logic to allow for extra information to be included at the end of the embed, while still staying under the limit.
| | | | | | | * Update log message for when author isn't `discord.Member`Gravatar Izan2021-10-19-2/+1
| | | | | | | |
| | | | | | | * Invert `isinstance` check as per reviewGravatar Izan2021-10-19-3/+6
| | | | | | | |
| | | | | | | * Add handling for when `message.author` is a `discord.User`Gravatar Izan2021-09-24-6/+11
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | NB: Will give a sentry warning when this happens.
* | | | | | | Merge pull request #1843 from python-discord/fix-paste-site-inconsistencyGravatar Matteo Bertucci2021-09-23-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Update paste-site URL in `!paste`
| * | | | | | | Use full paste linkGravatar Izan2021-09-23-1/+1
|/ / / / / / /
* | | | | | | Merge pull request #1840 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-09-21-1/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | Add `cog` as an alias to extensions command
| * | | | | | Add `cog` as an alias to extensions commandGravatar Boris Muratov2021-09-21-1/+1
|/ / / / / /
* | | | | | Merge pull request #1838 from python-discord/remove-coverallsGravatar Joe Banks2021-09-20-7/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Remove coveralls from lint-testGravatar Izan2021-09-20-7/+0
|/ / / / /
* | | | | Merge pull request #1820 from python-discord/add-metricity-to-composeGravatar ChrisJL2021-09-17-2/+23
|\ \ \ \ \ | | | | | | | | | | | | Add metricity to docker-compose
| * | | | | Remove duplicate roles when defining allowed_mentionsGravatar Chris Lovering2021-09-17-1/+1
| | | | | |
| * | | | | Add metricity to docker-composeGravatar Chris Lovering2021-09-17-1/+22
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | By adding metricity to the compose, we allow it to migrate itself, rather than needing the site to do it. Defaulting 'USE_METRICITY' to false means that it will run migrations, but not actually start the bot. This means we don't add another service that needs to run all the time, which could impact some contribs on lower powered hardware.
* | | | | Merge pull request #1826 from python-discord/ignore-votingGravatar ChrisJL2021-09-11-3/+5
|\ \ \ \ \ | |/ / / / |/| | | | Adds Core Dev Voting To Changelog Blacklist
| * | | | Adds Core Dev Voting To Changelog BlacklistGravatar Hassan Abouelela2021-09-11-3/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Adds the channel used for voting on contributors to the message changelog blacklist. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | Merge pull request #1788 from ↵Gravatar ChrisJL2021-09-09-8/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | python-discord/Only-check-domain-filters-against-URL-like-parts-of-a-message Only check URL-like objects against domain filters
| * \ \ \ Merge branch 'main' into ↵Gravatar ChrisJL2021-09-09-240/+450
| |\ \ \ \ | |/ / / / |/| | | | | | | | | Only-check-domain-filters-against-URL-like-parts-of-a-message
* | | | | Merge pull request #1819 from python-discord/string-formatting-tagGravatar ChrisJL2021-09-09-0/+24
|\ \ \ \ \ | | | | | | | | | | | | Add string-formatting tag
| * \ \ \ \ Merge branch 'main' into string-formatting-tagGravatar ChrisJL2021-09-09-17/+12
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1813 from python-discord/declare-talentpool-cache-on-startupGravatar ChrisJL2021-09-08-17/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | Declare TalentPool.cache on init of cog
| * \ \ \ \ \ Merge branch 'main' into declare-talentpool-cache-on-startupGravatar ChrisJL2021-09-08-20/+52
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Use - rather than 0 for number of nominees when cache isn't readyGravatar Chris Lovering2021-09-08-1/+1
| | | | | | |
| * | | | | | Remove previous nominations outputGravatar Chris Lovering2021-09-08-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This raised questions from helpers when they saw that someone had many previous nominations. There is no reason why a helper needs to see this information.
| * | | | | | Wait until login before trying to use the bot api clientGravatar Chris Lovering2021-09-08-1/+5
| | | | | | |
| * | | | | | Declare and refresh TalentPool.cache on init of cogGravatar Chris Lovering2021-09-06-6/+8
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids issues in the server cog trying to access it before it's assigned and refreshed. I also migrated to the tasks to `scheduling.create_task()` as the created tasks currently don't have any error handling they can hide errors in development until the task object is destroyed (if that occurs at all) which logs the exception. The scheduling alternative attaches a callback which logs exceptions to prevent this.
| | * | | | Change formatting of examplesGravatar Janine vN2021-09-09-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After some discussion back and forth, I've adjusted how to display the examples and code bock to be of a more REPL-style. Additionally, a filler character for the "Center Me!" string is added to illustrate how exactly in centers it. This commit also adds some small styling changes.
| | * | | | Add required newline to end of fileGravatar Janine vN2021-09-09-1/+1
| | | | | |
| | * | | | Add string-formatting tagGravatar Janine vN2021-09-09-0/+27
| |/ / / / |/| | | | | | | | | | | | | | Adds a tag to show the string formatting mini language
* | | | | Add support for `!infraction last` (#1804)Gravatar TizzySaurus2021-09-08-19/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for `!infraction last` `!infraction last` will view details of the last infraction the user made. Also changes the `Infraction` converter to use the `expanded` endpoint 1) Added `InvalidInfraction` to `bot.errors` - called when value passed to `Infraction` converter is invalid 2) Improved error messages for when an invalid infraction is passed to `!infraction {infr_id}` 3) Improved some other messages/docstrings etc. Co-authored-by: Xithrius <[email protected]>
* | | | | Merge pull request #1814 from python-discord/Expand-fitlers-to-.gg-Gravatar Matteo Bertucci2021-09-06-1/+2
|\ \ \ \ \ | |/ / / / |/| | | | Add .gg/ to invite filter regex
| * | | | Add .gg/ to invite filter regexGravatar Chris Lovering2021-09-06-1/+2
|/ / / /
* | | | Server command now uses correct TalentPool attr (#1810)Gravatar ChrisJL2021-09-04-1/+1
| | | | | | | | | | | | | | | | This was attr changed when we removed the concept of a user being 'watched' while removing the talentpool.
* | | | Merge pull request #1811 from python-discord/pin-platform-in-DockerfileGravatar Johannes Christ2021-09-04-1/+1
|\ \ \ \ | | | | | | | | | | Pin platform in Dockerfile
| * \ \ \ Merge branch 'main' into pin-platform-in-DockerfileGravatar Johannes Christ2021-09-04-0/+19
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1794 from python-discord/Add-concurrency-to-all-workflowsGravatar ChrisJL2021-09-04-0/+19
|\ \ \ \ \ | | | | | | | | | | | | Add concurrency rules to all GitHub workflows
| * \ \ \ \ Merge branch 'main' into Add-concurrency-to-all-workflowsGravatar ChrisJL2021-09-04-183/+284
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add concurrency rules to all GitHub workflowsGravatar Chris Lovering2021-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.
| | * | | Pin platform in DockerfileGravatar Chris Lovering2021-09-04-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | Some of our deps don't have wheels for atm processors. With Mac's M1 chips becomming more common, we should make it easier for those users to build our environments.
* | | | Merge pull request #1808 from python-discord/jb3/update-manifest-pathGravatar Joe Banks2021-09-04-1/+1
|\ \ \ \ | | | | | | | | | | Update deployment manifest path
| * | | | Update in accordance with python-discord/kubernetes#95Gravatar Joe Banks2021-09-04-1/+1
|/ / / /