aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into extract-metabase-dataGravatar Joe Banks2021-05-13-2/+26
|\
| * Merge pull request #1584 from Numerlor/docker-overrideGravatar Dennis Pham2021-05-12-0/+1
| |\ | | | | | | Add docker-compose.override.yml to gitignore
| | * Merge branch 'main' into docker-overrideGravatar Dennis Pham2021-05-12-2/+25
| | |\ | | |/ | |/|
| * | Updates YTDL Tag (#1583)Gravatar Hassan Abouelela2021-05-11-1/+1
| | | | | | | | | | | | | | | | | | | | | * Updates YTDL Tag Updates the tag to include similar tools, and adds an open-ended descriptor. Co-authored-by: ChrisJL <[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.
| | * Add docker-compose.override.yml to gitignoreGravatar Numerlor2021-05-12-0/+1
| |/
* | Merge branch 'main' into extract-metabase-dataGravatar ChrisJL2021-05-09-381/+16
|\|
| * 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
| | |\ | | |/ | |/|
| | * Remove unused function.Gravatar rohan2021-05-10-16/+0
| | |
| | * Remove unused redddit emojis.Gravatar rohan2021-05-04-9/+0
| | |
| | * Remove reddit references.Gravatar Rohan2021-04-28-47/+1
| | |
| | * Delete reddit cog.Gravatar Rohan2021-04-20-308/+0
| | |
* | | Move a long comment in Metabse cog into the func doc stringGravatar Chris2021-05-09-5/+8
| | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
* | | Type hint the Metabase cog!Gravatar Chris2021-05-09-3/+4
| | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
* | | Revert changes to int eGravatar Chris2021-05-09-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reverts the changes to int e, by giving the invoker instructions on how to access the export via int e. This means the metabase exports are not inserted to every int e envrionment. I have also added a seperate message in this commit to handle when the paste service is offline.
* | | Pass raise_for_status as a kwarg for better readibilityGravatar Chris2021-05-09-28/+26
| | | | | | | | | | | | | | | This means the handling of the response comes directly after the context manager rather than having to handle errors.
* | | Use allowed strings converter in Metabase cogGravatar Chris2021-05-09-7/+8
| | | | | | | | | | | | | | | | | | This removes the need to manually validate user input. Co-authored-by: Numerlor <[email protected]>
* | | Remove unneeded context manager in Metabase cog Gravatar ChrisJL2021-05-09-2/+1
| | | | | | | | | | | | | | | StringIO as it has no underlying connections, so a context manager is not needed Co-authored-by: Numerlor <[email protected]>
* | | Update warn to warning, due to deprecation Gravatar ChrisJL2021-05-09-2/+2
| | | | | | | | | | | | | | | This commit also includes a minor docstring change Co-authored-by: Numerlor <[email protected]>
* | | Fix minor grammer issues with metabase commentsGravatar Chris2021-05-09-4/+5
| | |
* | | Add comment to int e for context with Metabase loadingGravatar Chris2021-05-09-0/+1
| | |
* | | Save query outputs to the internal eval environment for ease of accessGravatar Chris2021-05-09-1/+18
| | |
* | | 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`.