| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Document the get_types endpoint. | 2020-07-19 | -0/+14 | |
| | | ||||
| * | Simplify AllowDenyListType names. | 2020-07-19 | -4/+4 | |
| | | | | | | GUILD_INVITE_ID -> GUILD_INVITE WORD_WATCHLIST -> FILTER_TOKEN | |||
| * | Add another AllowDenyList field, 'comment'. | 2020-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. | 2020-07-17 | -0/+16 | |
| | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | Merge branch 'master' into whitelist_system | 2020-07-16 | -1/+1 | |
| |\ | ||||
| | * | Bump jQuery version | 2020-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.py | 2020-07-16 | -4/+9 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | 100% coverage for account.py | 2020-07-16 | -29/+30 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Rename AllowList to AllowDenyList. | 2020-07-16 | -55/+48 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Fix some broken tests. | 2020-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. | 2020-07-16 | -6/+26 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Add tests for the AllowList model. | 2020-07-16 | -0/+104 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Fix a bug in an old migration. | 2020-07-16 | -2/+2 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Return id from the AllowListSerializer. | 2020-07-15 | -8/+15 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Add a UniqueConstraint to prevent duplicates. | 2020-07-15 | -0/+21 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Add a migration for the new AllowList model. | 2020-07-15 | -0/+29 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Set up url forwarding for the viewset. | 2020-07-15 | -14/+23 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Minor fixes for imports and __init__ files. | 2020-07-15 | -12/+13 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Allowlist viewset. | 2020-07-15 | -0/+54 | |
| | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Merge branch 'master' into whitelist_system | 2020-07-15 | -32/+67 | |
| |\| | ||||
| | * | Merge remote-tracking branch 'origin/master' into feat/deps/344/django-3.0 | 2020-07-14 | -31/+8 | |
| | |\ | ||||
| | | * | Fix linting issues caused by refactor. | 2020-07-15 | -1/+2 | |
| | | | | ||||
| | | * | Removes django_crispy_forms dependency, too. | 2020-07-15 | -30/+6 | |
| | | | | ||||
| | | * | Removes django_crispy_bulma dependency. | 2020-07-14 | -5/+5 | |
| | | | | ||||
| | * | | Allow empty list for user roles | 2020-07-14 | -0/+22 | |
| | | | | | | | | | | | | | | | | This is the same issue as 145beb37fcb4fa2f487f18b234dd72bc4e10c279. See that commit for more information. | |||
| | * | | Merge migrations | 2020-07-14 | -0/+14 | |
| | | | | ||||
| | * | | Merge branch 'master' into feat/deps/344/django-3.0 | 2020-07-14 | -99/+181 | |
| | |\| | ||||
| | * | | Allow empty list for message embeds | 2020-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 router | 2020-03-21 | -1/+1 | |
| | | | | | | | | | | | | | base_name was deprecated in 3.9 and finally removed in 3.11. | |||
| * | | | Add the AllowList model and serializer. | 2020-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. | 2020-07-14 | -1/+13 | |
| | | | | | | | | | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | | Rename utils.py to mixins.py. More precise. | 2020-07-14 | -16/+16 | |
| | |/ |/| | | | | | https://github.com/python-discord/site/issues/305 | |||
| * | | Catch ConnectionError when trying to get updated repository data | 2020-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 broken github api test data | 2020-06-07 | -1/+1 | |
| | | | ||||
| * | | Replace django-crispy-bulma -> flake8-annotations | 2020-06-07 | -1/+1 | |
| | | | ||||
| * | | Add Summer Code Jam image on landing page. | 2020-06-07 | -2/+2 | |
| | | | ||||
| * | | Remove very generous newline in role validator | 2020-06-05 | -3/+1 | |
| | | | | | | | Co-authored-by: Sebastiaan Zeeff <[email protected]> | |||
| * | | Merge branch 'master' into joseph/change-roles-field-to-postgres-array | 2020-06-05 | -2/+2 | |
| |\ \ | ||||
| | * | | Update navbar for Code Jam 7 | 2020-06-04 | -2/+2 | |
| | | | | | | | | | | Changed `Most Recent: Game Jam 2020` to `Upcoming: Code Jam 7` | |||
| * | | | Alter import order in user model | 2020-06-02 | -1/+1 | |
| | | | | ||||
| * | | | Alter signal tests to make use of new user roles syntax | 2020-06-02 | -5/+5 | |
| | | | | ||||
| * | | | Alter staff tests to make use of new user roles syntax | 2020-06-02 | -1/+1 | |
| | | | | ||||
| * | | | Alter account utils test to use new user roles format | 2020-06-02 | -4/+6 | |
| | | | | ||||
| * | | | Alter API tests to use new user roles format | 2020-06-02 | -2/+2 | |
| | | | | ||||
| * | | | Alter account utilities to check list length instead of queryset length | 2020-06-02 | -1/+1 | |
| | | | | ||||
| * | | | Alter signals to handle OAuth2 with groups and role mappings | 2020-06-02 | -5/+5 | |
| | | | | ||||
| * | | | Remove primary key from user serializer | 2020-06-02 | -2/+0 | |
| | | | | ||||
| * | | | Add validator to ensure roles passed to user model exist | 2020-06-02 | -0/+21 | |
| | | | | ||||
| * | | | Add migrations to switch user field to array | 2020-06-02 | -0/+24 | |
| | | | | ||||
| * | | | Convert the roles field on the user model from a many-to-many field to a ↵ | 2020-06-02 | -5/+26 | |
| |/ / | | | | | | | postgres array with roles | |||