aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | Document POSTing mentions in ReminderViewSetGravatar kosayoda2020-07-16-0/+1
| | | | | |
| | * | | | Add migration for the mentions field in the Reminder modelGravatar kosayoda2020-07-16-0/+20
| | | | | |
| | * | | | Document mentions in ReminderViewSetGravatar kosayoda2020-07-16-0/+5
| | | | | |
| | * | | | Return mentions from ReminderSerializerGravatar kosayoda2020-07-16-1/+3
| | | | | |
| | * | | | Add mentions field to Reminder modelGravatar kosayoda2020-07-16-0/+14
| | | | | |
| | | * | | Add a test for checking duplicates.Gravatar Leon Sandøy2020-07-29-0/+5
| | | | | |
| | | * | | Handle unique validator in DRF, not Django.Gravatar Leon Sandøy2020-07-29-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was handling this in a Django vanilla kind of way, which was causing the constraint to return a 500 instead of a 400. This changes the approach to use the DRF way, and makes it return 400. It doesn't actually change the way anything behaves, other than returning the right status code.
| | | * | | Rename AllowDenyList to FilterListGravatar Leon Sandøy2020-07-27-48/+47
| | | | | |
| | | * | | Minor changes to tests, use subTest.Gravatar Leon Sandøy2020-07-19-9/+4
| | | | | |
| | | * | | Document the get_types endpoint.Gravatar Leon Sandøy2020-07-19-0/+14
| | | | | |
| | | * | | Relock with a newer version of pipenvGravatar Leon Sandøy2020-07-19-10/+39
| | | | | |
| | | * | | Simplify AllowDenyListType names.Gravatar Leon Sandøy2020-07-19-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GUILD_INVITE_ID -> GUILD_INVITE WORD_WATCHLIST -> FILTER_TOKEN
| | | * | | Add another AllowDenyList field, 'comment'.Gravatar Leon Sandøy2020-07-19-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used to describe or justify the entries in the blacklist or whitelist, for example for the guild name in the case of guild invite IDs, so that we have some context when we're displaying the list. https://github.com/python-discord/site/issues/305
| | | * | | Add an endpoint for getting AllowDenyList types.Gravatar Leon Sandøy2020-07-17-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Merge branch 'master' into whitelist_systemGravatar Leon Sandøy2020-07-16-1/+1
| | | |\ \ \ | | |_|/ / / | |/| | | |
| * | | | | Bump jQuery versionGravatar MarkKoz2020-07-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Django wiki updated the jQuery version, so our reference needs to be updated too. Otherwise, we will get a 404 for the script.
| | | * | | 100% branch coverage for account.pyGravatar Leon Sandøy2020-07-16-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | 100% coverage for account.pyGravatar Leon Sandøy2020-07-16-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Rename AllowList to AllowDenyList.Gravatar Leon Sandøy2020-07-16-55/+48
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Fix some broken tests.Gravatar Leon Sandøy2020-07-16-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test_utils_account.py tests were never running, because the folder they were in had no __init__.py file. The test_models.py file was failing because it had an outdated import of the ModelReprMixin, which has moved to a new file. https://github.com/python-discord/site/issues/305
| | | * | | Improve some docstrings.Gravatar Leon Sandøy2020-07-16-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Add tests for the AllowList model.Gravatar Leon Sandøy2020-07-16-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Fix a bug in an old migration.Gravatar Leon Sandøy2020-07-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Return id from the AllowListSerializer.Gravatar Leon Sandøy2020-07-15-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Add a UniqueConstraint to prevent duplicates.Gravatar Leon Sandøy2020-07-15-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Add a migration for the new AllowList model.Gravatar Leon Sandøy2020-07-15-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Set up url forwarding for the viewset.Gravatar Leon Sandøy2020-07-15-44/+24
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Minor fixes for imports and __init__ files.Gravatar Leon Sandøy2020-07-15-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Allowlist viewset.Gravatar Leon Sandøy2020-07-15-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Merge branch 'master' into whitelist_systemGravatar Leon Sandøy2020-07-15-294/+354
| | | |\ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge pull request #346 from python-discord/feat/deps/344/django-3.0Gravatar Leon Sandøy2020-07-15-41/+157
| |\ \ \ \ \ | | |/ / / / | |/| | | | Update to Django 3.0
| | * | | | Merge remote-tracking branch 'origin/master' into feat/deps/344/django-3.0Gravatar MarkKoz2020-07-14-46/+9
| | |\ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge pull request #368 from python-discord/remove_django_crispy_bulmaGravatar Kieran Siek2020-07-15-262/+206
| |\ \ \ \ \ | | | | | | | | | | | | | | Removes django-crispy-bulma as a dependency.
| | * | | | | Fix linting issues caused by refactor.Gravatar Leon Sandøy2020-07-15-1/+2
| | | | | | |
| | * | | | | Removes django_crispy_forms dependency, too.Gravatar Leon Sandøy2020-07-15-40/+7
| | | | | | |
| | * | | | | Removes django_crispy_bulma dependency.Gravatar Leon Sandøy2020-07-14-227/+203
| |/ / / / /
| | * | | | Allow empty list for user rolesGravatar MarkKoz2020-07-14-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the same issue as 145beb37fcb4fa2f487f18b234dd72bc4e10c279. See that commit for more information.
| | * | | | Merge migrationsGravatar MarkKoz2020-07-14-0/+14
| | | | | |
| | * | | | Update dependency pinsGravatar MarkKoz2020-07-14-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use release tag for django-crispy-bulma. This will yet again be changed once it's released on PyPI. * Use PyPI release for wiki
| | * | | | Merge branch 'master' into feat/deps/344/django-3.0Gravatar MarkKoz2020-07-14-364/+515
| | |\ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Allow empty list for message embedsGravatar MarkKoz2020-03-21-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, blank=False for ArrayFields but allow_empty=True for ListField. Before DRF 3.10 there was a bug that ListField didn't respect the default value of blank=False and thus created a ListField in the serialiser with the default of allow_empty=True. We were relying on the behaviour of that bug. See encode/django-rest-framework#6597.
| | * | | | Use basename instead of base_name with DRF routerGravatar MarkKoz2020-03-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | base_name was deprecated in 3.9 and finally removed in 3.11.
| | * | | | Update to Django 3.0Gravatar MarkKoz2020-03-21-120/+116
| | | | | |
| | | * | | Add the AllowList model and serializer.Gravatar Leon Sandøy2020-07-14-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the model which we will use for items that are either blacklisted or whitelisted. https://github.com/python-discord/site/issues/305
| | | * | | Add a mixin for adding created and updated times.Gravatar Leon Sandøy2020-07-14-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| | | * | | Rename utils.py to mixins.py. More precise.Gravatar Leon Sandøy2020-07-14-16/+16
| | |/ / / | |/| | | | | | | | | | | | | https://github.com/python-discord/site/issues/305
| * | | | Catch ConnectionError when trying to get updated repository dataGravatar Dennis Pham2020-06-22-1/+1
| | | | | | | | | | | | | | | This will prevent a 500 server error on our homepage when GitHub's API is down, allowing us to use the cached data we have instead.
| * | | | Fix trailing whitespace in GitHub Action fileGravatar Joseph Banks2020-06-11-1/+1
| | | | |
| * | | | Create codeql-analysis.ymlGravatar Joseph Banks2020-06-11-0/+32
| | | | |
| * | | | Fix broken github api test dataGravatar Leon Sandøy2020-06-07-1/+1
| | | | |