aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | | use NON_FIELD_ERRORS_KEY for non-field-specific ValidationError responseGravatar RohanJnr2020-10-08-1/+4
| | | | |
| | * | | update documentationGravatar RohanJnr2020-10-08-36/+34
| | | | |
| | * | | add testcase: test_returns_400_for_duplicate_request_usersGravatar RohanJnr2020-10-08-0/+16
| | | | |
| | * | | raise ValidationError if users have same ID in request data during bulk patchGravatar RohanJnr2020-10-08-9/+15
| | | | |
| | * | | add test case: test_returns_400_for_existing_userGravatar RohanJnr2020-10-08-1/+12
| | | | |
| | * | | fix bug: bulk_patch returns duplicate objects in the responseGravatar RohanJnr2020-10-08-1/+1
| | | | |
| | * | | catch IntegrityError and raise ValidationError during user creation.Gravatar RohanJnr2020-10-08-0/+8
| | | | |
| | * | | update documentationGravatar RohanJnr2020-10-07-3/+3
| | | | |
| | * | | add test case for insufficient data while bulk updating users.Gravatar RohanJnr2020-10-07-0/+14
| | | | |
| | * | | add check for insufficient data in update method of UserListSerializerGravatar RohanJnr2020-10-07-0/+5
| | | | |
| | * | | Document changes made to UserListSerializer in UserViewSetGravatar RohanJnr2020-10-07-0/+3
| | | | |
| | * | | use more efficient codeGravatar RohanJnr2020-10-07-4/+6
| | | | |
| | * | | refactor tests to use updated changes and add tests for UserListPaginationGravatar RohanJnr2020-10-06-2/+64
| | | | |
| | * | | overhaul create method to ignore conflicts and raise error when duplicates ↵Gravatar RohanJnr2020-10-06-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | present in request data. Raising NotFound exception instead of ValidatoinError in update method
| | * | | Update docstring of UserViewSet and correct function annotation on ↵Gravatar RohanJnr2020-10-06-4/+5
| | | | | | | | | | | | | | | | | | | | UserListPagination
| | * | | Change test case to use updated codeGravatar RohanJnr2020-10-05-1/+1
| | | | |
| | * | | return next and previous page numbers in paginator instead of linksGravatar RohanJnr2020-10-05-11/+30
| | | | |
| | * | | raise validation error for user not found in UserListSerializerGravatar RohanJnr2020-10-05-6/+11
| | | | |
| | * | | Merge remote-tracking branch 'upstream/master' into user_endpointGravatar RohanJnr2020-10-04-53/+614
| | |\| |
| | | * | Display no prompt to users who have already authenticatedGravatar Joe Banks2020-10-03-3/+4
| | | | |
| | | * | Only request the identify scope with Discord on OAuth2 loginGravatar Joe Banks2020-10-02-0/+7
| | | | |
| | | * | Update rule 5Gravatar Joe Banks2020-10-01-2/+3
| | | | |
| | * | | optimize bulk update endpoint by using Model.objects.bulk_update() methodGravatar RohanJnr2020-09-22-1/+7
| | | | | | | | | | | | | | | | | | | | The Model.objects.bulk_update() method greatly reduces the number of SQL queries by updating all required instances in 1 query.
| | * | | Merge branch 'master' into user_endpointGravatar rohanjnr2020-09-09-214/+179
| | |\ \ \ | | | | | | | | | | | | | | | | | | the Pipfile.lock conflict was resolved by re-locking the pipfile.
| | * | | | remove redundant if clause in update() method in UserListSeriazlier.Gravatar rohanjnr2020-08-28-3/+2
| | | | | |
| | * | | | 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
* | | | | | Use bulma extension in place of self-written code.Gravatar kosayoda2021-05-14-17/+1
| | | | | |
* | | | | | Merge branch main into dewikificationGravatar kosayoda2021-05-14-615/+7111
| | | | | |
* | | | | | Make tests expect 302.Gravatar kosayoda2021-05-14-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's what we're using now for dewikification redirects, this has to be changed back to 301 when we decide to make redirects permanent.
* | | | | | Add privacy policy information and link.Gravatar kosayoda2021-05-13-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be redirected to the notion page using our cloudflare worker.
* | | | | | Add disclaimer for the redirects app.Gravatar kosayoda2021-05-13-0/+8
| | | | | |
* | | | | | Use temporary redirects for now.Gravatar kosayoda2021-05-13-1/+3
| | | | | |
* | | | | | Route navbar links to their new locations.Gravatar kosayoda2021-05-13-8/+8
| | | | | |
* | | | | | Add content app redirects.Gravatar kosayoda2021-05-13-1/+75
| | | | | |
* | | | | | Add game jam pages redirectsGravatar ks1292021-05-03-0/+25
| | | | | |
* | | | | | Add HTTP 200 requirement to redirect survival testsGravatar ks1292021-05-03-0/+2
| | | | | |
* | | | | | Add code jam 6 and 7 rules pages redirectsGravatar ks1292021-05-03-0/+10
| | | | | |
* | | | | | Add code jams helper pages redirectsGravatar ks1292021-05-03-0/+15
| | | | | |
* | | | | | Add note about prefix redirectsGravatar ks1292021-05-03-0/+1
| | | | | |
* | | | | | Add contributing pages prefix redirection and update testsGravatar ks1292021-05-03-2/+22
| | | | | |
* | | | | | Implement hacky solution to allow prefix redirectsGravatar ks1292021-05-03-3/+8
| | | | | |
* | | | | | Migrate redirections from settings.py -> redirects.yamlGravatar ks1292021-05-03-44/+66
| | | | | |