aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/staff (follow)
Commit message (Collapse)AuthorAgeLines
* Adjust deleted message test to account for new ordering of newest created first.Gravatar scragly2019-10-20-1/+1
|
* Signals: Handle (and test) mapping updates/deletionsGravatar Gareth Coles2019-10-11-2/+4
| | | | This also enforces unique values for both attributes on the RoleMapping model. Supporting configurations where this isn't the case would introduce quite a lot of added complexity.
* Remove app_label from role mapping modelGravatar Gareth Coles2019-10-03-3/+0
| | | | Turns out, setting this *does* move the model to a different category under the admin - but it also reparents it to the referenced app, so the migrations are created under that app instead. Nasty.
* Add model to map Discord roles to Django permissions groupsGravatar Gareth Coles2019-10-03-0/+61
|
* Applying PR Feedback: Colour constants for readability & absolute importGravatar Sebastiaan Zeeff2019-09-01-6/+18
|
* Changing LogView to DetailView, as per Volcy's reviewGravatar Sebastiaan Zeeff2019-08-24-27/+5
|
* Adding tests for deleted message viewGravatar Sebastiaan Zeeff2019-08-23-2/+98
| | | | | | | Tests include: - Properly escaping html; - Correct messages have been passed to templates; - Embeds are both rendered by the template.
* Adding tests for filters and the deleted message front-end viewGravatar Sebastiaan Zeeff2019-08-23-0/+85
|
* Making the deleted-messages-frontend functional with changes, including:Gravatar Sebastiaan Zeeff2019-08-23-6/+42
| | | | | | | | | - Adding support for embeds to both the template and the css; - Adding Discord fonts to create a Discord-realistic rendering; - Adding Discord color int to html hex filter for use in templates; - Removing unnecessary int -> hex property from role model (see previous point); - Adding support to compute timestamp from snowflake int in the message model; - Forcing the order of deleted messages list view to snowflake `id` to guarantee chronological order.
* Adding message display to frontendGravatar Sebastiaan Zeeff2019-08-23-1/+2
|
* Adding initial staff app to DjangoGravatar Sebastiaan Zeeff2019-08-23-0/+36