| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Adds the setup method as a special method for unittest question types.
Additionally, a couple QoL fixes are included. I changed `unit` to
`self` to clarify what it actually is, and I changed an `lstrip` to a
`removeprefix` to avoid removing unintentional portions of the name
(for instance `something` -> `omething`)
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Adds the ability to specify who can edit forms using discord roles.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Adds a new property on forms to declare which roles are authorized to
access form responses.
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]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Note that it will make any existing form with an upper case letter impossible to access until its ID is changed, which shouldn't be the case in production according to @HassanAbouelela
|
|
|
|
|
| |
Co-authored-by: Chris <[email protected]>
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
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]>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Hassan Abouelela <[email protected]>
|
|\ |
|
| |
| |
| |
| | |
submitting.
|
| |
| |
| |
| | |
submitting.
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
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
|
| | |
| | |
| | |
| | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Moves the validation code of webhook urls to an async function that is
called by the route, to avoid blocking code.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# backend/routes/forms/submit.py
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes a bug that would force you to do a dummy webhook object when
creating a form. Fixes a bug that would force you to add an empty
message for webhooks.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds webhook option on form creation, and adds validation. Updates
`SCHEMA.md`.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Joe Banks <[email protected]>
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Joe Banks <[email protected]>
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Joe Banks <[email protected]>
|
| |_|_|/
|/| | | |
|
| |_|/
|/| | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | | |
Co-authored-by: ks129 <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As pointed out by @ks129, fetching the responses would cause an error in
the timestamp, as the validation was returning the current time at
fetching, instead of the stored value.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |/
| |
| |
| |
| |
| | |
Adds timestamp field to user form responses on generation.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|/ |
|