Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | | OT: Replace help text of `used` field | 2020-05-28 | -2/+2 | ||
| | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]> | ||||
* | | | (Off-topic Channel Names Viewset Tests): Added test for handling running out ↵ | 2020-03-31 | -0/+7 | ||
| | | | | | | | | | | | | of names. | ||||
* | | | (Off-topic Channel Names Viewset Tests): Added test for default handling ↵ | 2020-03-31 | -0/+7 | ||
| | | | | | | | | | | | | `mark_used` parameter. | ||||
* | | | (Off-topic Channel Names Viewset Tests): Added used parameter to list tests. | 2020-03-31 | -2/+2 | ||
| | | | |||||
* | | | (Off-topic Channel Names Viewset Tests): Added test for not authenticated ↵ | 2020-03-31 | -0/+6 | ||
| | | | | | | | | | | | | request. | ||||
* | | | (Off-topic Channel Names Viewset): Added documentation about new `mark_used` ↵ | 2020-03-30 | -0/+29 | ||
| | | | | | | | | | | | | query parameter, added implementation of this param. | ||||
* | | | (Off-topic Channel Names): Added new field to model: `used` that show is ↵ | 2020-03-30 | -0/+23 | ||
|/ / | | | | | | | this name already used on this round of names, added migration for this. | ||||
* | | Add Game Jam banner to landing page | 2020-03-27 | -8/+4 | ||
| | | | | | | I've added the Game Jam banner to the home page and made it link the Game Jam info page. | ||||
* | | Add events section to menu dropdown | 2020-03-27 | -2/+8 | ||
|/ | | | 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. | ||||
* | Add more pre-commit hooks | 2020-03-04 | -27/+22 | ||
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Merge branch 'master' into deleted-messages-visible-line-endings | 2020-03-01 | -38/+349 | ||
|\ | |||||
| * | Merge branch 'master' into add-sentry-sdk | 2020-02-21 | -0/+3 | ||
| |\ | |||||
| | * | Pad logos so they horizontally align | 2020-02-20 | -0/+0 | ||
| | | | |||||
| | * | Add sentry logo to sponsors | 2020-02-20 | -0/+3 | ||
| | | | |||||
| * | | Add sentry SDK init to settings.py | 2020-02-21 | -1/+11 | ||
| |/ | |||||
| * | Change MEDIA_ROOT to /site/media | 2020-02-17 | -1/+1 | ||
| | | |||||
| * | Switch the code jam banner for the stream. | 2020-02-16 | -4/+8 | ||
| | | | | | | | | | | 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. | ||||
| * | Fix migration dependency | 2020-02-08 | -2/+2 | ||
| | | |||||
| * | Merge branch 'master' into fix-infraction-validator | 2020-02-08 | -29/+261 | ||
| |\ | |||||
| | * | Update resources reference in head navbar. | 2020-02-06 | -2/+2 | ||
| | | | | | | | | | Due to the tweak in the wiki page structure, the Tools page is now under resources, and Learning Resources is now just Resources. | ||||
| | * | Merge branch 'master' into reminder-tests | 2020-02-03 | -28/+393 | ||
| | |\ | |||||
| | | * | Unbleach Wiki | 2020-02-03 | -19/+1 | ||
| | | | | | | | | | | | | Disables the sanitisation of HTML in wiki articles. | ||||
| | * | | Improve robustness with regard to ordering | 2020-02-03 | -2/+2 | ||
| | | | | |||||
| | * | | Add second reminder to list tests, implement `test_filter_field` test | 2020-02-03 | -6/+24 | ||
| | | | | |||||
| | * | | Improve test failure clarity (reduce unhandled exceptions in assertions) | 2020-02-03 | -1/+4 | ||
| | | | | |||||
| | * | | Improve test failure clarity (reduce unhandled exceptions in assertions) | 2020-02-03 | -2/+2 | ||
| | | | | |||||
| | * | | Fix unnecessary kwarg syntax | 2020-02-03 | -2/+2 | ||
| | | | | |||||
| | * | | Add ReminderListTests | 2020-02-02 | -0/+37 | ||
| | | | | |||||
| | * | | Improve deletion test (asserting that deleted record no longer exists) | 2020-02-02 | -0/+1 | ||
| | | | | |||||
| | * | | Rework test_patch_updates_record to avoid list API endpoint | 2020-02-02 | -4/+1 | ||
| | | | | |||||
| | * | | Rework ReminderCreationTests | 2020-02-02 | -14/+15 | ||
| | | | | |||||
| | * | | Tiny linting edit | 2020-01-13 | -1/+1 | ||
| | | | | |||||
| | * | | Implement ReminderUpdateTests | 2020-01-13 | -0/+31 | ||
| | | | | |||||
| | * | | Implement ReminderDeletionTests | 2020-01-13 | -1/+32 | ||
| | | | | |||||
| | * | | Implement ReminderCreationTests | 2020-01-13 | -0/+35 | ||
| | | | | |||||
| | * | | Implement EmptyDatabaseReminderAPITests | 2020-01-07 | -0/+15 | ||
| | | | | |||||
| | * | | Instantiate test_reminders module; implement UnauthedReminderAPITests | 2020-01-07 | -0/+27 | ||
| | | | | |||||
| * | | | Ignore coverage for infraction serializer unexpectedly succeeding | 2019-12-19 | -2/+2 | ||
| | | | | |||||
| * | | | Add tests for missing active field of infractions | 2019-12-19 | -0/+28 | ||
| | | | | |||||
| * | | | Remove default value from the active field of infractions | 2019-12-19 | -10/+37 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Output errors more clearly for infraction serializer test failures | 2019-12-18 | -6/+10 | ||
| | | | | |||||
| * | | | Test that new infractions pass validation | 2019-12-18 | -0/+14 | ||
| | | | | |||||
| * | | | Add fixtures to create infractions in serializer tests | 2019-12-18 | -16/+18 | ||
| | | | | | | | | | | | | | | | | | | | | The fixtures are invoked manually because not all cases may need the same infractions. | ||||
| * | | | Add regression test for the UniqueTogetherValidator fix | 2019-12-18 | -0/+41 | ||
| | | | | |||||
| * | | | Infractions: fix UniqueTogetherValidator incorrectly failing | 2019-12-18 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Merge branch 'master' into deleted-messages-visible-line-endings | 2020-02-02 | -49/+2520 | ||
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Update migration dependency to the latest merged | 2020-01-13 | -1/+1 | ||
| | | | | |||||
| * | | | Merge branch 'master' into bot#549-show-attachments-staff | 2020-01-12 | -8/+343 | ||
| |\ \ \ | |||||
| | * | | | Adding iframe attributes to attribute whitelist | 2020-01-06 | -0/+1 | ||
| | | | | | | | | | | | | | | | 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). | ||||
| | * | | | Adding iframes to HTML whitelist | 2020-01-06 | -1/+1 | ||
| | | | | | | | | | | | | | | | This will allow us to put stuff like YouTube embeds in wiki articles... hopefully. I didn't test it. |