Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [#176] Redo project layout | 2019-04-05 | -452/+0 | |
| | ||||
* | Add a bot setting model. | 2019-02-07 | -1/+14 | |
| | ||||
* | Implement a simple nominations API. | 2019-01-27 | -0/+29 | |
| | ||||
* | Add an API endpoint for reminders. | 2019-01-22 | -0/+39 | |
| | ||||
* | Add the `watch` infraction type. | 2019-01-20 | -0/+1 | |
| | ||||
* | Allow message content to be blank. | 2019-01-20 | -1/+2 | |
| | ||||
* | Merge branch 'django' into django+add-logs-api | 2019-01-20 | -48/+111 | |
|\ | ||||
| * | Use proper default for infraction insertion date. | 2019-01-09 | -2/+2 | |
| | | ||||
| * | Allow custom `inserted_at` infraction field for now. | 2019-01-07 | -1/+2 | |
| | | ||||
| * | Add the `note` infraction type. | 2019-01-05 | -1/+2 | |
| | | ||||
| * | Fixed merge conflicts | 2018-12-08 | -1/+62 | |
| |\ | ||||
| | * | Django - Add Infractions API (#149) | 2018-11-29 | -0/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+2 | |
| | | | ||||
| * | | Ordered models alphabetically | 2018-12-01 | -55/+55 | |
| |/ | ||||
* | | Merge branch 'django' into django+add-logs-api. | 2018-11-25 | -6/+12 | |
|\| | ||||
| * | Add a regex validator to snakename fields. (#151) | 2018-11-25 | -2/+4 | |
| | | ||||
| * | Django - Add Support for Storing Users Not in Guild (#150) | 2018-11-19 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||
* | | Add the `DeletedMessage` model. | 2018-11-18 | -0/+8 | |
| | | ||||
* | | Use proper field class name. | 2018-11-18 | -1/+1 | |
| | | ||||
* | | Add the `channel_id` field to messages. | 2018-11-18 | -0/+12 | |
| | | ||||
* | | Add the `MessageDeletionContext` model. | 2018-11-18 | -0/+19 | |
| | | ||||
* | | Add the abstract `Message` model. | 2018-11-18 | -0/+31 | |
|/ | ||||
* | Added help text | 2018-10-29 | -1/+2 | |
| | ||||
* | Changed image urlfield to ArrayField | 2018-10-27 | -1/+3 | |
| | ||||
* | code presentasion and help text on models | 2018-10-25 | -4/+8 | |
| | ||||
* | Added image field | 2018-10-23 | -0/+1 | |
| | ||||
* | Added special snakes api | 2018-10-22 | -0/+12 | |
| | ||||
* | ficksed gramar and kept imports 2 per line | 2018-10-20 | -1/+1 | |
| | ||||
* | Added snake idioms api | 2018-10-19 | -0/+13 | |
| | ||||
* | Fixed import order and linting | 2018-10-15 | -1/+1 | |
| | ||||
* | fixed ordering | 2018-10-13 | -13/+13 | |
| | ||||
* | Added snake facts api | 2018-10-11 | -0/+13 | |
| | ||||
* | Use tag title as string representation. | 2018-09-23 | -0/+3 | |
| | ||||
* | Add embed validation. | 2018-09-23 | -1/+4 | |
| | ||||
* | Add the `Tag` model. | 2018-09-22 | -0/+17 | |
| | ||||
* | Add `__str__` to all API models. | 2018-09-21 | -0/+15 | |
| | ||||
* | Add `__repr__` to all models. | 2018-09-21 | -5/+26 | |
| | ||||
* | Add help texts on all API models. | 2018-09-21 | -6/+25 | |
| | ||||
* | Set up GitLab CI properly. | 2018-09-04 | -2/+2 | |
| | ||||
* | Add the `Member` model. | 2018-09-01 | -2/+42 | |
| | ||||
* | Add the `Role` model. | 2018-09-01 | -1/+42 | |
| | ||||
* | Add the `OffTopicChannelName` model. | 2018-09-01 | -0/+9 | |
| | ||||
* | Add the `DocumentationLink` model. | 2018-08-16 | -0/+10 | |
| | ||||
* | Add the `SnakeName` model. | 2018-08-15 | -1/+4 | |
| | ||||
* | Add stub applications `api` and `wiki`. | 2018-08-13 | -0/+3 | |