aboutsummaryrefslogtreecommitdiffstats
path: root/pysite (follow)
Commit message (Collapse)AuthorAgeLines
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-4725/+0
|
* [#158 #160] Add crispy-bulma and simple-bulmaGravatar Gareth Coles2019-04-05-9675/+33
|
* [#176] Redo project layoutGravatar Gareth Coles2019-04-05-9/+4344
|
* 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
|
* Drop extra whitespace.Gravatar Johannes Christ2018-10-26-3/+3
|
* 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
|
* Add the `admin` subdomain with the Django Admin.Gravatar Johannes Christ2018-09-08-5/+5
|
* 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-5/+5
|
* Require authentication to use the API.Gravatar Johannes Christ2018-08-15-3/+6
|
* Use `TokenAuthentication` instead of API keys.Gravatar Johannes Christ2018-08-15-11/+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/+19
|
* Add `api.` subdomain to host configuration.Gravatar Johannes Christ2018-08-14-1/+1
|
* Add subdomains to `ALLOWED_HOSTS`.Gravatar Johannes Christ2018-08-13-2/+14
|
* Namespace `home:index` URL.Gravatar Johannes Christ2018-08-13-1/+1
|
* Add base & navbar templates.Gravatar Johannes Christ2018-08-13-0/+35
|
* Add static files.Gravatar Johannes Christ2018-08-13-0/+9732
|
* Add regular URLconf.Gravatar Johannes Christ2018-08-13-4/+13
|
* Add the `home` app.Gravatar Johannes Christ2018-08-11-21/+21
|
* Remove nested URLconfs.Gravatar Johannes Christ2018-08-11-60/+7
|
* Use `django-environ` and PostgreSQL.Gravatar Johannes Christ2018-08-11-15/+22
|
* Rename `pydis_django` to `pysite`.Gravatar Johannes Christ2018-08-11-0/+221
|
* Initial project layout for djangoGravatar Gareth Coles2018-08-07-16310/+0
|
* Merge branch 'bugfix/fix-expired-record-unhiphopification-message' into 'master'Gravatar Leon Sandøy2018-07-31-3/+2
|\ | | | | | | | | | | | | Fix expiry checking when unhophipifying. Closes bot#29 See merge request python-discord/projects/site!29
| * Fix expiry checking when unhophipifying.Gravatar Johannes Christ2018-07-28-3/+2
| |
* | Merge branch 'enhancement/delete-otname-route' into 'master'Gravatar Leon Sandøy2018-07-29-11/+36
|\ \ | | | | | | | | | | | | Add `DELETE` route to `off-topic-names` endpoint. See merge request python-discord/projects/site!28
| * | Add `DELETE` route to `off-topic-names` endpoint.Gravatar Johannes Christ2018-07-28-11/+36
| |/
* | Addressing gdude commentsGravatar Leon Sandøy2018-07-29-28/+38
| |
* | Support for embeds and attachments.Gravatar Leon Sandøy2018-07-29-1/+4
| |
* | Merge branch 'master' into clean_commandGravatar Leon Sandøy2018-07-28-7/+621
|\ \
| * | Fix typo in infractions table definitionGravatar Gareth Coles2018-07-28-1/+1
| |/
| * Fix unit testGravatar Gareth Coles2018-07-27-1/+1
| |
| * Fix a couple dumb mistakesGravatar Gareth Coles2018-07-27-1/+3
| |
| * Don't remove basic user objects, add API for querying themGravatar Gareth Coles2018-07-27-5/+30
| | | | | | | | Also update privacy policy in accordance with this
| * Tweaks to the Infractions API for the botGravatar Momo2018-07-26-18/+45
| |
| * Infraction system API to replace RowboatGravatar Momo2018-07-21-2/+562
| |
* | Now doing role colorization instead of random colors for the cleanlog template.Gravatar Leon Sandøy2018-07-22-33/+24
| |