aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/signals.py (follow)
Commit message (Collapse)AuthorAgeLines
* Remove files related to django-allauth.Gravatar Leon Sandøy2020-10-04-314/+0
|
* Alter signals to handle OAuth2 with groups and role mappingsGravatar Joseph Banks2020-06-02-5/+5
|
* Update Django users with Discord username+discrim.Gravatar Gareth Coles2019-10-20-2/+9
| | | | This sets both the Django User's `username` and `first_name` params.
* Tests for the new signal listener is_staff changesGravatar Gareth Coles2019-10-20-1/+1
|
* Add is_staff to role mappings, and the logic to go with itGravatar Gareth Coles2019-10-20-11/+58
|
* Signals: Move group changes outside of the loopGravatar Gareth Coles2019-10-20-6/+6
|
* Allauth: Address reviews by @lemonsaurusGravatar Gareth Coles2019-10-14-8/+76
|
* Signals: Handle (and test) mapping updates/deletionsGravatar Gareth Coles2019-10-11-4/+41
| | | | 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.
* Signals: `add()` does require a list, a generator won't do.Gravatar Gareth Coles2019-10-11-2/+2
|
* Simplify signals.py as per @jchristgit's reviewGravatar Gareth Coles2019-10-11-10/+6
|
* Clarify _apply_groups kwarg (Thanks, @jchristgit)Gravatar Gareth Coles2019-10-11-1/+1
| | | Co-Authored-By: Johannes Christ <[email protected]>
* Clean up and comment signal testsGravatar Gareth Coles2019-10-04-2/+2
|
* Tests for signal handlersGravatar Gareth Coles2019-10-04-5/+8
|
* Hook up Allauth and model signals to handle group assignmentsGravatar Gareth Coles2019-10-03-0/+156