aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/settings.py (follow)
Commit message (Collapse)AuthorAgeLines
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-259/+0
|
* [#158 #160] Add crispy-bulma and simple-bulmaGravatar Gareth Coles2019-04-05-1/+29
|
* [#176] Redo project layoutGravatar Gareth Coles2019-04-05-2/+3
|
* Default to `INFO` log level.Gravatar Johannes Christ2019-01-04-1/+1
|
* Set up `django-crispy-forms`.Gravatar Johannes Christ2018-12-30-0/+1
|
* Django - Add Infractions API (#149)Gravatar Mark2018-11-29-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use `ERROR` log level in tests if no log level is explicitly set.Gravatar Johannes Christ2018-11-22-2/+17
|
* Ensure Django logs to stdout.Gravatar Johannes Christ2018-09-23-0/+27
|
* Force logs to stdout.Gravatar Johannes Christ2018-09-23-26/+0
|
* Allow configuring `PARENT_HOST` via env var.Gravatar Johannes Christ2018-09-21-1/+1
|
* Use proper key for formatter setting.Gravatar Johannes Christ2018-09-10-1/+1
|
* Use proper path to `StreamHandler`.Gravatar Johannes Christ2018-09-10-1/+1
|
* Add `gunicorn` logs to `stdout`.Gravatar Johannes Christ2018-09-10-0/+26
|
* Revert "Use Argon2 for password hashing."Gravatar Johannes Christ2018-09-08-6/+0
| | | | | | Needs compiled dependencies, not needed for API yet. This reverts commit 17bff58a3c8f1a28052f4da88feb13cb2de56922.
* Use Argon2 for password hashing.Gravatar Johannes Christ2018-09-08-0/+6
|
* Allow configuring allowed hosts with env var.Gravatar Johannes Christ2018-09-07-7/+10
|
* Add the `STATIC_ROOT` setting.Gravatar Johannes Christ2018-09-05-0/+1
|
* Properly configure Django project.Gravatar Johannes Christ2018-08-30-3/+5
|
* Proeprly set up lint and test stages.Gravatar Johannes Christ2018-08-30-1/+1
|
* Require authentication to use the API.Gravatar Johannes Christ2018-08-15-3/+6
|
* Use `TokenAuthentication` instead of API keys.Gravatar Johannes Christ2018-08-15-3/+7
|
* Add `api` to `INSTALLED_APPS`.Gravatar Johannes Christ2018-08-15-27/+28
|
* Add bot API key permission check.Gravatar Johannes Christ2018-08-14-0/+11
|
* Add subdomains to `ALLOWED_HOSTS`.Gravatar Johannes Christ2018-08-13-2/+14
|
* Add regular URLconf.Gravatar Johannes Christ2018-08-13-3/+6
|
* Add the `home` app.Gravatar Johannes Christ2018-08-11-21/+21
|
* Use `django-environ` and PostgreSQL.Gravatar Johannes Christ2018-08-11-15/+22
|
* Rename `pydis_django` to `pysite`.Gravatar Johannes Christ2018-08-11-0/+139