aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes/forms/index.py (follow)
Commit message (Collapse)AuthorAgeLines
* Apply fixable lint settings with RuffGravatar Joe Banks2024-07-08-19/+7
|
* Add Role Based Editors To FormsGravatar Hassan Abouelela2022-02-05-3/+3
| | | | | | Adds the ability to specify who can edit forms using discord roles. Signed-off-by: Hassan Abouelela <[email protected]>
* Handles Null WebhooksGravatar Hassan Abouelela2021-06-04-5/+7
| | | | | | | | The form model specifies webhook as nullable, but the validator code does not properly handle them. This PR adds logic to handle that scenario. Signed-off-by: Hassan Abouelela <[email protected]>
* Dedents Webhook ObjectGravatar Hassan Abouelela2020-12-22-3/+2
| | | | | | | Removes the meta object, and moves the webhook object under the main form object to reduce nesting. Signed-off-by: Hassan Abouelela <[email protected]>
* Runs Initial Validation AsynchronouslyGravatar Hassan Abouelela2020-12-18-1/+17
| | | | | | | 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]>
* Document forms routesGravatar Joe Banks2020-12-16-6/+13
|
* 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-1/+18
|
* 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-1/+2
|
* Fix linting issues to make flake8 job passingGravatar ks1292020-11-23-2/+2
|
* Do not force str form _id, it will be a str in prodGravatar Joe Banks2020-11-14-1/+0
|
* Add form index URLGravatar Joe Banks2020-10-31-0/+27