| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | 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 | |||
| * | | No longer accept or track avatar_hash. | 2020-05-27 | -62/+52 | |
| | | | | | | | | | | | | | This should completely remove avatar_hash from the site - both in our tests, in the model itself, and from the database (as a result of the migration). | |||
| * | | Update Game Jam from upcoming to most recent | 2020-05-12 | -1/+1 | |
| | | | ||||
| * | | Fixed migration nr 51 `down` function object getting | 2020-04-21 | -1/+1 | |
| | | | ||||
| * | | Fixed migration 51 file end (`create_news_setting`) | 2020-04-21 | -1/+0 | |
| | | | ||||
| * | | Merge branch 'master' into news-bot-setting | 2020-04-21 | -1/+1 | |
| |\ \ | ||||
| | * | | Fix broken link to Game Jam banner | 2020-04-02 | -1/+1 | |
| | | | | | | | | | | | | | The asset was recently moved to a new directory. | |||
| * | | | Created migration fo Python News feature on bot | 2020-04-20 | -0/+26 | |
| | | | | ||||
| * | | | Added `news` to allowed bot setting names. | 2020-04-20 | -0/+1 | |
| |/ / | ||||
| * | | Add Game Jam banner to landing page | 2020-03-27 | -8/+4 | |
| | | | | | | | I've added the Game Jam banner to the home page and made it link the Game Jam info page. | |||
| * | | Add events section to menu dropdown | 2020-03-27 | -2/+8 | |
| |/ | | | To draw attention to upcoming events, I've changed the events section of the "more" dropdown menu. It now has an events header, followed by the upcoming event, and a link to the general events page. | |||
| * | Add more pre-commit hooks | 2020-03-04 | -27/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | Hooks added: * check-merge-conflict - checks for files with merge conflict strings * check-toml - attempts to load all toml files to verify syntax * check-yaml - attempts to load all yaml files to verify syntax * end-of-file-fixer - ensures files end in a newline and only a newline * mixed-line-ending - replaces mixed line endings with LF * trailing-whitespace - trims trailing whitespace * python-check-blanket-noqa - enforces that noqa annotations always occur with specific codes Changes made to comply with new hooks: * Remove trailing whitespaces * Remove some useless noqa annotations * Specify errors for noqa annotations * Add missing newlines at end of files See: python-discord/organisation#138 | |||
| * | Merge branch 'master' into deleted-messages-visible-line-endings | 2020-03-01 | -38/+349 | |
| |\ | ||||
| | * | Merge branch 'master' into add-sentry-sdk | 2020-02-21 | -0/+3 | |
| | |\ | ||||
| | | * | Pad logos so they horizontally align | 2020-02-20 | -0/+0 | |
| | | | | ||||
| | | * | Add sentry logo to sponsors | 2020-02-20 | -0/+3 | |
| | | | | ||||
| | * | | Add sentry SDK init to settings.py | 2020-02-21 | -1/+11 | |
| | |/ | ||||
| | * | Change MEDIA_ROOT to /site/media | 2020-02-17 | -1/+1 | |
| | | | ||||
| | * | Switch the code jam banner for the stream. | 2020-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. | |||