Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add back removed parenthesis | 2021-03-16 | -1/+1 | |
| | ||||
* | Split if statement to multiple lines to avoid noqa | 2021-03-16 | -1/+4 | |
| | ||||
* | Split public fields constant to multiple lines | 2021-03-16 | -1/+9 | |
| | ||||
* | Use value of enum member instead of member itself | 2021-03-16 | -3/+3 | |
| | ||||
* | Add discord_role to public fields | 2021-03-16 | -1/+1 | |
| | ||||
* | Add missing "is" to error message | 2021-03-09 | -1/+1 | |
| | | | Co-authored-by: Hassan Abouelela <[email protected]> | |||
* | Merge branch 'main' into ks123/role-assigning | 2021-01-23 | -1/+2 | |
|\ | ||||
| * | Add an optional submitted_text field to forms to customize the response upon ↵ | 2021-01-20 | -2/+2 | |
| | | | | | | | | submitting. | |||
| * | Add an optional response field to forms to customize the response upon ↵ | 2021-01-20 | -1/+2 | |
| | | | | | | | | submitting. | |||
* | | Fix too long line | 2020-12-29 | -1/+3 | |
| | | ||||
* | | Add check for REQUIRES_LOGIN when ASSIGN_ROLE provided | 2020-12-29 | -2/+6 | |
| | | ||||
* | | Add validator for Discord role field for form | 2020-12-29 | -1/+11 | |
| | | ||||
* | | Add discord_role field to form and it's schema | 2020-12-29 | -0/+1 | |
|/ | ||||
* | Add required field to question model | 2020-12-28 | -0/+1 | |
| | ||||
* | Dedents Webhook Object | 2020-12-22 | -8/+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]> | |||
* | Merge branch 'main' into big-int-fix | 2020-12-21 | -1/+75 | |
|\ | ||||
| * | Merge branch 'main' into discord-webhook | 2020-12-21 | -1/+0 | |
| |\ | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py | |||
| * | | Adds Missing Annotation | 2020-12-18 | -1/+1 | |
| | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | Runs Initial Validation Asynchronously | 2020-12-18 | -32/+55 | |
| | | | | | | | | | | | | | | | | | | | | | 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]> | |||
| * | | Sends Embed Asynchronously | 2020-12-18 | -1/+1 | |
| | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | Merge branch 'main' into discord-webhook | 2020-12-17 | -3/+19 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py | |||
| * | | | Makes Webhooks Optional | 2020-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]> | |||
| * | | | Merge branch 'main' into discord-webhook | 2020-12-17 | -1/+14 | |
| |\ \ \ | ||||
| * | | | | Adds Webhook Option | 2020-12-17 | -0/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds webhook option on form creation, and adds validation. Updates `SCHEMA.md`. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | | | | | Remove validator import | 2020-12-21 | -1/+1 | |
| | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
* | | | | | Remove unnecessary validator | 2020-12-21 | -8/+0 | |
| | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
* | | | | | Remove unnecessary comment about ID | 2020-12-21 | -2/+0 | |
| | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
* | | | | | Convert user IDs to string to avoid JS bad behaviours | 2020-12-21 | -3/+13 | |
| |_|_|/ |/| | | | ||||
* | | | | Remove DNS blacklist field from antispam model | 2020-12-18 | -1/+0 | |
| |_|/ |/| | | ||||
* | | | Merge branch 'main' into docs/api-spec | 2020-12-17 | -1/+14 | |
|\ \ \ | | |/ | |/| | ||||
| * | | Update backend/models/form_response.py | 2020-12-17 | -1/+1 | |
| | | | | | | | | | Co-authored-by: ks129 <[email protected]> | |||
| * | | Fixes DB Timestamp on Return | 2020-12-17 | -4/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Field | 2020-12-17 | -1/+7 | |
| |/ | | | | | | | | | | | Adds timestamp field to user form responses on generation. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* / | Make model changes | 2020-12-16 | -3/+19 | |
|/ | ||||
* | minor refactorings | 2020-12-15 | -2/+2 | |
| | ||||
* | fix various type annotation issues | 2020-12-15 | -9/+9 | |
| | ||||
* | Fix whitespace errors | 2020-12-13 | -3/+3 | |
| | ||||
* | Fix dodgy indent and wrong field name | 2020-12-13 | -2/+2 | |
| | ||||
* | Fix data sanitization method | 2020-12-13 | -1/+15 | |
| | ||||
* | Simplify dict function | 2020-12-13 | -5/+1 | |
| | ||||
* | Add custom dict method in form to return sometimes only public fields | 2020-12-13 | -0/+11 | |
| | ||||
* | Merge branch 'main' into ks123/form-name-description | 2020-12-12 | -1/+57 | |
|\ | ||||
| * | Remove some validators from models because they don't work | 2020-12-09 | -28/+2 | |
| | | ||||
| * | Create model for form response | 2020-12-08 | -1/+38 | |
| | | ||||
| * | Add AntiSpam and DiscordUser models to __init__.py | 2020-12-08 | -1/+3 | |
| | | ||||
| * | Create DiscordUser Pydantic model for form response | 2020-12-08 | -0/+33 | |
| | | ||||
| * | Create Pydantic model for form response antispam data | 2020-12-07 | -0/+10 | |
| | | ||||
* | | Add name and description fields to Form model | 2020-12-10 | -0/+2 | |
|/ | ||||
* | Fix question validator | 2020-12-02 | -8/+2 | |
| | ||||
* | Parse type and data in same validator and allow passing ID as id not _id | 2020-12-02 | -8/+11 | |
| |