aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
| | |
| | * Ordered models alphabeticallyGravatar ImportErr2018-12-01-55/+55
| | |
| | * Fixed member route typosGravatar ImportErr2018-11-30-3/+3
| |/
| * Set up image pushing and building on Azure. (#152)Gravatar Johannes Christ2018-11-25-0/+23
| | | | | | | | Closes #152.
| * Use more descriptive migration name.Gravatar Johannes Christ2018-11-25-0/+0
| |
| * Add a regex validator to snakename fields. (#151)Gravatar Hasan2018-11-25-2/+28
| |
| * Use `ERROR` log level in tests if no log level is explicitly set.Gravatar Johannes Christ2018-11-22-2/+17
| |
| * Django - Add Support for Storing Users Not in Guild (#150)Gravatar Mark2018-11-19-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
* | apply stashGravatar Johannes Christ2019-01-01-13/+108
|/
* Set up markdown & Dockerfile lints.Gravatar Johannes Christ2018-11-18-2/+26
|
* Remove obsolete GitLab CI configuration.Gravatar Johannes Christ2018-11-18-133/+0
|
* Set up Azure pipelines.Gravatar Johannes Christ2018-11-18-0/+92
|
* Revert "Add `echo` on non-zero `coverage publish` exit status."Gravatar Johannes Christ2018-11-11-1/+1
| | | | This reverts commit c94fa7c4b9b362661967a31ee0f0d85b215f0e73.
* Revert "Use extra `coverage report` invocation."Gravatar Johannes Christ2018-11-11-2/+1
| | | | This reverts commit e30579e1d0534904c07287caa7893066ec312c7c.
* Use extra `coverage report` invocation.Gravatar Johannes Christ2018-11-11-1/+2
|
* Add `echo` on non-zero `coverage publish` exit status.Gravatar Johannes Christ2018-11-11-1/+1
|
* Fix up YAML formatting.Gravatar Johannes Christ2018-11-06-12/+3
|
* Quote script.Gravatar Johannes Christ2018-11-06-1/+2
|
* Install all `psycopg2` dependencies.Gravatar Johannes Christ2018-11-06-2/+10
|
* Extract lint dependencies from `setup.py`.Gravatar Johannes Christ2018-11-06-1/+2
|
* Install `gcc` for `psycopg2`.Gravatar Johannes Christ2018-11-06-2/+2
|
* Install `postgresql-dev` for `psycopg2`.Gravatar Johannes Christ2018-11-06-0/+5
|
* Install `flake8` before linting.Gravatar Johannes Christ2018-11-06-1/+3
|
* Omit image build step.Gravatar Johannes Christ2018-11-06-69/+6
|
* Inform about issues and setup help in README.Gravatar Johannes Christ2018-11-06-1/+5
|
* Merge branch 'special_snakes' into 'django'Gravatar Johannes Christ2018-11-02-20/+212
|\ | | | | | | | | Django - Special Snakes API See merge request python-discord/projects/site!45
| * Added help textGravatar Hasan-Ahmad2018-10-29-1/+21
| |
| * Changed image urlfield to ArrayFieldGravatar Hasan-Ahmad2018-10-27-2/+41
| |
| * Merge branch 'special_snakes' of ↵Gravatar Hasan-Ahmad2018-10-27-4/+5
| |\ | | | | | | | | | https://gitlab.com/python-discord/projects/site into special_snakes
| | * Drop extra whitespace.Gravatar Johannes Christ2018-10-26-3/+3
| | |
| | * Ignore warning to workaround flake8 bug.Gravatar Johannes Christ2018-10-26-0/+1
| | |
| | * Use proper `noqa` comment.Gravatar Johannes Christ2018-10-26-1/+1
| | |
| * | trailing comma exterminationGravatar Hasan-Ahmad2018-10-27-5/+5
| |/
| * Fixed lintingGravatar Hasan-Ahmad2018-10-25-2/+3
| |
| * code presentasion and help text on modelsGravatar Hasan-Ahmad2018-10-25-10/+39
| |
| * Fixed lintingGravatar Hasan-Ahmad2018-10-25-6/+8
| |
| * Added special snake documentation, fixed linting errorsGravatar Hasan-Ahmad2018-10-24-9/+32
| |
| * Added image fieldGravatar Hasan-Ahmad2018-10-23-2/+24
| |
| * Added special snakes apiGravatar Hasan-Ahmad2018-10-22-16/+71
| |
* | Merge branch 'snake_idioms' into 'django'Gravatar Johannes Christ2018-10-21-10/+104
|\| | | | | | | | | Snake idioms API See merge request python-discord/projects/site!44
| * fixed linting issuesGravatar Hasan-Ahmad2018-10-20-1/+1
| |