Commit Graph

959 Commits

Author SHA1 Message Date
Thomas 82e334fee6
Merge pull request #287 from dthree/patch-3
Proposal: Add Piston Node.js Client as an Official Extension
2021-06-27 10:00:17 +12:00
dc 5bec67ff5f
Proposal: Add Piston Node.js Client as an Official Extension
I created a [Node.js client wrapper](https://github.com/dthree/node-piston) to access the Piston API easily from Node. This makes it very easy to access the public Piston API or any private API from Node, hope you like it!

@realtux I don't mind moving this into the engineer-man account if you'd prefer that.
2021-06-23 10:04:18 -07:00
Luka Barbić e859f83cef
add node 16.3.0 package (#286) 2021-06-20 00:25:13 +12:00
Luka Barbić 929f3d3f2c
add julia 1.6.1 package (#285) 2021-06-19 23:02:36 +12:00
Thomas 64e95f63e0
Update issue templates (#284)
* Update issue templates

* Create package.md
2021-06-19 22:20:03 +12:00
Thomas Hobson 6a368cf66f
ci: ensure README contains all packages in repo (#283) 2021-06-19 21:58:19 +12:00
Thomas Hobson c011f212d4
Merge branch 'master' of github.com:engineer-man/piston 2021-06-19 21:24:51 +12:00
Thomas Hobson 2c5ec5f7ec
Add container customizer (#280) 2021-06-19 21:24:28 +12:00
dc 95f9628abb
Added cobol and raku to the languages list. (#282) 2021-06-19 20:46:51 +12:00
Hydrazer ba9503d9f8
Adding Raku (#281)
* Adding Raku

probably doesn't work lol tried copying the other ones someone could probably implement it using the build instructions from this https://rakudo.org/downloads/rakudo/source

* Update test.raku

* edited raku implementation

put it in version folder 6.d and removed the v from version in the json file

* edited raku version

changed the same stuff as last time but with different stuff

* raku edit build.sh

remove some unnecessary lines from the file

* raku edit version

editing version name again lol
2021-06-19 11:45:37 +12:00
g-w1 c0b218f477
update zig to 0.8.0 (#279)
zig 0.8.0 got released, so this pr updates it
2021-06-16 13:25:12 +12:00
Thomas Hobson 7d40abfb3f
cli: fix issue where negate removes too many packages 2021-06-13 19:17:04 +12:00
Thomas Hobson 5a82e0308b
ensure cli always has packages installed 2021-06-13 19:12:14 +12:00
Thomas Hobson 0598c5c9be
Management tool additions
* Command to build packages locally
* Help message
* Start/Stop/Restart commands
* Select production/development environements
* clean pkgs/repo commands
2021-06-13 18:54:59 +12:00
Thomas Hobson b24edf2ac1
repo: dockerignore 2021-06-13 18:52:14 +12:00
Thomas Hobson 6cfef7b7ce
cli: remove random file 2021-06-13 18:45:39 +12:00
Thomas Hobson 1fcb7604d7
cli: add `ppman spec` command 2021-06-13 18:41:01 +12:00
Thomas d68a1d67c8
brainfuck(2.7.3): input requires each char on new line 2021-06-07 21:32:44 +12:00
Atharva 22018cbc9b
Updated the readme (#273)
* Install/Uninstall multiple packages using ppman

* Updated the readme

* updated a variable

Co-authored-by: Thomas <git@hexf.me>
2021-06-05 19:34:43 +12:00
Atharva 1c3aa4a3e6
Install/Uninstall multiple packages using ppman (#272) 2021-06-05 19:20:06 +12:00
dc 98cc1111c2
Readme: adds additional clarity on runtime installation (#267)
* Update readme

Added additional clarity on runtime installation

* Update readme.md
2021-05-27 21:54:09 +12:00
Cory ea9f48fa00
add sympy to python 3.9.4 (#263)
Co-authored-by: Bones <cory@callref.com.au>
2021-05-26 23:09:08 +12:00
Thomas Hobson c71aea6166
compute hash in chunks.
Previously we were loading the entire package file into memory, then
updating the hash. Now we update the hash with chunks of the data as it is read in.
Should fix #259
2021-05-18 21:07:40 +12:00
Tushar Sadhwani 79c7f471a1
Add py3 alias for Python3 (#255)
* Add py3 alias

* Add py3 alias

* Add py3 alias

* Add py3 alias
2021-05-15 16:25:10 +12:00
Dan Vargas f28cc2a917
pkg(kotlin-1.4.31): add args (#258) 2021-05-15 16:24:47 +12:00
Dan Vargas c7764161a8
pkg(scala-3.0.0): use compile (#257) 2021-05-15 16:24:37 +12:00
Dan Vargas 00bd298665
pkg(kotlin-1.4.31): use jdk8 with kotlin (#256) 2021-05-13 21:45:21 +12:00
Dan Vargas 3e9705bcd3
pkg(julia-1.5.4): switch to build from source (#254)
* pkg(julia-1.5.4): switch to build from source

* fix install lang in ci test step

* use x86-64 cpu target list
2021-05-09 13:40:41 +12:00
Thomas Hobson 93188099b7
fix cli 2021-05-08 12:57:37 +12:00
Thomas Hobson 543cb11e69
Change package manager request signature 2021-05-08 12:41:41 +12:00
Thomas Hobson b3be57e0b4
lint like rest of codebase 2021-05-08 12:30:40 +12:00
Thomas Hobson 1b7504a191
switch back to startsWith
This is because application/json;charset=utf8 is perfectly valid!
2021-05-08 12:25:04 +12:00
Thomas Hobson 4259e89bb2
lint api 2021-05-08 12:20:21 +12:00
Thomas Hobson 2beb0abff7
Merge branch 'master' of github.com:engineer-man/piston 2021-05-08 12:08:30 +12:00
Thomas Hobson b51350489f
Up the default max file size limit 2021-05-08 12:08:13 +12:00
Brian Seymour 106d5c72c9 fix json validation 2021-05-07 14:50:50 -05:00
Brian Seymour 3ea6ca1180 fix json validation 2021-05-07 14:42:55 -05:00
Brian Seymour 5830d7fb43 fix json validation 2021-05-07 14:35:27 -05:00
Brian Seymour de449c6d56 validate json instead of a json header, and lots of cleanup 2021-05-07 14:22:25 -05:00
Thomas Hobson 0da1cd5867
use real uid for killing processes instead of using euid (#206) 2021-05-07 22:11:28 +12:00
Thomas Hobson 972228412a
switch to taking config by env
To help with ease of deployment, configuration now is administered through the use of environment variables.
This allows for easy configuration directly from the docker-compose file and is a much more robust solution.
2021-05-07 21:11:36 +12:00
Felix fb102ebe83
Improved memory limits (#248)
* Added optional compile_memory_limit and run_memory_limit parameters

* Combined memory limit parameters into one
2021-05-07 20:21:25 +12:00
Thomas Hobson eaf0ba34bd
Allow additional content-type parameters 2021-05-07 20:12:27 +12:00
Thomas Hobson d95d67071c
reject on non-json content-types (#233) 2021-05-07 19:37:22 +12:00
Thomas Hobson 9590d5afbc
Patch for race condition with filesystem and process cleanup 2021-05-07 19:23:34 +12:00
MrExquisite 95421c9e15
pkg(octave-6.2.0): add aliases/file extensions (#249)
Octave aliases/file extensions compliant to https://octave.org/doc/v6.2.0/Introduction-to-Function-and-Script-Files.html
2021-05-05 22:46:11 +12:00
Meghan 2ae78b954b
zig/0.7.1: set release most to safe so executers can still observe runtime checks (#250) 2021-05-05 22:45:42 +12:00
Dan Vargas dae0c57aae
pkg(rockstar-1.0.0): switch to rocky implementation (#251) 2021-05-05 22:45:33 +12:00
Thomas Hobson 09d32a521e
Merge branch 'master' of https://github.com/engineer-man/piston 2021-05-02 20:12:06 +12:00
Thomas Hobson 8b90c12c5c
chown directories to root, ensuring they are not writable by runners 2021-05-02 20:11:55 +12:00