aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | 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
| | | |
| | * | Fix #299: use GitHub link to issues in README.mdGravatar MarkKoz2019-12-20-1/+1
| | | |
| | * | Add link to wiki in README.mdGravatar MarkKoz2019-12-20-6/+7
| | | |
| | * | Support IPv4 addresses for DATABASE_URLGravatar MarkKoz2019-12-20-1/+1
| | | |
| | * | 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.
| | * | Add regression test for the UniqueTogetherValidator fixGravatar MarkKoz2019-12-18-0/+41
| | | |
| | * | Infractions: fix UniqueTogetherValidator incorrectly failingGravatar MarkKoz2019-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-endingsGravatar Joseph2020-02-02-140/+2613
| | | |\ | |_|_|/ |/| | |
* | | | Create CODEOWNERSGravatar Joseph2020-02-02-0/+1
| | | |
* | | | Merge pull request #303 from python-discord/bot#549-show-attachments-staffGravatar Johannes Christ2020-01-13-4/+57
|\ \ \ \ | | | | | | | | | | Show attachments in staff log
| * | | | 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-99/+434
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | 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.
* | | | | Merge pull request #315 from python-discord/dependabot/pip/django-2.2.8Gravatar Johannes Christ2020-01-05-90/+90
|\ \ \ \ \ | | | | | | | | | | | | Bump django from 2.2.6 to 2.2.8
| * | | | | Bump django from 2.2.6 to 2.2.8Gravatar dependabot[bot]2020-01-05-90/+90
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 2.2.6 to 2.2.8. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/2.2.6...2.2.8) Signed-off-by: dependabot[bot] <[email protected]>
* | | | | Use a static discord shield on the readme.Gravatar scragly2019-12-26-1/+1
| | | | |
* | | | | Merge pull request #319 from python-discord/code-jam-6-updateGravatar Jeremiah Boby2019-12-23-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Add Code Jam 6 banner to the homepage
| * | | | | 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 pull request #300 from python-discord/#222-offensive-msg-autodeletionGravatar Mark2019-12-14-1/+330
|\ \ \ \ | |_|/ / |/| | | Create offensive message model for python-discord/bot#617
| * | | Rename route /bot/offensive-message to /bot/offensive-messagesGravatar Akarys422019-12-14-4/+4
| | | |
| * | | Use direct database test intead of relying on GETGravatar Akarys422019-11-16-3/+3
| | | |
| * | | Write list test for the offensive message modelGravatar Akarys422019-11-16-0/+39
| | | |
| * | | Merge branch 'master' into #222-offensive-msg-autodeletionGravatar Akarys422019-11-16-34/+1053
| |\ \ \
| * | | | Make use of subtestsGravatar Akarys422019-11-12-20/+20
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Sebastiaan Zeeff <[email protected]>
| * | | | Change setUpTestData to use aware datetimeGravatar Akarys422019-11-11-2/+2
| | | | | | | | | | | | | | | | | | | | This remove a warning during test run
| * | | | Add deletion testsGravatar Akarys422019-11-11-0/+24
| | | | |
| * | | | Add tests to make sure the view return 405 for PATCH and PUT requestsGravatar Akarys422019-11-11-0/+22
| | | | |
| * | | | Make sure the API return the appropriate response.Gravatar Akarys422019-11-10-0/+9
| | | | |
| * | | | Merge master migration filesGravatar Akarys422019-11-07-2/+2
| | | | |