aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | Add voice_ban to supported types of the schedulerGravatar Sebastiaan Zeeff2020-11-26-1/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `voice_ban` infraction was not listed as a supported type for the infraction scheduler. This meant that the scheduler did not schedule the expiry of `voice_ban` infractions after a restart. Those unlucky users were voice-banned perpetually.
* | | | | | | | Add Mark as a code owner of CI and Docker filesGravatar Mark2020-11-24-0/+5
| | | | | | | |
* | | | | | | | Specify code ownership for MarkGravatar MarkKoz2020-11-24-0/+19
| | | | | | | |
* | | | | | | | Update CODEOWNERSGravatar Dennis Pham2020-11-24-2/+2
| | | | | | | |
| | * | | | | | Remove unused get_latest_infraction helper methodGravatar PureFunctor2020-11-30-14/+0
| | | | | | | |
| | * | | | | | Refactor flow for automatically adding punctuationGravatar PureFunctor2020-11-30-8/+5
| | | | | | | |
| | * | | | | | Fix unawaited coroutine in InfractionGravatar PureFunctor2020-11-30-1/+1
| | | | | | | |
| | * | | | | | Merge branch 'master' into pure/feature/infraction-appendGravatar Boris Muratov2020-11-10-2056/+3188
| | |\ \ \ \ \ \
| | * | | | | | | Automatically add periods as visual buffersGravatar PureFunctor2020-11-08-6/+13
| | | | | | | | |
| | * | | | | | | Refactor redundant code in infraction_editGravatar PureFunctor2020-11-08-5/+4
| | | | | | | | |
| | * | | | | | | Raise BadArgument in the Infraction converterGravatar PureFunctor2020-11-08-11/+4
| | | | | | | | |
| | * | | | | | | Remove unnecessary noqa pragma for flake8Gravatar PureFunctor2020-11-08-2/+2
| | | | | | | | |
| | * | | | | | | Refactor infraction_edit and infraction_appendGravatar PureFunctor2020-10-03-32/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactors the infraction_edit and infraction_append commands to utilize the Infraction converter.
| | * | | | | | | Add Infraction converterGravatar PureFunctor2020-10-03-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the Infraction converter to be used in infraction_edit and infraction_append.
| | * | | | | | | Invoke infraction_edit directly with method callGravatar PureFunctor2020-10-03-1/+1
| | | | | | | | |
| | * | | | | | | Add bold styling for vertical bar separatorsGravatar PureFunctor2020-10-01-1/+1
| | | | | | | | |
| | * | | | | | | Remove prefix when appending a reasonGravatar PureFunctor2020-09-27-1/+1
| | | | | | | | |
| | * | | | | | | Make vertical bar separators escapedGravatar PureFunctor2020-09-24-1/+1
| | | | | | | | |
| | * | | | | | | Add visual buffer for appended reasonGravatar PureFunctor2020-09-24-1/+1
| | | | | | | | |
| | * | | | | | | Add "a" alias for appendGravatar PureFunctor2020-09-24-1/+1
| | | | | | | | |
| | * | | | | | | Fix unawaited coroutineGravatar PureFunctor2020-09-24-2/+2
| | | | | | | | |
| | * | | | | | | Refactor routine for obtaining latest infractionGravatar PureFunctor2020-09-24-22/+14
| | | | | | | | |
| | * | | | | | | Add get_latest_infraction utility functionGravatar PureFunctor2020-09-24-0/+14
| | | | | | | | |
| | * | | | | | | Add append subcommand for infraction groupGravatar PureFunctor2020-09-24-0/+50
| | | | | | | | |
| | | | * | | | | Alphabetizes Channel OrderingGravatar Hassan Abouelela2020-11-28-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Fixes AlignmentGravatar Hassan Abouelela2020-11-28-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Renames Code Help ChannelGravatar Hassan Abouelela2020-11-28-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renames code_help_channel to be more inline with channel 2. Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Removes Non-Existent ChannelGravatar Hassan Abouelela2020-11-28-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | | | | Adds VoiceChannels and Related Chats to ConfigGravatar Hassan Abouelela2020-11-24-3/+17
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates config-default.yml to include voice channels, and the text chat channel they map to. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | Update CODEOWNERSGravatar Joe Banks2020-11-24-1/+2
| | | | | | | |
* | | | | | | | Update CODEOWNERSGravatar Joe Banks2020-11-24-1/+1
| | | | | | | |
* | | | | | | | Open deployment.yaml from kubernetes repositoryGravatar Sebastiaan Zeeff2020-11-23-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will now use the deployment information located in the private python-discord/kubernetes repository. The workflow will use a GitHub Personal Access Token to access this private repository. Signed-off-by: Sebastiaan Zeeff <[email protected]>
* | | | | | | | Narrow down repository events that trigger a buildGravatar Sebastiaan Zeeff2020-11-23-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've narrowed down repository events that trigger a Build to the "push" event specifically. This means that we never build for a "pull request" trigger, even if the source branch is called "master". Signed-off-by: Sebastiaan Zeeff <[email protected]>
* | | | | | | | Merge pull request #1204 from python-discord/superstar-fixGravatar Boris Muratov2020-11-21-49/+50
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Modify `!superstar` to use `apply_infraction`.
| * | | | | | | Empty commitGravatar mbaruh2020-11-21-0/+0
| | | | | | | |
| * | | | | | | Merge branch 'master' into superstar-fixGravatar Boris Muratov2020-11-21-1982/+3751
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #1287 from python-discord/help-channel-msgGravatar Boris Muratov2020-11-21-10/+25
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Updated available help channel embed
| * \ \ \ \ \ \ \ Merge branch 'master' into help-channel-msgGravatar Boris Muratov2020-11-21-371/+514
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1293 from ks129/emojis-filterGravatar Daniel Brown2020-11-20-26/+61
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | Include Unicode emojis to emojis filter
| * | | | | | | | Merge branch 'master' into emojis-filterGravatar Daniel Brown2020-11-20-345/+453
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Checkout code so we can deployGravatar Sebastiaan Zeeff2020-11-19-0/+9
| | | | | | | | |
* | | | | | | | | Merge pull request #1291 from python-discord/sebastiaan/backend/fix-deploy-stageGravatar Sebastiaan Zeeff2020-11-19-172/+36
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix the deploy stage of our build pipeline
| * | | | | | | | | Fix the deploy stage of our build pipelineGravatar Sebastiaan Zeeff2020-11-19-172/+36
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've fixed the deploy stage of our build pipeline, as it got mixed in with the old workflow file due to a merge conflict. The deploy stage is currently split into a separate workflow; theoretically, this allows us to trigger a redeploy from GitHub, without having to build the container image again. Signed-off-by: Sebastiaan Zeeff <[email protected]>
* | | | | | | | | Merge pull request #1286 from python-discord/kubernetes-deployGravatar Joe Banks2020-11-19-3/+195
|\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'master' into kubernetes-deployGravatar Leon Sandøy2020-11-19-286/+486
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1290 from ↵Gravatar Sebastiaan Zeeff2020-11-19-59/+80
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/sebastiaan/backend/improve-actions-workflow Ensure flake8 actually lints pull requests
| * | | | | | | | | | Add comment explaining buildx to workflowGravatar Sebastiaan Zeeff2020-11-19-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's better to document these steps. Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | | | | | | | Use GHCR image tags in PipfileGravatar Sebastiaan Zeeff2020-11-18-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | | | | | | | Update badges in README to new workflowsGravatar Sebastiaan Zeeff2020-11-18-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | | | | | | | Make sure we lint the actual pull requestGravatar Sebastiaan Zeeff2020-11-18-55/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, our old setup did not actually lint the PR, as it was running in the context of the target repository. To sidestep the issue of using `pull_request_target` altogether, I've now changed our run of flake8 to using it directly and having it output its errors in teh format of Workflow Commands. This means that our flake8 output will not be translated automatically in annotations for the run. In addition, I've split up the workflow into two separate files: one for linting & testing and one for building (& deploying). Signed-off-by: Sebastiaan Zeeff <[email protected]>