aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix infraction rescheduler breaking with more than 100 in flight reactionsGravatar Bast2021-05-22-4/+25
| | | | | Make sure to only fetch infractions to reschedule by filtering by type and permanent status. We don't reschedule permanents as they will never be automatically expired, so they're a waste and clog to filter out manually. There is a PR for `site` to add the requisite filters (`types` and `permanent`). We also only reschedule the soonest-expiring infractions, waiting until we've processed all of them before fetching the next batch by ordering them by expiration time.
* Merge pull request #1593 from python-discord/flake-8-isn't-a-taskGravatar Hassan Abouelela2021-05-17-1/+1
|\ | | | | Fix pre-commit, since flake8 isn't a task
| * Fix pre-commit, since flake8 isn't a taskGravatar Chris2021-05-17-1/+1
|/
* Merge pull request #1558 from doublevcodes/mainGravatar ChrisJL2021-05-16-0/+28
|\ | | | | Added blocking tag
| * Merge branch 'main' into mainGravatar ChrisJL2021-05-16-1549/+2249
| |\ | |/ |/|
* | Merge pull request #1590 from python-discord/incident-emojisGravatar ChrisJL2021-05-16-3/+3
|\ \ | | | | | | Constants: use in-server emojis for incident
| * | Constants: use in-server emojis for incidentGravatar Matteo Bertucci2021-05-16-3/+3
|/ / | | | | The default config is currently referencing the emoji server versions, making it unable to work with the nomination archive automation
* | Merge pull request #1549 from python-discord/nomination-archive-automationGravatar ChrisJL2021-05-16-20/+164
|\ \ | | | | | | Nomination archive automation
| * \ Merge branch 'main' into nomination-archive-automationGravatar ChrisJL2021-05-16-1537/+2963
| |\ \ | |/ / |/| |
* | | Merge pull request #1589 from python-discord/fix-dockerfileGravatar ChrisJL2021-05-16-1/+1
|\ \ \ | | | | | | | | Hotfix: Fixes Dependency Install Flag In Dockerfile
| * | | Fixes Dependency Install Flag In DockerfileGravatar Hassan Abouelela2021-05-16-1/+1
|/ / / | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | | Merge pull request #1582 from python-discord/39-poetryGravatar Hassan Abouelela2021-05-16-1084/+1650
|\ \ \ | | | | | | | | Upgrade To 3.9 and Poetry
| * \ \ Merge branch 'main' into 39-poetryGravatar Hassan Abouelela2021-05-16-1/+200
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1573 from python-discord/extract-metabase-dataGravatar Joe Banks2021-05-13-0/+198
|\ \ \ \
| * | | | Delete reddit cog constantsGravatar Chris2021-05-13-15/+0
| | | | | | | | | | | | | | | | | | | | These were added back accidentaly as part of a merge conflict.
| * | | | 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]>
| * | | | | Add docker-compose.override.yml to gitignoreGravatar Numerlor2021-05-12-0/+1
| | | | | |
| | * | | | Merge branch 'main' into extract-metabase-dataGravatar ChrisJL2021-05-09-381/+16
| | |\ \ \ \ | | |/ / / / | |/| | | |
| | * | | | 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
| | | | | |
| | | * | | 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]>