| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
| |
Adds logging for most routes, to make it easier to debug the routes, and
keep a better record of major changes. Most operations would not get
logged, except the beginning of a more sensitive operation, especially
ones that require admin permissions.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Adds logging to the CORS setup, user, and discord helpers. Log
statements have been setup in a way to maximize information for local
development and prod debugging, while minimizing average load on the
prod version.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Adds formatters and handlers for logging.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Removes schema from the token cookie's domain field.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
| |
Traefik forwards https traffic to http, which causes issues with the
protocol in a request's URL. This switch uses the protocol header to
correctly set the protocol.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Correctly formats the domain set on the cookie used for tokens.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Adds a helper method to allow tokens to work on deploy previews.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
This reverts commit 013ea900
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Sets the authorization token cookie's security policy to lax, to allow
it to work on the site.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
| |
Cleans up the authorize file, and the __init__ to maintain the project's
code style.
Co-authored-by: Joe Banks <[email protected]>
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
| |
Changes the name for the token used to authorize with the backend.
Co-authored-by: Joe Banks <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\
| |
| |
| |
| |
| | |
# Conflicts:
# backend/routes/forms/form.py
# backend/routes/forms/submit.py
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Co-authored-by: Hassan Abouelela <[email protected]>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
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]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|/
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
submitting.
|
|
|
|
| |
submitting.
|
| |
|
|
|
| |
This was OPEN before, but we need to return discoverable closed forms too.
|