Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add a view returning the server rules. | 2019-01-09 | -3/+172 | |
| | | | | Closes #171. | |||
* | Use proper default for infraction insertion date. | 2019-01-09 | -2/+21 | |
| | ||||
* | Allow custom `inserted_at` infraction field for now. | 2019-01-07 | -1/+21 | |
| | ||||
* | Use proper field name in `tag_embed_validator`. | 2019-01-07 | -1/+1 | |
| | ||||
* | Add the `note` infraction type. | 2019-01-05 | -1/+20 | |
| | ||||
* | Merge branch 'django' into django+add-role-viewset | 2019-01-01 | -135/+922 | |
|\ | ||||
| * | Fixed merge conflicts | 2018-12-08 | -19/+731 | |
| |\ | ||||
| | * | Django - Add Infractions API (#149) | 2018-11-29 | -18/+710 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||
| | * | Added regex validator to special snake name. (#153) | 2018-11-29 | -1/+21 | |
| | | | ||||
| * | | Renamed class in test_users | 2018-12-01 | -1/+1 | |
| | | | ||||
| * | | Ordered models alphabetically | 2018-12-01 | -55/+55 | |
| | | | ||||
| * | | Fixed member route typos | 2018-11-30 | -3/+3 | |
| |/ | ||||
| * | Use more descriptive migration name. | 2018-11-25 | -0/+0 | |
| | | ||||
| * | Add a regex validator to snakename fields. (#151) | 2018-11-25 | -2/+28 | |
| | | ||||
| * | Django - Add Support for Storing Users Not in Guild (#150) | 2018-11-19 | -63/+111 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | -13/+108 | |
|/ | ||||
* | Added help text | 2018-10-29 | -1/+21 | |
| | ||||
* | Changed image urlfield to ArrayField | 2018-10-27 | -2/+41 | |
| | ||||
* | Merge branch 'special_snakes' of ↵ | 2018-10-27 | -1/+1 | |
|\ | | | | | | | https://gitlab.com/python-discord/projects/site into special_snakes | |||
| * | Use proper `noqa` comment. | 2018-10-26 | -1/+1 | |
| | | ||||
* | | trailing comma extermination | 2018-10-27 | -5/+5 | |
|/ | ||||
* | Fixed linting | 2018-10-25 | -2/+3 | |
| | ||||
* | code presentasion and help text on models | 2018-10-25 | -10/+39 | |
| | ||||
* | Fixed linting | 2018-10-25 | -6/+8 | |
| | ||||
* | Added special snake documentation, fixed linting errors | 2018-10-24 | -9/+32 | |
| | ||||
* | Added image field | 2018-10-23 | -2/+24 | |
| | ||||
* | Added special snakes api | 2018-10-22 | -16/+71 | |
| | ||||
* | fixed linting issues | 2018-10-20 | -1/+1 | |
| | ||||
* | added whitespace before headers | 2018-10-20 | -0/+2 | |
| | ||||
* | fixed linting | 2018-10-20 | -1/+1 | |
| | ||||
* | ficksed gramar and kept imports 2 per line | 2018-10-20 | -7/+25 | |
| | ||||
* | Fixed linting issues, added SnakeIdioms to test_models.py | 2018-10-20 | -5/+8 | |
| | ||||
* | Added Snake idioms documentation, fixed docs for snake facts | 2018-10-20 | -1/+19 | |
| | ||||
* | Added snake idioms api | 2018-10-19 | -6/+59 | |
| | ||||
* | exterminated trailing comma, fixed imports 2 per line | 2018-10-15 | -4/+5 | |
| | ||||
* | added SnakeName to setUp | 2018-10-15 | -0/+1 | |
| | ||||
* | Added SnakeFact import | 2018-10-15 | -1/+1 | |
| | ||||
* | Fixed import order and linting | 2018-10-15 | -10/+9 | |
| | ||||
* | Fixed ordering, switched to ListModelMixin | 2018-10-13 | -27/+27 | |
| | ||||
* | fixed ordering | 2018-10-13 | -26/+28 | |
| | ||||
* | Added snake facts api | 2018-10-11 | -5/+75 | |
| | ||||
* | Use proper keyword argument. | 2018-09-23 | -1/+1 | |
| | ||||
* | Add missing test. | 2018-09-23 | -1/+5 | |
| | ||||
* | Use tag title as string representation. | 2018-09-23 | -0/+3 | |
| | ||||
* | Add allowance tests. | 2018-09-23 | -0/+70 | |
| | ||||
* | Add API root view documentation. | 2018-09-23 | -3/+3 | |
| | ||||
* | Add viewsets and URLs for the Tag API. | 2018-09-23 | -5/+125 | |
| | ||||
* | Exclude `admin.py` modules. | 2018-09-23 | -0/+4 | |
| | ||||
* | Remove `hypothesis`. | 2018-09-23 | -27/+12 | |
| | ||||
* | Add embed validation. | 2018-09-23 | -2/+324 | |
| |