aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Enhance code, documentation consistency in AoC related codeGravatar D0rs4n2022-03-10-3/+5
| | | Co-authored-by: Mark <[email protected]>
* Patch AoC tables to use the Discord user as PK.Gravatar D0rs4n2022-03-09-14/+16
|
* Add reason field to AoC completionist block tableGravatar D0rs4n2022-03-09-3/+11
|
* Enhance comments and table structure in AoC related modulesGravatar D0rs4n2022-03-08-8/+8
| | | | - Set the user reference to be a OneToOne relation, on tables: AocCompletionistBlock and AocAccountLink.
* Add support for storing AoC related data in siteGravatar D0rs4n2022-03-07-0/+252
|
* Merge pull request #686 from python-discord/readme-for-api-appGravatar Johannes Christ2022-03-06-0/+71
|\ | | | | Add a README for the API app
| * Mention human-readable migration namesGravatar Johannes Christ2022-03-06-1/+3
| |
| * Add a README for the API appGravatar Johannes Christ2022-03-03-0/+69
|/
* Merge #684 kill test warningsGravatar Mark2022-03-02-21/+46
|\ | | | | Remove test warnings & logline, prevent introducing them again in the future.
| * Explicitly pass timezoneGravatar Johannes Christ2022-03-02-2/+8
| |
| * Capture GitHub response logsGravatar Johannes Christ2022-03-02-1/+4
| |
| * Fix timezone awareness warningsGravatar Johannes Christ2022-03-02-20/+36
|/ | | | | Add a `warnings.warnings` clause to prevent these from being raised again in the future, and raise a full traceback if they don't.
* Merge pull request #683 from python-discord/readme-for-project-directoryGravatar Johannes Christ2022-02-28-105/+82
|\ | | | | Add a README for the project directory, remove unused apps
| * Add link to contributing guideGravatar Johannes Christ2022-02-28-0/+4
| |
| * Add reference to the `resources` appGravatar Johannes Christ2022-02-28-1/+1
| | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| * Add serial commaGravatar Johannes Christ2022-02-28-1/+1
| | | | | | Co-authored-by: Mark <[email protected]>
| * Add newlines for the apps sectionGravatar Johannes Christ2022-02-26-3/+4
| |
| * Elaborate on settings.pyGravatar Johannes Christ2022-02-26-7/+14
| | | | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| * Elaborate on purpose of the urls moduleGravatar Johannes Christ2022-02-26-2/+1
| | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| * Remove newlines added by an 🥥 INSANE PERSON 🥥Gravatar Johannes Christ2022-02-26-1/+0
| | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| * Link to Django template documentationGravatar Johannes Christ2022-02-26-1/+1
| | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| * Document Django applications in more depthGravatar Johannes Christ2022-02-26-4/+9
| |
| * Comment in individual application doc referenceGravatar Johannes Christ2022-02-26-4/+4
| |
| * Move static & template folder description upGravatar Johannes Christ2022-02-26-4/+5
| |
| * Add a readme to the Django project directoryGravatar Johannes Christ2022-02-26-1/+52
| |
| * Remove and merge superfluous modulesGravatar Johannes Christ2022-02-26-14/+15
| | | | | | | | The constants module more or less did what belongs to the settings.
| * Remove unused moduleGravatar Johannes Christ2022-02-26-91/+0
|/
* Merge pull request #682 from python-discord/add-channel_id-to-clean-logsGravatar Johannes Christ2022-02-25-2/+6
|\ | | | | Add channel ID to message deletion logs
| * git # This is a combination of 2 commits.Gravatar Izan2022-02-24-2/+6
|/ | | | Add channel ID to message deletion logs
* Remove the admin appGravatar Johannes Christ2022-02-23-8/+0
| | | | | | 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.
* Merge pull request #669 from python-discord/refine-constraint-checkGravatar Johannes Christ2022-02-22-8/+16
|\ | | | | Assert we're dealing with the unique constraint
| * Assert we're dealing with the unique constraintGravatar Johannes Christ2022-02-21-8/+16
|/
* Merge pull request #666 from ↵Gravatar Johannes Christ2022-02-21-52/+50
|\ | | | | | | | | python-discord/integrityerror-duplicate-infraction-race-condition Prevent race condition with duplicate infractions
| * Prevent race condition with duplicate infractionsGravatar Johannes Christ2022-02-21-52/+50
|/ | | | | | | | | | | | | | | | | | 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.
* Merge pull request #624 from python-discord/content/update-help-channel-timingGravatar Boris Muratov2022-02-21-32/+48
|\ | | | | Content: update help channel guide
| * Merge branch 'main' into content/update-help-channel-timingGravatar Boris Muratov2022-02-21-0/+3
| |\ | |/ |/|
* | Merge pull request #667 from python-discord/update-gitignoreGravatar ChrisJL2022-02-21-0/+3
|\ \ | | | | | | Update .gitignore to ignore MacOS system files
| * \ Merge branch 'main' into update-gitignoreGravatar ChrisJL2022-02-21-858/+3043
| |\ \ | |/ / |/| |
| * | Update .gitignore to ignore MacOS system filesGravatar minalike2022-02-20-0/+3
| | |
| | * Fixup: final wording and typoGravatar mina2022-02-21-2/+2
| | |
| | * Merge branch 'main' into content/update-help-channel-timingGravatar minalike2022-02-20-1039/+3691
| | |\ | |_|/ |/| |
* | | Merge pull request #668 from python-discord/update/name-profile-policyGravatar ChrisJL2022-02-20-9/+9
|\ \ \ | | | | | | | | Update Name & Profile Policy
| * | | Update Name & Profile PolicyGravatar minalike2022-02-20-9/+9
|/ / / | | | | | | | | | | | | Update to better reflect our current moderation practices in regards to user profiles. Previous name was "Nickname Policy"
* | | Merge pull request #664 from python-discord/wookie184-patch-1Gravatar ChrisJL2022-02-19-3/+2
|\ \ \ | | | | | | | | Remove expired coupon code and update course name
| * | | Remove expired coupon code and update course nameGravatar wookie1842022-02-19-3/+2
|/ / /
* | | Fix typo in bot tutorial resource (#661)Gravatar Ben Soyka2022-02-16-1/+1
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
* | | Return random off topic names which are Active only (#644)Gravatar Rohan Reddy Alleti2022-02-16-9/+29
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
* | | Merge pull request #660 from python-discord/659/lemon/resource_search_barGravatar Leon Sandøy2022-02-13-27/+835
|\ \ \ | | | | | | | | Smarter Resources - Search bar!
| * \ \ Merge branch 'main' into 659/lemon/resource_search_barGravatar Leon Sandøy2022-02-13-0/+48
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #650 from python-discord/user-information-endpointGravatar Johannes Christ2022-02-13-0/+48
|\ \ \ \ | | | | | | | | | | Allow searching users by username and discriminator