aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into ks123/role-assigningGravatar ks1292021-03-16-123/+148
|\
| * Merge pull request #72 from python-discord/dependabot/pip/httpx-0.17.1Gravatar ks1292021-03-16-6/+6
| |\ | | | | | | Bump httpx from 0.17.0 to 0.17.1
| | * Bump httpx from 0.17.0 to 0.17.1Gravatar dependabot[bot]2021-03-16-6/+6
| |/ | | | | | | | | | | | | | | Bumps [httpx](https://github.com/encode/httpx) from 0.17.0 to 0.17.1. - [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.0...0.17.1) Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #71 from python-discord/dependabot/pip/sentry-sdk-1.0.0Gravatar Hassan Abouelela2021-03-15-5/+13
| |\ | | | | | | Bump sentry-sdk from 0.20.3 to 1.0.0
| | * Bump sentry-sdk from 0.20.3 to 1.0.0Gravatar dependabot[bot]2021-03-14-5/+13
| |/ | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.20.3 to 1.0.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/0.20.3...1.0.0) Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #61 from python-discord/dependabot/pip/sentry-sdk-0.20.3Gravatar Hassan Abouelela2021-03-15-114/+130
| |\ | | | | | | Bump sentry-sdk from 0.19.5 to 0.20.3
| | * Merge branch 'main' into dependabot/pip/sentry-sdk-0.20.3Gravatar Hassan Abouelela2021-03-15-9/+10
| | |\ | | |/ | |/| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock # pyproject.toml
| * | Merge pull request #70 from python-discord/dependabot/pip/deepmerge-0.2.1Gravatar Hassan Abouelela2021-03-15-5/+5
| |\ \ | | | | | | | | Bump deepmerge from 0.1.1 to 0.2.1
| | * \ Merge branch 'main' into dependabot/pip/deepmerge-0.2.1Gravatar Hassan Abouelela2021-03-15-0/+1
| | |\ \ | | |/ / | |/| |
| * | | Use .gitattributes to normalise line endingsGravatar MarkKoz2021-03-13-0/+1
| | | |
| | * | Bump deepmerge from 0.1.1 to 0.2.1Gravatar dependabot[bot]2021-03-11-5/+5
| |/ / | | | | | | | | | | | | | | | | | | Bumps [deepmerge](https://github.com/toumorokoshi/deepmerge) from 0.1.1 to 0.2.1. - [Release notes](https://github.com/toumorokoshi/deepmerge/releases) - [Commits](https://github.com/toumorokoshi/deepmerge/compare/v0.1.1...v0.2.1) Signed-off-by: dependabot[bot] <[email protected]>
| | * Merge branch 'main' into dependabot/pip/sentry-sdk-0.20.3Gravatar Hassan Abouelela2021-03-08-95/+266
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/__init__.py # poetry.lock
| | * \ Merge branch 'main' into dependabot/pip/sentry-sdk-0.20.3Gravatar Hassan Abouelela2021-02-28-153/+443
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock
| | * | | Sets Sentry SDK EnvironmentGravatar Hassan Abouelela2021-02-21-2/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | Bump sentry-sdk from 0.19.5 to 0.20.3Gravatar dependabot[bot]2021-02-19-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.19.5 to 0.20.3. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/0.19.5...0.20.3) Signed-off-by: dependabot[bot] <[email protected]>
* | | | | 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]>