aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes (follow)
Commit message (Collapse)AuthorAgeLines
* 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
|
* Create route for creating new formsGravatar ks1292020-12-02-0/+30
|
* Move data to Form and then back to dictionary for id convertingGravatar ks1292020-12-02-1/+6
|
* Move MongoDB output to Form model and after convert it to dictionaryGravatar ks1292020-12-02-1/+5
| | | | We need to convert '_id' key to 'id'.
* Lock all forms showing to admins onlyGravatar ks1292020-12-02-0/+2
|
* Move from PyMongo to Motor driver for asynchronous supportGravatar ks1292020-12-02-6/+6
|
* Add user property to index responseGravatar Joe Banks2020-12-01-3/+15
|
* Fix linting issues to make flake8 job passingGravatar ks1292020-11-23-8/+10
|
* Add basic debug submit route to calculate some anti-spam and validate tokensGravatar Joe Banks2020-11-14-0/+68
|
* Do not force str form _id, it will be a str in prodGravatar Joe Banks2020-11-14-1/+0
|
* Search for Discoverable forms using features instead of attributeGravatar Joe Banks2020-11-14-2/+1
|
* Check if a user is an admin in the token payloadGravatar Joe Banks2020-11-14-0/+4
|
* Add form index URLGravatar Joe Banks2020-10-31-0/+27
|
* Add discoverable forms URLGravatar Joe Banks2020-10-31-0/+29
|
* Add some basic routesGravatar Joe Banks2020-10-25-0/+55