Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | pysite -> pydis_site | 2019-04-05 | -4725/+0 | |
| | ||||
* | [#158 #160] Add crispy-bulma and simple-bulma | 2019-04-05 | -9675/+33 | |
| | ||||
* | [#176] Redo project layout | 2019-04-05 | -9/+4344 | |
| | ||||
* | Default to `INFO` log level. | 2019-01-04 | -1/+1 | |
| | ||||
* | Set up `django-crispy-forms`. | 2018-12-30 | -0/+1 | |
| | ||||
* | Django - Add Infractions API (#149) | 2018-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. | 2018-11-22 | -2/+17 | |
| | ||||
* | Drop extra whitespace. | 2018-10-26 | -3/+3 | |
| | ||||
* | Ensure Django logs to stdout. | 2018-09-23 | -0/+27 | |
| | ||||
* | Force logs to stdout. | 2018-09-23 | -26/+0 | |
| | ||||
* | Allow configuring `PARENT_HOST` via env var. | 2018-09-21 | -1/+1 | |
| | ||||
* | Use proper key for formatter setting. | 2018-09-10 | -1/+1 | |
| | ||||
* | Use proper path to `StreamHandler`. | 2018-09-10 | -1/+1 | |
| | ||||
* | Add `gunicorn` logs to `stdout`. | 2018-09-10 | -0/+26 | |
| | ||||
* | Revert "Use Argon2 for password hashing." | 2018-09-08 | -6/+0 | |
| | | | | | | Needs compiled dependencies, not needed for API yet. This reverts commit 17bff58a3c8f1a28052f4da88feb13cb2de56922. | |||
* | Use Argon2 for password hashing. | 2018-09-08 | -0/+6 | |
| | ||||
* | Add the `admin` subdomain with the Django Admin. | 2018-09-08 | -5/+5 | |
| | ||||
* | Allow configuring allowed hosts with env var. | 2018-09-07 | -7/+10 | |
| | ||||
* | Add the `STATIC_ROOT` setting. | 2018-09-05 | -0/+1 | |
| | ||||
* | Properly configure Django project. | 2018-08-30 | -3/+5 | |
| | ||||
* | Proeprly set up lint and test stages. | 2018-08-30 | -5/+5 | |
| | ||||
* | Require authentication to use the API. | 2018-08-15 | -3/+6 | |
| | ||||
* | Use `TokenAuthentication` instead of API keys. | 2018-08-15 | -11/+7 | |
| | ||||
* | Add `api` to `INSTALLED_APPS`. | 2018-08-15 | -27/+28 | |
| | ||||
* | Add bot API key permission check. | 2018-08-14 | -0/+19 | |
| | ||||
* | Add `api.` subdomain to host configuration. | 2018-08-14 | -1/+1 | |
| | ||||
* | Add subdomains to `ALLOWED_HOSTS`. | 2018-08-13 | -2/+14 | |
| | ||||
* | Namespace `home:index` URL. | 2018-08-13 | -1/+1 | |
| | ||||
* | Add base & navbar templates. | 2018-08-13 | -0/+35 | |
| | ||||
* | Add static files. | 2018-08-13 | -0/+9732 | |
| | ||||
* | Add regular URLconf. | 2018-08-13 | -4/+13 | |
| | ||||
* | Add the `home` app. | 2018-08-11 | -21/+21 | |
| | ||||
* | Remove nested URLconfs. | 2018-08-11 | -60/+7 | |
| | ||||
* | Use `django-environ` and PostgreSQL. | 2018-08-11 | -15/+22 | |
| | ||||
* | Rename `pydis_django` to `pysite`. | 2018-08-11 | -0/+221 | |
| | ||||
* | Initial project layout for django | 2018-08-07 | -16310/+0 | |
| | ||||
* | Merge branch 'bugfix/fix-expired-record-unhiphopification-message' into 'master' | 2018-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. | 2018-07-28 | -3/+2 | |
| | | ||||
* | | Merge branch 'enhancement/delete-otname-route' into 'master' | 2018-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. | 2018-07-28 | -11/+36 | |
| |/ | ||||
* | | Addressing gdude comments | 2018-07-29 | -28/+38 | |
| | | ||||
* | | Support for embeds and attachments. | 2018-07-29 | -1/+4 | |
| | | ||||
* | | Merge branch 'master' into clean_command | 2018-07-28 | -7/+621 | |
|\ \ | ||||
| * | | Fix typo in infractions table definition | 2018-07-28 | -1/+1 | |
| |/ | ||||
| * | Fix unit test | 2018-07-27 | -1/+1 | |
| | | ||||
| * | Fix a couple dumb mistakes | 2018-07-27 | -1/+3 | |
| | | ||||
| * | Don't remove basic user objects, add API for querying them | 2018-07-27 | -5/+30 | |
| | | | | | | | | Also update privacy policy in accordance with this | |||
| * | Tweaks to the Infractions API for the bot | 2018-07-26 | -18/+45 | |
| | | ||||
| * | Infraction system API to replace Rowboat | 2018-07-21 | -2/+562 | |
| | | ||||
* | | Now doing role colorization instead of random colors for the cleanlog template. | 2018-07-22 | -33/+24 | |
| | |