Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'bytes-output' of https://github.com/python-discord/snekbox ↵ | 2022-11-23 | -1/+1 | |
|\ | | | | | | | into bytes-output | |||
| * | Format nsjail log message | 2022-11-22 | -1/+1 | |
| | | | | | | Co-authored-by: Mark <[email protected]> | |||
* | | Update python3 docstring | 2022-11-23 | -9/+4 | |
|/ | ||||
* | Add memfs unit tests | 2022-11-22 | -0/+39 | |
| | ||||
* | Refactor MemFS set and semaphore to rely on fid lock | 2022-11-22 | -47/+41 | |
| | | | | Also changed None properties to instead raise RuntimeError if MemFS is accessed before __enter__ | |||
* | Add file send integration tests | 2022-11-22 | -3/+54 | |
| | ||||
* | Add timed to utils __all__ | 2022-11-22 | -2/+2 | |
| | ||||
* | Fix path parse unit tests | 2022-11-22 | -1/+4 | |
| | ||||
* | Add addition path parse unit tests | 2022-11-22 | -0/+52 | |
| | ||||
* | Add safe_path to handle path checks | 2022-11-22 | -18/+32 | |
| | ||||
* | Move parse_files to memfs | 2022-11-22 | -20/+19 | |
| | ||||
* | Update docstrings | 2022-11-22 | -0/+6 | |
| | ||||
* | Fixed leading empty filter for py_args | 2022-11-22 | -9/+34 | |
| | ||||
* | Readded lib64 | 2022-11-22 | -0/+7 | |
| | ||||
* | Remove fsize in cfg to use default | 2022-11-22 | -1/+0 | |
| | ||||
* | Refactor file parse timeout | 2022-11-22 | -13/+40 | |
| | ||||
* | Move cfgs to file from process call | 2022-11-22 | -14/+6 | |
| | ||||
* | Reverted rlimit_fsize in cfg | 2022-11-22 | -2/+0 | |
| | | | | Removed rlimit fsize from cfg as it causes issues with protobuf parsing | |||
* | Corrected fsize limit to inf | 2022-11-21 | -1/+1 | |
| | ||||
* | Clarify resource unit test | 2022-11-21 | -3/+3 | |
| | ||||
* | Set rlimit_fsize to unlimited | 2022-11-21 | -1/+1 | |
| | ||||
* | Refactor request file parsing | 2022-11-21 | -33/+18 | |
| | | | | | | - Removed zlib compression in favor of base64 for all responses and requests - Renamed `attachment` to `files` - Renamed `name` to `path` | |||
* | Remove bracket in file logging | 2022-11-21 | -1/+1 | |
| | | | Co-authored-by: Mark <[email protected]> | |||
* | Limit empty str filter to start of py_args | 2022-11-21 | -2/+3 | |
| | ||||
* | Remove attachment size limit, added time limit | 2022-11-21 | -32/+55 | |
| | ||||
* | Refactor config patches in tests | 2022-11-21 | -28/+3 | |
| | ||||
* | Add root back to unit test | 2022-11-21 | -1/+1 | |
| | ||||
* | Combined file handling to FileAttachment class | 2022-11-20 | -40/+63 | |
| | ||||
* | Add unit test for multiple python files | 2022-11-19 | -0/+11 | |
| | ||||
* | Implement files request form | 2022-11-19 | -82/+127 | |
| | ||||
* | Add DEBUG to __all__ | 2022-11-19 | -2/+1 | |
| | ||||
* | Remove /dev/shm mounts | 2022-11-19 | -30/+7 | |
| | ||||
* | Remove unneeded chmods | 2022-11-19 | -15/+3 | |
| | ||||
* | Use rmdir instead of rmtree | 2022-11-19 | -2/+2 | |
| | ||||
* | Add `size` and `compression` to attachment fields | 2022-11-18 | -2/+15 | |
| | ||||
* | Add override for timeit | 2022-11-18 | -0/+4 | |
| | ||||
* | Fix name assignment | 2022-11-18 | -1/+1 | |
| | ||||
* | Add option for use_file | 2022-11-18 | -13/+16 | |
| | ||||
* | Remove empty str from default py_args | 2022-11-18 | -1/+1 | |
| | ||||
* | docstring update | 2022-11-18 | -1/+1 | |
| | ||||
* | Add PID to UUID generation | 2022-11-18 | -2/+5 | |
| | | | | - Use current process PID in addition to UUID to avoid collisions with multiple snekbox instances (albeit unlikely) | |||
* | Reorder `mkdir` function | 2022-11-18 | -7/+7 | |
| | ||||
* | Remove unused supported mimes | 2022-11-17 | -5/+0 | |
| | ||||
* | Refactored tests to use new kwargs | 2022-11-17 | -13/+15 | |
| | ||||
* | Fixed home folder creation | 2022-11-17 | -7/+11 | |
| | ||||
* | Refactored max size handling | 2022-11-16 | -65/+52 | |
| | ||||
* | Add example for post response | 2022-11-16 | -3/+8 | |
| | ||||
* | Lower MAX_FILE_SIZE to match discord upload limit | 2022-11-16 | -3/+4 | |
| | ||||
* | Added additional unit tests | 2022-11-16 | -7/+65 | |
| | ||||
* | Adds a mount for /dev/shm | 2022-11-16 | -9/+31 | |
| |