aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #758 from python-discord/api-last_appliedGravatar Boris Muratov2022-08-06-0/+1
|\ | | | | Added `last_applied` to `serializers`
| * Merge branch 'main' into api-last_appliedGravatar Boris Muratov2022-08-06-9/+20
| |\ | |/ |/|
* | Merge pull request #741 from python-discord/speedup-testsGravatar ChrisJL2022-08-04-9/+20
|\ \ | | | | | | Remove IP Specification From Compose Ports
| * \ Merge branch 'main' into speedup-testsGravatar ChrisJL2022-08-04-990/+354
| |\ \ | |/ / |/| |
| * | Run Migrations For TestsGravatar Hassan Abouelela2022-07-12-5/+16
| | | | | | | | | | | | | | | | | | | | | Call the migration handler in manage.py when running tests, before handing control back to django. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Remove IP From Compose PortsGravatar Hassan Abouelela2022-07-12-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Specifying the port IP in compose seems to significantly slow down networking with postgres. This effect is epically noticeable in tests, which are 5-10x faster with the change. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Added `last_applied` to `serializers`Gravatar ionite342022-08-03-0/+1
| |/ |/|
* | Merge pull request #751 from python-discord/add-infraction-last-appliedGravatar Xithrius2022-07-31-0/+32
|\ \
| * | Backdate last_applied dates to use value of inserted_atGravatar Chris Lovering2022-07-27-1/+8
| | |
| * | Add a field to track the time an infraction was last appliedGravatar Chris Lovering2022-07-27-0/+25
|/ / | | | | | | A default is set for backwards compatibility with bot version that don't explicitly give a value.
* | Merge pull request #750 from python-discord/relax-websocket-ruleGravatar wookie1842022-07-23-8/+6
|\ \ | | | | | | Relax rule about usage of non-WebSocket communication
| * | Be explicit about example in rule being an allowed use-caseGravatar Bluenix2022-07-23-1/+1
| | |
| * | Rework sentence urging reaching out to the events teamGravatar Bluenix2022-07-23-1/+1
| | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| * | Fix past-tense "exempt" typoGravatar Bluenix2022-07-23-1/+1
| | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| * | Relax rule about usage of non-WebSocket communicationGravatar Bluenix2022-07-23-8/+6
|/ /
* | Merge pull request #748 from python-discord/clarify-websocketruleGravatar ChrisJL2022-07-22-3/+5
|\ \ | | | | | | Clarify WebSocket restriction rule's impact on static serving
| * | Update codejams sidebar about cj9 theme announcementGravatar Bluenix2022-07-21-1/+1
| | |
| * | Strike out beginning of code jam dateGravatar Bluenix2022-07-21-1/+1
| | |
| * | Remove unnecessary "also" in new exception to codejam ruleGravatar Bluenix2022-07-21-1/+1
| | |
| * | Clarify WebSocket restriction rule's impact on static servingGravatar Bluenix2022-07-21-1/+3
|/ / | | | | | | | | Before this change, the rule technically disallows implementing JavaScript clients because webbrowsers use HTTP to fetch the static files. This commit also fixes a mistake in a previous commit where Markdown-style characters were used instead of code-tags.
* | Merge pull request #747 from python-discord/add-cj9-linksGravatar ChrisJL2022-07-19-0/+4
|\ \
| * | Add CJ9 page link to side barGravatar mina2022-07-19-0/+1
| | | | | | | | | | | | Technically it's an ongoing jam, not a previous jam. But I think adding this link will help with discoverability if you're already on the CJ Info page. Can be updated once a theme is announced
| * | Add back green box link to CJ 9 pageGravatar mina2022-07-19-0/+3
|/ / | | | | | | This was the easiest way of navigating to the CJ9 page previously other than the home page. Let's keep it for the duration of the jam
* | Merge pull request #745 from python-discord/cj9-qualifier-descGravatar Boris Muratov2022-07-17-4/+14
|\ \ | | | | | | Copy over qualifier description from codejam 8
| * | Copy over qualifier description from codejam 8Gravatar Bluenix2022-07-17-4/+14
|/ /
* | Merge pull request #743 from python-discord/cj9-changesGravatar wookie1842022-07-16-33/+35
|\ \ | | | | | | Make finalizing codejam 9 changes
| * | Remove trailing space in codejam rulesGravatar Bluenix2022-07-15-1/+1
| | |
| * | Add note about approval for non-WebSocket communicationGravatar Bluenix2022-07-15-0/+2
| | |
| * | Reword new codejam rule exception clauseGravatar Bluenix2022-07-15-2/+2
| | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| * | Remove accidental stray parenthesis in new codejam ruleGravatar Bluenix2022-07-14-1/+1
| | | | | | | | | Co-authored-by: Kieran Siek <[email protected]>
| * | Update site banner for codejamGravatar Bluenix2022-07-14-2/+2
| | |
| * | Remove notification about open codejam qualifierGravatar Bluenix2022-07-14-9/+0
| | |
| * | Strike over passed dates in codejam informationGravatar Bluenix2022-07-14-2/+2
| | |
| * | De-capitalize aiohttp in codejam frameworksGravatar Bluenix2022-07-14-2/+2
| | | | | | | | | Co-authored-by: Numerlor <[email protected]>
| * | Add rule about forced usage of WebSocketsGravatar Bluenix2022-07-14-0/+9
| | |
| * | Add `aiohttp` to approved frameworksGravatar Bluenix2022-07-14-0/+14
| | |
| * | Move Starlite and Sanic above wsprotoGravatar Bluenix2022-07-14-12/+12
| | |
| * | Remove `flask-socketio` from approved frameworksGravatar Bluenix2022-07-14-14/+0
|/ /
* | Merge pull request #740 from python-discord/update-djangoGravatar Hassan Abouelela2022-07-12-952/+268
|\ \ | |/ |/| Update Django Version To 4.0
| * Bump Django To 4.0Gravatar Hassan Abouelela2022-07-11-19/+23
| | | | | | | | | | | | Bumps the django version to 4.0, and DRF for compatibility. Signed-off-by: Hassan Abouelela <[email protected]>
| * Bump Django To 3.2Gravatar Hassan Abouelela2022-07-11-14/+14
| | | | | | | | | | | | | | | | | | | | Bumps the current django version to 3.2 For the most part, there are no major changes here. The app configuration names were incorrect, and the new version no longer ignores that, so those were updated. The new version also requires explicitly defining the field type for primary keys if they are not defined on the model. Signed-off-by: Hassan Abouelela <[email protected]>
| * Bump flake8-bandit To v3Gravatar Hassan Abouelela2022-07-11-162/+120
| | | | | | | | | | | | | | | | | | | | | | Bumps flake-bandit to v3 to fix an incompatibility with the bandit package. This also bumps flake8-annotations to a legally acceptable version, which introduces ANN401, which disallows `typing.Any` annotations (for the most part, refer to the docs). Signed-off-by: Hassan Abouelela <[email protected]>
| * Remove Message Model TestGravatar Hassan Abouelela2022-07-11-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | The message model was tested by instantiating and confirming it has a string representation, but instantiating abstract models is undefined behavior, and can break with future versions of django. The behavior of the test is redundant anyway, since an abstract model wouldn't exist in isolation, and the desired behavior is confirmed by inheritors. Signed-off-by: Hassan Abouelela <[email protected]>
| * Drop Migration TestsGravatar Hassan Abouelela2022-07-11-734/+0
| | | | | | | | | | | | | | | | | | The migration test suite was not really used, and it doesn't entirely make sense to test a constant unchanging process either. Its behavior is also very coupled with django's internals, and locks us into the current version and setup. Signed-off-by: Hassan Abouelela <[email protected]>
| * Switch Out requests For httpxGravatar Hassan Abouelela2022-07-11-20/+120
|/ | | | | | | | The requests library has been replaced by httpx. It's a drop-in replacement, but provides a better interface for certain things, such as client sessions, and sync/async support. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge #722 - resources: add The Algorithms and remove AtomGravatar Mark2022-07-10-16/+21
|\
| * Merge branch 'main' into swfarnsworth/resourcesGravatar Steele Farnsworth2022-07-10-554/+644
| |\ | |/ |/|
* | Merge pull request #739 from python-discord/more_frameworksGravatar Kieran Siek2022-07-10-0/+28
|\ \ | | | | | | Add starlite and sanic to cj9 frameworks
| * | Add starlite and sanic to cj9 frameworksGravatar mbaruh2022-07-10-0/+28
|/ /
* | Merge pull request #737 from python-discord/embed-required-fieldsGravatar wookie1842022-07-03-410/+23
|\ \ | | | | | | Remove Embed validation