aboutsummaryrefslogtreecommitdiffstats
path: root/backend (follow)
Commit message (Collapse)AuthorAgeLines
* 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
| |
* | HTTPs URL in OAuth2 callbackGravatar Joe Banks2020-12-13-1/+1
| |
* | 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
| |
* | Simplify dict functionGravatar ks1292020-12-13-5/+1
| |
* | 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
| |
* | Add custom dict method in form to return sometimes only public fieldsGravatar ks1292020-12-13-0/+11
|/
* Merge branch 'main' into ks123/form-name-descriptionGravatar Joe Banks2020-12-12-25/+135
|\
| * 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
| |
| * Add HCaptcha secret key environment fetchingGravatar ks1292020-12-09-0/+2
| |
| * Remove some validators from models because they don't workGravatar ks1292020-12-09-28/+2
| |