Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Account for broken import sorting on Azure. | 2019-01-20 | -1/+1 | |
| | ||||
* | Add a test case for the message deletion endpoint. | 2019-01-20 | -0/+43 | |
| | ||||
* | Do not rely on hardcoded ID. | 2019-01-20 | -1/+1 | |
| | ||||
* | Make the flakes happy. | 2019-01-20 | -6/+7 | |
| | ||||
* | Finish the logs API. | 2019-01-20 | -7/+34 | |
| | ||||
* | Allow message content to be blank. | 2019-01-20 | -1/+20 | |
| | ||||
* | Merge branch 'django' into django+add-logs-api | 2019-01-20 | -103/+1247 | |
|\ | ||||
| * | Add an example `docker-compose.yml`. | 2019-01-13 | -7/+16 | |
| | | ||||
| * | Drop `collectstatic` task again. | 2019-01-13 | -1/+0 | |
| | | ||||
| * | Remove duplicated newline. | 2019-01-12 | -1/+0 | |
| | | ||||
| * | Ignore dumb `hadolint` error. | 2019-01-12 | -1/+1 | |
| | | ||||
| * | Collect static files in Docker image. | 2019-01-12 | -4/+5 | |
| | | ||||
| * | Document format query parameter. | 2019-01-09 | -1/+3 | |
| | | ||||
| * | Use proper test case name. | 2019-01-09 | -1/+1 | |
| | | ||||
| * | 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 | |
| | | ||||
| * | Document deployment. | 2019-01-05 | -0/+147 | |
| | | ||||
| * | Default to `INFO` log level. | 2019-01-04 | -1/+1 | |
| | | ||||
| * | Document configuration environment variables. | 2019-01-04 | -0/+25 | |
| | | ||||
| * | Merge pull request #162 from python-discord/issue/159-install-crispyforms | 2019-01-04 | -0/+2 | |
| |\ | | | | | | | Set up `django-crispy-forms`. | |||
| | * | Set up `django-crispy-forms`. | 2018-12-30 | -0/+2 | |
| | | | ||||
| * | | Merge branch 'django' into django+add-role-viewset | 2019-01-01 | -138/+965 | |
| |\ \ | ||||
| | * \ | Merge pull request #156 from python-discord/django-beautify | 2018-12-09 | -59/+59 | |
| | |\ \ | | | |/ | | |/| | Django - API Corrections | |||
| | | * | Fixed merge conflicts | 2018-12-08 | -20/+734 | |
| | | |\ | | | |/ | | |/| | ||||
| | * | | Bump minimum DRF version to `3.9.0`. | 2018-12-05 | -1/+1 | |
| | | | | ||||
| | * | | Django - Add Infractions API (#149) | 2018-11-29 | -18/+712 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |
| | |/ | ||||
| * | | apply stash | 2019-01-01 | -13/+108 | |
| | | | ||||
* | | | Merge branch 'django' into django+add-logs-api. | 2018-11-25 | -90/+216 | |
|\ \ \ | | |/ | |/| | ||||
| * | | Set up image pushing and building on Azure. (#152) | 2018-11-25 | -0/+23 | |
| | | | | | | | | | | | | Closes #152. | |||
| * | | Use more descriptive migration name. | 2018-11-25 | -0/+0 | |
| | | | ||||
| * | | Add a regex validator to snakename fields. (#151) | 2018-11-25 | -2/+28 | |
| | | | ||||
| * | | Use `ERROR` log level in tests if no log level is explicitly set. | 2018-11-22 | -2/+17 | |
| | | | ||||
| * | | 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 | |||
* | | Use proper attribute name. | 2018-11-18 | -1/+1 | |
| | | ||||
* | | Add a role API viewset and mount it in the router. | 2018-11-18 | -9/+104 | |
| | | | | | | | | Closes #147. | |||
* | | Hook up the new viewset to the router. | 2018-11-18 | -2/+6 | |
| | | ||||
* | | Add viewsets and serializers. | 2018-11-18 | -8/+56 | |
| | | ||||
* | | Add `MessageDeletionContext` and `DeletedMessage` to the admin. | 2018-11-18 | -1/+4 | |
| | | ||||
* | | Add the `DeletedMessage` model. | 2018-11-18 | -6/+66 | |
| | | ||||
* | | Use proper field class name. | 2018-11-18 | -1/+1 | |
| | | ||||
* | | Add the `channel_id` field to messages. | 2018-11-18 | -0/+13 | |
| | | ||||
* | | Add the `MessageDeletionContext` model. | 2018-11-18 | -5/+57 | |
| | | ||||
* | | Add the abstract `Message` model. | 2018-11-18 | -1/+42 | |
|/ |