aboutsummaryrefslogtreecommitdiffstats
path: root/backend (unfollow)
Commit message (Collapse)AuthorLines
2022-02-11Ensure Form Existence Is Always CheckedGravatar Hassan Abouelela-4/+4
Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Use HTTPException To Propagate Access FailuresGravatar Hassan Abouelela-40/+26
Co-authored-by: Bluenix <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Switch To List CompGravatar Hassan Abouelela-8/+2
Co-authored-by: Bluenix <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Fix Linting ErrorsGravatar Hassan Abouelela-8/+8
Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Add Docs For Editors & Response Readers PropsGravatar Hassan Abouelela-17/+20
Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Add Role Based Editors To FormsGravatar Hassan Abouelela-34/+51
Adds the ability to specify who can edit forms using discord roles. Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Add Role Based Authorized ReadersGravatar Hassan Abouelela-14/+73
Adds a new property on forms to declare which roles are authorized to access form responses. Signed-off-by: Hassan Abouelela <[email protected]>
2022-02-05Overhaul Scope SystemGravatar Hassan Abouelela-60/+246
Adds discord role support to the pre-existing scopes system to power more complex access permissions. Signed-off-by: Hassan Abouelela <[email protected]>
2022-01-22Add Helper Functions For Managing RolesGravatar Hassan Abouelela-9/+130
Signed-off-by: Hassan Abouelela <[email protected]>
2022-01-21Don't include user mention for anonymous form submissionsGravatar Chris Lovering-1/+5
We currently use WEBHOOK_ENABLED to determine whether user data should be stored to the db. However, when webhooking a form submission this config is ignored, and the user mention is always included if available. This means that if a user login in using another form, and then submits an anonymous form with the same session, their name will be included in the webhook.
2021-12-26Model: makes Form.id case insensitiveGravatar Matteo Bertucci-11/+8
Note that it will make any existing form with an upper case letter impossible to access until its ID is changed, which shouldn't be the case in production according to @HassanAbouelela
2021-12-25Hash Cf-Connecting-IP if given, else remote hostGravatar Joe Banks-1/+5
2021-09-04Pin platform in DockerfileGravatar Chris Lovering-1/+1
Some of our deps don't have wheels for atm processors. With Mac's M1 chips becomming more common, we should make it easier for those users to build our environments.
2021-08-29Update feature.ymlGravatar Joe Banks-2/+2
2021-08-29Update bug-report.ymlGravatar Joe Banks-8/+8
2021-08-29Update bug-report.ymlGravatar Joe Banks-4/+4