aboutsummaryrefslogtreecommitdiffstats
path: root/backend (follow)
Commit message (Collapse)AuthorAgeLines
* Sends Embed AsynchronouslyGravatar Hassan Abouelela2020-12-18-4/+6
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-17-19/+181
|\ | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py
| * Merge branch 'main' into docs/api-specGravatar ks1292020-12-17-1/+16
| |\
| * | Enable docs and load protection middlewareGravatar Joe Banks2020-12-16-2/+5
| | |
| * | Add password protection middlewareGravatar Joe Banks2020-12-16-2/+12
| | |
| * | Add optional production password for docsGravatar Joe Banks2020-12-16-0/+2
| | |
| * | Document index routeGravatar Joe Banks2020-12-16-0/+18
| | |
| * | Document auth routeGravatar Joe Banks2020-12-16-2/+26
| | |
| * | Document forms routesGravatar Joe Banks2020-12-16-10/+69
| | |
| * | Make model changesGravatar Joe Banks2020-12-16-3/+19
| | |
| * | Add validation utilitiesGravatar Joe Banks2020-12-16-0/+30
| | |
* | | Adds Webhook Sending FunctionalityGravatar Hassan Abouelela2020-12-17-4/+56
| | | | | | | | | | | | | | | | | | Builds and sends a discord webhook on form submission. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Makes Webhooks OptionalGravatar Hassan Abouelela2020-12-17-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]>
* | | Adds Frontend URL to EnvGravatar Hassan Abouelela2020-12-17-0/+1
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | | Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-17-1/+16
|\ \ \ | | |/ | |/|
| * | Update backend/models/form_response.pyGravatar Hassan Abouelela2020-12-17-1/+1
| | | | | | | | | Co-authored-by: ks129 <[email protected]>
| * | Fixes DB Timestamp on ReturnGravatar Hassan Abouelela2020-12-17-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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 FieldGravatar Hassan Abouelela2020-12-17-1/+7
| |/ | | | | | | | | | | Adds timestamp field to user form responses on generation. Signed-off-by: Hassan Abouelela <[email protected]>
* / Adds Webhook OptionGravatar Hassan Abouelela2020-12-17-0/+52
|/ | | | | | | Adds webhook option on form creation, and adds validation. Updates `SCHEMA.md`. Signed-off-by: Hassan Abouelela <[email protected]>
* Add DELETE method to response route for form response deletingGravatar ks1292020-12-16-2/+18
|
* Remove unnecessary status codeGravatar ks1292020-12-16-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Add missing commaGravatar ks1292020-12-16-1/+1
|
* Merge branch 'main' into ks123/form-deleteGravatar ks1292020-12-16-52/+56
|\
| * Fix f-string referencing the wrong nametesting-strategiesGravatar decorator-factory2020-12-15-3/+3
| | | | | | | | | | | | Fix missing type annotation Lint fix
| * Merge branch 'ks123/routes-parsing' into testing-strategiesGravatar decorator-factory2020-12-15-2/+2
| |\
| | * Update route levels parsing to work in all platformsGravatar ks1292020-12-15-1/+1
| | |
| | * Make import name of route working for every platformGravatar ks1292020-12-15-1/+1
| | | | | | | | | | | | As Windows use \\ instead /, current way doesn't work in Windows, because replacing / with . doesn't do anything with \\. Now this join parent parts instead, what doesn't include separations.
| * | remove stray printGravatar decorator-factory2020-12-15-1/+0
| | |
| * | refactor route discoveryGravatar decorator-factory2020-12-15-20/+24
| | |
| * | minor refactoringsGravatar decorator-factory2020-12-15-24/+25
| | |
| * | fix various type annotation issuesGravatar decorator-factory2020-12-15-20/+20
| |/
* | Return some JSON from delete endpointGravatar ks1292020-12-16-1/+1
| |
* | Fix grammarGravatar ks1292020-12-16-2/+2
| | | | | | Co-authored-by: Joe Banks <[email protected]>
* | Add DELETE method for form endpointGravatar ks1292020-12-16-2/+20
|/
* Remove unused os importGravatar Joe Banks2020-12-14-2/+0
|
* Star allow CORS for nowGravatar Joe Banks2020-12-14-5/+2
|
* Shorten var name to meet flake8 limits:Gravatar Joe Banks2020-12-14-2/+2
|
* Change how the ALLOWED_HOSTS environment variable sets CORSGravatar Joe Banks2020-12-14-4/+5
|
* Swap out list of regex for single regexGravatar Joe Banks2020-12-14-3/+1
|
* Add Netlify root and deploy previews to CORSGravatar Joe Banks2020-12-14-0/+3
|
* Merge branch 'main' into ks123/responses-routeGravatar Joe Banks2020-12-14-0/+30
|\
| * Merge branch 'main' into ks123/single-response-routeGravatar Joe Banks2020-12-14-38/+80
| |\
| * | Restructure single response routeGravatar ks1292020-12-14-2/+5
| | |
| * | Create route for showing single form responseGravatar ks1292020-12-13-0/+27
| | |
* | | Improve form responses endpointGravatar ks1292020-12-14-5/+9
| | |
* | | Create route for returning all form responsesGravatar ks1292020-12-14-0/+30
| |/ |/|
* | Sort routes to have constants first and path fragments lastGravatar Joe Banks2020-12-13-0/+3
| |
* | Fix whitespace errorsGravatar Joe Banks2020-12-13-3/+3
| |
* | Fix dodgy indent and wrong field nameGravatar Joe Banks2020-12-13-2/+2
| |
* | Fix data sanitization methodGravatar Joe Banks2020-12-13-1/+15
| |