aboutsummaryrefslogtreecommitdiffstats
path: root/backend (unfollow)
Commit message (Collapse)AuthorLines
2020-12-23Check does form exists in responses bulk DELETEGravatar ks129-1/+6
2020-12-23Add bulk DELETE method to responses endpointGravatar ks129-1/+56
2020-12-22Updates Patching StrategyGravatar Hassan Abouelela-25/+46
Changes the patching strategy to modify certain objects instead of outright overwriting them. Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-22Dedents Webhook ObjectGravatar Hassan Abouelela-23/+15
Removes the meta object, and moves the webhook object under the main form object to reduce nesting. Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-21Update review-policy.ymlGravatar Joe Banks-1/+1
2020-12-21Remove validator importGravatar ks129-1/+1
Co-authored-by: Joe Banks <[email protected]>
2020-12-21Remove unnecessary validatorGravatar ks129-8/+0
Co-authored-by: Joe Banks <[email protected]>
2020-12-21Remove unnecessary comment about IDGravatar ks129-2/+0
Co-authored-by: Joe Banks <[email protected]>
2020-12-21Convert user IDs to string to avoid JS bad behavioursGravatar ks129-3/+13
2020-12-21Adds and Documents Webhook Message VariablesGravatar Hassan Abouelela-3/+27
Adds better parsing and formatting for webhook message variables, and documents them in SCHEMA.md. Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-18Adds Missing AnnotationGravatar Hassan Abouelela-1/+1
Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-18Runs Initial Validation AsynchronouslyGravatar Hassan Abouelela-33/+81
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]>
2020-12-18Update status code of pydantic errors responseGravatar ks129-1/+1
Co-authored-by: Joe Banks <[email protected]>
2020-12-18Actually update form in DB in PATCH methodGravatar ks129-0/+5
2020-12-18Remove pydnsbl dependencyGravatar ks129-153/+15
2020-12-18Remove DNS blacklist field from antispam modelGravatar ks129-1/+0
2020-12-18Remove DNS blacklist handling from submit routeGravatar ks129-6/+1
2020-12-18Add PATCH method to form endpointGravatar ks129-2/+32
2020-12-18Uses Builtin User ClassGravatar Hassan Abouelela-9/+21
Uses builtin user formatting for username and mentions. Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-18Change Embed DescriptionGravatar Hassan Abouelela-1/+1
Co-authored-by: Joe Banks <[email protected]>
2020-12-17Update submit.pyGravatar Joe Banks-2/+2
2020-12-18Sends Embed AsynchronouslyGravatar Hassan Abouelela-4/+6
Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-17Adds Webhook Sending FunctionalityGravatar Hassan Abouelela-7/+59
Builds and sends a discord webhook on form submission. Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-17Makes Webhooks OptionalGravatar Hassan Abouelela-2/+2
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]>
2020-12-17Adds Frontend URL to EnvGravatar Hassan Abouelela-0/+2
Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-17Update backend/models/form_response.pyGravatar Hassan Abouelela-1/+1
Co-authored-by: ks129 <[email protected]>
2020-12-17Fixes DB Timestamp on ReturnGravatar Hassan Abouelela-11/+21
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]>
2020-12-17Adds Timestamp FieldGravatar Hassan Abouelela-1/+7
Adds timestamp field to user form responses on generation. Signed-off-by: Hassan Abouelela <[email protected]>
2020-12-17Adds Webhook OptionGravatar Hassan Abouelela-7/+67
Adds webhook option on form creation, and adds validation. Updates `SCHEMA.md`. Signed-off-by: Hassan Abouelela <[email protected]>