| Commit message (Collapse) | Author | Age | Lines | 
| ...        |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
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.
 | 
| |/ / / /   | 
 | 
| |\ \ \ \  
| | | | | 
| | | | |  | 
Update roles page
 | 
| | |\ \ \ \  
| |/ / / /  
|/| | | |    | 
 | 
| |\ \ \ \ \  
| | | | | | 
| | | | | |  | 
Add a README for the content directory
 | 
| | | | | | | 
| | | | | | 
| | | | | |  | 
Co-authored-by: Mark <[email protected]>
 | 
| | | | | | |  | 
 | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | |  | 
Co-authored-by: MarkKoz <[email protected]>
 | 
| |/ / / / /   | 
 | 
| | | | | |  | 
 | 
| |/ / / /   | 
 | 
| |\ \ \ \  
| |/ / /  
|/| | |    | 
Add support for storing AoC related data in site
 | 
| | |\ \ \  
| |/ / /  
|/| | |    | 
 | 
| |\ \ \ \  
| | | | | 
| | | | | 
| | | | | 
| | | | |  | 
python-discord/joe-said-"we-dont-do-main-pushes-anymore"
Remove API change references
 | 
| |/ / / /   | 
 | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | |  | 
- Add the possibility to filter by `is_blocked` in the AoC completionist block viewset.
- Patch various tense, and formatting inconsistencies in AoC viewsets
 | 
| | | | | 
| | | | 
| | | |  | 
Co-authored-by: Mark <[email protected]>
 | 
| | | | |  | 
 | 
| | | | |  | 
 | 
| | | | | 
| | | | 
| | | | 
| | | |  | 
- Set the user reference to be a OneToOne relation, on tables: AocCompletionistBlock and  AocAccountLink.
 | 
| |/ / /   | 
 | 
| |\ \ \  
| | | | 
| | | |  | 
Add a README for the API app
 | 
| | | | |  | 
 | 
| |/ / /   | 
 | 
| |\ \ \  
| | | | 
| | | |  | 
Remove test warnings & logline, prevent introducing them again in the future.
 | 
| | | | |  | 
 | 
| | | | |  | 
 | 
| |/ / /  
| | |   
| | |   
| | |   
| | |    | 
Add a `warnings.warnings` clause to prevent these from being raised
again in the future, and raise a full traceback if they don't.
 | 
| |\ \ \  
| | | | 
| | | |  | 
Add a README for the project directory, remove unused apps
 | 
| | | | |  | 
 | 
| | | | | 
| | | | 
| | | |  | 
Co-authored-by: Leon Sandøy <[email protected]>
 | 
| | | | | 
| | | | 
| | | |  | 
Co-authored-by: Mark <[email protected]>
 | 
| | | | |  | 
 | 
| | | | | 
| | | | 
| | | | 
| | | |  | 
Co-authored-by: Leon Sandøy <[email protected]>
 | 
| | | | | 
| | | | 
| | | |  | 
Co-authored-by: Leon Sandøy <[email protected]>
 | 
| | | | | 
| | | | 
| | | |  | 
Co-authored-by: Leon Sandøy <[email protected]>
 | 
| | | | | 
| | | | 
| | | |  | 
Co-authored-by: Leon Sandøy <[email protected]>
 | 
| | | | |  | 
 | 
| | | | |  | 
 | 
| | | | |  | 
 | 
| | | | |  | 
 | 
| | | | | 
| | | | 
| | | | 
| | | |  | 
The constants module more or less did what belongs to the settings.
 | 
| |/ / /   | 
 | 
| |\ \ \  
| | | | 
| | | |  | 
Add channel ID to message deletion logs
 | 
| |/ / /  
| | |   
| | |   
| | |    | 
Add channel ID to message deletion logs
 | 
| |/ /  
| |   
| |   
| |   
| |   
| |    | 
This app is completely unused. I assume it was planned to be a space for
customizing the Django admin, but we don't even have it in
`INSTALLED_APPS`, nor our URLs.
 | 
| |\ \  
| | | 
| | |  | 
Assert we're dealing with the unique constraint
 | 
| |/ /   | 
 | 
| |\ \  
| | | 
| | | 
| | | 
| | |  | 
python-discord/integrityerror-duplicate-infraction-race-condition
Prevent race condition with duplicate infractions
 | 
| |/ /  
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |    | 
DRF's `UniqueTogetherValidator` validates uniqueness by querying the
database before running the actual insert. This is not, has not, and
will never be valid, unless you happen to run a single worker, on a
single thread, and your single worker running on a single thread is the
only client for the database, in which case it may be valid. For any
other cases, it's invalid, and it has never been valid. PostgreSQL spits
out an `IntegrityError` for us if we have a duplicate entry, and
PostgreSQL is the only valid and correct thing to trust here.
The `UniqueTogetherValidator` is removed, and an existing test case
calling into this validator to check for uniqueness is removed.
Furthermore, to work around a Django quirk, `transaction.atomic()` is
added to prevent one `subTest` from messing with another.
Closes #665.
 |