Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix newly added lint rules from new ruff versionforms | 2025-07-18 | -8/+54 | |
| | ||||
* | Remove discriminator from bot logs view (#1424) | 2024-11-23 | -1/+3 | |
| | | | | | When a user does not have a discriminator, do not display it anymore. Behaviour for users with discriminators (for historic infractions is unchanged). | |||
* | Rename `check` to `condition` | 2024-08-30 | -1/+1 | |
| | ||||
* | Add alternate accounts to the user model | 2024-05-23 | -3/+53 | |
| | | | | | 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.. | |||
* | Add display name to API user model | 2024-04-01 | -0/+5 | |
| | ||||
* | Ensure messages returned for metricity data do not match all excluded channels | 2024-02-20 | -3/+3 | |
| | ||||
* | Migrate mailing lists to their own API endpoints | 2023-12-17 | -0/+46 | |
| | | | | | | 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. | |||
* | Use the new datetime.UTC alias over datetime.timezone.utc | 2023-05-13 | -2/+2 | |
| | ||||
* | Fix psycopg3 compatibility in metricity | 2023-05-12 | -7/+8 | |
| | ||||
* | Add Django-specific rules for ruff | 2023-05-10 | -36/+36 | |
| | ||||
* | Switch to ruff for linting | 2023-05-10 | -14/+12 | |
| | ||||
* | Fix contents and descriptions being too long for their field type | 2023-04-06 | -3/+2 | |
| | ||||
* | Make additional_settings non-null with dict default | 2023-04-06 | -1/+1 | |
| | | | | This makes sure that the value in the DB is always a valid JSON, ensuring the unique constraint will work properly. | |||
* | Rename additional_field to additional_settings | 2023-03-26 | -1/+3 | |
| | ||||
* | Use consistent quoting style | 2023-03-25 | -2/+2 | |
| | | | | Co-authored-by: Johannes Christ <[email protected]> | |||
* | Documentation improvements and fixes | 2023-03-25 | -2/+3 | |
| | | | | Co-authored-by: Amrou <[email protected]> | |||
* | Merge branch 'main' into new-filter-schema | 2023-03-21 | -1/+10 | |
|\ | ||||
| * | Merge branch 'main' into mbaruh/timeout | 2023-03-20 | -0/+9 | |
| |\ | ||||
| | * | Replace CharField with URLField and set default to None | 2023-03-10 | -2/+3 | |
| | | | ||||
| | * | Add jump_url field to infraction model | 2023-02-17 | -0/+8 | |
| | | | ||||
| * | | Migrate infraction type `mute` to `timeout` | 2023-03-04 | -1/+1 | |
| |/ | ||||
* | | Fix documentation and import | 2023-02-11 | -3/+2 | |
| | | | | | | | | Co-authored-by: wookie184 <[email protected]> | |||
* | | Update viewsets, fix linting | 2023-01-28 | -3/+9 | |
| | | ||||
* | | Merge branch 'main' into new-filter-schema | 2023-01-27 | -0/+32 | |
|\| | ||||
| * | Merge branch 'main' into 2304-link-previous-nomination-threads | 2022-12-29 | -0/+28 | |
| |\ | ||||
| | * | Change the endpoint to be a POST not a GET | 2022-11-02 | -1/+1 | |
| | | | ||||
| | * | Add metricity query for messages in past n days | 2022-10-27 | -0/+28 | |
| | | | | | | | | | | | | Takes multiple users for efficiency as we may want to calculate this for many users at once. | |||
| * | | remove useless blank constraint | 2022-11-12 | -1/+0 | |
| | | | | | | | | | | | | This updates the migration as well | |||
| * | | push forgotten model update | 2022-11-07 | -1/+1 | |
| | | | ||||
| * | | add thread_id column to the nomination table | 2022-11-06 | -0/+5 | |
| |/ | ||||
* | | Update tests | 2023-01-27 | -1/+0 | |
| | | ||||
* | | Rename delete_messages to the more generic remove_context | 2022-11-09 | -4/+4 | |
| | | ||||
* | | Add creation and update timestamps to filtering models | 2022-11-05 | -3/+4 | |
| | | | | | | | | This is to support auto-infractions reporting (bot 7fcec400) | |||
* | | Stop using None as a valid setting value | 2022-11-04 | -25/+59 | |
| | | | | | | | | See e100ae9b on bot | |||
* | | Allow char fields to be blank | 2022-10-10 | -1/+4 | |
| | | | | | | | | | | | | 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 | |||
* | | Add infraction channel setting | 2022-10-08 | -0/+11 | |
| | | ||||
* | | Merge branch 'main' into new-filter-schema | 2022-10-07 | -6/+11 | |
|\| | ||||
| * | Bump To Django 4.1.1 & Update Dependencies | 2022-09-30 | -6/+5 | |
| | | | | | | | | | | | | Update outdated and broken dependencies. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Add a field to track the time an infraction was last applied | 2022-07-27 | -0/+6 | |
| | | | | | | | | A default is set for backwards compatibility with bot version that don't explicitly give a value. | |||
* | | Bring back enabled categories | 2022-10-01 | -5/+9 | |
| | | | | | | | | 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. | |||
* | | Convert the infraction choices to uppercase | 2022-09-30 | -1/+1 | |
| | | | | | | | | This is done to match the values used on the bot. | |||
* | | Use the new models.JSONField | 2022-09-27 | -2/+2 | |
| | | ||||
* | | Add voice mute to infraction choices | 2022-09-27 | -1/+1 | |
| | | ||||
* | | Merge branch 'main' into new-filter-schema | 2022-07-15 | -179/+81 | |
|\| | ||||
| * | Remove embed validators for deleted messages | 2022-06-30 | -176/+1 | |
| | | | | | | | | 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 | |||
| * | Add support for BIG SOLIDUS unicode characters for off topic names | 2022-04-21 | -1/+1 | |
| | | | | | | | | We must add support for all B I G S O L I D U S. This is necessary. | |||
| * | Add support for BumpedThreads to be stored in site | 2022-03-16 | -0/+24 | |
| | | | | | | | | | | | | 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. | |||
| * | Move FilterList imports down so they're sorted | 2022-03-16 | -2/+2 | |
| | | ||||
| * | Patch AoC tables to use the Discord user as PK. | 2022-03-09 | -2/+4 | |
| | | ||||
| * | Add reason field to AoC completionist block table | 2022-03-09 | -0/+4 | |
| | |