Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 | -44/+24 | |
| | | | | 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 | -294/+354 | |
|\ | ||||
| * | Merge pull request #346 from python-discord/feat/deps/344/django-3.0 | 2020-07-15 | -41/+157 | |
| |\ | | | | | | | Update to Django 3.0 | |||
| | * | Merge remote-tracking branch 'origin/master' into feat/deps/344/django-3.0 | 2020-07-14 | -46/+9 | |
| | |\ | | |/ | |/| | ||||
| * | | Merge pull request #368 from python-discord/remove_django_crispy_bulma | 2020-07-15 | -262/+206 | |
| |\ \ | | | | | | | | | Removes django-crispy-bulma as a dependency. | |||
| | * | | Fix linting issues caused by refactor. | 2020-07-15 | -1/+2 | |
| | | | | ||||
| | * | | Removes django_crispy_forms dependency, too. | 2020-07-15 | -40/+7 | |
| | | | | ||||
| | * | | Removes django_crispy_bulma dependency. | 2020-07-14 | -227/+203 | |
| |/ / | ||||
| | * | 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 | |
| | | | ||||
| | * | Update dependency pins | 2020-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.0 | 2020-07-14 | -364/+515 | |
| | |\ | | |/ | |/| | ||||
| | * | 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. | |||
| | * | Update to Django 3.0 | 2020-03-21 | -120/+116 | |
| | | | ||||
* | | | 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 trailing whitespace in GitHub Action file | 2020-06-11 | -1/+1 | |
| | | ||||
* | | Create codeql-analysis.yml | 2020-06-11 | -0/+32 | |
| | | ||||
* | | 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 | |
| | | ||||
* | | Merge pull request #361 from python-discord/dependabot/pip/django-2.2.13 | 2020-06-06 | -94/+91 | |
|\ \ | | | | | | | Bump django from 2.2.11 to 2.2.13 | |||
| * | | Bump django from 2.2.11 to 2.2.13 | 2020-06-06 | -94/+91 | |
|/ / | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 2.2.11 to 2.2.13. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/2.2.11...2.2.13) Signed-off-by: dependabot[bot] <[email protected]> | |||
* | | Merge pull request #357 from ↵ | 2020-06-05 | -25/+89 | |
|\ \ | | | | | | | | | | | | | python-discord/joseph/change-roles-field-to-postgres-array Change roles field on user model to Postgres array | |||
| * | | 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 | |
| | | |