aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'master' into add-sentry-sdkGravatar Joseph2020-02-21-0/+3
|\
| * Pad logos so they horizontally alignGravatar Joseph Banks2020-02-20-0/+0
| |
| * Add sentry logo to sponsorsGravatar Joseph Banks2020-02-20-0/+3
| |
* | Add sentry SDK init to settings.pyGravatar Joseph Banks2020-02-21-1/+11
|/
* Change MEDIA_ROOT to /site/mediaGravatar scragly2020-02-17-1/+1
|
* Switch the code jam banner for the stream.Gravatar Leon Sandøy2020-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 dependencyGravatar MarkKoz2020-02-08-2/+2
|
* Merge branch 'master' into fix-infraction-validatorGravatar Mark2020-02-08-29/+261
|\
| * Update resources reference in head navbar.Gravatar scragly2020-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-testsGravatar Mark2020-02-03-28/+393
| |\
| | * Unbleach WikiGravatar scragly2020-02-03-19/+1
| | | | | | | | | Disables the sanitisation of HTML in wiki articles.
| | * Update migration dependency to the latest mergedGravatar Matteo Bertucci2020-01-13-1/+1
| | |
| | * Merge branch 'master' into bot#549-show-attachments-staffGravatar Matteo Bertucci2020-01-12-8/+343
| | |\
| | | * Adding iframe attributes to attribute whitelistGravatar Sebastiaan Zeeff2020-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 whitelistGravatar Leon Sandøy2020-01-06-1/+1
| | | | | | | | | | | | This will allow us to put stuff like YouTube embeds in wiki articles... hopefully. I didn't test it.
| | | * Add Code Jam 6 banner to the homepageGravatar Jeremiah Boby2019-12-23-4/+4
| | | |
| | | * Pad the discriminator with zeroes in profile.Gravatar Leon Sandøy2019-12-17-1/+1
| | | | | | | | | | | | | | | | | | | | previously, lemon#0001 would display as just lemon#1. This commit fixes this. All credit goes to @gdude2002
| | * | Merge branch 'bot#549-show-attachments-staff' of ↵Gravatar Akarys422019-11-20-72/+2142
| | |\ \ | | | | | | | | | | | | | | | https://github.com/python-discord/site into bot#549-show-attachments-staff
| | | * | Update migration historyGravatar Matteo Bertucci2019-11-15-1/+1
| | | | |
| | | * | Merge branch 'master' into bot#549-show-attachments-staffGravatar Matteo Bertucci2019-11-15-38/+2121
| | | |\ \
| | | * | | Delete useless migration fileGravatar Matteo Bertucci2019-11-15-19/+0
| | | | | |
| | | * | | Allow blank attachment fieldGravatar Matteo Bertucci2019-11-15-1/+1
| | | | | |
| | | * | | Allow empty attachment fieldGravatar Matteo Bertucci2019-10-31-0/+20
| | | | | |
| | | * | | Merge branch 'master' into bot#549-show-attachments-staffGravatar Matteo Bertucci2019-10-31-32/+18
| | | |\ \ \
| | * | | | | Test for the attachment image to be in the staff logGravatar Akarys422019-11-20-0/+15
| | |/ / / /
| | * | | | Write tests for message.attachmentsGravatar Akarys422019-10-28-3/+8
| | | | | |
| | * | | | Show attachments in staff logsGravatar Akarys422019-10-28-0/+5
| | | | | |
| | * | | | Add migration for message.attachmentsGravatar Akarys422019-10-28-0/+20
| | | | | |
| | * | | | Add a attachments field to the message modelGravatar Akarys422019-10-28-1/+8
| | | | | |
| * | | | | Improve robustness with regard to orderingGravatar bendiller2020-02-03-2/+2
| | | | | |
| * | | | | Add second reminder to list tests, implement `test_filter_field` testGravatar bendiller2020-02-03-6/+24
| | | | | |
| * | | | | Improve test failure clarity (reduce unhandled exceptions in assertions)Gravatar bendiller2020-02-03-1/+4
| | | | | |
| * | | | | Improve test failure clarity (reduce unhandled exceptions in assertions)Gravatar bendiller2020-02-03-2/+2
| | | | | |
| * | | | | Fix unnecessary kwarg syntaxGravatar bendiller2020-02-03-2/+2
| | | | | |
| * | | | | Add ReminderListTestsGravatar bendiller2020-02-02-0/+37
| | | | | |
| * | | | | Improve deletion test (asserting that deleted record no longer exists)Gravatar bendiller2020-02-02-0/+1
| | | | | |
| * | | | | Rework test_patch_updates_record to avoid list API endpointGravatar bendiller2020-02-02-4/+1
| | | | | |
| * | | | | Rework ReminderCreationTestsGravatar bendiller2020-02-02-14/+15
| | | | | |
| * | | | | Tiny linting editGravatar bendiller2020-01-13-1/+1
| | | | | |
| * | | | | Implement ReminderUpdateTestsGravatar bendiller2020-01-13-0/+31
| | | | | |
| * | | | | Implement ReminderDeletionTestsGravatar bendiller2020-01-13-1/+32
| | | | | |
| * | | | | Implement ReminderCreationTestsGravatar bendiller2020-01-13-0/+35
| | | | | |
| * | | | | Implement EmptyDatabaseReminderAPITestsGravatar bendiller2020-01-07-0/+15
| | | | | |
| * | | | | Instantiate test_reminders module; implement UnauthedReminderAPITestsGravatar bendiller2020-01-07-0/+27
| | | | | |
* | | | | | Ignore coverage for infraction serializer unexpectedly succeedingGravatar MarkKoz2019-12-19-2/+2
| | | | | |
* | | | | | Add tests for missing active field of infractionsGravatar MarkKoz2019-12-19-0/+28
| | | | | |
* | | | | | Remove default value from the active field of infractionsGravatar MarkKoz2019-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 failuresGravatar MarkKoz2019-12-18-6/+10
| | | | | |
* | | | | | Test that new infractions pass validationGravatar MarkKoz2019-12-18-0/+14
| | | | | |
* | | | | | Add fixtures to create infractions in serializer testsGravatar MarkKoz2019-12-18-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fixtures are invoked manually because not all cases may need the same infractions.