Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Change base Python version to 3.113.11 | 2022-09-14 | -7/+30 | |
| | | | | This also pre-installs all the deps into the built image, so shouldn't be deployed using the deployment found in this repo. | |||
* | Merge pull request #151 from python-discord/bump-deps | 2022-08-14 | -15/+15 | |
|\ | ||||
| * | Bump all 3rd party deps in deployment file | 2022-08-14 | -14/+14 | |
| | | ||||
| * | Remove unneeded backslash in Dockerfile | 2022-08-14 | -1/+1 | |
|/ | ||||
* | Merge #147 - create v1 cgroups as needed | 2022-07-09 | -6/+93 | |
|\ | ||||
| * | Use more common binary for testing v1 cgroups | 2022-07-09 | -3/+3 | |
| | | ||||
| * | Test v1 cgroups are created as needed | 2022-07-04 | -0/+68 | |
| | | ||||
| * | Create v1 cgroups as needed | 2022-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-extensions | 2022-06-30 | -0/+1 | |
|\ | | | | | add typing-extensions to snekbox | |||
| * | add typing-extensions to snekbox | 2022-06-30 | -0/+1 | |
|/ | ||||
* | Merge #145 - make the output size limit customisable | 2022-06-14 | -46/+82 | |
|\ | ||||
| * | Mention output limit can be customised and fix link in README.md | 2022-06-07 | -2/+2 | |
| | | ||||
| * | Use new NsJail instance for each test in NsJailArgsTests | 2022-06-07 | -12/+11 | |
| | | ||||
| * | Test NsJail args are set and used when passed to __init__ | 2022-06-06 | -0/+37 | |
| | | ||||
| * | Fix NsJail patch for API tests | 2022-06-06 | -1/+1 | |
| | | ||||
| * | Rename DEBUG env var to SNEKBOX_DEBUG | 2022-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 args | 2022-06-06 | -10/+2 | |
| | | | | | | | | The values can effectively be set via the Gunicorn config instead. | |||
| * | Accept NsJail arguments via the WSGI app (SnekAPI) | 2022-06-06 | -5/+13 | |
| | | ||||
| * | Add config path & output size args to NsJail class | 2022-06-04 | -22/+27 | |
| | | ||||
| * | Fix force-exclude option for black | 2022-06-04 | -1/+1 | |
| | | | | | | | | It should be a string, not a list. | |||
| * | Remove nsjail log blacklist | 2022-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 isort | 2022-06-04 | -126/+122 | |
|\ | ||||
| * | CI: use GH's Ubuntu 22.04 runner instead of the self-hosted one | 2022-06-04 | -10/+2 | |
| | | ||||
| * | Docker: never pull image when using Docker Compose | 2022-06-04 | -0/+1 | |
| | | | | | | | | Force the image to be built if it doesn't exist. | |||
| * | Add black and isort | 2022-06-03 | -107/+111 | |
| | | ||||
| * | Update pre-commit hooks and flake8 plugins | 2022-06-03 | -12/+11 | |
|/ | ||||
* | Merge pull request #143 from python-discord/feat/tests/wsgi-app-from-cfg | 2022-06-03 | -14/+19 | |
|\ | | | | | Import the WSGI app via the config during tests | |||
| * | Import the WSGI app via the config during tests | 2022-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 integration | 2022-06-01 | -5/+12 | |
|/ | ||||
* | Fix WSGI app not being called | 2022-06-01 | -1/+1 | |
| | ||||
* | CI: fix version step output | 2022-06-01 | -2/+2 | |
| | ||||
* | Merge #142 - use version as release tag in Sentry action | 2022-06-01 | -2/+13 | |
|\ | ||||
| * | CI: use version as release tag in Sentry action | 2022-06-01 | -2/+13 | |
|/ | ||||
* | Merge #141 - fix version commit count | 2022-06-01 | -3/+9 | |
|\ | ||||
| * | CI: print the version to help with debugging | 2022-06-01 | -0/+1 | |
| | | ||||
| * | Remove GIT_SHA from README.md | 2022-06-01 | -1/+0 | |
| | | | | | | | | The env var is no longer used anywhere. | |||
| * | CI: fetch git history to fix version script | 2022-06-01 | -1/+6 | |
| | | | | | | | | | | The last part of the version is the commit count, which relies on the repo's commit history. | |||
| * | Fix commit count part of version being off by 1 | 2022-06-01 | -1/+2 | |
|/ | ||||
* | Merge #140 - add pyproject.toml and versioning | 2022-06-01 | -119/+255 | |
|\ | ||||
| * | Fix typo in Dockerfile comment | 2022-06-01 | -1/+1 | |
| | | | | | | Co-authored-by: Matteo Bertucci <[email protected]> | |||
| * | Fix typo in project description | 2022-05-31 | -1/+1 | |
| | | ||||
| * | CI: fix container entrypoint when running tests | 2022-05-31 | -1/+2 | |
| | | ||||
| * | CI: tag all images with version | 2022-05-31 | -2/+6 | |
| | | ||||
| * | Docker: install package in image and use version to tag it | 2022-05-31 | -37/+45 | |
| | | ||||
| * | Fix package discovery for setuptools | 2022-05-31 | -2/+2 | |
| | | | | | | | | Subpackages weren't being included. | |||
| * | Automatically determine the package version | 2022-05-31 | -3/+47 | |
| | | | | | | | | | | | | Use the HEAD commit's date as the package's version. Append the number of commits made on the same date as HEAD to ensure multiple releases on the same date still have unique versions. | |||
| * | Add __all__ to all modules | 2022-05-30 | -4/+16 | |
| | | ||||
| * | Specify wsgi_app in Gunicorn config | 2022-05-30 | -2/+3 | |
| | | ||||
| * | Remove redundant module for creating the WSGI app | 2022-05-30 | -6/+3 | |
| | | ||||
| * | Make Sentry SDK and gunicorn optional dependencies | 2022-05-30 | -8/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | Falcon provides a WSGI app which can be used by any server, not just gunicorn. Thus, make gunicorn optional in case the user wants to use a different server. There shouldn't be any import errors since the class is now in an isolated module. The only time that module is imported is when gunicorn loads its config. Sentry is there for Python Discord mainly, so this dependency shouldn't be imposed on others. |