|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | 
| 
| 
| 
| | Adds a comment which explains when a certain return_code is used.
Co-authored-by: Joe Banks <[email protected]> | 
| | 
| 
| 
| 
| | Uses 422 instead of 403 to indicate a test has failed.
Co-authored-by: Joe Banks <[email protected]> | 
| | 
| 
| 
| 
| 
| | Records the reason of failure for non-zero exit codes.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| | Adds logic for saving submissions of failed unittests. Updates schema
docs.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| | Adds an explicit model for questions of type `code`, to allow more
complex parsing. Updates schema docs.
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. |