| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | * | | Merge pull request #156 from python-discord/django-beautify | 2018-12-09 | -59/+59 | ||
| | | |\ \ | | | |/ | | |/| | Django - API Corrections | ||||
| | | | * | Fixed merge conflicts | 2018-12-08 | -20/+734 | ||
| | | | |\ | | | |/ | | |/| | |||||
| | | * | | Bump minimum DRF version to `3.9.0`. | 2018-12-05 | -1/+1 | ||
| | | | | | |||||
| | | * | | Django - Add Infractions API (#149) | 2018-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) | 2018-11-29 | -1/+21 | ||
| | | | | | |||||
| | | | * | Renamed class in test_users | 2018-12-01 | -1/+1 | ||
| | | | | | |||||
| | | | * | Ordered models alphabetically | 2018-12-01 | -55/+55 | ||
| | | | | | |||||
| | | | * | Fixed member route typos | 2018-11-30 | -3/+3 | ||
| | | |/ | |||||
| | * | | apply stash | 2019-01-01 | -13/+108 | ||
| | | | | |||||
| * | | | Merge branch 'django' into django+add-logs-api. | 2018-11-25 | -90/+216 | ||
| |\ \ \ | | |/ | |/| | |||||
| | * | | Set up image pushing and building on Azure. (#152) | 2018-11-25 | -0/+23 | ||
| | | | | | | | | | | | | | Closes #152. | ||||
| | * | | Use more descriptive migration name. | 2018-11-25 | -0/+0 | ||
| | | | | |||||
| | * | | Add a regex validator to snakename fields. (#151) | 2018-11-25 | -2/+28 | ||
| | | | | |||||
| | * | | Use `ERROR` log level in tests if no log level is explicitly set. | 2018-11-22 | -2/+17 | ||
| | | | | |||||
| | * | | Django - Add Support for Storing Users Not in Guild (#150) | 2018-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 | ||||
| * | | Use proper attribute name. | 2018-11-18 | -1/+1 | ||
| | | | |||||
| * | | Add a role API viewset and mount it in the router. | 2018-11-18 | -9/+104 | ||
| | | | | | | | | | Closes #147. | ||||
| * | | Hook up the new viewset to the router. | 2018-11-18 | -2/+6 | ||
| | | | |||||
| * | | Add viewsets and serializers. | 2018-11-18 | -8/+56 | ||
| | | | |||||
| * | | Add `MessageDeletionContext` and `DeletedMessage` to the admin. | 2018-11-18 | -1/+4 | ||
| | | | |||||
| * | | Add the `DeletedMessage` model. | 2018-11-18 | -6/+66 | ||
| | | | |||||
| * | | Use proper field class name. | 2018-11-18 | -1/+1 | ||
| | | | |||||
| * | | Add the `channel_id` field to messages. | 2018-11-18 | -0/+13 | ||
| | | | |||||
| * | | Add the `MessageDeletionContext` model. | 2018-11-18 | -5/+57 | ||
| | | | |||||
| * | | Add the abstract `Message` model. | 2018-11-18 | -1/+42 | ||
| |/ | |||||
| * | Set up markdown & Dockerfile lints. | 2018-11-18 | -2/+26 | ||
| | | |||||
| * | Remove obsolete GitLab CI configuration. | 2018-11-18 | -133/+0 | ||
| | | |||||
| * | Set up Azure pipelines. | 2018-11-18 | -0/+92 | ||
| | | |||||
| * | Revert "Add `echo` on non-zero `coverage publish` exit status." | 2018-11-11 | -1/+1 | ||
| | | | | | This reverts commit c94fa7c4b9b362661967a31ee0f0d85b215f0e73. | ||||
| * | Revert "Use extra `coverage report` invocation." | 2018-11-11 | -2/+1 | ||
| | | | | | This reverts commit e30579e1d0534904c07287caa7893066ec312c7c. | ||||
| * | Use extra `coverage report` invocation. | 2018-11-11 | -1/+2 | ||
| | | |||||
| * | Add `echo` on non-zero `coverage publish` exit status. | 2018-11-11 | -1/+1 | ||
| | | |||||
| * | Fix up YAML formatting. | 2018-11-06 | -12/+3 | ||
| | | |||||
| * | Quote script. | 2018-11-06 | -1/+2 | ||
| | | |||||
| * | Install all `psycopg2` dependencies. | 2018-11-06 | -2/+10 | ||
| | | |||||
| * | Extract lint dependencies from `setup.py`. | 2018-11-06 | -1/+2 | ||
| | | |||||
| * | Install `gcc` for `psycopg2`. | 2018-11-06 | -2/+2 | ||
| | | |||||
| * | Install `postgresql-dev` for `psycopg2`. | 2018-11-06 | -0/+5 | ||
| | | |||||
| * | Install `flake8` before linting. | 2018-11-06 | -1/+3 | ||
| | | |||||
| * | Omit image build step. | 2018-11-06 | -69/+6 | ||
| | | |||||
| * | Inform about issues and setup help in README. | 2018-11-06 | -1/+5 | ||
| | | |||||
| * | Merge branch 'special_snakes' into 'django' | 2018-11-02 | -20/+212 | ||
| |\ | | | | | | | | | Django - Special Snakes API See merge request python-discord/projects/site!45 | ||||
| | * | Added help text | 2018-10-29 | -1/+21 | ||
| | | | |||||
| | * | Changed image urlfield to ArrayField | 2018-10-27 | -2/+41 | ||
| | | | |||||
| | * | Merge branch 'special_snakes' of ↵ | 2018-10-27 | -4/+5 | ||
| | |\ | | | | | | | | | | https://gitlab.com/python-discord/projects/site into special_snakes | ||||
| | | * | Drop extra whitespace. | 2018-10-26 | -3/+3 | ||
| | | | | |||||
| | | * | Ignore warning to workaround flake8 bug. | 2018-10-26 | -0/+1 | ||
| | | | | |||||
| | | * | Use proper `noqa` comment. | 2018-10-26 | -1/+1 | ||
| | | | | |||||
| | * | | trailing comma extermination | 2018-10-27 | -5/+5 | ||
| | |/ | |||||
| | * | Fixed linting | 2018-10-25 | -2/+3 | ||
| | | | |||||