aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Install eval dependencies with --user & ensure user base var is setGravatar Joe Banks2023-08-29-3/+3
| | | | | | | | | Due to the way that `find` executes -exec arguments we need to run the pip install's inside another `sh` instance so that the PYTHONUSERBASE environment variable is correctly picked up. Additionally, we need to specify `--user` so that pip respects the PYTHONUSERBASE variable at all.
* Fix numpy install for testGravatar Mark2023-08-19-1/+1
| | | | Need to use `export` to set vars when && is used between the commands.
* Remove leading empty strings from NsJail config argsGravatar Mark2023-08-19-2/+2
| | | | | Prevent an empty exec_bin.args from manifesting as an empty string in the fully built arguments.
* Use --link with COPY in DockerfileGravatar Mark2023-08-19-7/+7
| | | | | | | | Re-use already built COPY layers in subsequent builds even if the previous layers have changed, which is especially helpful when copying from another build stage. See https://docs.docker.com/engine/reference/builder/#copy---link
* Install multiple Python versions in imageGravatar Mark2023-08-19-56/+117
| | | | | | | | Separate snekbox's Python interpreter from the interpreter used by NsJail. This allows for the interpreters to be updated on different cadences and provides better isolation of packages. Each Python interpreter adds about 70 MB to the built image.
* Use buildpack-deps as the builder base imageGravatar Mark2023-08-07-9/+6
| | | | | Get some of the NsJail build dependencies pre-installed thanks to the base image.
* Remove explicit package versions from DockerfileGravatar Mark2023-08-07-14/+14
| | | | | It's using a stable version of Debian, so it's redundant to lock packages to specific versions.
* Merge #180 - fix integration testsGravatar Mark2023-06-23-0/+18
|\
| * Kill process after waiting for it to terminateGravatar wookie1842023-06-23-2/+3
| |
| * Attempt to fix flaky integration testsGravatar wookie1842023-06-22-0/+11
| |
| * Fix issue when running individual integration testsGravatar wookie1842023-06-22-0/+6
|/
* Merge pull request #178 from python-discord/fix-status-badgeGravatar ChrisJL2023-06-22-2/+2
|\ | | | | Fix actions status badge
| * Fix actions status badgeGravatar wookie1842023-06-22-2/+2
|/
* Merge pull request #173 from python-discord/file-scan-recursion-fixGravatar ChrisJL2023-05-09-41/+117
|\ | | | | Fix recursion error during file attachment parsing of deep nested paths
| * Merge branch 'main' into file-scan-recursion-fixGravatar ChrisJL2023-05-09-49/+34
| |\ | |/ |/|
* | Update Sentry SDK to support Falcon 3Gravatar Bradley Reynolds2023-03-13-49/+34
| | | | | | Signed-off-by: Bradley Reynolds <[email protected]>
| * Update type hint for `files_timeout` to be `int` to be compatible with ↵Gravatar Ionite2023-03-16-1/+1
| | | | | | | | `timed.time_limit`
| * Add unit tests for time_limitGravatar Ionite2023-03-16-0/+30
| |
| * Include TimeoutError in raises docstring fieldGravatar Ionite2023-03-16-4/+6
| |
| * Rename `count` variableGravatar Ionite2023-03-16-3/+3
| |
| * Use log.exception for catch allGravatar Ionite2023-03-16-1/+1
| |
| * Update snekbox/utils/timed.pyGravatar Ionite2023-03-15-1/+1
| | | | | | Co-authored-by: Mark <[email protected]>
| * Remove unused timed functionGravatar Ionite2023-03-13-33/+4
| |
| * Add SIGALRM based time limitGravatar Ionite2023-03-13-13/+42
| |
| * Add unit test for deeply nested path file parsingGravatar Ionite2023-03-11-0/+23
| | | | | | | | Using example for reproducing issue #172
| * Provide files_timeout to `MemFS.files_list` callGravatar Ionite2023-03-11-0/+1
| |
| * Add `timeout` to `MemFS.files` and `MemFS.files_list` for more cooperative ↵Gravatar Ionite2023-03-11-10/+23
| | | | | | | | cancellation
| * Handle recursion error cases from globGravatar Ionite2023-03-11-0/+7
| |
| * Reduce file parse timeout from 8 to 5 secondsGravatar Ionite2023-03-11-1/+1
| |
| * Ensure mp Pool is not reused to avoid broken pipes from shutdownGravatar Ionite2023-03-11-1/+1
|/
* Merge pull request #170 from python-discord/files-exclude-hiddenGravatar Boris Muratov2023-03-10-0/+24
|\ | | | | Exclude hidden paths in files output
| * Add unit test for hidden paths exclusionGravatar Ionite2023-03-09-0/+19
| |
| * Add files output exclude for hidden pathsGravatar Ionite2023-03-09-0/+5
|/
* Merge pull request #159 from python-discord/bytes-outputGravatar Boris Muratov2023-03-10-97/+1231
|\ | | | | File system and Binary file sending
| * Merge branch 'main' into bytes-outputGravatar Boris Muratov2023-03-10-11/+14
| |\ | |/ |/|
* | Merge pull request #167 from python-discord/deployment-updateGravatar ChrisJL2023-02-02-11/+11
|\ \ | | | | | | Add `--upgrade` flag to deployment pip install
| * | Update .pre-commit-config.yamlGravatar Ionite2023-02-02-5/+5
| | |
| * | Update deps to newestGravatar Ionite2023-02-02-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps dependencies to newest versions: - attrs - networkx - numpy - scipy - tzdata
| * | Add `--upgrade` flag to deployment pip installGravatar Ionite2023-02-02-1/+1
|/ /
* | Update einspect version to 0.5Gravatar Ionite2023-01-25-1/+1
| |
* | Merge pull request #165 from python-discord/dep-add-einspectGravatar ChrisJL2023-01-14-0/+1
|\ \ | | | | | | Add einspect
| * | Add `einspect` to deploymentGravatar Ionite2023-01-14-0/+1
|/ /
* | Add matplotlib (#160)Gravatar Ionite2023-01-01-0/+1
| |
* | Merge pull request #163 from CJ-UltiPro/patch-1Gravatar ChrisJL2023-01-01-0/+1
|\ \ | | | | | | Yay Scipy!
| * | Yay Scipy!Gravatar CJ-UltiPro2022-12-28-0/+1
|/ / | | | | Bringing the much loved scipy to snekbox :)
* | Merge pull request #161 from chilaxan/patch-1Gravatar Mark2022-11-29-1/+1
|\ \ | | | | | | update fishhook version to 0.2
| * | update fishhook version to 0.2Gravatar chilaxan2022-11-29-1/+1
|/ /
| * Add new -B flag to unit testsGravatar Ionite2023-03-08-1/+1
| |
| * Remove file ignore filter to use -B flag insteadGravatar Ionite2023-03-08-24/+3
| |
| * Add `config/.ignore` file, parsed to ignore file patterns for uploadGravatar Ionite2023-03-02-7/+37
| | | | | | | | Currently only includes some python bytecode files