Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Refactor writing of input files into a separate function | 2023-10-27 | -1/+1 | |
| | ||||
* | Add null byte schema validation tests | 2022-12-04 | -1/+21 | |
| | ||||
* | Add tests for test_eval 200 | 2022-12-04 | -0/+3 | |
| | ||||
* | Add compat support for `input` arg | 2022-11-28 | -7/+11 | |
| | ||||
* | Add ParsingError handling for invalid base64 | 2022-11-28 | -1/+1 | |
| | ||||
* | Add invalid, absolute, null byte paths to schema | 2022-11-28 | -6/+5 | |
| | ||||
* | Docstring phrasing update | 2022-11-28 | -3/+3 | |
| | | | Co-authored-by: Mark <[email protected]> | |||
* | Fix path parse unit tests | 2022-11-22 | -1/+4 | |
| | ||||
* | Add addition path parse unit tests | 2022-11-22 | -0/+52 | |
| | ||||
* | Implement files request form | 2022-11-19 | -9/+8 | |
| | ||||
* | Fixed unit tests | 2022-11-16 | -2/+2 | |
| | ||||
* | Fix NsJail patch for API tests | 2022-06-06 | -1/+1 | |
| | ||||
* | Add black and isort | 2022-06-03 | -10/+5 | |
| | ||||
* | Fix 415 error response title | 2022-05-29 | -1/+1 | |
| | | | | The update to Falcon v3 changed its capitalisation. | |||
* | Set NsJail log level to warning during API tests | 2021-12-21 | -0/+3 | |
| | ||||
* | chore: Use TestCase.subTest | 2021-05-19 | -12/+12 | |
| | ||||
* | chore: Add tests for py_args and ns_jail args | 2021-05-18 | -0/+18 | |
| | ||||
* | Merge stdout and stderr | 2019-06-15 | -1/+0 | |
| | | | | | | Removes the need for redirecting stderr using contextlib in the input. Furthermore, it captures errors which don't directly come from the input, such as SyntaxErrors. | |||
* | Respond to eval with stdout, stderr, and the return code | 2019-06-05 | -3/+10 | |
| | | | | | | | | | The previous implementation limited the client's flexibility in presenting the results of the process. A process can write to both stdout and stderr and do so even when the return code is not 0 or 1. * Return a CompletedProcess from NsJail * Don't check the return code; this should be done client-side now | |||
* | Add logging for NsJail | 2019-06-05 | -1/+1 | |
| | | | | | | | | | | | NsJail's is configured to log to a temporary file rather than stderr. The contents of the file are parsed using regex after the process exits. When not debugging, some blacklisted messages and most info-level messages are skipped. * Add a snekbox logger * Log the Python code being executed if debugging * Use nested single quotes in a test to fix a linter error | |||
* | Move SnekAPI import back to top of module | 2019-05-29 | -1/+2 | |
| | ||||
* | Add API tests for eval resource | 2019-05-29 | -0/+65 | |