aboutsummaryrefslogtreecommitdiffstats
path: root/backend (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | Properly hadnle hidden tests starting with test_Gravatar Matteo Bertucci2021-02-25-1/+1
| | | |
| | * | Remove unused importGravatar Matteo Bertucci2021-02-25-2/+4
| | | |
| | * | Make _make_unit_code more readableGravatar Matteo Bertucci2021-02-25-1/+4
| | | |
| | * | Remove unneeded temp variableGravatar Matteo Bertucci2021-02-25-4/+2
| | | |
| | * | Only filter units if we aren't using an admin tokenGravatar Matteo Bertucci2021-02-25-1/+2
| | | |
| | * | Make use of list.copy() instead of [:]Gravatar Matteo Bertucci2021-02-25-2/+2
| | | |
| | * | Don't try to parse the composed codeGravatar Matteo Bertucci2021-02-25-40/+32
| | | |
| | * | Make use of .raise_for_status()Gravatar Matteo Bertucci2021-02-25-8/+6
| | | | | | | | | | | | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
| | * | Add return code 7 for processes killed by NsJailGravatar Matteo Bertucci2021-02-25-22/+25
| | | |
| | * | Add return code 6 for exceptions when loading moduleGravatar Matteo Bertucci2021-02-25-1/+1
| | | |
| | * | Properly handle return codes 5 and 99Gravatar Matteo Bertucci2021-02-24-14/+18
| | | |
| | * | Document unittest codeGravatar Matteo Bertucci2021-02-24-6/+16
| | | |
| | * | Censor unittests on GET /forms/$idGravatar Matteo Bertucci2021-02-24-0/+16
| | | |
| | * | Add support for hidden testsGravatar Matteo Bertucci2021-02-24-2/+17
| | | |
| | * | Return 403 on failed testsGravatar Matteo Bertucci2021-02-24-1/+1
| | | |
| | * | Switch to 100 chars line length and get rid of the noqasGravatar Matteo Bertucci2021-02-24-11/+19
| | | |
| | * | Hook up unittesting in the submit protocolGravatar Matteo Bertucci2021-02-24-0/+14
| | | |
| | * | Support code unit testing through snekboxGravatar Matteo Bertucci2021-02-24-0/+91
| | | |
| | * | Add snekbox to the environmentGravatar Matteo Bertucci2021-02-24-0/+1
| | |/
| * | 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/+2
| |/ | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add missing "is" to error messageGravatar ks1292021-03-09-1/+1
| | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
* | Merge branch 'main' into ks123/role-assigningGravatar ks1292021-01-23-6/+5
|\|
| * Add an optional submitted_text field to forms to customize the response upon ↵Gravatar Jannes Jonkers2021-01-20-2/+2
| | | | | | | | submitting.
| * Add an optional response field to forms to customize the response upon ↵Gravatar Jannes Jonkers2021-01-20-1/+2
| | | | | | | | submitting.
| * Order discoverable forms alphabeticallyGravatar Joe Banks2021-01-04-1/+1
| |
| * Use $in operator for non-admin filtering to allow fetching closed formsGravatar ks1292021-01-04-1/+1
| | | | | | This was OPEN before, but we need to return discoverable closed forms too.
| * `jwt.encode` returns a string, not a bytestring.Gravatar kosayoda2020-12-31-3/+1
| | | | | | | | | | | | | | As of pyjwt 2.0.0, `jwt.encode` does not return a bytestring, so decoding is unnecessary. ref: https://github.com/jpadilla/pyjwt/blob/c96131b970fd341106ce33d0a85b50e3bdbb67ec/CHANGELOG.md#jwtencode-return-type
* | Use Discord API base URL from constantsGravatar ks1292020-12-29-5/+3
| |
* | Handle ratelimits for role assigningGravatar ks1292020-12-29-7/+19
| |
* | Fix too long lineGravatar ks1292020-12-29-1/+3
| |
* | Add default value to guild IDGravatar ks1292020-12-29-1/+1
| |
* | Add check for REQUIRES_LOGIN when ASSIGN_ROLE providedGravatar ks1292020-12-29-2/+6
| |
* | Implement roles assigning to submit routeGravatar ks1292020-12-29-12/+40
| |
* | Add validator for Discord role field for formGravatar ks1292020-12-29-1/+11
| |
* | Add PyDis guild constant from environmentGravatar ks1292020-12-29-0/+1
| |
* | Add Discord API base URL constantGravatar ks1292020-12-29-0/+2
| |
* | Add discord_role field to form and it's schemaGravatar ks1292020-12-29-0/+1
| |
* | Add ASSIGN_ROLE flag to schema and to enumGravatar ks1292020-12-29-0/+1
| |
* | Add Discord bot token constant from environmentGravatar ks1292020-12-29-0/+1
|/
* Minor DevOps tweaksGravatar Joe Banks2020-12-28-1/+7
|
* Add handling of optional fields to submit endpointGravatar ks1292020-12-28-1/+4
|
* Add required field to question modelGravatar ks1292020-12-28-0/+1
|
* Return Git SHA in index routeGravatar ks1292020-12-27-1/+6
|