aboutsummaryrefslogtreecommitdiffstats
path: root/backend (follow)
Commit message (Collapse)AuthorAgeLines
* Fix too long lineGravatar ks1292020-12-29-1/+3
|
* Add default value to guild IDGravatar ks1292020-12-29-1/+1
|
* Add check for REQUIRES_LOGIN when ASSIGN_ROLE providedGravatar ks1292020-12-29-2/+6
|
* Implement roles assigning to submit routeGravatar ks1292020-12-29-12/+40
|
* Add validator for Discord role field for formGravatar ks1292020-12-29-1/+11
|
* Add PyDis guild constant from environmentGravatar ks1292020-12-29-0/+1
|
* Add Discord API base URL constantGravatar ks1292020-12-29-0/+2
|
* Add discord_role field to form and it's schemaGravatar ks1292020-12-29-0/+1
|
* Add ASSIGN_ROLE flag to schema and to enumGravatar ks1292020-12-29-0/+1
|
* Add Discord bot token constant from environmentGravatar ks1292020-12-29-0/+1
|
* Minor DevOps tweaksGravatar Joe Banks2020-12-28-1/+7
|
* Add handling of optional fields to submit endpointGravatar ks1292020-12-28-1/+4
|
* Add required field to question modelGravatar ks1292020-12-28-0/+1
|
* Return Git SHA in index routeGravatar ks1292020-12-27-1/+6
|
* Move Sentry middleware to higher positionGravatar ks1292020-12-27-1/+1
|
* Implement Sentry SDK initialization and add MiddlewareGravatar ks1292020-12-27-1/+11
|
* Add Sentry DSN constantGravatar ks1292020-12-27-0/+1
|
* Add Git SHA constantGravatar ks1292020-12-27-0/+2
|
* Merge branch 'main' into ks123/responses-bulk-deleteGravatar Joe Banks2020-12-26-0/+41
|\
| * Update admin add route docstringGravatar ks1292020-12-24-1/+1
| | | | | | Co-authored-by: Joe Banks <[email protected]>
| * 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-18/+7
| | | | | | | 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 big-int-fixGravatar Joe Banks2020-12-21-8/+187
|\
| * Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-21-9/+38
| |\ | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py
| * | 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]>
| * | Adds Missing AnnotationGravatar Hassan Abouelela2020-12-18-1/+1
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | Runs Initial Validation AsynchronouslyGravatar Hassan Abouelela2020-12-18-33/+81
| | | | | | | | | | | | | | | | | | | | | 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/+21
| | | | | | | | | | | | | | | | | | 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
| * | | 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-19/+181
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py
| * | | | 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]>
| * | | | 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/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | | Merge branch 'main' into discord-webhookGravatar Hassan Abouelela2020-12-17-1/+16
| |\ \ \ \
| * | | | | 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]>
* | | | | | Remove validator importGravatar ks1292020-12-21-1/+1
| | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
* | | | | | Remove unnecessary validatorGravatar ks1292020-12-21-8/+0
| | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
* | | | | | Remove unnecessary comment about IDGravatar ks1292020-12-21-2/+0
| | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
* | | | | | Convert user IDs to string to avoid JS bad behavioursGravatar ks1292020-12-21-3/+13
| |_|_|_|/ |/| | | |
* | | | | 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-7/+1
|\ \ \ \ \