aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add back removed parenthesisGravatar ks1292021-03-16-1/+1
|
* Split if statement to multiple lines to avoid noqaGravatar ks1292021-03-16-1/+4
|
* Split public fields constant to multiple linesGravatar ks1292021-03-16-1/+9
|
* Use value of enum member instead of member itselfGravatar ks1292021-03-16-3/+3
|
* Add discord_role to public fieldsGravatar ks1292021-03-16-1/+1
|
* Simplify role assigning rate limit handlingGravatar ks1292021-03-09-12/+6
| | | Co-authored-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into ks123/role-assigningGravatar ks1292021-03-09-101/+547
|\
| * Fixes Production URL ConstantGravatar Hassan Abouelela2021-03-08-1/+1
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Merge pull request #69 from ↵Gravatar Hassan Abouelela2021-03-07-5/+5
| |\ | | | | | | | | | | | | python-discord/dependabot/pip/flake8-annotations-2.6.0 Bump flake8-annotations from 2.5.0 to 2.6.0
| | * Bump flake8-annotations from 2.5.0 to 2.6.0Gravatar dependabot[bot]2021-03-07-5/+5
| |/ | | | | | | | | | | | | | | Bumps [flake8-annotations](https://github.com/sco1/flake8-annotations) from 2.5.0 to 2.6.0. - [Release notes](https://github.com/sco1/flake8-annotations/releases) - [Changelog](https://github.com/sco1/flake8-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/sco1/flake8-annotations/compare/v2.5.0...v2.6.0) Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #67 from python-discord/dependabot/pip/pydantic-1.8.1Gravatar Hassan Abouelela2021-03-07-27/+42
| |\ | | | | | | Bump pydantic from 1.7.3 to 1.8.1
| | * Bump pydantic from 1.7.3 to 1.8.1Gravatar dependabot[bot]2021-03-07-27/+42
| |/ | | | | | | | | | | | | | | Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.7.3 to 1.8.1. - [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.7.3...v1.8.1) Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #66 from python-discord/dependabot/pip/httpx-0.17.0Gravatar Hassan Abouelela2021-03-07-5/+5
| |\ | | | | | | Bump httpx from 0.16.1 to 0.17.0
| | * Merge branch 'main' into dependabot/pip/httpx-0.17.0Gravatar Hassan Abouelela2021-03-07-60/+231
| | |\ | | |/ | |/|
| * | Corrects Token Cookie DomainGravatar Hassan Abouelela2021-03-07-4/+2
| | | | | | | | | | | | | | | | | | Removes schema from the token cookie's domain field. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Switches Forwarded Protocol HeaderGravatar Hassan Abouelela2021-03-07-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | Traefik forwards https traffic to http, which causes issues with the protocol in a request's URL. This switch uses the protocol header to correctly set the protocol. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Corrects Domain On Token CookieGravatar Hassan Abouelela2021-03-07-1/+2
| | | | | | | | | | | | | | | | | | Correctly formats the domain set on the cookie used for tokens. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Corrects Domain On Token CookieGravatar Hassan Abouelela2021-03-07-2/+3
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | Fixes Domain URL On Token CookieGravatar Hassan Abouelela2021-03-07-11/+18
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | Merge pull request #68 from python-discord/dynamic-token-originGravatar Joe Banks2021-03-06-19/+45
| |\ \ | | | | | | | | Fixes SameSite For Deploy Previews
| | * | Makes Helper To Handle Token SameSite LogicGravatar Hassan Abouelela2021-03-07-19/+45
| |/ / | | | | | | | | | | | | | | | Adds a helper method to allow tokens to work on deploy previews. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Revert "Sets Token Cookie To Same Site To Lax"Gravatar Hassan Abouelela2021-03-06-2/+2
| | | | | | | | | | | | | | | | | | This reverts commit 013ea900 Signed-off-by: Hassan Abouelela <[email protected]>
| * | Sets Token Cookie To Same Site To LaxGravatar Hassan Abouelela2021-03-06-2/+2
| | | | | | | | | | | | | | | | | | | | | Sets the authorization token cookie's security policy to lax, to allow it to work on the site. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Merge pull request #58 from python-discord/token-expiryGravatar Joe Banks2021-03-06-56/+197
| |\ \
| | * \ Merge branch 'main' into token-expiryGravatar Joe Banks2021-03-06-8/+8
| | |\ \ | | |/ / | |/| |
| | * | Formats Authorize FileGravatar Hassan Abouelela2021-03-06-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleans up the authorize file, and the __init__ to maintain the project's code style. Co-authored-by: Joe Banks <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Renames Token To `token` Gravatar Hassan Abouelela2021-03-06-4/+4
| | | | | | | | | | | | | | | | | | | | Changes the name for the token used to authorize with the backend. Co-authored-by: Joe Banks <[email protected]>
| | * | Make Admin Fetch AsyncGravatar Hassan Abouelela2021-03-01-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Allows All CORS Requests On DevelopmentGravatar Hassan Abouelela2021-03-01-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Merge branch 'main' into token-expiryGravatar Hassan Abouelela2021-02-28-10/+271
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # backend/routes/forms/form.py # backend/routes/forms/submit.py
| | * | | Dynamically Selects OAuth Redirect URIGravatar Hassan Abouelela2021-02-21-5/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Centralizes Admin AuthenticationGravatar Hassan Abouelela2021-02-20-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sets admin authentication on authenticator to allow the addition and removal of admins without creating a new token. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Adds Expiry To Authorization RoutesGravatar Hassan Abouelela2021-02-20-1/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Adds CORS RulesGravatar Hassan Abouelela2021-02-20-5/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Remove AuthorizationHeaders ClassGravatar Hassan Abouelela2021-02-19-13/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Refreshes User Data On Form SubmitGravatar Hassan Abouelela2021-02-19-19/+69
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Adds Token Refresh RouteGravatar Hassan Abouelela2021-02-19-16/+93
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Adds Production ConstantGravatar Hassan Abouelela2021-02-19-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * Bump httpx from 0.16.1 to 0.17.0Gravatar dependabot[bot]2021-03-01-5/+5
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [httpx](https://github.com/encode/httpx) from 0.16.1 to 0.17.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.16.1...0.17.0) Signed-off-by: dependabot[bot] <[email protected]>
| * | | Merge pull request #62 from python-discord/dependabot/pip/uvicorn-0.13.4Gravatar Hassan Abouelela2021-02-28-8/+8
| |\ \ \ | | |_|/ | |/| | Bump uvicorn from 0.13.3 to 0.13.4
| | * | Merge branch 'main' into dependabot/pip/uvicorn-0.13.4Gravatar Hassan Abouelela2021-02-28-12/+273
| | |\ \ | | |/ / | |/| |
| * | | Merge pull request #63 from python-discord/feat/9/unittest-validationGravatar Hassan Abouelela2021-02-28-10/+271
| |\ \ \ | | | | | | | | | | Support code unit testing through snekbox
| | * \ \ Merge branch 'main' into feat/9/unittest-validationGravatar Hassan Abouelela2021-02-28-2/+2
| | |\ \ \ | | |/ / / | |/| | |
| | * | | Obliterate the _unit_cache variableGravatar Matteo Bertucci2021-02-27-3/+0
| | | | |
| | * | | Use base64 encoded code snippetsGravatar Matteo Bertucci2021-02-26-6/+8
| | | | |
| | * | | Properly hadnle hidden tests starting with test_Gravatar Matteo Bertucci2021-02-25-1/+1
| | | | |
| | * | | Remove unused importGravatar Matteo Bertucci2021-02-25-2/+4
| | | | |
| | * | | Document the SNEKBOX_URL env varGravatar Matteo Bertucci2021-02-25-0/+3
| | | | |
| | * | | Make _make_unit_code more readableGravatar Matteo Bertucci2021-02-25-1/+4
| | | | |
| | * | | Remove unneeded temp variableGravatar Matteo Bertucci2021-02-25-4/+2
| | | | |