Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Remove unneeded temp variable | 2021-02-25 | -4/+2 | |
| | ||||
* | Only filter units if we aren't using an admin token | 2021-02-25 | -1/+2 | |
| | ||||
* | Make use of list.copy() instead of [:] | 2021-02-25 | -2/+2 | |
| | ||||
* | Don't try to parse the composed code | 2021-02-25 | -40/+32 | |
| | ||||
* | Make use of .raise_for_status() | 2021-02-25 | -8/+6 | |
| | | | | Co-authored-by: Hassan Abouelela <[email protected]> | |||
* | Add return code 7 for processes killed by NsJail | 2021-02-25 | -22/+25 | |
| | ||||
* | Add return code 6 for exceptions when loading module | 2021-02-25 | -1/+1 | |
| | ||||
* | Properly handle return codes 5 and 99 | 2021-02-24 | -14/+18 | |
| | ||||
* | Document unittest code | 2021-02-24 | -6/+16 | |
| | ||||
* | Censor unittests on GET /forms/$id | 2021-02-24 | -0/+16 | |
| | ||||
* | Add support for hidden tests | 2021-02-24 | -2/+17 | |
| | ||||
* | Return 403 on failed tests | 2021-02-24 | -1/+1 | |
| | ||||
* | Switch to 100 chars line length and get rid of the noqas | 2021-02-24 | -11/+19 | |
| | ||||
* | Hook up unittesting in the submit protocol | 2021-02-24 | -0/+14 | |
| | ||||
* | Support code unit testing through snekbox | 2021-02-24 | -0/+91 | |
| | ||||
* | Add snekbox to the environment | 2021-02-24 | -0/+1 | |
| | ||||
* | Add an optional submitted_text field to forms to customize the response upon ↵ | 2021-01-20 | -2/+2 | |
| | | | | submitting. | |||
* | Add an optional response field to forms to customize the response upon ↵ | 2021-01-20 | -1/+2 | |
| | | | | submitting. | |||
* | Order discoverable forms alphabetically | 2021-01-04 | -1/+1 | |
| | ||||
* | Use $in operator for non-admin filtering to allow fetching closed forms | 2021-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. | 2020-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 | |||
* | Minor DevOps tweaks | 2020-12-28 | -1/+7 | |
| | ||||
* | Add handling of optional fields to submit endpoint | 2020-12-28 | -1/+4 | |
| | ||||
* | Add required field to question model | 2020-12-28 | -0/+1 | |
| | ||||
* | Return Git SHA in index route | 2020-12-27 | -1/+6 | |
| | ||||
* | Move Sentry middleware to higher position | 2020-12-27 | -1/+1 | |
| | ||||
* | Implement Sentry SDK initialization and add Middleware | 2020-12-27 | -1/+11 | |
| | ||||
* | Add Sentry DSN constant | 2020-12-27 | -0/+1 | |
| | ||||
* | Add Git SHA constant | 2020-12-27 | -0/+2 | |
| | ||||
* | Merge branch 'main' into ks123/responses-bulk-delete | 2020-12-26 | -0/+41 | |
|\ | ||||
| * | Update admin add route docstring | 2020-12-24 | -1/+1 | |
| | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
| * | Check is user already admin before adding | 2020-12-24 | -0/+5 | |
| | | ||||
| * | Use Pydantic validation instead manual validation | 2020-12-24 | -3/+8 | |
| | | ||||
| * | Create route for adding new admins | 2020-12-22 | -0/+31 | |
| | | ||||
* | | Let Pydantic validate bulk responses delete data | 2020-12-24 | -4/+8 | |
| | | ||||
* | | Check does form exists in responses bulk DELETE | 2020-12-23 | -1/+6 | |
| | | ||||
* | | Add bulk DELETE method to responses endpoint | 2020-12-23 | -1/+56 | |
|/ | ||||
* | Updates Patching Strategy | 2020-12-22 | -7/+15 | |
| | | | | | | | Changes the patching strategy to modify certain objects instead of outright overwriting them. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Dedents Webhook Object | 2020-12-22 | -18/+7 | |
| | | | | | | | Removes the meta object, and moves the webhook object under the main form object to reduce nesting. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Merge branch 'main' into big-int-fix | 2020-12-21 | -8/+187 | |
|\ | ||||
| * | Merge branch 'main' into discord-webhook | 2020-12-21 | -9/+38 | |
| |\ | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py | |||
| * | | Adds and Documents Webhook Message Variables | 2020-12-21 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | Adds better parsing and formatting for webhook message variables, and documents them in SCHEMA.md. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | Adds Missing Annotation | 2020-12-18 | -1/+1 | |
| | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | Runs Initial Validation Asynchronously | 2020-12-18 | -33/+81 | |
| | | | | | | | | | | | | | | | | | | | | | Moves the validation code of webhook urls to an async function that is called by the route, to avoid blocking code. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | Uses Builtin User Class | 2020-12-18 | -9/+21 | |
| | | | | | | | | | | | | | | | | | | Uses builtin user formatting for username and mentions. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | Change Embed Description | 2020-12-18 | -1/+1 | |
| | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> | |||
| * | | Merge branch 'main' into discord-webhook | 2020-12-18 | -2/+2 | |
| |\ \ | | | | | | | | | | | | | | | | | # Conflicts: # backend/routes/forms/submit.py | |||
| * | | | Sends Embed Asynchronously | 2020-12-18 | -4/+6 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | | | Merge branch 'main' into discord-webhook | 2020-12-17 | -19/+181 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # backend/routes/forms/submit.py | |||
| * | | | | Adds Webhook Sending Functionality | 2020-12-17 | -4/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Builds and sends a discord webhook on form submission. Signed-off-by: Hassan Abouelela <[email protected]> |