Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'django' into django+add-role-viewset | 2019-01-01 | -41/+188 | |
|\ | ||||
| * | Fixed merge conflicts | 2018-12-08 | -4/+145 | |
| |\ | ||||
| | * | Django - Add Infractions API (#149) | 2018-11-29 | -4/+145 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||
| * | | Fixed member route typos | 2018-11-30 | -3/+3 | |
| |/ | ||||
| * | Django - Add Support for Storing Users Not in Guild (#150) | 2018-11-19 | -32/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||
* | | apply stash | 2019-01-01 | -8/+99 | |
|/ | ||||
* | code presentasion and help text on models | 2018-10-25 | -5/+6 | |
| | ||||
* | Added special snake documentation, fixed linting errors | 2018-10-24 | -6/+29 | |
| | ||||
* | Added special snakes api | 2018-10-22 | -5/+11 | |
| | ||||
* | fixed linting issues | 2018-10-20 | -1/+1 | |
| | ||||
* | added whitespace before headers | 2018-10-20 | -0/+2 | |
| | ||||
* | ficksed gramar and kept imports 2 per line | 2018-10-20 | -4/+4 | |
| | ||||
* | Fixed linting issues, added SnakeIdioms to test_models.py | 2018-10-20 | -3/+3 | |
| | ||||
* | Added Snake idioms documentation, fixed docs for snake facts | 2018-10-20 | -1/+19 | |
| | ||||
* | Added snake idioms api | 2018-10-19 | -2/+9 | |
| | ||||
* | exterminated trailing comma, fixed imports 2 per line | 2018-10-15 | -3/+4 | |
| | ||||
* | Fixed import order and linting | 2018-10-15 | -4/+3 | |
| | ||||
* | Fixed ordering, switched to ListModelMixin | 2018-10-13 | -27/+27 | |
| | ||||
* | Added snake facts api | 2018-10-11 | -2/+27 | |
| | ||||
* | Add viewsets and URLs for the Tag API. | 2018-09-23 | -2/+108 | |
| | ||||
* | Set up GitLab CI properly. | 2018-09-04 | -3/+6 | |
| | ||||
* | Linewrap import. | 2018-09-01 | -1/+4 | |
| | ||||
* | Lock dependencies. | 2018-09-01 | -3/+5 | |
| | ||||
* | Add the member viewset. | 2018-09-01 | -8/+120 | |
| | ||||
* | Add support for deleting off-topic-channel names. | 2018-09-01 | -1/+20 | |
| | ||||
* | Add a creation route. | 2018-09-01 | -3/+26 | |
| | ||||
* | Add the GET route. | 2018-09-01 | -3/+58 | |
| | ||||
* | Add support for `create` & `destroy`. | 2018-08-16 | -11/+44 | |
| | ||||
* | Add a simple `list` / `retrieve` documentation link endpoint. | 2018-08-16 | -4/+40 | |
| | ||||
* | Small documentation fixes. | 2018-08-16 | -1/+4 | |
| | ||||
* | Support `get_all` query parameter. | 2018-08-16 | -3/+46 | |
| | ||||
* | Use viewsets and the `rest_framework` router. | 2018-08-15 | -0/+9 | |