aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py (unfollow)
Commit message (Collapse)AuthorLines
2019-01-01apply stashGravatar Johannes Christ-13/+108
2018-12-30Set up `django-crispy-forms`.Gravatar Johannes Christ-0/+2
2018-12-05Bump minimum DRF version to `3.9.0`.Gravatar Johannes Christ-1/+1
2018-12-01Renamed class in test_usersGravatar ImportErr-1/+1
2018-12-01Ordered models alphabeticallyGravatar ImportErr-55/+55
2018-11-30Fixed member route typosGravatar ImportErr-3/+3
2018-11-29Django - Add Infractions API (#149)Gravatar Mark-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
2018-11-29Added regex validator to special snake name. (#153)Gravatar Hasan-1/+21
2018-11-25Set up image pushing and building on Azure. (#152)Gravatar Johannes Christ-0/+23
Closes #152.
2018-11-25Use more descriptive migration name.Gravatar Johannes Christ-0/+0
2018-11-25Add a regex validator to snakename fields. (#151)Gravatar Hasan-2/+28
2018-11-22Use `ERROR` log level in tests if no log level is explicitly set.Gravatar Johannes Christ-2/+17
2018-11-19Django - Add Support for Storing Users Not in Guild (#150)Gravatar Mark-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
2018-11-18Set up markdown & Dockerfile lints.Gravatar Johannes Christ-2/+26
2018-11-18Remove obsolete GitLab CI configuration.Gravatar Johannes Christ-133/+0