aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | | | (Tag Cleanup): Removed Tags Model import from models __init__.pyGravatar ks1232020-08-27-1/+0
| | | | | |
| | * | | | (Tag Cleanup): Removed Tags Model test.Gravatar ks1232020-08-27-5/+0
| | | | | |
| | * | | | (Tag Cleanup): Removed Tags URLGravatar ks1232020-08-27-5/+0
| | | | | |
| | * | | | (Tag Cleanup): Removed Tags serializer.Gravatar ks1232020-08-27-11/+0
| | | | | |
| | * | | | (Tag Cleanup): Removed Tags from AdministrationGravatar ks1232020-08-27-2/+0
| | | | | |
| | * | | | (Tag Cleanup): Removed Tags viewset.Gravatar ks1232020-08-27-106/+0
| | | |_|/ | | |/| |
| * | | | Move the SHA into constants.py.Gravatar Leon Sandøy2020-08-22-23/+4
| | | | | | | | | | | | | | | | | | | | The util was redundant. Thanks @MarkKoz
| * | | | Remove the SHA from the wiki base.htmlGravatar Leon Sandøy2020-08-22-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | This extends the regular base.html, so this would cause wiki pages to have two SHA's.
| * | | | Move git SHA fetcher into its own file.Gravatar Leon Sandøy2020-08-22-12/+26
| | | | | | | | | | | | | | | | | | | | Fix tests.
| * | | | Move git SHA fetcher into utils.Gravatar Leon Sandøy2020-08-22-9/+14
| | | | |
| * | | | Merge branch 'master' into add_deployment_infoGravatar Leon Sandøy2020-08-22-1/+59
| |\| | |
| | * | | Merge pull request #374 from Numerlor/reminder-direct-retrieveGravatar Mark2020-08-20-1/+59
| | |\ \ \ | | | | | | | | | | | | Allow direct fetching of reminders by id
| | | * | | Update docstring for new fetching behaviourGravatar Numerlor2020-08-20-0/+24
| | | | | |
| | | * | | Allow direct fetching of reminders by idGravatar Numerlor2020-08-20-1/+35
| | | | | |
| * | | | | Set the sentry_sdk.init release to git_sha.Gravatar Leon Sandøy2020-08-22-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is the first step in implementing releases for Sentry.
| * | | | | Move git SHA initialization to __init__.py.Gravatar Leon Sandøy2020-08-22-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | This will make it easier to use in multiple places.
| * | | | | Add a comment with the git SHA to base templates.Gravatar Leon Sandøy2020-08-22-0/+2
| | | | | |
| * | | | | Add a context processor that outputs the git SHA.Gravatar Leon Sandøy2020-08-22-1/+11
| |/ / / / | | | | | | | | | | | | | | | This will make the SHA available in all templates.
| * | | | Update Code Jam 7 to most recent in navbarGravatar Dennis Pham2020-08-13-1/+1
| | | | |
| * | | | Update rule 6 for the removal of #show-your-projectsGravatar Dennis Pham2020-08-08-1/+2
| |/ / /
| * | | Fix bad migration 0059Gravatar Leon Sandøy2020-08-03-0/+85
| | | | | | | | | | | | | | | | | | | | This had the wrong data for GUILD_INVITES - it had invites instead of Guild IDs. This new migration solves this problem.
| * | | Delete FilterList objects for tests.Gravatar Leon Sandøy2020-07-30-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have a migration that adds data, we can no longer have tests that operate on the assumption that the database is going to be empty. So, we're now clearing that table before these tests run.
| * | | Add a migration for all the existing data.Gravatar Leon Sandøy2020-07-30-0/+153
| | | | | | | | | | | | | | | | | | | | This will populate the table with domain names, guild invites, filter tokens and file formats.
| * | | Provide callable, not return value.Gravatar Leon Sandøy2020-07-30-1/+1
| | | | | | | | | | | | Co-authored-by: Sebastiaan Zeeff <[email protected]>
| * | | Add a constraint in the DB model as well.Gravatar Leon Sandøy2020-07-29-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This really should've been handled automatically by DRF, and in the future, it will be. But for now, we need to have constraints both on the serializer (to get status code 400), and on the model (to prevent direct database constraint violations). See https://github.com/encode/django-rest-framework/issues/7173
| * | | Fix multiple leafs for migration graph.Gravatar Leon Sandøy2020-07-29-1/+1
| | | |
| * | | Merge branch 'master' into whitelist_systemGravatar Leon Sandøy2020-07-29-3/+80
| |\ \ \
| | * | | Fix misleading documentationGravatar kosayoda2020-07-19-1/+1
| | | | |
| | * | | Use literal integers for mentions ID in testGravatar kosayoda2020-07-19-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Since the mentions field stores static IDs and not foreign keys, there is no need to create the objects for the test.
| | * | | Merge migrationsGravatar kosayoda2020-07-16-0/+14
| | | | |
| | * | | Merge branch 'master' of github.com:python-discord/site into role-remindersGravatar kosayoda2020-07-16-2/+60
| | |\ \ \
| | * | | | Add mentions field to valid data testGravatar kosayoda2020-07-16-1/+14
| | | | | |
| | * | | | Document more undocumented stuffGravatar kosayoda2020-07-16-2/+6
| | | | | |
| | * | | | Document PATCH for remindersGravatar kosayoda2020-07-16-0/+16
| | | | | |
| | * | | | 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
| | | | | |
| * | | | | 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