aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Remove metabase redaction of link used while testingGravatar Chris2021-05-09-2/+0
|
* Add new cog for extracting data from metabaseGravatar Chris2021-05-08-0/+160
| | | | | | | | | | | Metabase generates report from site and metricity data. Quite often we export these reports to csv, transform them and the pipe into an int e. This cog aims to reduce the time taken for that, by giving admins the ability to export data from a report directly into a hastebin. The auth flow is cached, as the login endpoint is ratelimitted. We want to ensure that we use a valid session token until it expires to reduce the number of calls to this endpoint.
* Add constants for Metabase cogGravatar Chris2021-05-08-0/+15
|
* Merge pull request #1564 from Shivansh-007/enhancement/banGravatar Xithrius2021-05-07-13/+34
|\ | | | | Allow `!ban`, `!vban`, and `!pban` to take a duration
| * Merge branch 'main' into enhancement/banGravatar Xithrius2021-05-07-17/+100
| |\ | |/ |/|
* | Merge pull request #1572 from Qwerty-133/message_editGravatar Joe Banks2021-05-07-1/+3
|\ \ | | | | | | Escape markdown in the edited message contents before getting their diff.
| * \ Merge branch 'main' into message_editGravatar Joe Banks2021-05-07-3/+3
| |\ \ | |/ / |/| |
* | | Merge pull request #1571 from Qwerty-133/extensionGravatar Joe Banks2021-05-07-3/+3
|\ \ \ | | | | | | | | Add a newline character in code-blocks to ensure content isn't interpreted as the language.
| * | | add a newline after backticks in code-blocksGravatar Qwerty-1332021-05-08-3/+3
|/ / /
| * / escape markdown in edited message contentsGravatar Qwerty-1332021-05-07-1/+3
|/ /
* | Merge pull request #1430 from laundmo/laundmo-compose-restart-logGravatar Dennis Pham2021-05-07-0/+20
|\ \ | | | | | | Add logging and restart config to docker compose
| * \ Merge branch 'main' into laundmo-compose-restart-logGravatar Dennis Pham2021-05-07-13/+74
| |\ \ | |/ / |/| |
* | | Merge pull request #1569 from ↵Gravatar Hassan Abouelela2021-05-06-4/+8
|\ \ \ | | | | | | | | | | | | | | | | python-discord/sebastiaan/prevent-accidental-addition-talentpool-cache Prevent accidental addition of users to talentpool cache when using `!talentpool get_review`
| * | | Prevent accidental addition of users to talentpoolGravatar Sebastiaan Zeeff2021-05-06-4/+8
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: When asking for a review for a user that isn't currently nominated using the `!talentpool get_review <userid>` command, the user is added to the talentpool `watched_users` cache, causing their messages to be relayed to the talentpool watch channel. Steps to reproduce: Use `!talentpool get_review <user_id>`, where `<user_id>` is the ID of a user not currently nominated. The command will correctly reply that the user isn't nominated, but their ID will be added as a key to the defaultdict nonetheless. Solution: replace all regular getitem usages with `.get(<user_id>)`, as the Reviewer should never insert IDs using the regular defaultdict path. Additional note: I've replaced all occurrences of regular getitem access into the defaultdict, even those that are normally not reachable with the id of a user that's currently not nominated, to prevent a future refactor from accidentally introducing this bug again.
* | | Merge pull request #1561 from dawnofmidnight/patch-1Gravatar Matteo Bertucci2021-05-05-0/+7
|\ \ \ | | | | | | | | Add New Celebrities to `!superstarify`.
| * \ \ Merge branch 'main' into patch-1Gravatar ChrisJL2021-05-05-6/+32
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1531 from ToxicKidz/eval-redirect-outputGravatar ChrisJL2021-05-05-6/+32
|\ \ \ \ | | | | | | | | | | Redirect output to bot-commands channel for the !eval command
| * \ \ \ Merge branch 'main' into eval-redirect-outputGravatar ChrisJL2021-05-05-54/+1183
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Merge branch 'eval-redirect-output' of https://github.com/ToxicKidz/bot into ↵Gravatar ToxicKidz2021-05-05-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | eval-redirect-output
| | * | | | fix: Add a missing return statementGravatar ToxicKidz2021-04-22-0/+1
| | | | | |
| * | | | | chore: Don't send a message when redirecting eval output which would ping ↵Gravatar ToxicKidz2021-05-05-3/+9
| |/ / / / | | | | | | | | | | | | | | | users twice
| * | | | chore: Redirect output to bot-commands channel for the eval commandGravatar ToxicKidz2021-04-17-5/+24
| | | | |
| | * | | Merge branch 'main' into patch-1Gravatar Matteo Bertucci2021-05-05-3/+27
| | |\ \ \ | |_|/ / / |/| | | |
* | | | | Merge pull request #1441 from asleep-cult/masterGravatar ChrisJL2021-05-05-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Unescape html escape characters in reddit text and titles
| * \ \ \ \ Merge branch 'main' into masterGravatar ChrisJL2021-05-05-2596/+5693
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1517 from python-discord/is-vs-==Gravatar Matteo Bertucci2021-05-05-0/+24
|\ \ \ \ \ \ | | | | | | | | | | | | | | Create identity.md
| * \ \ \ \ \ Merge branch 'main' into is-vs-==Gravatar Matteo Bertucci2021-05-05-881/+2915
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | fix: make requested changesGravatar vcokltfre2021-05-05-10/+10
| | | | | | |
| * | | | | | fix: remove the newlineGravatar vcokltfre2021-05-05-1/+0
| | | | | | |
| * | | | | | Create identity.mdGravatar SavagePastaMan2021-04-12-0/+25
| | | | | | | | | | | | | | | | | | | | | Tag to demonstrate the difference between `is` and `==`.
| | * | | | | Resolved issuesGravatar asleep-cult2021-04-15-4/+2
| | | | | | |
| | * | | | | Import unescape directlyGravatar asleep-cult2021-03-01-3/+3
| | | | | | |
| | * | | | | Fix import orderGravatar asleep-cult2021-03-01-1/+1
| | | | | | |
| | * | | | | Fix pre-commit issuesGravatar asleep-cult2021-03-01-1/+1
| | | | | | |
| | * | | | | Make flake8 happyGravatar asleep-cult2021-03-01-1/+1
| | | | | | |
| | * | | | | Unescape html escape characters in reddit text and titlesGravatar asleep-cult2021-03-01-2/+4
| | | | | | |
| | | | * | | Add more celebrities to stars.jsonGravatar DawnOfMidnight2021-05-04-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Celebrities: - The Weeknd - Ringo Starr - John Lennon - Guido Van Rossum - George Harrison - Darude
| | | | * | | Update stars.jsonGravatar DawnOfMidnight2021-05-04-0/+1
| |_|_|/ / / |/| | | | |
| | | | * | Merge branch 'main' into laundmo-compose-restart-logGravatar laundmo2021-05-04-2679/+5828
| | | | |\ \ | |_|_|_|/ / |/| | | | |
| | | | * | Update docker-compose.ymlGravatar laundmo2021-02-23-0/+20
| | | | | |
| | | | | * Missed out removing one argument from pbanGravatar Shivansh-0072021-05-07-1/+1
| | | | | |
| | | | | * Apply request grammar changes.Gravatar Shivansh-0072021-05-07-4/+4
| | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| | | | | * (infractions): Modify voice ban tests according to new changes in 3272605Gravatar Shivansh2021-05-07-2/+2
| | | | | |
| | | | | * (infractions): Apply temporary voice ban if duration specified by while ↵Gravatar Shivansh2021-05-07-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | voice banning user
| | | | | * (infractions): Remove purge days & add duration argument for pbanGravatar Shivansh2021-05-07-5/+4
| | | | | |
| | | | | * (infractions): Apply tempban if duration is specified while banning a userGravatar Shivansh2021-05-05-3/+14
| |_|_|_|/ |/| | | |
* | | | | Merge pull request #1520 from python-discord/str-join-tagGravatar Boris Muratov2021-05-04-0/+28
|\ \ \ \ \ | | | | | | | | | | | | Create str-join.md
| * \ \ \ \ Merge branch 'main' into str-join-tagGravatar Boris Muratov2021-05-04-881/+2887
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1556 from ToxicKidz/mod-ping-off-embed-timestampGravatar Matteo Bertucci2021-05-01-3/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | feat: Use embed timestamp in modpings off
| * \ \ \ \ \ Merge branch 'main' into mod-ping-off-embed-timestampGravatar ToxicKidz2021-05-01-19/+37
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |