| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Thanks to lemon for editting all the images.
Co-authored-by: Leon Sandøy <[email protected]>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...which are unreadable in dark mode, use `has-dark-mode-background`
class.
{: class="has-dark-mode-background" }
Like this. And it will be given a nice light gray background and a
subtle padding & border.
|
| | | |
|
| | | |
|
| | | |
|
| | |\ |
|
| | |\ \
| | | | |
| | | | |
| | | | | |
hopefully I dont have to do this again
|
| | | | | |
|
| | |_|/
| |/| | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Prefetch user and actor in expanded infraction view
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Prevent N+1 reported by Sentry:
https://python-discord.sentry.io/issues/4721126467/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=3
|
| |\ \ \ \
| | | | | |
| | | | | | |
Prevent loading related object when updating tags
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
We can simply save by the ID here, we do not need any other data from
the related object.
|
| |/ / /
| | | |
| | | |
| | | | |
See https://python-discord.sentry.io/issues/4721508176/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=1
|
| | |/
| |/|
| | |
| | | |
Sentry is sending an N+1 query alert because of the way we were inserting messages (one by one)
|
|/ /
| |
| |
| |
| |
| | |
Add a new model for the bot to store its mailing list state in, as
opposed to the current JSON blob in the BotSetting table. Migrate the
existing settings from the BotSetting table into the new model.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Additionally, implement frozen fields on the offensive message
serializer.
|
| |
| |
| |
| |
| |
| |
| | |
Allow changing the deletion date of offensive message records in case
the bot encounters an error during deletion attempts.
Fixes #364.
Unblocks python-discord/bot#1013.
|
| |
| |
| |
| |
| |
| | |
Allow people to figure out our repository structure easily after settnig
up the project.
Part of #673.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current github-filter worker, found at
https://github.com/python-discord/workers/blob/main/github-filter/src/index.ts,
fails to work at present because Discord's webhook endpoints block
Cloudflare's IP ranges from accessing this endpoint. Whilst they use
Cloudflare to guard themselves, it seems they do not wish others to use
it.
Implement it on the site to circumvent IP restrictions and allow to
modify the code in Python.
|
| |
| |
| | |
ref: https://discord.com/channels/267624335836053506/429409067623251969/1182407804787626047
|
| | |
|
| |
| |
| |
| |
| | |
Include a note to update the contributor guide in the Dockerfile
instruction pinning the Python version as well.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Links have been removed as part of #681.
Closes #680.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This redirect filter list does not have any filters, nor does it have a bot implementation.
It is something that we were working on, but has been stalled for a while.
The presence of this filter list also causes the bot to warn on startup due to it finding a filter list with no implementation.
This commit removes the FilterList, which can be added back if/when we support this filter type in bot.
|
| | |
|
| |
| |
| |
| | |
Closes #677.
|
| | |
|
|\ \ |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Related to #1044.
Co-authored-by: Xithrius <[email protected]>
|
| | |\ \ |
|
| | | | |
| | | | |
| | | | | |
Fix a typo in bot.md file. Correct the typo "psotgres" to "postgres".
|
| | |/ /
| | | |
| | | |
| | | | |
Closes #1053
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
Let's stick to the standard scheme - otherwise we might as well just
have a single models file.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add test for duplicate links
* Remove duplicated links
Closes #1022.
Closes #1023.
Closes #1024.
|
| |
| |
| | |
Closes #1020.
|