| Commit message (Collapse) | Author | Age | Lines | 
| ...  |  | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Adds the ability to specify who can edit forms using discord roles.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Adds a new property on forms to declare which roles are authorized to
access form responses.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Adds discord role support to the pre-existing scopes system to power
more complex access permissions.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |/  
|   
|   
|    | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |\   | 
 | 
| |/  
|   
|   
|   
|   
|    | 
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.
 | 
| |\  
| | 
| |  | 
Model: makes Form.id case insensitive
 | 
| |/  
|   
|   
|    | 
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
 | 
| |\   | 
 | 
| |/   | 
 | 
| |\  
| | 
| |  | 
Pin platform in Dockerfile
 | 
| |/  
|   
|   
|   
|   
|    | 
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.
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| |\  
| | 
| |  | 
Adds Contributing Information
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Updates the readme to link to the setup process.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |/  
|   
|   
|   
|   
|   
|    | 
Creates templates for bug reports, and feature requests, and updates the
 template config.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Temporarily switches the URL in discord embeds from the frontend, to the
backend, to allow for easier viewing until the frontend is ready.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |\  
| | 
| |  | 
Allow Unittest Failures
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Adds a check to handle code questions with no test suites.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| |  | 
Co-authored-by: Chris <[email protected]>
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| |  | 
Adds a comment which explains when a certain return_code is used.
Co-authored-by: Joe Banks <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| |  | 
Uses 422 instead of 403 to indicate a test has failed.
Co-authored-by: Joe Banks <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| |  | 
Records the reason of failure for non-zero exit codes.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Adds logic for saving submissions of failed unittests. Updates schema
docs.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| |  | 
Adds an explicit model for questions of type `code`, to allow more
complex parsing. Updates schema docs.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |\ \  
| | | 
| | |  | 
Empty Authorization Form
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
Returns a form with no questions, if the server is not running in
production, and no other forms are found, to aid in setting up.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | |  | 
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]>
 | 
| | |/  
|/|   
| |   
| |   
| |   
| |   
| |    | 
Reverts the changes made in 4f28ae85 because they made it impossible to
send a partial patch request. Changes to a simpler try/except instead.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| | | 
| | 
| | 
| |  | 
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |/  
|   
|   
|   
|   
|    | 
Makes sure patch requests send a validated request.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |\  
| | 
| |  | 
Adds A Dev Only Endpoint For Adding Admins
 | 
| |/  
|   
|   
|   
|   
|   
|    | 
Copies the admin adding endpoint into an unprotected endpoint that is
only registered in non-production builds.
Signed-off-by: Hassan Abouelela <[email protected]>
 | 
| |\  
| | 
| |  | 
Bump spectree from 0.4.1 to 0.4.2
 | 
| |/  
|   
|   
|   
|   
|   
|    | 
Bumps [spectree](https://github.com/0b01001001/spectree) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/0b01001001/spectree/releases)
- [Commits](https://github.com/0b01001001/spectree/compare/v0.4.1...v0.4.2)
Signed-off-by: dependabot[bot] <[email protected]>
 | 
| |\  
| | 
| |  | 
Bump motor from 2.3.1 to 2.4.0
 | 
| |/  
|   
|   
|   
|   
|   
|   
|    | 
Bumps [motor](https://github.com/mongodb/motor) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/mongodb/motor/releases)
- [Changelog](https://github.com/mongodb/motor/blob/master/doc/changelog.rst)
- [Commits](https://github.com/mongodb/motor/compare/2.3.1...2.4.0)
Signed-off-by: dependabot[bot] <[email protected]>
 | 
| |\  
| | 
| |  | 
Bump flake8 from 3.8.4 to 3.9.1
 | 
| |/  
|   
|   
|   
|   
|   
|    | 
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.4 to 3.9.1.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.4...3.9.1)
Signed-off-by: dependabot[bot] <[email protected]>
 | 
| |  | 
 | 
| |\  
| | 
| |  | 
Bump python-dotenv from 0.15.0 to 0.17.0
 | 
| |/  
|   
|   
|   
|   
|   
|   
|    | 
Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.15.0 to 0.17.0.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/theskumar/python-dotenv/compare/v0.15.0...v0.17.0)
Signed-off-by: dependabot[bot] <[email protected]>
 |