Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | remove defaults column | 2023-05-07 | -17/+17 | |
| | | | | fix sir lancebot pg env var name | |||
* | update all env var names | 2023-05-06 | -62/+52 | |
| | ||||
* | Update rule 5 (#942) | 2023-04-16 | -1/+1 | |
| | | | "may break laws, breach terms of services, or are malicious or inappropriate." -> "may violate terms of service, or that may be deemed inappropriate, malicious, or illegal." | |||
* | Add README to the resources app (#934) | 2023-04-14 | -6/+34 | |
| | ||||
* | Merge branch 'main' into config-scaffolding-guide | 2023-04-07 | -664/+2430 | |
|\ | ||||
| * | Fix contents and descriptions being too long for their field type | 2023-04-06 | -5/+4 | |
| | | ||||
| * | Merge pull request #861 from python-discord/new-filter-schema | 2023-04-06 | -274/+1774 | |
| |\ | | | | | | | New Filtering System | |||
| | * | Make additional_settings non-null with dict default | 2023-04-06 | -4/+5 | |
| | | | | | | | | | | | | This makes sure that the value in the DB is always a valid JSON, ensuring the unique constraint will work properly. | |||
| | * | Add maximum auto-timeout duration validation | 2023-04-05 | -6/+27 | |
| | | | ||||
| | * | Rename additional_field to additional_settings | 2023-03-26 | -18/+21 | |
| | | | ||||
| | * | Use consistent quoting style | 2023-03-25 | -36/+36 | |
| | | | | | | | | | | | | Co-authored-by: Johannes Christ <[email protected]> | |||
| | * | Specify the common elements in the validation errors | 2023-03-25 | -12/+22 | |
| | | | | | | | | | | | | Co-authored-by: Amrou <[email protected]> | |||
| | * | Merge the extra kwargs creation functions | 2023-03-25 | -18/+5 | |
| | | | | | | | | | | | | Co-authored-by: Amrou <[email protected]> | |||
| | * | Documentation improvements and fixes | 2023-03-25 | -5/+6 | |
| | | | | | | | | | | | | Co-authored-by: Amrou <[email protected]> | |||
| | * | Make the unique constraint reversible | 2023-03-25 | -0/+1 | |
| | | | | | | | | | | | | Co-authored-by: Amrou <[email protected]> | |||
| | * | Merge branch 'main' into new-filter-schema | 2023-03-21 | -352/+402 | |
| | |\ | ||||
| | * | | Fix filter serializers for false-y values | 2023-02-11 | -1/+1 | |
| | | | | | | | | | | | | | | | | Co-authored-by: GDWR <[email protected]> | |||
| | * | | Fix documentation and import | 2023-02-11 | -9/+8 | |
| | | | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]> | |||
| | * | | Update viewsets, fix linting | 2023-01-28 | -192/+428 | |
| | | | | ||||
| | * | | Make filter unique constraint use NULLS NOT DISTINCT | 2023-01-28 | -26/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||
| | * | | Merge branch 'main' into new-filter-schema | 2023-01-27 | -175/+2546 | |
| | |\ \ | ||||
| | * | | | Update tests | 2023-01-27 | -143/+170 | |
| | | | | | ||||
| | * | | | Fix filter serializers validation to account for filterlist settings | 2023-01-27 | -20/+20 | |
| | | | | | ||||
| | * | | | Rename delete_messages to the more generic remove_context | 2022-11-09 | -26/+26 | |
| | | | | | ||||
| | * | | | Disable everyone filter in code jam categories | 2022-11-07 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | This is in line with what already existed. | |||
| | * | | | Add creation and update timestamps to filtering models | 2022-11-05 | -7/+14 | |
| | | | | | | | | | | | | | | | | | | | | This is to support auto-infractions reporting (bot 7fcec400) | |||
| | * | | | Stop using None as a valid setting value | 2022-11-04 | -57/+82 | |
| | | | | | | | | | | | | | | | | | | | | See e100ae9b on bot | |||
| | * | | | Add antispam list in migrations | 2022-11-01 | -0/+52 | |
| | | | | | ||||
| | * | | | Add uniques filter list to migrations | 2022-10-27 | -0/+101 | |
| | | | | | ||||
| | * | | | Refactors filters serialier | 2022-10-18 | -81/+89 | |
| | | | | | ||||
| | * | | | Allow char fields to be blank | 2022-10-10 | -8/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||
| | * | | | Allow ping arrays to be empty | 2022-10-08 | -0/+4 | |
| | | | | | ||||
| | * | | | Fix categories validation | 2022-10-08 | -1/+4 | |
| | | | | | ||||
| | * | | | Add infraction channel setting | 2022-10-08 | -1/+22 | |
| | | | | | ||||
| | * | | | Properly add dm_embed to serializers | 2022-10-07 | -0/+1 | |
| | | | | | ||||
| | * | | | Merge branch 'main' into new-filter-schema | 2022-10-07 | -127/+754 | |
| | |\ \ \ | ||||
| | * | | | | Bring back enabled categories | 2022-10-01 | -7/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||
| | * | | | | Fix send_alert not being added correctly in serializers | 2022-09-30 | -0/+1 | |
| | | | | | | ||||
| | * | | | | Convert the infraction choices to uppercase | 2022-09-30 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This is done to match the values used on the bot. | |||
| | * | | | | Use the new models.JSONField | 2022-09-27 | -3/+3 | |
| | | | | | | ||||
| | * | | | | Add voice mute to infraction choices | 2022-09-27 | -3/+3 | |
| | | | | | | ||||
| | * | | | | Merge branch 'main' into new-filter-schema | 2022-07-15 | -2531/+5078 | |
| | |\ \ \ \ | ||||
| | * | | | | | Add UniqueConstraint to the Filter model | 2022-03-22 | -1/+63 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The UniqueConstraint includes every field, except for id and description. | |||
| | * | | | | | Sync Filter models with relating migrations, adjust code consistency | 2022-03-12 | -20/+39 | |
| | | | | | | | ||||
| | * | | | | | Remove role validation | 2022-03-10 | -49/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Roles can be either IDs or names, so the current validation is not relevant anymore. Furthermore the ping fields can accept user IDs or names. | |||
| | * | | | | | Change ping fields names | 2022-03-09 | -15/+15 | |
| | | | | | | | ||||
| | * | | | | | Refine DM content for domains | 2022-03-01 | -1/+1 | |
| | | | | | | | ||||
| | * | | | | | Add invites denylist to the migration | 2022-02-26 | -3/+3 | |
| | | | | | | | ||||
| | * | | | | | Create placeholder value for dm embed content in ext list | 2022-02-24 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some value is needed to signal the bot a message should be sent for a blocked extension. The value itself will be changed at runtime, but this allows avoiding the bot code delving into the exact API response format. | |||
| | * | | | | | Extensions list is ALLOW, not DENY | 2022-02-23 | -1/+1 | |
| | | | | | | |