| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
| |
Adds a non-discoverable login form in all environments to make it easier
to authenticate. Ideally, we'd have an actual login button, but this is
an easy solution in the meantime.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Adds discord role support to the pre-existing scopes system to power
more complex access permissions.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
We currently use WEBHOOK_ENABLED to determine whether user data should be stored to the db. However, when webhooking a form submission this config is ignored, and the user mention is always included if available.
This means that if a user login in using another form, and then submits an anonymous form with the same session, their name will be included in the webhook.
|
| |
|
|
|
|
|
|
|
| |
Temporarily switches the URL in discord embeds from the frontend, to the
backend, to allow for easier viewing until the frontend is ready.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
| |
Co-authored-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]>
|
| |
| |
| |
| | |
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]>
|
| |
| |
| |
| |
| | |
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
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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]>
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
Removes the meta object, and moves the webhook object under the main
form object to reduce nesting.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|\
| |
| |
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# backend/routes/forms/submit.py
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds better parsing and formatting for webhook message variables, and
documents them in SCHEMA.md.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Uses builtin user formatting for username and mentions.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| | |
| | | |
Co-authored-by: Joe Banks <[email protected]>
|
|\ \ \
| | |/
| |/|
| | |
| | | |
# Conflicts:
# backend/routes/forms/submit.py
|
| |/ |
|