aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Set `harakiri = 30`.Gravatar Johannes Christ2019-03-11-0/+4
|
* Set `single-interpreter = true`.Gravatar Johannes Christ2019-03-11-0/+2
|
* Revert to 16.04 build pools.Gravatar azure-pipelines[bot]2019-03-09-4/+4
|
* Update pool build to Ubuntu 18.04Gravatar azure-pipelines[bot]2019-03-09-4/+4
|
* Update Django to 2.1.7.Gravatar Johannes Christ2019-02-18-27/+54
|
* Add nomination API test cases.Gravatar Johannes Christ2019-02-18-0/+41
|
* Add `# pragma: no cover` to downwards migration.Gravatar Johannes Christ2019-02-18-1/+1
|
* Add unit test for the new validator.Gravatar Johannes Christ2019-02-18-1/+12
|
* Add a validator for bot setting names.Gravatar Johannes Christ2019-02-18-0/+19
|
* Allow retrieval of individual bot settings.Gravatar Johannes Christ2019-02-18-7/+9
|
* Add a new endpoint for updating bot settings.Gravatar Johannes Christ2019-02-18-29/+51
|
* Create a data migration for the `defcon` settings.Gravatar Johannes Christ2019-02-18-0/+30
|
* Add a bot setting model.Gravatar Johannes Christ2019-02-07-9/+54
|
* Define proper update method.Gravatar Johannes Christ2019-02-06-1/+1
|
* Use poetry for dependency managemnet.Gravatar Johannes Christ2019-02-05-57/+396
|
* Implement a simple nominations API.Gravatar Johannes Christ2019-01-27-20/+111
|
* Add an API endpoint for reminders.Gravatar Johannes Christ2019-01-22-22/+164
|
* Chonk down horrible JOIN performance.Gravatar Johannes Christ2019-01-20-1/+1
|
* Add the `watch` infraction type.Gravatar Johannes Christ2019-01-20-0/+19
|
* Account for broken import sorting on Azure.Gravatar Johannes Christ2019-01-20-1/+1
|
* Add a test case for the message deletion endpoint.Gravatar Johannes Christ2019-01-20-0/+43
|
* Do not rely on hardcoded ID.Gravatar Johannes Christ2019-01-20-1/+1
|
* Make the flakes happy.Gravatar Johannes Christ2019-01-20-6/+7
|
* Finish the logs API.Gravatar Johannes Christ2019-01-20-7/+34
|
* Allow message content to be blank.Gravatar Johannes Christ2019-01-20-1/+20
|
* Merge branch 'django' into django+add-logs-apiGravatar Johannes Christ2019-01-20-103/+1247
|\
| * Add an example `docker-compose.yml`.Gravatar Johannes Christ2019-01-13-7/+16
| |
| * Drop `collectstatic` task again.Gravatar Johannes Christ2019-01-13-1/+0
| |
| * Remove duplicated newline.Gravatar Johannes Christ2019-01-12-1/+0
| |
| * Ignore dumb `hadolint` error.Gravatar Johannes Christ2019-01-12-1/+1
| |
| * Collect static files in Docker image.Gravatar Johannes Christ2019-01-12-4/+5
| |
| * Document format query parameter.Gravatar Johannes Christ2019-01-09-1/+3
| |
| * Use proper test case name.Gravatar Johannes Christ2019-01-09-1/+1
| |
| * Add a view returning the server rules.Gravatar Johannes Christ2019-01-09-3/+172
| | | | | | | | Closes #171.
| * Use proper default for infraction insertion date.Gravatar Johannes Christ2019-01-09-2/+21
| |
| * Allow custom `inserted_at` infraction field for now.Gravatar Johannes Christ2019-01-07-1/+21
| |
| * Use proper field name in `tag_embed_validator`.Gravatar Johannes Christ2019-01-07-1/+1
| |
| * Add the `note` infraction type.Gravatar Johannes Christ2019-01-05-1/+20
| |
| * Document deployment.Gravatar Johannes Christ2019-01-05-0/+147
| |
| * Default to `INFO` log level.Gravatar Johannes Christ2019-01-04-1/+1
| |
| * Document configuration environment variables.Gravatar Johannes Christ2019-01-04-0/+25
| |
| * Merge pull request #162 from python-discord/issue/159-install-crispyformsGravatar Johannes Christ2019-01-04-0/+2
| |\ | | | | | | Set up `django-crispy-forms`.
| | * Set up `django-crispy-forms`.Gravatar Johannes Christ2018-12-30-0/+2
| | |
| * | Merge branch 'django' into django+add-role-viewsetGravatar Johannes Christ2019-01-01-138/+965
| |\ \
| | * \ Merge pull request #156 from python-discord/django-beautifyGravatar Johannes Christ2018-12-09-59/+59
| | |\ \ | | | |/ | | |/| Django - API Corrections
| | | * Fixed merge conflictsGravatar ImportErr2018-12-08-20/+734
| | | |\ | | | |/ | | |/|
| | * | Bump minimum DRF version to `3.9.0`.Gravatar Johannes Christ2018-12-05-1/+1
| | | |
| | * | Django - Add Infractions API (#149)Gravatar Mark2018-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)Gravatar Hasan2018-11-29-1/+21
| | | |
| | | * Renamed class in test_usersGravatar ImportErr2018-12-01-1/+1
| | | |