aboutsummaryrefslogtreecommitdiffstats
path: root/api/migrations (follow)
Commit message (Collapse)AuthorAgeLines
* [#176] Redo project layoutGravatar Gareth Coles2019-04-05-854/+0
|
* Add `# pragma: no cover` to downwards migration.Gravatar Johannes Christ2019-02-18-1/+1
|
* Add a validator for bot setting names.Gravatar Johannes Christ2019-02-18-0/+19
|
* Create a data migration for the `defcon` settings.Gravatar Johannes Christ2019-02-18-0/+30
|
* Add a bot setting model.Gravatar Johannes Christ2019-02-07-0/+23
|
* Implement a simple nominations API.Gravatar Johannes Christ2019-01-27-0/+26
|
* Add an API endpoint for reminders.Gravatar Johannes Christ2019-01-22-0/+28
|
* Add the `watch` infraction type.Gravatar Johannes Christ2019-01-20-0/+18
|
* Allow message content to be blank.Gravatar Johannes Christ2019-01-20-0/+18
|
* Merge branch 'django' into django+add-logs-apiGravatar Johannes Christ2019-01-20-0/+169
|\
| * Use proper default for infraction insertion date.Gravatar Johannes Christ2019-01-09-0/+19
| |
| * Allow custom `inserted_at` infraction field for now.Gravatar Johannes Christ2019-01-07-0/+19
| |
| * Add the `note` infraction type.Gravatar Johannes Christ2019-01-05-0/+18
| |
| * Django - Add Infractions API (#149)Gravatar Mark2018-11-29-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+19
| |
* | Merge branch 'django' into django+add-logs-api.Gravatar Johannes Christ2018-11-25-2/+75
|\|
| * Use more descriptive migration name.Gravatar Johannes Christ2018-11-25-0/+0
| |
| * Add a regex validator to snakename fields. (#151)Gravatar Hasan2018-11-25-0/+24
| |
| * Django - Add Support for Storing Users Not in Guild (#150)Gravatar Mark2018-11-19-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | * 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.Gravatar Johannes Christ2018-11-18-0/+34
| |
* | Add the `MessageDeletionContext` model.Gravatar Johannes Christ2018-11-18-0/+24
|/
* Added help textGravatar Hasan-Ahmad2018-10-29-0/+19
|
* Changed image urlfield to ArrayFieldGravatar Hasan-Ahmad2018-10-27-0/+37
|
* code presentasion and help text on modelsGravatar Hasan-Ahmad2018-10-25-0/+23
|
* Added image fieldGravatar Hasan-Ahmad2018-10-23-0/+21
|
* Added special snakes apiGravatar Hasan-Ahmad2018-10-22-0/+22
|
* ficksed gramar and kept imports 2 per lineGravatar Hasan-Ahmad2018-10-20-0/+18
|
* Added snake idioms apiGravatar Hasan-Ahmad2018-10-19-0/+21
|
* Added snake facts apiGravatar Hasan-Ahmad2018-10-11-0/+21
|
* Add embed validation.Gravatar Johannes Christ2018-09-23-0/+20
|
* Add the `Tag` model.Gravatar Johannes Christ2018-09-22-0/+23
|
* Add help texts on all API models.Gravatar Johannes Christ2018-09-21-0/+44
|
* Add the `Member` model.Gravatar Johannes Christ2018-09-01-0/+38
|
* Add the `Role` model.Gravatar Johannes Christ2018-09-01-0/+23
|
* Fix migration conflicts.Gravatar Johannes Christ2018-09-01-1/+1
|
* Add the `OffTopicChannelName` model.Gravatar Johannes Christ2018-09-01-0/+20
|
* Add the `DocumentationLink` model.Gravatar Johannes Christ2018-08-16-0/+21
|
* Add the `SnakeName` model.Gravatar Johannes Christ2018-08-15-0/+21
|
* Add stub applications `api` and `wiki`.Gravatar Johannes Christ2018-08-13-0/+0