aboutsummaryrefslogtreecommitdiffstats
path: root/backend (unfollow)
Commit message (Collapse)AuthorLines
2021-03-11Bump deepmerge from 0.1.1 to 0.2.1Gravatar dependabot[bot]-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]>
2021-03-08Fixes Production URL ConstantGravatar Hassan Abouelela-1/+1
Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-07Bump flake8-annotations from 2.5.0 to 2.6.0Gravatar dependabot[bot]-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]>
2021-03-07Bump pydantic from 1.7.3 to 1.8.1Gravatar dependabot[bot]-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]>
2021-03-07Corrects Token Cookie DomainGravatar Hassan Abouelela-4/+2
Removes schema from the token cookie's domain field. Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-07Switches Forwarded Protocol HeaderGravatar Hassan Abouelela-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]>
2021-03-07Corrects Domain On Token CookieGravatar Hassan Abouelela-1/+2
Correctly formats the domain set on the cookie used for tokens. Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-07Corrects Domain On Token CookieGravatar Hassan Abouelela-2/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-07Fixes Domain URL On Token CookieGravatar Hassan Abouelela-11/+18
Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-07Makes Helper To Handle Token SameSite LogicGravatar Hassan Abouelela-19/+45
Adds a helper method to allow tokens to work on deploy previews. Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-06Revert "Sets Token Cookie To Same Site To Lax"Gravatar Hassan Abouelela-2/+2
This reverts commit 013ea900 Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-06Sets Token Cookie To Same Site To LaxGravatar Hassan Abouelela-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]>
2021-03-06Formats Authorize FileGravatar Hassan Abouelela-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]>
2021-03-06Renames Token To `token` Gravatar Hassan Abouelela-4/+4
Changes the name for the token used to authorize with the backend. Co-authored-by: Joe Banks <[email protected]>
2021-03-01Make Admin Fetch AsyncGravatar Hassan Abouelela-3/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-01Allows All CORS Requests On DevelopmentGravatar Hassan Abouelela-2/+3
Signed-off-by: Hassan Abouelela <[email protected]>
2021-03-01Bump httpx from 0.16.1 to 0.17.0Gravatar dependabot[bot]-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]>
2021-02-28Adds Hassan Abouelela To Code OwnersGravatar Hassan Abouelela-2/+2
Signed-off-by: Hassan Abouelela <[email protected]>
2021-02-27Obliterate the _unit_cache variableGravatar Matteo Bertucci-3/+0
2021-02-26Use base64 encoded code snippetsGravatar Matteo Bertucci-6/+8
2021-02-25Properly hadnle hidden tests starting with test_Gravatar Matteo Bertucci-1/+1
2021-02-25Remove unused importGravatar Matteo Bertucci-2/+4
2021-02-25Document the SNEKBOX_URL env varGravatar Matteo Bertucci-0/+3
2021-02-25Make _make_unit_code more readableGravatar Matteo Bertucci-1/+4
2021-02-25Remove unneeded temp variableGravatar Matteo Bertucci-4/+2
2021-02-25Only filter units if we aren't using an admin tokenGravatar Matteo Bertucci-1/+2
2021-02-25Make use of list.copy() instead of [:]Gravatar Matteo Bertucci-2/+2
2021-02-25Don't try to parse the composed codeGravatar Matteo Bertucci-40/+32
2021-02-25Make use of .raise_for_status()Gravatar Matteo Bertucci-8/+6
Co-authored-by: Hassan Abouelela <[email protected]>
2021-02-25Add return code 7 for processes killed by NsJailGravatar Matteo Bertucci-22/+27
2021-02-25Add return code 6 for exceptions when loading moduleGravatar Matteo Bertucci-4/+9
2021-02-24Don't communicate the traceback back to the backendGravatar Matteo Bertucci-2/+1
2021-02-24Properly handle return codes 5 and 99Gravatar Matteo Bertucci-14/+18
2021-02-24Move most of the unittest template inside of the handlerGravatar Matteo Bertucci-12/+11
2021-02-24Document unittest codeGravatar Matteo Bertucci-12/+23
2021-02-24Censor unittests on GET /forms/$idGravatar Matteo Bertucci-0/+16
2021-02-24Add support for hidden testsGravatar Matteo Bertucci-2/+17
2021-02-24Return 403 on failed testsGravatar Matteo Bertucci-1/+1
2021-02-24Don't lint the unittest templateGravatar Matteo Bertucci-0/+1
2021-02-24Switch to 100 chars line length and get rid of the noqasGravatar Matteo Bertucci-12/+22
2021-02-24Hook up unittesting in the submit protocolGravatar Matteo Bertucci-0/+14