| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
| |
Reverts the changes made in 4f28ae85 because they made it impossible to
send a partial patch request. Changes to a simpler try/except instead.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Makes sure patch requests send a validated request.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Copies the admin adding endpoint into an unprotected endpoint that is
only registered in non-production builds.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
| |
Co-authored-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]>
|
| |\
| | |
| | |
| | |
| | |
| | | |
# 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]>
|
|\| |
|
| | |
|
| |
| |
| | |
This was OPEN before, but we need to return discoverable closed forms too.
|
| |
| |
| |
| |
| |
| |
| | |
As of pyjwt 2.0.0, `jwt.encode` does not return a bytestring, so
decoding is unnecessary.
ref: https://github.com/jpadilla/pyjwt/blob/c96131b970fd341106ce33d0a85b50e3bdbb67ec/CHANGELOG.md#jwtencode-return-type
|
| | |
|
|/ |
|
| |
|