aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* remove defaults columnGravatar shtlrs2023-05-07-17/+17
| | | | fix sir lancebot pg env var name
* update all env var namesGravatar shtlrs2023-05-06-62/+52
|
* Update rule 5 (#942)Gravatar Steele Farnsworth2023-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)Gravatar Johannes Christ2023-04-14-6/+34
|
* Merge branch 'main' into config-scaffolding-guideGravatar Boris Muratov2023-04-07-664/+2430
|\
| * Fix contents and descriptions being too long for their field typeGravatar Boris Muratov2023-04-06-5/+4
| |
| * Merge pull request #861 from python-discord/new-filter-schemaGravatar Boris Muratov2023-04-06-274/+1774
| |\ | | | | | | New Filtering System
| | * Make additional_settings non-null with dict defaultGravatar Boris Muratov2023-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 validationGravatar Boris Muratov2023-04-05-6/+27
| | |
| | * Rename additional_field to additional_settingsGravatar mbaruh2023-03-26-18/+21
| | |
| | * Use consistent quoting styleGravatar mbaruh2023-03-25-36/+36
| | | | | | | | | | | | Co-authored-by: Johannes Christ <[email protected]>
| | * Specify the common elements in the validation errorsGravatar mbaruh2023-03-25-12/+22
| | | | | | | | | | | | Co-authored-by: Amrou <[email protected]>
| | * Merge the extra kwargs creation functionsGravatar mbaruh2023-03-25-18/+5
| | | | | | | | | | | | Co-authored-by: Amrou <[email protected]>
| | * Documentation improvements and fixesGravatar mbaruh2023-03-25-5/+6
| | | | | | | | | | | | Co-authored-by: Amrou <[email protected]>
| | * Make the unique constraint reversibleGravatar mbaruh2023-03-25-0/+1
| | | | | | | | | | | | Co-authored-by: Amrou <[email protected]>
| | * Merge branch 'main' into new-filter-schemaGravatar mbaruh2023-03-21-352/+402
| | |\
| | * | Fix filter serializers for false-y valuesGravatar mbaruh2023-02-11-1/+1
| | | | | | | | | | | | | | | | Co-authored-by: GDWR <[email protected]>
| | * | Fix documentation and importGravatar mbaruh2023-02-11-9/+8
| | | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| | * | Update viewsets, fix lintingGravatar mbaruh2023-01-28-192/+428
| | | |
| | * | Make filter unique constraint use NULLS NOT DISTINCTGravatar mbaruh2023-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-schemaGravatar mbaruh2023-01-27-175/+2546
| | |\ \
| | * | | Update testsGravatar mbaruh2023-01-27-143/+170
| | | | |
| | * | | Fix filter serializers validation to account for filterlist settingsGravatar mbaruh2023-01-27-20/+20
| | | | |
| | * | | Rename delete_messages to the more generic remove_contextGravatar mbaruh2022-11-09-26/+26
| | | | |
| | * | | Disable everyone filter in code jam categoriesGravatar mbaruh2022-11-07-0/+1
| | | | | | | | | | | | | | | | | | | | This is in line with what already existed.
| | * | | Add creation and update timestamps to filtering modelsGravatar mbaruh2022-11-05-7/+14
| | | | | | | | | | | | | | | | | | | | This is to support auto-infractions reporting (bot 7fcec400)
| | * | | Stop using None as a valid setting valueGravatar mbaruh2022-11-04-57/+82
| | | | | | | | | | | | | | | | | | | | See e100ae9b on bot
| | * | | Add antispam list in migrationsGravatar mbaruh2022-11-01-0/+52
| | | | |
| | * | | Add uniques filter list to migrationsGravatar mbaruh2022-10-27-0/+101
| | | | |
| | * | | Refactors filters serialierGravatar mbaruh2022-10-18-81/+89
| | | | |
| | * | | Allow char fields to be blankGravatar mbaruh2022-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 emptyGravatar mbaruh2022-10-08-0/+4
| | | | |
| | * | | Fix categories validationGravatar mbaruh2022-10-08-1/+4
| | | | |
| | * | | Add infraction channel settingGravatar mbaruh2022-10-08-1/+22
| | | | |
| | * | | Properly add dm_embed to serializersGravatar mbaruh2022-10-07-0/+1
| | | | |
| | * | | Merge branch 'main' into new-filter-schemaGravatar mbaruh2022-10-07-127/+754
| | |\ \ \
| | * | | | Bring back enabled categoriesGravatar mbaruh2022-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 serializersGravatar mbaruh2022-09-30-0/+1
| | | | | |
| | * | | | Convert the infraction choices to uppercaseGravatar mbaruh2022-09-30-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is done to match the values used on the bot.
| | * | | | Use the new models.JSONFieldGravatar mbaruh2022-09-27-3/+3
| | | | | |
| | * | | | Add voice mute to infraction choicesGravatar mbaruh2022-09-27-3/+3
| | | | | |
| | * | | | Merge branch 'main' into new-filter-schemaGravatar mbaruh2022-07-15-2531/+5078
| | |\ \ \ \
| | * | | | | Add UniqueConstraint to the Filter modelGravatar D0rs4n2022-03-22-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - The UniqueConstraint includes every field, except for id and description.
| | * | | | | Sync Filter models with relating migrations, adjust code consistencyGravatar D0rs4n2022-03-12-20/+39
| | | | | | |
| | * | | | | Remove role validationGravatar mbaruh2022-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 namesGravatar mbaruh2022-03-09-15/+15
| | | | | | |
| | * | | | | Refine DM content for domainsGravatar mbaruh2022-03-01-1/+1
| | | | | | |
| | * | | | | Add invites denylist to the migrationGravatar mbaruh2022-02-26-3/+3
| | | | | | |
| | * | | | | Create placeholder value for dm embed content in ext listGravatar mbaruh2022-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 DENYGravatar mbaruh2022-02-23-1/+1
| | | | | | |