aboutsummaryrefslogtreecommitdiffstats
path: root/backend (follow)
Commit message (Collapse)AuthorAgeLines
* 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
|/
* 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
| |
| * Create model for form responseGravatar ks1292020-12-08-1/+38
| |
| * Add AntiSpam and DiscordUser models to __init__.pyGravatar ks1292020-12-08-1/+3
| |
| * Create DiscordUser Pydantic model for form responseGravatar ks1292020-12-08-0/+33
| |
| * Create Pydantic model for form response antispam dataGravatar ks1292020-12-07-0/+10
| |
* | Add name and description fields to Form modelGravatar ks1292020-12-10-0/+2
|/
* 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
|
* Fix question validatorGravatar ks1292020-12-02-8/+2
|
* Parse type and data in same validator and allow passing ID as id not _idGravatar ks1292020-12-02-8/+11
|
* Fix form features validation and allow passing ID as id not _idGravatar ks1292020-12-02-1/+5
|
* 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'.
* Use cls instead self for Question model validatorsGravatar ks1292020-12-02-4/+4
|