aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | Merge branch 'master' into add_deployment_infoGravatar Leon Sandøy2020-08-22-1/+59
| | |\ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Oops, remove double git install from Dockerfile.Gravatar Leon Sandøy2020-08-22-3/+0
| | | | | |
| | * | | | Create a GitHub Action to make a Sentry release.Gravatar Leon Sandøy2020-08-22-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be all we need to enable the releases feature in Sentry for this project.
| | * | | | 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.
| | * | | | Optimize the git install in Dockerfile.Gravatar Leon Sandøy2020-08-22-3/+7
| | | | | |
| | * | | | 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.
| | * | | | Install git in the docker environment.Gravatar Leon Sandøy2020-08-22-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This is required for gitpython to work.
| | * | | | Add gitpython ~=3.1.7 as a dependency.Gravatar Leon Sandøy2020-08-22-90/+117
| | | | | | | | | | | | | | | | | | | | | | | | We'll need this to fetch the hash.
| | | | * | remove redundant if clause in update() method in UserListSeriazlier.Gravatar rohanjnr2020-08-28-3/+2
| | | | | |
| | | | * | re-lcok pipfileGravatar rohanjnr2020-08-28-22/+81
| | | | | |
| | | | * | Uninstall djangorestframework-bulk dependencyGravatar rohanjnr2020-08-28-183/+121
| | | | | |
| | | | * | Add tests for bulk patch for User Model and additional test for bulk ↵Gravatar rohanjnr2020-08-28-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | creation of User Models.
| | | | * | Add code to replace restframework_bulk package for bulk create and simplify ↵Gravatar rohanjnr2020-08-28-58/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UserListSerializer `to_internal_value()` function is not longer overriden in UserListSerializer, this is due to explicitly stating the `id` field in UserSerializer as mentioned in the documentation. Override `create()` method in UserListSerializer and override `get_serializer()` method in `UserViewSet` to support bulk creation.
| | | | * | Except AttributeError when self.instance is None and while fetching User ↵Gravatar rohanjnr2020-08-26-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | object from database.
| | | | * | Add reference links in UserListSerializer methodsGravatar rohanjnr2020-08-26-2/+7
| | | | | |
| | | | * | add support for bulk updates on user modelGravatar rohanjnr2020-08-26-1/+136
| | | | | | | | | | | | | | | | | | | | | | | | implemented a method to handle bulk updates on user model via a new endpoint: /bot/users/bulk_patch
| | | | * | add pagination for GET request on /bot/users endpointGravatar rohanjnr2020-08-26-6/+24
| | |_|/ / | |/| | | | | | | | | | | | | Pagination is done via PageNumberPagination, i.e, each page contains a specific number of `user` objects.
| | | | * add static timeline assetsGravatar Derek2020-09-02-0/+85
| | | | |
| | | | * add timeline templateGravatar Derek2020-09-02-0/+475
| | | | | | | | | | | | | | | | | | | | rough first draft
| | | | * add timeline viewGravatar Derek2020-09-02-3/+9
| |_|_|/ |/| | | | | | | | | | | add timeline route
* | | | Revert pull request #348Gravatar MarkKoz2020-08-29-82/+41
| | | | | | | | | | | | | | | | | | | | | | | | Revert commit 330a27926a7f2a9bdae56a5928cd81e55ccb38ed to reverse changes made to 6c08da2f3e48db9c9dd452f2e0505c4a61e46592. Migrations were failing when those changes were deployed.
* | | | Merge pull request #348 from ks129/off-topic-non-randomGravatar Mark2020-08-29-41/+82
|\ \ \ \ | |/ / / |/| | | Off-topic channel names non random selecting
| * | | Fix linting issues on off-topic viewsetGravatar ks1292020-08-29-3/+7
| | | |
| * | | Fix mess with migrationsGravatar ks1292020-08-29-38/+10
| | | |
| * | | Fix off-topic names test docstrings moodGravatar ks1292020-08-29-15/+15
| | | |
| * | | Simplify non-random off-topic names selectionGravatar ks1292020-08-29-22/+17
| | | |
| * | | Merge branch 'master' into off-topic-non-randomGravatar Leon Sandøy2020-08-27-515/+1389
| |\ \ \ | |/ / / |/| | |
* | | | 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
| | | |
* | | | 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.
* | | Merge pull request #371 from python-discord/whitelist_systemGravatar Leon Sandøy2020-08-03-90/+600
|\ \ \ | | | | | | | | FilterList model and endpoints
| * | | 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
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #370 from python-discord/role-remindersGravatar Dennis Pham2020-07-20-3/+80
|\ \ \ \ | | | | | | | | | | Add mentions field to Reminders model
| * | | | 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-42/+158
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | 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
| | | | |