| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
| |
query parameter, added implementation of this param.
|
| |
|
|
| |
this name already used on this round of names, added migration for this.
|
| |
|
| |
I've added the Game Jam banner to the home page and made it link the Game Jam info page.
|
| |
|
| |
To draw attention to upcoming events, I've changed the events section of the "more" dropdown menu. It now has an events header, followed by the upcoming event, and a link to the general events page.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hooks added:
* check-merge-conflict - checks for files with merge conflict strings
* check-toml - attempts to load all toml files to verify syntax
* check-yaml - attempts to load all yaml files to verify syntax
* end-of-file-fixer - ensures files end in a newline and only a newline
* mixed-line-ending - replaces mixed line endings with LF
* trailing-whitespace - trims trailing whitespace
* python-check-blanket-noqa - enforces that noqa annotations always
occur with specific codes
Changes made to comply with new hooks:
* Remove trailing whitespaces
* Remove some useless noqa annotations
* Specify errors for noqa annotations
* Add missing newlines at end of files
See: python-discord/organisation#138
|
| |\ |
|
| | |\ |
|
| | | | |
|
| | | | |
|
| | |/ |
|
| | | |
|
| | |
| |
| |
| |
| | |
With the code jam over, we don't want a code jam banner on our front
page. This commit replaces it with the Code Jam Judge Stream.
|
| | | |
|
| | |\ |
|
| | | |
| | |
| | | |
Due to the tweak in the wiki page structure, the Tools page is now under resources, and Learning Resources is now just Resources.
|
| | | |\ |
|
| | | | |
| | | |
| | | | |
Disables the sanitisation of HTML in wiki articles.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Due to the active field being specified in the UniqueTogetherValidator,
the field is implicitly required. Typically default values are excluded
from this restriction but in this case some infraction types must always
be False.
It's easier and makes more sense to require the active field explicitly
rather than to write logic in the serializer which is conditional on the
type of infractions.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
The fixtures are invoked manually because not all cases may need the
same infractions.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The active infractions queryset only gets filtered by the fields
specified. This meant that if the same user and type had another
infraction instance which was active, the validator would fail. The
validator assumes failure if it sees any items still in the queryset
after filtering.
By including the active field in the validator, the queryset will be
filtered by the active field too. In the case described above, the
queryset would end up empty because a no infractions which are active
will ever match an active=False filter.
|
| |\ \ \ \
| | |_|/
| |/| | |
|
| | | | | |
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | | |
To properly show YouTube-embeds, we need to allow some attributes on `iframe` tags. I've added all attributes that are normal for such an embed, including `width` and `height` (which we may not need if we want to make the frame resize to its parent).
|
| | | | | |
| | | | |
| | | | | |
This will allow us to put stuff like YouTube embeds in wiki articles... hopefully. I didn't test it.
|
| | | | | | |
|
| | | |/ /
| | | |
| | | |
| | | |
| | | | |
previously, lemon#0001 would display as just lemon#1.
This commit fixes this. All credit goes to @gdude2002
|
| | | |\ \
| | | |/
| | |/| |
Create offensive message model for python-discord/bot#617
|
| | | | | |
|
| | | | | |
|