aboutsummaryrefslogtreecommitdiffstats
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-21/+208
|\ | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py
| * Merge pull request #37 from python-discord/docs/api-specGravatar ks1292020-12-17-21/+208
| |\ | | | | | | Provide HTML documentation of endpoints
| | * Merge branch 'main' into docs/api-specGravatar ks1292020-12-17-8/+32
| | |\ | | |/ | |/|
| | * 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
| | |
| | * Add Spectree packageGravatar Joe Banks2020-12-16-2/+27
| | |
* | | Adds Webhook Sending FunctionalityGravatar Hassan Abouelela2020-12-17-7/+59
| | | | | | | | | | | | | | | | | | 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/+2
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | | Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-17-8/+24
|\| |
| * | Merge pull request #38 from python-discord/submission-timestampGravatar ks1292020-12-17-8/+24
| |\ \ | | | | | | | | Adds Timestamp Field
| | * | 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-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+67
|/ / | | | | | | | | | | | | Adds webhook option on form creation, and adds validation. Updates `SCHEMA.md`. Signed-off-by: Hassan Abouelela <[email protected]>
* / Create config.ymlGravatar Joe Banks2020-12-17-0/+8
|/
* Merge pull request #36 from python-discord/ks123/response-deleteGravatar Joe Banks2020-12-16-2/+18
|\ | | | | Add DELETE method to response route for form response deleting
| * Add DELETE method to response route for form response deletingGravatar ks1292020-12-16-2/+18
|/
* Merge pull request #35 from python-discord/sebastiaan/ci/status-embedGravatar ks1292020-12-16-2/+80
|\ | | | | Use a custom status embed to report workflow status
| * Upload artifact with pull request payloadGravatar Sebastiaan Zeeff2020-12-16-2/+24
| | | | | | | | | | | | | | To access information about the PR in the status embed workflow, we need to upload an artifact whenever the forms-backend.yml workflow runs for a `pull_request` trigger. This artifact will be downloaded in the workflow that sends the status embed.
| * Add enhanced status embed workflowGravatar Sebastiaan Zeeff2020-12-16-0/+56
|/ | | | | I've added a `workflow-run`-triggered workflow that sends an enhanced status embed to our #dev-log GitHub Actions webhook. It will run whenever the main workflow finishes and report its status.
* Merge pull request #34 from python-discord/ks123/form-deleteGravatar Joe Banks2020-12-16-2/+20
|\
| * 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-57/+61
| |\ | |/ |/|
* | Merge pull request #28 from python-discord/ks123/routes-parsingGravatar Joe Banks2020-12-16-52/+56
|\ \
| * \ Merge branch 'main' into ks123/routes-parsingGravatar Joe Banks2020-12-16-7/+6
| |\ \ | |/ / |/| |
* | | Merge pull request #33 from python-discord/renovate/uvicorn-0.xGravatar ks1292020-12-16-5/+5
|\ \ \ | | | | | | | | Update dependency uvicorn to ^0.13.0
| * | | Update dependency uvicorn to ^0.13.0Gravatar Renovate Bot2020-12-16-5/+5
|/ / /
| * | Merge branch 'main' into ks123/routes-parsingGravatar ks1292020-12-16-23/+28
| |\ \
| * | | Revert "add pytest"Gravatar ks1292020-12-16-149/+15
| | | | | | | | | | | | | | | | This reverts commit eb413d6726ec81bcf93b2aaeb9a461e2a33f7779.
| * | | Merge pull request #29 from python-discord/testing-strategiesGravatar ks1292020-12-15-67/+205
| |\ \ \ | | | | | | | | | | Refactor `create_route_map`
| | * | | 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
| | | | |
| | * | | add pytestGravatar decorator-factory2020-12-15-15/+149
| | | | |
| | * | | 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]>