aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * 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
|/
* Fix WSGI app not being calledGravatar MarkKoz2022-06-01-1/+1
|
* CI: fix version step outputGravatar MarkKoz2022-06-01-2/+2
|
* Merge #142 - use version as release tag in Sentry actionGravatar Mark2022-06-01-2/+13
|\
| * CI: use version as release tag in Sentry actionGravatar MarkKoz2022-06-01-2/+13
|/
* Merge #141 - fix version commit countGravatar Mark2022-06-01-3/+9
|\
| * CI: print the version to help with debuggingGravatar MarkKoz2022-06-01-0/+1
| |
| * Remove GIT_SHA from README.mdGravatar MarkKoz2022-06-01-1/+0
| | | | | | | | The env var is no longer used anywhere.
| * CI: fetch git history to fix version scriptGravatar MarkKoz2022-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 1Gravatar MarkKoz2022-06-01-1/+2
|/
* Merge #140 - add pyproject.toml and versioningGravatar Mark2022-06-01-119/+255
|\
| * Fix typo in Dockerfile commentGravatar Mark2022-06-01-1/+1
| | | | | | Co-authored-by: Matteo Bertucci <[email protected]>
| * Fix typo in project descriptionGravatar MarkKoz2022-05-31-1/+1
| |
| * CI: fix container entrypoint when running testsGravatar MarkKoz2022-05-31-1/+2
| |
| * CI: tag all images with versionGravatar MarkKoz2022-05-31-2/+6
| |
| * Docker: install package in image and use version to tag itGravatar MarkKoz2022-05-31-37/+45
| |
| * Fix package discovery for setuptoolsGravatar MarkKoz2022-05-31-2/+2
| | | | | | | | Subpackages weren't being included.
| * Automatically determine the package versionGravatar MarkKoz2022-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 modulesGravatar MarkKoz2022-05-30-4/+16
| |
| * Specify wsgi_app in Gunicorn configGravatar MarkKoz2022-05-30-2/+3
| |
| * Remove redundant module for creating the WSGI appGravatar MarkKoz2022-05-30-6/+3
| |
| * Make Sentry SDK and gunicorn optional dependenciesGravatar MarkKoz2022-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.
| * Move logging code to separate utility modulesGravatar MarkKoz2022-05-30-49/+72
| |
| * Move coverage config into pyproject.tomlGravatar MarkKoz2022-05-30-13/+16
| |
| * Tweak Makefile formatGravatar MarkKoz2022-05-30-2/+1
| |
| * Add a pyproject.tomlGravatar MarkKoz2022-05-30-14/+52
|/
* Merge #139 - use pip-tools instead of PipenvGravatar Mark2022-05-30-661/+259
|\
| * Rebuild the container before running the test commandGravatar MarkKoz2022-05-29-0/+1
| | | | | | | | Ensure the dependencies are up-to-date in the dev container.
| * Fix 415 error response titleGravatar MarkKoz2022-05-29-2/+2
| | | | | | | | The update to Falcon v3 changed its capitalisation.
| * Fix paths to files in CONTRIBUTING.mdGravatar MarkKoz2022-05-29-2/+2
| |
| * Fix deprecation warning from FalconGravatar MarkKoz2022-05-29-1/+1
| | | | | | | | The update to v3 deprecated falcon.API in favour of falcon.App.
| * Remove redundant numpy install in test commandGravatar MarkKoz2022-05-29-1/+1
| | | | | | | | | | It's already installed by the container since Docker Compose is configured with the DEV arg.
| * Deps: use pip-tools instead of PipenvGravatar MarkKoz2022-05-29-453/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | Pipenv was limited to only "normal" and "dev" dependencies. pip-tools is more flexible, since each requirements file can be constrained by more than one other requirements file. This means CI can choose to only install coverage deps in the test job and linting deps in the lint job, but these dependencies will still be constrained by each other and by other requirements, so a developer will be able to install both sets simultaneously without conflicts. Use a Makefile to make up for the loss of Pipenv's scripts functionality.
| * CI: only show pre-commit log if it existsGravatar MarkKoz2022-05-28-1/+5
| |
| * Deps: specify flake8 deps via pre-commitGravatar MarkKoz2022-05-28-335/+164
|/
* Replace ASCII diagram with mermaid sequence diagramGravatar Mark2022-03-12-14/+15
|