|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| |\  
| | 
| | 
| | | Stelercus/close_command | 
| | |\  
| | | 
| | | 
| | | 
| | | | python-discord/sebastiaan/bugs/add-voiceban-to-scheduler-types
Add voice_ban to supported types of the infraction scheduler | 
| | |/  
| |   
| |   
| |   
| |   
| | | 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. | 
| | | 
| | 
| | 
| | | Deleted expensive logging operation; moved cooldown role removal functionality to new `unclaim_channel` method; handle possibility that claimant has left the guild; optimized redis cache iteration with `any` | 
| |\| 
| | 
| | 
| | | Stelercus/close_command | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | 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]> | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | 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]> | 
| | |\  
| | | 
| | | | Modify `!superstar` to use `apply_infraction`. | 
| | | | |  | 
| | | |\  
| | |/  
| |/| |  | 
| | |\ \  
| | | | 
| | | | | Updated available help channel embed | 
| | | |\ \  
| | |/ /  
| |/| | |  | 
| | |\ \ \  
| | | | | 
| | | | | | Include Unicode emojis to emojis filter | 
| | | |\ \ \  
| | |/ / /  
| |/| | | |  | 
| | | | | | |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | Instead detecting only custom emojis, rule now catch too Unicode emojis.
This converts Unicode emojis to :emoji: format and count them. | 
| | | | | | |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | - This removes a duplicate checkmark from the title of the embed
- The checkmark was left from the previous title system and wasn't removed in the change | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | - This changes "we'll try to help you" to say "others will try to help you"
- Clarifies that the rest of the community is going to help — not some dedicated help/staff team | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | - This replaces "one" with "any"
- This is supposed to read better | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | - Allows the icon to be centered | 
| | | | | | |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | - Adds a footer and title
- Uses a green colored embed
- Updates message to be easier to read and contain practical info for asking better questions | 
| | | |/ /  
| | | |   
| | | |   
| | | | | - The color is used in the new help channel embed | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | | The `Optional` typehint suggests allowing None as a value, which does not
make sense as a message in the logs. | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | The reason override for the user message should be set to the infraction
reason *if* the override is None, not if it isn't.
The parameter is also renamed to `user_reason` for better clarity. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Using `apply_infraction` from `InfractionScheduler` rather than doing it
manually allows us to handle HTTP errors while reducing code
duplication.
Specifically, discord.Forbidden is handled when the bot tries to
superstar someone they do not have permissions to.
Resolves BOT-5Q. | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | fixed so role is removed when the channel times out | 
| |/ / /  
| | |   
| | |   
| | | | someone else; flattened `close_command` | 
| | | | |  | 
| |\ \ \  
| | | | 
| | | | | Fix the deploy stage of our build pipeline | 
| |/ / /  
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | | | 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]> | 
| |\ \ \ |  | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| |\ \ \ \  
| | | | | 
| | | | | 
| | | | | 
| | | | | | python-discord/sebastiaan/backend/improve-actions-workflow
Ensure flake8 actually lints pull requests | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | It's better to document these steps.
Signed-off-by: Sebastiaan Zeeff <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | Signed-off-by: Sebastiaan Zeeff <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | Signed-off-by: Sebastiaan Zeeff <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | 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]> | 
| |/ / / /  
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | |   
| | | | | We're in the process of migrating snekbox to the GitHub Container
Repository, which will replace DockerHub. I've changed docker-compose to
reflect that change.
Signed-off-by: Sebastiaan Zeeff <[email protected]> | 
| |\ \ \ \  
| |_|/ /  
|/| | | |  | 
| | |\ \ \  
| |/ / /  
|/| | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | | It was causing an error if a DSN was not configured. It also feels wrong
and confusing to attempt to make a connection just upon import. |