aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * Upgrade Runtime PackagesGravatar Hassan Abouelela2022-10-31-5/+5
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * Bump Pre-Commit HooksGravatar Hassan Abouelela2022-10-31-5/+4
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * Drop Python Coveralls DependencyGravatar Hassan Abouelela2022-10-31-33/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the coveralls dependency in favor of the GitHub action uploader. The action is an official product from coveralls, and has the same features as the package, however it reduces the project's dependencies in favor of a simpler more stand-alone solution. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Upgrade Package DependenciesGravatar Hassan Abouelela2022-10-31-41/+42
| | | | | | | | | | | | | | | | | | | | | Run `make upgrade` to relock all dependency files with pip-tools on 3.11. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Bump Python To 3.11Gravatar Hassan Abouelela2022-10-31-12/+12
| |/ | | | | | | | | | | | | Upgrade build image, configuration files, and documentation to python 3.11. Signed-off-by: Hassan Abouelela <[email protected]>
* | FormattingGravatar Ionite2022-11-16-2/+12
| |
* | Refactor to use individual tmpfsGravatar Ionite2022-11-16-20/+29
| |
* | Add zlib compressionGravatar Ionite2022-11-16-1/+4
| |
* | Increased nsjail file-size limitGravatar Ionite2022-11-16-0/+2
| | | | | | | | Increased limit from default 1MB to 128MB (per file)
* | Merged return tuple to EvalResult classGravatar Ionite2022-11-16-24/+53
| |
* | Improved file size limit handlingGravatar Ionite2022-11-16-4/+24
| |
* | Add attachment to API responseGravatar Ionite2022-11-16-2/+6
| |
* | Implement attachment supportGravatar Ionite2022-11-16-8/+32
| |
* | Add snekio.py for FileAttachment dataclassGravatar Ionite2022-11-16-0/+47
| |
* | Permission restrictions for home and rootGravatar Ionite2022-11-15-5/+15
| |
* | Remove -c from unit testsGravatar Ionite2022-11-15-2/+2
| |
* | Implement usage of tempfsGravatar Ionite2022-11-15-4/+22
| |
* | Remove -c argsGravatar Ionite2022-11-15-1/+1
| |
* | Add home folder createGravatar Ionite2022-11-15-5/+12
| |
* | Use custom memfs mountingGravatar Ionite2022-11-15-15/+25
| |
* | Create memfs.pyGravatar Ionite2022-11-15-0/+79
| |
* | Update port number to quotesGravatar Ionite2022-11-15-1/+1
|/ | | | As recommended by https://docs.docker.com/compose/compose-file/compose-file-v3/#short-syntax-1
* Merge pull request #151 from python-discord/bump-depsGravatar ChrisJL2022-08-14-15/+15
|\
| * Bump all 3rd party deps in deployment fileGravatar Chris Lovering2022-08-14-14/+14
| |
| * Remove unneeded backslash in DockerfileGravatar Chris Lovering2022-08-14-1/+1
|/
* Merge #147 - create v1 cgroups as neededGravatar Mark2022-07-09-6/+93
|\
| * Use more common binary for testing v1 cgroupsGravatar Mark2022-07-09-3/+3
| |
| * Test v1 cgroups are created as neededGravatar Mark2022-07-04-0/+68
| |
| * Create v1 cgroups as neededGravatar Mark2022-07-03-6/+25
|/ | | | | | | | | Support creating cpu and net_cls cgroups in addition to mem and pids, since custom configs may use these controllers as well. Create the cgroups only for the controllers that are in-use i.e. have configured limits in the NsJail config. Resolve #101
* Merge pull request #146 from python-discord/dawnofmidnight/typing-extensionsGravatar ChrisJL2022-06-30-0/+1
|\ | | | | add typing-extensions to snekbox
| * add typing-extensions to snekboxGravatar dawn2022-06-30-0/+1
|/
* Merge #145 - make the output size limit customisableGravatar Mark2022-06-14-46/+82
|\
| * Mention output limit can be customised and fix link in README.mdGravatar Mark2022-06-07-2/+2
| |
| * Use new NsJail instance for each test in NsJailArgsTestsGravatar Mark2022-06-07-12/+11
| |
| * Test NsJail args are set and used when passed to __init__Gravatar Mark2022-06-06-0/+37
| |
| * Fix NsJail patch for API testsGravatar Mark2022-06-06-1/+1
| |
| * Rename DEBUG env var to SNEKBOX_DEBUGGravatar Mark2022-06-06-3/+3
| | | | | | | | | | Use a more unique name to avoid accidentally using the value of a similar env var that was set for an unrelated reason.
| * Remove env var support for NsJail argsGravatar Mark2022-06-06-10/+2
| | | | | | | | The values can effectively be set via the Gunicorn config instead.
| * Accept NsJail arguments via the WSGI app (SnekAPI)Gravatar Mark2022-06-06-5/+13
| |
| * Add config path & output size args to NsJail classGravatar Mark2022-06-04-22/+27
| |
| * Fix force-exclude option for blackGravatar Mark2022-06-04-1/+1
| | | | | | | | It should be a string, not a list.
| * Remove nsjail log blacklistGravatar Mark2022-06-04-5/+0
|/ | | | | The blacklisted error no longer appears with the default config since the uid and gid are set.
* Merge #144 - add black and isortGravatar Mark2022-06-04-126/+122
|\
| * CI: use GH's Ubuntu 22.04 runner instead of the self-hosted oneGravatar Mark2022-06-04-10/+2
| |
| * Docker: never pull image when using Docker ComposeGravatar Mark2022-06-04-0/+1
| | | | | | | | Force the image to be built if it doesn't exist.
| * Add black and isortGravatar MarkKoz2022-06-03-107/+111
| |
| * Update pre-commit hooks and flake8 pluginsGravatar MarkKoz2022-06-03-12/+11
|/
* Merge pull request #143 from python-discord/feat/tests/wsgi-app-from-cfgGravatar Hassan Abouelela2022-06-03-14/+19
|\ | | | | Import the WSGI app via the config during tests
| * Import the WSGI app via the config during testsGravatar MarkKoz2022-06-01-9/+7
| | | | | | | | | | Relying more on gunicorn and its config parsing will avoid discrepancies between the test and production environments.
| * Ignore deprecation warning from Sentry's Falcon integrationGravatar MarkKoz2022-06-01-5/+12
|/