Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [#176] Redo project layout | 2019-04-05 | -174/+0 | |
| | ||||
* | Add a new endpoint for updating bot settings. | 2019-02-18 | -7/+14 | |
| | ||||
* | Implement a simple nominations API. | 2019-01-27 | -5/+16 | |
| | ||||
* | Add an API endpoint for reminders. | 2019-01-22 | -4/+13 | |
| | ||||
* | Make the flakes happy. | 2019-01-20 | -4/+5 | |
| | ||||
* | Finish the logs API. | 2019-01-20 | -5/+32 | |
| | ||||
* | Merge branch 'django' into django+add-logs-api | 2019-01-20 | -6/+42 | |
|\ | ||||
| * | Django - Add Infractions API (#149) | 2018-11-29 | -2/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add Infraction model and serialiser The model in not finalised. * fix mix up of serialiser fields * remove explicit id field and add foreign keys * remove unused import * disallow null for user * add view set and route * fix model and create migration * fix typo choice => choices * specify names for reverse accessors for User FKs * add django-filter * add filters to view set * add string dunder method to model * add list/retrieve tests * make reason nullable * add creation tests * remove support for PUT and DELETE * add support for PATCH * assert timestamps using strings rather than datetimes This is done to keep 3.6 support; datetime.fromisoformat() is 3.7+ * assert inserted_at * add unauthenticated tests * add bad value tests for list filters and retrieve * remove prefetch cache invalidation * make __str__ more descriptive * add field validation & remove note type * add tests for field validation * fix coverage for Infraction string dunder test * fix coverage (for sure this time) * return 400 for partial updates with frozen fields * add expanded serialiser and endpoints * test expanded endpoints * remove extra retrieve call * remove unnecessary try-finally blocks * remove extra blank line * document endpoints (except expanded) * document expanded routes * fix wrong routes in docstring (/infraction -> /infractions) * make merge migration | |||
* | | Merge branch 'django' into django+add-logs-api. | 2018-11-25 | -9/+9 | |
|\| | ||||
| * | Django - Add Support for Storing Users Not in Guild (#150) | 2018-11-19 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * rename Member to User * add boolean field to distinguish users in our server * mark roles as not required * fix import order lint errors * fix order of model registration | |||
* | | Add viewsets and serializers. | 2018-11-18 | -5/+18 | |
|/ | ||||
* | Changed image urlfield to ArrayField | 2018-10-27 | -1/+1 | |
| | ||||
* | trailing comma extermination | 2018-10-27 | -2/+2 | |
| | ||||
* | Added special snake documentation, fixed linting errors | 2018-10-24 | -3/+3 | |
| | ||||
* | Added image field | 2018-10-23 | -2/+2 | |
| | ||||
* | Added special snakes api | 2018-10-22 | -4/+11 | |
| | ||||
* | fixed linting | 2018-10-20 | -1/+1 | |
| | ||||
* | ficksed gramar and kept imports 2 per line | 2018-10-20 | -2/+2 | |
| | ||||
* | Added snake idioms api | 2018-10-19 | -1/+7 | |
| | ||||
* | exterminated trailing comma, fixed imports 2 per line | 2018-10-15 | -1/+1 | |
| | ||||
* | Fixed import order and linting | 2018-10-15 | -2/+2 | |
| | ||||
* | fixed ordering | 2018-10-13 | -7/+8 | |
| | ||||
* | Added snake facts api | 2018-10-11 | -1/+7 | |
| | ||||
* | Add viewsets and URLs for the Tag API. | 2018-09-23 | -1/+11 | |
| | ||||
* | Add the member viewset. | 2018-09-01 | -2/+18 | |
| | ||||
* | Add the GET route. | 2018-09-01 | -1/+10 | |
| | ||||
* | Add a simple `list` / `retrieve` documentation link endpoint. | 2018-08-16 | -1/+7 | |
| | ||||
* | Explicitly specify included fields. | 2018-08-16 | -0/+1 | |
| | ||||
* | Use viewsets and the `rest_framework` router. | 2018-08-15 | -0/+8 | |