aboutsummaryrefslogtreecommitdiffstats
path: root/backend/authentication/user.py (follow)
Commit message (Collapse)AuthorAgeLines
* Use redis to store the role cacheGravatar Chris Lovering2024-07-17-2/+2
|
* Use redis for the discord member cache over mongoGravatar Chris Lovering2024-07-16-2/+2
|
* Apply fixable lint settings with RuffGravatar Joe Banks2024-07-08-7/+7
|
* Handle Improper Output For UnittestsGravatar Hassan Abouelela2022-07-01-0/+4
| | | | | | | | | | The old testing code only checks the first character of the stdout, meaning that if a user succeeds in printing a 1 before the rest of the output, the testing code will consider that a pass and discard the rest. This change checks that the rest of the stdout is empty as expected. Signed-off-by: Hassan Abouelela <[email protected]>
* Switch To List CompGravatar Hassan Abouelela2022-02-05-5/+1
| | | | | Co-authored-by: Bluenix <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
* Overhaul Scope SystemGravatar Hassan Abouelela2022-02-05-7/+38
| | | | | | | Adds discord role support to the pre-existing scopes system to power more complex access permissions. Signed-off-by: Hassan Abouelela <[email protected]>
* Make Admin Fetch AsyncGravatar Hassan Abouelela2021-03-01-2/+2
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Centralizes Admin AuthenticationGravatar Hassan Abouelela2021-02-20-0/+9
| | | | | | | Sets admin authentication on authenticator to allow the addition and removal of admins without creating a new token. Signed-off-by: Hassan Abouelela <[email protected]>
* Adds Token Refresh RouteGravatar Hassan Abouelela2021-02-19-0/+17
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Uses Builtin User ClassGravatar Hassan Abouelela2020-12-18-0/+4
| | | | | | Uses builtin user formatting for username and mentions. Signed-off-by: Hassan Abouelela <[email protected]>
* minor refactoringsGravatar decorator-factory2020-12-15-2/+1
|
* fix various type annotation issuesGravatar decorator-factory2020-12-15-1/+1
|
* Create BaseUser implementation for JWT authenticationGravatar ks1292020-12-01-0/+22