aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into fix-warningsGravatar Hassan Abouelela2022-09-30-13/+30
|\
| * replace parenthesis with square brackets since tuples are serialized are listsGravatar Amrou Bellalouna2022-09-18-3/+3
| |
| * restrict the RulesView docstrings to just what it doesGravatar Amrou Bellalouna2022-09-18-3/+2
| |
| * replace sweet with "sweets" to refer more to candyGravatar Amrou Bellalouna2022-09-18-1/+1
| |
| * update the RulesView class' docstringsGravatar Amrou Bellalouna2022-09-18-4/+7
| |
| * Merge branch 'main' into map-rules-to-keywordsGravatar Amrou Bellalouna2022-09-18-6/+11
| |\
| * | make docstring more explicit about the returned contentGravatar Amrou Bellalouna2022-09-18-1/+6
| | |
| * | add suggested keywordsGravatar Amrou Bellalouna2022-09-18-9/+9
| | |
| * | add docstrings explaining the values that the Rules view returnsGravatar Amrou Bellalouna2022-09-18-0/+1
| | |
| * | add collection of keywords per ruleGravatar Amrou Bellalouna2022-08-18-9/+18
| | | | | | | | | | | | | | | | | | In reference to issue #2108, this commit aims to add an initial set of keywords per rule. These keywords will be later in the "rule" bot command in order to make rule identification easier
* | | Fix Unittest Deprecation WarningsGravatar Hassan Abouelela2022-09-04-12/+12
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | | Fix Django Deprecation WarningsGravatar Hassan Abouelela2022-09-04-2/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | Removes a few features which were deprecated in django 4.0. Running with warnings enabled shows no other errors. USE_L10N was deprecated, and is now enabled by default. In future versions of django, it'll be impossible to turn localization off. Explicitly defining the custom_app_config for the API app is no longer necessary as django can pick it up on its own. Signed-off-by: Hassan Abouelela <[email protected]>
* | Fix grammar in contributing guide (#771)Gravatar Rohan Shah2022-08-30-1/+1
| |
* | Merge branch 'main' into fix-infraction-testsGravatar Hassan Abouelela2022-08-18-2/+2
|\|
| * striked passed dateGravatar Ibrahim2022-08-16-2/+2
| |
* | Explicitly Specify Infraction Time In TestsGravatar Hassan Abouelela2022-08-14-5/+10
|/ | | | | | | | | | | | | The infraction tests checked that the route returned infractions in the correct order, which is based on insertion time. This can be fragile however, since the insertion time can be very close (or identical) during the tests. That became especially more likely with PR #741 (commit 149e67b4) which improved database access speed. This is fixed by explicitly specifying the insertion time, and spacing them out properly. Signed-off-by: Hassan Abouelela <[email protected]>
* Bump Deadline For GitHub Artifacts RouteGravatar Hassan Abouelela2022-08-12-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Rename GitHub App Environment VariablesGravatar Hassan Abouelela2022-08-12-8/+8
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into github-artifactsGravatar Hassan Abouelela2022-08-09-0/+33
|\
| * Added `last_applied` to `serializers`Gravatar ionite342022-08-03-0/+1
| |
| * 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.
* | Use UTC Time For GitHub APIGravatar Hassan Abouelela2022-07-24-3/+3
| | | | | | | | | | | | | | When reading the created_at time from the GitHub API, it'll be a naive date string with UTC time, so we use that instead of the system's time. Signed-off-by: Hassan Abouelela <[email protected]>
* | Use Dataclass For Workflow RunGravatar Hassan Abouelela2022-07-24-29/+62
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge branch 'main' into github-artifactsGravatar Hassan Abouelela2022-07-24-38/+54
|\|
| * 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
| |
| * 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.
| * 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
| * Copy over qualifier description from codejam 8Gravatar Bluenix2022-07-17-4/+14
| |
| * 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
| |
* | Clean Up Artifact TestsGravatar Hassan Abouelela2022-07-14-9/+7
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Make Awaiting Workflow Run A User ResponsibilityGravatar Hassan Abouelela2022-07-12-130/+123
| | | | | | | | | | | | | | | | | | | | | | Moves the responsibility of re-requesting a workflow run from the API to the user. This makes the requests much shorter-lived, and allows the client to control how they want to handle sleeping and retrying. This also has the benefit of removing the only real piece of async code, so now the view is completely sync once again. Signed-off-by: Hassan Abouelela <[email protected]>