aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge remote-tracking branch 'origin/bot-2231-bug' into bot-2231-bugGravatar Izan2022-09-14-1476/+340
|\
| * Merge branch 'main' into bot-2231-bugGravatar TizzySaurus2022-08-14-1476/+340
| |\
| | * Merge pull request #2229 from python-discord/py3.10-rediscacheGravatar ChrisJL2022-08-14-1474/+332
| | |\
| | | * revert bump to markdownify versionGravatar Chris Lovering2022-08-14-10/+14
| | | | | | | | | | | | | | | | | | | | The new versions introduce conversions which causes the doc command embed to be formatted improperly
| | | * Use RedisTestCase helper class for both Incidents and Silence test cases.Gravatar Chris Lovering2022-08-14-36/+6
| | | |
| | | * Add a new test helper for managing redis sessionsGravatar Chris Lovering2022-08-14-0/+24
| | | | | | | | | | | | | | | | This helper ensures that a fresh RedisSession is given to each test case that inherits from it.
| | | * Bump bot-core to full 8.0.0 releaseGravatar Chris Lovering2022-08-14-8/+7
| | | |
| | | * Remove unneeded N802 noqasGravatar Chris Lovering2022-08-14-5/+5
| | | | | | | | | | | | | | | | pep-naming now supports these functions being in camel case.
| | | * Directly return the RedisSession on connectionGravatar Chris Lovering2022-08-14-2/+1
| | | |
| | | * noqa false-positive B023 instancesGravatar Chris Lovering2022-08-14-4/+4
| | | | | | | | | | | | | | | | This was a new lint rule added in the latest bugbear.
| | | * Stop creating futures in tests with no event loop runningGravatar Chris Lovering2022-08-14-6/+0
| | | |
| | | * Add back a lock to DocRedisCache.set based on the DocItemGravatar Chris Lovering2022-08-14-0/+8
| | | |
| | | * Update any calls to Redis 'iscan' to the new name 'scan_iter'Gravatar Chris Lovering2022-08-14-2/+2
| | | |
| | | * Convert key expiries to integers before passing to RedisGravatar Chris Lovering2022-08-14-1/+1
| | | | | | | | | | | | | | | | If a float is given, Redis will assume the expiry is in milliseconds and must be multiplied by 1000. This is undesirable, as we are already passing the expiry in seconds.
| | | * Remove usages of the removed namespace_lock decoratorGravatar Chris Lovering2022-08-14-6/+1
| | | |
| | | * No longer use the removed RedisSession connection objectGravatar Chris Lovering2022-08-14-51/+46
| | | | | | | | | | | | | | | | This has been abstracted away, the correct way to do this now is to directly access the client.
| | | * redis-py breaking changesGravatar Chris Lovering2022-08-14-5/+6
| | | | | | | | | | | | | | | | This commit resolves all the breaking changes from the aioredis -> redis-py migration.
| | | * Bump all deps to latestGravatar Chris Lovering2022-08-14-85/+62
| | | |
| | | * Bump bot-core versionGravatar Chris Lovering2022-08-14-1216/+118
| | | | | | | | | | | | | | | | This bump comes with a move to redis-py over aioredis. As such, pin new transitive dependancies to exact versions.
| | | * Remove warnings in error handler testsGravatar Chris Lovering2022-08-14-56/+47
| | | | | | | | | | | | | | | | These warnings were caused by the setup coro from error_handler.py being imported directly, causing a warning about an un-awaited coro whenever the Cog was accessed from the same file.
| | | * Remove call to get_event_loop in testsGravatar Chris Lovering2022-08-14-3/+2
| | | | | | | | | | | | | | | | get_event_loop is deprecated as of 3.10 if there is no running loop.
| | | * Bump to Python 3.10Gravatar Chris Lovering2022-08-14-3/+3
| | | |
| | | * Update the docker-compose snekbox dep for botGravatar Chris Lovering2022-08-14-1/+1
| | |/ | | | | | | | | | The bot service was still configured to depend on the snekbox service, even though this service is now optional, in favour of the snekbox-311 service.
| | * Merge pull request #2240 from python-discord/2238-purge-cmdGravatar mina2022-08-03-2/+8
| | |\ | | | | | | | | Updated `purge` to require at least one user
| | | * Improved `purge` help messageGravatar ionite342022-08-03-1/+1
| | | |
| | | * Removed unused importGravatar ionite342022-08-03-1/+1
| | | |
| | | * Updated `purge` to require >1 usersGravatar ionite342022-08-03-3/+9
| | |/
* | / Update docstrings & comment.Gravatar Izan2022-09-14-17/+8
|/ /
* | Make reference message in reminders italic.Gravatar Izan2022-08-06-1/+1
| |
* | Allow referencing message as argument to `!remind edit content`Gravatar Izan2022-07-25-11/+32
|/
* Merge pull request #2224 from python-discord/sid/feature/tags/print-returnGravatar ChrisJL2022-07-24-0/+9
|\ | | | | feat(tags): add print-return tag
| * Merge branch 'main' into sid/feature/tags/print-returnGravatar mina2022-07-24-8/+9
| |\ | |/ |/|
* | Merge pull request #2220 from python-discord/fix-bot-2168Gravatar wookie1842022-07-23-8/+9
|\ \ | | | | | | Update `!modpings off` confirmation to use a discord timestamp.
| * \ Merge branch 'main' into fix-bot-2168Gravatar wookie1842022-07-23-181/+1397
| |\ \ | |/ / |/| |
| * | Update `!modpings off` confirmation to use a discord timestamp.Gravatar Izan2022-07-23-8/+9
| | |
| | * Merge branch 'main' into sid/feature/tags/print-returnGravatar ChrisJL2022-07-21-28/+28
| | |\ | |_|/ |/| |
* | | Merge pull request #2225 from python-discord/snekbox-snagsGravatar ChrisJL2022-07-21-28/+28
|\ \ \ | | | | | | | | Use the view clear on timeout feature from bot-core in snekbox
| * | | Start 3.11 snekbox container by defaultGravatar Chris Lovering2022-07-21-2/+2
| | | | | | | | | | | | | | | | Since snekbox uses 3.11 by default, it makes sense for this one to be started by default, and the 3.10 container to be opt-in.
| * | | Update snekbox tests to expect new outputGravatar Chris Lovering2022-07-21-11/+13
| | | |
| * | | Include what version of Python was used in snekbox output.Gravatar Chris Lovering2022-07-21-6/+6
| | | |
| * | | Use the view clear on timeout feature from bot-core in snekboxGravatar Chris Lovering2022-07-21-9/+7
|/ / / | | | | | | | | | This will mean the buttons will be cleared from the response on interaction timeout.
| | * fix(tags/print-return): use the raw GitHub URL for the GIFGravatar Siddhesh Mhadnak2022-07-17-1/+1
| | | | | | | | | | | | | | | As mentioned in the previous commit, using the raw GitHub URL would be more reliable than a Discord CDN URL.
| | * chore(tags/print-return): add the GIF to the repoGravatar Siddhesh Mhadnak2022-07-17-0/+0
| | | | | | | | | | | | | | | | | | | | | As discussed in https://discord.com/channels/267624335836053506/635950537262759947/998235482494353508, using the raw GitHub URL for the GIF would be more reliable than the Discord CDN URL.
| | * style(tags/print-return): set the `title` property instead of using bolded textGravatar Siddhesh Mhadnak2022-07-17-2/+1
| | |
| | * feat(tags): add print-return tagGravatar Siddhesh Mhadnak2022-07-17-0/+10
| |/ |/| | | | | | | | | Since we already create the tag embed from the `embed` object in the metadata, we already have the support to add images in embeds, albeit a bit more verbose than if we had added a `media` property in the metadata containing only the URL.
* | Merge pull request #2218 from python-discord/3.11-snekboxGravatar ChrisJL2022-07-16-161/+1364
|\ \
| * | Use interaction.defer for snekbox version switch buttonGravatar Chris Lovering2022-07-16-5/+11
| | | | | | | | | | | | | | | | | | This is so that we do not need to spawn the run_job call in a seperate task. This also wraps interaction.message.delete() in a NotFound suppress to cover the case where a user re-runs code and very quickly clicks the button. The log arg on send_job will stop the actual job from running in this case.
| * | Move snekbox lock error handling to a try/exceptGravatar Chris Lovering2022-07-16-2/+9
| | | | | | | | | | | | The cog_command_error isn't hit when the run_job function is called from the button interaction, this means if the lock error is raiseed, it doees not get handled.
| * | Infer the snekbox invoker from contextGravatar Chris Lovering2022-07-16-4/+3
| | | | | | | | | | | | Rather than passing around superfluous variables.
| * | Use generic views from bot0core for snekboxGravatar Chris Lovering2022-07-16-135/+1192
| | |