aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | 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
| | | | | |
| | | * | | Updates Dependency Manager Files In CODEOWNERSGravatar Hassan Abouelela2021-05-11-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates Pipfile and pipenv lock file to poetry equivalents in CODEOWNERS. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Updates Usages Of Pipenv To PoetryGravatar Hassan Abouelela2021-05-11-31/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the Dockerfile, pre-commit, CI, and documentation to reflect the new dependency manager. Dockerfile is also updated to 3.9. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Adds Python-DotenvGravatar Hassan Abouelela2021-05-11-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds python dotenv to emulate the default .env file loading behavior from pipenv. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | Switches To Poetry And Python 3.9Gravatar Hassan Abouelela2021-05-11-1052/+1620
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrates package manager to poetry, and updates python version to 3.9. Some packages are updated where needed. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | Merge pull request #1577 from python-discord/snippet-add-two-dots-supportGravatar Xithrius2021-05-10-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Code snippet: support the two dots syntax
| * \ \ \ \ Merge branch 'main' into snippet-add-two-dots-supportGravatar Xithrius2021-05-10-0/+23
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1579 from python-discord/vcokltfre/tag/dotenvGravatar Matteo Bertucci2021-05-10-0/+23
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | feat: add dotenv tag
| * | | | | chore: add pypi link for python-dotenvGravatar vcokltfre2021-05-10-1/+1
| | | | | |
| * | | | | feat: add dotenv tagGravatar vcokltfre2021-05-10-0/+23
|/ / / / /
| * / / / Code snippet: support the two dots syntaxGravatar Matteo Bertucci2021-05-10-1/+1
|/ / / / | | | | | | | | Lines can be highlighted in GitHub using the `L00..L42` syntax, currently not supported by the regex. This commits adds it.
* | | | Merge pull request #1542 from RohanJnr/annihilate_redditGravatar Xithrius2021-05-09-393/+0
|\ \ \ \ | | | | | | | | | | Annihilate reddit cog
| * \ \ \ Merge branch 'main' into annihilate_redditGravatar Xithrius2021-05-09-3/+12
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1574 from python-discord/ping-bugsGravatar Xithrius2021-05-09-3/+12
|\ \ \ \ \ | |_|/ / / |/| | | | Fix Ping Bugs On Localhost
| * | | | Adds Warning For Permission Error In PingGravatar Hassan Abouelela2021-05-09-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly affects linux machines not running as root. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | Adds Warning For Desynced Clock In Ping CommandGravatar Hassan Abouelela2021-05-09-1/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | Fixes Site Ping On LocalhostGravatar Hassan Abouelela2021-05-09-1/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Improves parsing of site URL, so the ping command works locally and in prod. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Remove test for un-available function.Gravatar rohan2021-05-10-13/+0
| | | |
| * | | Make linter happy for life.Gravatar rohan2021-05-10-1/+0
| | | |
| * | | Merge main and resolve conflicts.Gravatar rohan2021-05-10-72/+1235
| |\ \ \ | |/ / / |/| | |
* | | | 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
| | | | | | | | | |