| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
| |
Introduce a way to store alternate accounts on the user, and add the
`PATCH /bot/users/<id:str>/alts` endpoint, which allows updating the
user's alt accounts to the alt accounts in the request..
|
|\ |
|
| |
| |
| | |
Co-authored-by: jchristgit <[email protected]>
|
| | |
|
|/
|
|
|
|
| |
Any RunPython operation that only migrated existing data (that is, did
not create data) can be safely elided by Django when we run
`squashmigrations`.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This makes sure that the value in the DB is always a valid JSON, ensuring the unique constraint will work properly.
|
| |
|
|
|
|
| |
Co-authored-by: Amrou <[email protected]>
|
|
|
|
| |
Co-authored-by: Amrou <[email protected]>
|
|\ |
|
| |\ |
|
| | | |
|
| | | |
|
| |/ |
|
| |
| |
| |
| | |
Co-authored-by: wookie184 <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| | |
The existing constraint was ineffective as null values were considered distinct, and so two filters with the same content and no overrides were considered different.
This change uses a new PSQL 15 feature unsupported in django currently, and so it is added with raw SQL.
|
|\| |
|
| |
| |
| |
| | |
This updates the migration as well
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This is in line with what already existed.
|
| |
| |
| |
| | |
This is to support auto-infractions reporting (bot 7fcec400)
|
| |
| |
| |
| | |
See e100ae9b on bot
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is necessary allow filters to define a blank message when the default is not blank.
Additionally allows bypass_roles to be empty like the other array fields
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Update outdated and broken dependencies.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
|
| |
| |
| |
| | |
A default is set for backwards compatibility with bot version that don't explicitly give a value.
|
| |
| |
| |
| | |
There needs to be a way to only enable a filter in a specific category, so this setting now fulfills that role. Disabled channels can be used to disable a filter in a specific channel within the category.
|
| |
| |
| |
| | |
This is done to match the values used on the bot.
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| | |
Since the util file has been deleted, these migrations were referencing a missing file
|
| |
| |
| |
| | |
These caused more harm than they were worth, as every time Discord updated a behaviour of an embed we would get errors and need ot update the validation. Instead we should just accept whatever discord gives us as correct
|
| |
| |
| |
| | |
We must add support for all B I G S O L I D U S. This is necessary.
|
| |
| |
| |
| |
| |
| | |
Following our move to use Redis as just a cache, this PR allows the site to store a list of threads that need to be bumped.
The bot will interact with this within the ThreadBumper cog.
|
| | |
|
| | |
|
| |
| |
| |
| | |
- Set the user reference to be a OneToOne relation, on tables: AocCompletionistBlock and AocAccountLink.
|