~homeworkprod/byceps

ref: 4e95e590e725922047822aef3b5b4682dd5c75d2 byceps/byceps/util/user_session.py -rw-r--r-- 3.3 KiB
4e95e590 — Jochen Kupperschmidt 4 months ago
Explicitly cast values to type aliases
1c559ffd — Jochen Kupperschmidt 4 months ago
Use PEP 585 type hinting generics
497cd84d — Jochen Kupperschmidt 6 months ago
Clear user session on login before setting values
07761e71 — Jochen Kupperschmidt 7 months ago
Make permission, locale arguments to current user factories optional
e1ca961f — Jochen Kupperschmidt 7 months ago
Provide session locale to current user, load Babel locale from there
0575590a — Jochen Kupperschmidt 7 months ago
Add common blueprint to set session locale
283bdcab — Jochen Kupperschmidt 7 months ago
Move current user factory functions to session service, dissolve class `AnonymousUser`

The `deleted` flag has been removed from `CurrentUser`. Instead, query
the flag of the same name on the object obtained via `to_dto()`.
2b1327b3 — Jochen Kupperschmidt 8 months ago
Move `get_current_user` to authorization utility
4e26d6e7 — Jochen Kupperschmidt 8 months ago
Inline private functions
3256df04 — Jochen Kupperschmidt 8 months ago
Move user session module to utilities package
3d7b49f0 — Jochen Kupperschmidt 8 months ago
Update copyright notes for 2021
0b51dd42 — Jochen Kupperschmidt 10 months ago
Refer to license as "Revised BSD" to clarify that it is not customized

The common name "Modified BSD License" for the 3-clause BSD license can
be misleading as it might suggest it is a BSD license customized by the
project author.

To avoid this, refer to the license under one of its other names
instead.
49d49a2e — Jochen Kupperschmidt 1 year, 28 days ago
Move authentication blueprint into `common` subpackage
428eab3e — Jochen Kupperschmidt 1 year, 8 months ago
Update copyright notes for 2020
634080d4 — Jochen Kupperschmidt 1 year, 11 months ago
Format calls according to Black
9795357b — Jochen Kupperschmidt 1 year, 11 months ago
Format callables' signatures according to Black
1d33981d — Jochen Kupperschmidt 2 years ago
Update copyright notes for 2019
9e757d79 — Jochen Kupperschmidt 2 years ago
Load current user's orga flag in existing database query
e8f55fac — Jochen Kupperschmidt 2 years ago
Extract variables to improve readability
03d147f3 — Jochen Kupperschmidt 2 years ago
Retrieve current user's avatar in existing database query instead of explicitly later on
Next