aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes (follow)
Commit message (Collapse)AuthorAgeLines
...
| * Check is user already admin before addingGravatar ks1292020-12-24-0/+5
| |
| * Use Pydantic validation instead manual validationGravatar ks1292020-12-24-3/+8
| |
| * Create route for adding new adminsGravatar ks1292020-12-22-0/+31
| |
* | Let Pydantic validate bulk responses delete dataGravatar ks1292020-12-24-4/+8
| |
* | Check does form exists in responses bulk DELETEGravatar ks1292020-12-23-1/+6
| |
* | Add bulk DELETE method to responses endpointGravatar ks1292020-12-23-1/+56
|/
* Updates Patching StrategyGravatar Hassan Abouelela2020-12-22-7/+15
| | | | | | | Changes the patching strategy to modify certain objects instead of outright overwriting them. Signed-off-by: Hassan Abouelela <[email protected]>
* Dedents Webhook ObjectGravatar Hassan Abouelela2020-12-22-6/+5
| | | | | | | Removes the meta object, and moves the webhook object under the main form object to reduce nesting. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-21-8/+38
|\ | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py
| * Update status code of pydantic errors responseGravatar ks1292020-12-18-1/+1
| | | | | | Co-authored-by: Joe Banks <[email protected]>
| * Actually update form in DB in PATCH methodGravatar ks1292020-12-18-0/+5
| |
| * Merge branch 'main' into ks123/form-patchGravatar ks1292020-12-18-6/+1
| |\
| | * Merge branch 'main' into ks123/dns-check-removeGravatar Joe Banks2020-12-18-2/+2
| | |\
| | * | Remove DNS blacklist handling from submit routeGravatar ks1292020-12-18-6/+1
| | | |
| * | | Merge branch 'main' into ks123/form-patchGravatar ks1292020-12-18-2/+2
| |\ \ \ | | | |/ | | |/|
| * | | Add PATCH method to form endpointGravatar ks1292020-12-18-2/+32
| | |/ | |/|
* | | Adds and Documents Webhook Message VariablesGravatar Hassan Abouelela2020-12-21-0/+12
| | | | | | | | | | | | | | | | | | | | | Adds better parsing and formatting for webhook message variables, and documents them in SCHEMA.md. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Runs Initial Validation AsynchronouslyGravatar Hassan Abouelela2020-12-18-1/+17
| | | | | | | | | | | | | | | | | | | | | 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]>
* | | Uses Builtin User ClassGravatar Hassan Abouelela2020-12-18-9/+17
| | | | | | | | | | | | | | | | | | Uses builtin user formatting for username and mentions. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Change Embed DescriptionGravatar Hassan Abouelela2020-12-18-1/+1
| | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
* | | Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-18-2/+2
|\ \ \ | | |/ | |/| | | | | | | # Conflicts: # backend/routes/forms/submit.py
| * | Update submit.pyGravatar Joe Banks2020-12-17-2/+2
| |/
* | Sends Embed AsynchronouslyGravatar Hassan Abouelela2020-12-18-3/+5
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-17-12/+113
|\| | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py
| * Merge branch 'main' into docs/api-specGravatar ks1292020-12-17-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
| | |
* | | 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]>
* | Fixes DB Timestamp on ReturnGravatar Hassan Abouelela2020-12-17-0/+2
|/ | | | | | | | 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]>
* 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
|
* 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
|
* 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-37/+55
| |\
| * | 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
| |/ |/|
* | Make error message more user friendlyGravatar ks1292020-12-13-1/+1
| | | | | | Co-authored-by: Joe Banks <[email protected]>
* | Move form creation to index fileGravatar ks1292020-12-13-36/+18
| |
* | Create route for fetching one formGravatar ks1292020-12-13-0/+36
| |
* | Move form creation to forms root POSTGravatar ks1292020-12-13-1/+1
| |
* | Return only public fieldsGravatar ks1292020-12-13-1/+1
|/
* Make JSON errors more JS friendly and add response codesGravatar ks1292020-12-10-7/+8
| | | Co-authored-by: Joe Banks <[email protected]>
* Add validation level for same ID formsGravatar ks1292020-12-09-0/+5
|
* Update form submitting endpoint to store and validate responseGravatar ks1292020-12-09-22/+68
|