aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Patch `sys.__stdout__` In Code QuestionsGravatar Hassan Abouelela2022-02-15-4/+4
| | | | | | | | Patching just `sys.stdout` allowed users to still access stdout via `sys.__stdout__`. The same was true for stderr. Both have been explicitly patched now. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge pull request #140 from python-discord/bump-uvicornGravatar Hassan Abouelela2022-02-05-215/+339
|\ | | | | Bump uvicorn from 0.13.4 to 0.17.4
| * Bump uvicorn from 0.13.4 to 0.17.4Gravatar Hassan Abouelela2022-02-05-215/+339
|/ | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Create SECURITY.mdGravatar Hassan Abouelela2022-02-05-0/+3
| | | Copy the security policy from our other projects.
* Merge pull request #136 from ↵Gravatar Hassan Abouelela2022-02-05-7/+7
|\ | | | | | | | | python-discord/dependabot/pip/flake8-annotations-2.7.0 Bump flake8-annotations from 2.6.2 to 2.7.0
| * Bump flake8-annotations from 2.6.2 to 2.7.0Gravatar dependabot[bot]2022-02-05-7/+7
|/ | | | | | | | | | | | | | | Bumps [flake8-annotations](https://github.com/sco1/flake8-annotations) from 2.6.2 to 2.7.0. - [Release notes](https://github.com/sco1/flake8-annotations/releases) - [Changelog](https://github.com/sco1/flake8-annotations/blob/main/CHANGELOG.md) - [Commits](https://github.com/sco1/flake8-annotations/compare/v2.6.2...v2.7.0) --- updated-dependencies: - dependency-name: flake8-annotations dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #133 from python-discord/dependabot/pip/httpx-0.22.0Gravatar Hassan Abouelela2022-02-05-12/+54
|\ | | | | Bump httpx from 0.17.1 to 0.22.0
| * Bump httpx from 0.17.1 to 0.22.0Gravatar dependabot[bot]2022-02-05-12/+54
|/ | | | | | | | | | | | | | | Bumps [httpx](https://github.com/encode/httpx) from 0.17.1 to 0.22.0. - [Release notes](https://github.com/encode/httpx/releases) - [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) - [Commits](https://github.com/encode/httpx/compare/0.17.1...0.22.0) --- updated-dependencies: - dependency-name: httpx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #119 from python-discord/dependabot/pip/deepmerge-1.0.1Gravatar Hassan Abouelela2022-02-05-5/+5
|\ | | | | Bump deepmerge from 0.2.1 to 1.0.1
| * Bump deepmerge from 0.2.1 to 1.0.1Gravatar dependabot[bot]2022-02-05-5/+5
|/ | | | | | | | | | | | | | Bumps [deepmerge](https://github.com/toumorokoshi/deepmerge) from 0.2.1 to 1.0.1. - [Release notes](https://github.com/toumorokoshi/deepmerge/releases) - [Commits](https://github.com/toumorokoshi/deepmerge/commits) --- updated-dependencies: - dependency-name: deepmerge dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #134 from python-discord/dependabot/pip/spectree-0.7.2Gravatar Hassan Abouelela2022-02-05-6/+43
|\ | | | | Bump spectree from 0.4.2 to 0.7.2
| * Bump spectree from 0.4.2 to 0.7.2Gravatar dependabot[bot]2022-02-05-6/+43
|/ | | | | | | | | | | | | | Bumps [spectree](https://github.com/0b01001001/spectree) from 0.4.2 to 0.7.2. - [Release notes](https://github.com/0b01001001/spectree/releases) - [Commits](https://github.com/0b01001001/spectree/compare/v0.4.2...v0.7.2) --- updated-dependencies: - dependency-name: spectree dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #137 from python-discord/dependabot/pip/urllib3-1.26.5Gravatar Hassan Abouelela2022-02-05-3/+3
|\ | | | | Bump urllib3 from 1.26.3 to 1.26.5
| * Bump urllib3 from 1.26.3 to 1.26.5Gravatar dependabot[bot]2022-02-05-3/+3
|/ | | | | | | | | | | | | | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.3...1.26.5) --- updated-dependencies: - dependency-name: urllib3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #139 from python-discord/dependabot/pip/pydantic-1.9.0Gravatar Hassan Abouelela2022-02-05-25/+25
|\ | | | | Bump pydantic from 1.8.1 to 1.9.0
| * Bump pydantic from 1.8.1 to 1.9.0Gravatar dependabot[bot]2022-02-05-25/+25
|/ | | | | | | | | | | | | | | Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.8.1 to 1.9.0. - [Release notes](https://github.com/samuelcolvin/pydantic/releases) - [Changelog](https://github.com/samuelcolvin/pydantic/blob/master/HISTORY.md) - [Commits](https://github.com/samuelcolvin/pydantic/compare/v1.8.1...v1.9.0) --- updated-dependencies: - dependency-name: pydantic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #115 from python-discord/dependabot/pip/python-dotenv-0.19.2Gravatar Hassan Abouelela2022-02-05-6/+6
|\ | | | | Bump python-dotenv from 0.17.0 to 0.19.2
| * Bump python-dotenv from 0.17.0 to 0.19.2Gravatar dependabot[bot]2022-02-05-6/+6
|/ | | | | | | | | | | | | | | Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 0.17.0 to 0.19.2. - [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.17.0...v0.19.2) --- updated-dependencies: - dependency-name: python-dotenv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #111 from python-discord/dependabot/pip/pyjwt-2.3.0Gravatar Hassan Abouelela2022-02-05-10/+11
|\ | | | | Bump pyjwt from 2.0.1 to 2.3.0
| * Bump pyjwt from 2.0.1 to 2.3.0Gravatar dependabot[bot]2022-02-05-10/+11
|/ | | | | | | | | | | | | | | Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.0.1 to 2.3.0. - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](https://github.com/jpadilla/pyjwt/compare/2.0.1...2.3.0) --- updated-dependencies: - dependency-name: pyjwt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #132 from python-discord/anon-webhooksGravatar Hassan Abouelela2022-01-21-1/+5
|\
| * Don't include user mention for anonymous form submissionsGravatar Chris Lovering2022-01-21-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.
* Merge pull request #126 from Akarys42/case-insensitive-idsGravatar Hassan Abouelela2021-12-26-11/+8
|\ | | | | Model: makes Form.id case insensitive
| * Model: makes Form.id case insensitiveGravatar Matteo Bertucci2021-12-26-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
* Merge pull request #120 from python-discord/jb3/store-correct-ipGravatar Joe Banks2021-12-25-1/+5
|\
| * Hash Cf-Connecting-IP if given, else remote hostGravatar Joe Banks2021-12-25-1/+5
|/
* Merge pull request #104 from python-discord/Pin-platform-in-DockerfileGravatar Johannes Christ2021-09-04-1/+1
|\ | | | | Pin platform in Dockerfile
| * Pin platform in DockerfileGravatar Chris Lovering2021-09-04-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.
* Update feature.ymlGravatar Joe Banks2021-08-29-2/+2
|
* Update bug-report.ymlGravatar Joe Banks2021-08-29-8/+8
|
* Update bug-report.ymlGravatar Joe Banks2021-08-29-4/+4
|
* Merge pull request #100 from python-discord/notion-demigrationGravatar Hassan Abouelela2021-07-21-37/+89
|\ | | | | Adds Contributing Information
| * Adds Contributing FileGravatar Hassan Abouelela2021-07-21-0/+5
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Updates README With Notion LinksGravatar Hassan Abouelela2021-07-21-34/+3
| | | | | | | | | | | | Updates the readme to link to the setup process. Signed-off-by: Hassan Abouelela <[email protected]>
| * Updates Issue TemplatesGravatar Hassan Abouelela2021-07-21-3/+81
|/ | | | | | | Creates templates for bug reports, and feature requests, and updates the template config. Signed-off-by: Hassan Abouelela <[email protected]>
* Uses Backend URL In EmbedGravatar Hassan Abouelela2021-07-06-1/+1
| | | | | | | 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]>
* Merge pull request #92 from python-discord/unittest_failuresGravatar Hassan Abouelela2021-06-20-19/+124
|\ | | | | Allow Unittest Failures
| * Updates Unittest Filter To Match New ModelGravatar Hassan Abouelela2021-06-19-1/+1
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Verifies Unittest Error ResponsesGravatar Hassan Abouelela2021-06-03-1/+14
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Handles Code Questions With No TestsGravatar Hassan Abouelela2021-06-03-1/+13
| | | | | | | | | | | | Adds a check to handle code questions with no test suites. Signed-off-by: Hassan Abouelela <[email protected]>
| * Clarify Validator SemanticsGravatar Hassan Abouelela2021-06-03-1/+1
| | | | | | | | | | Co-authored-by: Chris <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
| * Adds Missing DocstringsGravatar Hassan Abouelela2021-06-02-0/+3
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Documents Return Code Gravatar Hassan Abouelela2021-06-02-0/+1
| | | | | | | | | | Adds a comment which explains when a certain return_code is used. Co-authored-by: Joe Banks <[email protected]>
| * Uses 422 For Failed Tests Gravatar Hassan Abouelela2021-06-02-1/+1
| | | | | | | | | | Uses 422 instead of 403 to indicate a test has failed. Co-authored-by: Joe Banks <[email protected]>
| * Reports All Unittest Failure ReasonsGravatar Hassan Abouelela2021-06-02-2/+9
| | | | | | | | | | | | Records the reason of failure for non-zero exit codes. Signed-off-by: Hassan Abouelela <[email protected]>
| * Records Failed UnittestsGravatar Hassan Abouelela2021-06-02-9/+49
| | | | | | | | | | | | | | Adds logic for saving submissions of failed unittests. Updates schema docs. Signed-off-by: Hassan Abouelela <[email protected]>
| * Adds Code Question ModelGravatar Hassan Abouelela2021-06-02-7/+36
| | | | | | | | | | | | | | Adds an explicit model for questions of type `code`, to allow more complex parsing. Updates schema docs. Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge pull request #90 from python-discord/auth-formGravatar Hassan Abouelela2021-06-20-5/+37
|\ \ | | | | | | Empty Authorization Form
| * | Adds An Empty Form For AuthorizationGravatar Hassan Abouelela2021-05-17-5/+37
| | | | | | | | | | | | | | | | | | | | | 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]>
* | | 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]>