Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add more records to test the endpoint with | 2021-03-16 | -0/+91 | |
| | ||||
* | Add case in query for voice chat activity | 2021-03-12 | -0/+1 | |
| | ||||
* | Split test_no_metricity_user to two tests by endpoints | 2021-03-12 | -4/+12 | |
| | ||||
* | Document endpoint in viewset docstring | 2021-03-12 | -0/+16 | |
| | ||||
* | Merge branch 'master' into mbaruh/channel-activity | 2021-03-11 | -76/+435 | |
|\ | ||||
| * | Merge pull request #447 from python-discord/ks123/nomination/split | 2021-03-08 | -76/+435 | |
| |\ | | | | | | | Rework nominations | |||
| | * | Merge branch 'master' into ks123/nomination/split | 2021-03-08 | -7/+145 | |
| | |\ | | |/ | |/| | ||||
| | * | Fix grammar of unknown actor error and change tests | 2021-03-06 | -2/+2 | |
| | | | ||||
| | * | Fix grammar of nomination viewset command about single entry for user | 2021-03-06 | -1/+1 | |
| | | | ||||
| | * | Change as -> to in nomination viewset docs | 2021-03-06 | -1/+1 | |
| | | | ||||
| | * | Fix grammar of nomination models | 2021-03-06 | -5/+5 | |
| | | | ||||
| | * | Fix grammar of error messages and change tests to match with changes | 2021-03-05 | -8/+8 | |
| | | | ||||
| | * | Use double quotes instead apostrophe because string contain "don't" | 2021-03-05 | -1/+1 | |
| | | | ||||
| | * | Replace double quotes with single quotes | 2021-03-05 | -1/+1 | |
| | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
| | * | Fix grammar of nomination endpoints documentation | 2021-03-05 | -5/+5 | |
| | | | | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]> Co-authored-by: Joe Banks <[email protected]> | |||
| | * | Add comment about manually defining nomination field of NominationEntry ↵ | 2021-02-24 | -0/+3 | |
| | | | | | | | | | | | | serializer | |||
| | * | Make default value of nomination entry reason to empty string | 2021-02-24 | -2/+2 | |
| | | | | | | | | | | | | For string fields NULL as default is not suggested, so use empty string instead. | |||
| | * | Remove GET nomination test for entries | 2021-02-24 | -26/+0 | |
| | | | | | | | | | | | | Entries isn't handled manually anymore so these tests have no point. | |||
| | * | Simplify nominations viewset | 2021-02-24 | -48/+3 | |
| | | | | | | | | | | | | | | | | | | | | | After moving entries to nomination serializer we can get rid from GET request handlers and let DRF handle this. Also PATCH and POST handlers got some simplification by removing manual entries setting. | |||
| | * | Add entries field to Nomination serializer | 2021-02-24 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | After setting related_name in NominationEntry model nomination field, we can just provide serializer and DRF automatically fetch all related entries. | |||
| | * | Merge nomination migrations | 2021-02-24 | -18/+3 | |
| | | | | | | | | | | | | | | | This doesn't make sense to have 3 small migrations for one PR, so I merged 2 existing migrations and 1 new, ordering and related_name adding migrations to one. | |||
| | * | Set default ordering of NominationEntry to inserted_at decreasing | 2021-02-24 | -0/+4 | |
| | | | | | | | | | | | | | | | Set it here so we don't have to set it every place where we fetch entries. | |||
| | * | Set related_name option of nomination field of NominationEntry | 2021-02-24 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | In order to use entries in serializer without manually setting entries key we have to use related_name option to automatically fetch all related entries. | |||
| | * | Update nomination-related tests to cover recent table-splitting changes | 2021-02-22 | -21/+139 | |
| | | | ||||
| | * | Small improvements in nomination viewset | 2021-02-22 | -31/+31 | |
| | | | ||||
| | * | Change NominationEntry import location in serializers | 2021-02-22 | -1/+1 | |
| | | | ||||
| | * | Import NominationEntry to models __init__.py | 2021-02-22 | -1/+2 | |
| | | | ||||
| | * | Wrap validation errors to [] | 2021-02-22 | -5/+5 | |
| | | | ||||
| | * | Add rollback to nominations table split migration | 2021-02-22 | -1/+14 | |
| | | | ||||
| | * | Disable creating multiple nomination entries of one nomination for one actor | 2021-02-22 | -0/+10 | |
| | | | ||||
| | * | Migrate PATCH request for 2-table nominations system | 2021-02-22 | -10/+60 | |
| | | | ||||
| | * | Add reviewed field to nomination serializer | 2021-02-22 | -1/+1 | |
| | | | ||||
| | * | Update nominations viewset GET and POST to make this working with 2-table system | 2021-02-22 | -23/+96 | |
| | | | ||||
| | * | Change nominations serializer and add nomination entry serializer | 2021-02-22 | -2/+18 | |
| | | | ||||
| | * | Change nominations admin interface and add nomination entries interface | 2021-02-22 | -13/+67 | |
| | | | ||||
| | * | Split nomination model to 2 tables and create migrations | 2021-02-22 | -12/+112 | |
| | | | ||||
* | | | Ignore deleted messaages in message counts | 2021-03-11 | -1/+1 | |
| | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
* | | | Get rid of stray print | 2021-03-07 | -1/+0 | |
| | | | | | | | | | | | | Oops. | |||
* | | | Test metricity-review-data when user doesn't exist | 2021-03-07 | -2/+5 | |
| | | | ||||
* | | | Added test for metricity-review-data | 2021-03-07 | -3/+25 | |
| | | | ||||
* | | | Amend top_channel_activity return type | 2021-03-07 | -1/+3 | |
| | | | ||||
* | | | Add route to get a member's data for helper review | 2021-03-07 | -1/+71 | |
|/ / | | | | | | | | | | | Added route for getting a user's join date, total messages, and top 3 channels by activity. This information will be used to auto-review nominees. | |||
* | | Update Dockerfile | 2021-03-01 | -5/+6 | |
| | | ||||
* | | Merge pull request #450 from python-discord/error_pages | 2021-03-01 | -0/+129 | |
|\ \ | ||||
| * | | Update error message for 500 page | 2021-03-01 | -1/+1 | |
| | | | | | | | | | Now includes a link to our Discord server and concrete actions for the user, if the problem persists | |||
| * | | Capitalise error codes in 404 and 500 pages | 2021-03-01 | -2/+2 | |
| | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]> | |||
| * | | Add 500 page | 2021-03-01 | -0/+29 | |
| | | | ||||
| * | | Add error page styling | 2021-03-01 | -0/+66 | |
| | | | | | | | | | | | | This css sheet applies to the 404 and 500 pages | |||
| * | | Add 404 page | 2021-03-01 | -0/+34 | |
|/ / | | | | | | | | | This does not include the styling required for the page to display properly | |||
* | | Reduce worker count from 4 to 2 | 2021-02-25 | -1/+1 | |
| | | | | | | We'll be creating a second site instance to allow for rolling restarts, so it makes sense to half this so when we double the requests we'll effectively have 4 workers again. |