Commit graph

35 commits

Author SHA1 Message Date
Lunarmagpie
472519ef3a ts-node 2023-03-08 22:18:34 -05:00
Endercheif
6a90aa3bc2
merge: from piston/production 2023-03-08 18:14:37 -08:00
Endercheif
996929f053
refactor: typescript api 2023-03-08 18:00:08 -08:00
Endercheif
234530ed60
fix: type as module 2023-03-06 15:02:16 -08:00
Endercheif
2d8c26f156
fix: pnpm with docker 2023-03-01 15:25:08 -08:00
Endercheif
2962e0cf99
fix: added incremental typing to piston 2023-02-27 18:21:15 -08:00
Endercheif
3266e803bd
Merge pull request #10 from engineer-man/master
merge
2023-02-23 19:52:07 -08:00
dependabot[bot]
d897ebded0
build(deps): bump node-fetch from 2.6.1 to 2.6.7 in /api
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 22:39:33 +00:00
Luka Barbić
e86c19b007 return 200 and piston ver on /, fix empty content-type header validation 2023-01-11 18:59:29 +01:00
dependabot[bot]
5ae85c383f
build(deps): bump express from 4.17.1 to 4.17.3 in /api
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 22:59:05 +00:00
Thomas Hobson
9276aa1109
Revert "build(deps): bump node-fetch from 2.6.1 to 3.1.1 in /api" 2022-03-02 19:20:55 +13:00
dependabot[bot]
54cf8f6403
build(deps): bump node-fetch from 2.6.1 to 3.1.1 in /api
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 19:58:40 +00:00
Brikaa
f2c91acbe6 Piston lint 2021-10-09 18:10:58 +02:00
Thomas Hobson
230cb3abe1
bump versions major 2021-07-17 01:00:44 +12:00
Thomas Hobson
de89acb617
api: Implement Websocket transport for live data 2021-07-16 23:10:44 +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
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
Thomas Hobson
8b90c12c5c
chown directories to root, ensuring they are not writable by runners 2021-05-02 20:11:55 +12:00
Thomas Hobson
3673b4e403
zombie process handler 2021-04-26 13:00:34 +12:00
Thomas Hobson
347f2d56d7
use a compatible waitpid library 2021-04-26 11:32:10 +12:00
Thomas Hobson
72bda367e0
cleanup all runner user processes 2021-04-26 10:35:34 +12:00
Thomas Hobson
3928bace86
refactor 2021-04-25 20:55:20 +12:00
Brian Seymour
b3d18600cd api refactoring 2021-03-12 23:01:04 -06:00
Thomas Hobson
8a0f7b3abd
api: add express-validator 2021-02-27 18:45:43 +13:00
Thomas Hobson
7b2305f30c
api: add licence to package.json 2021-02-21 13:15:11 +13:00
Thomas Hobson
8ad62ec983
api: use patched nocamel for fs/promises 2021-02-21 12:06:20 +13:00
Thomas Hobson
60c004eea9
api: lint **everything** 2021-02-21 11:39:03 +13:00
Thomas Hobson
91420c39d7
api: v3 2021-02-21 03:13:56 +13:00
Thomas Hobson
c5f3305c23
remove **everything** in preparations for v3 2021-02-18 18:32:26 +13:00
Vrganj
e80bb0372b Use express-validator, refactor 2021-01-16 00:53:51 +01:00
Vrganj
c88abc3ac9 Remove main.go, remove useless dependency 2021-01-15 22:47:04 +01:00
Vrganj
77e645beb3 Rip out go, add aliases to /versions 2021-01-14 20:14:26 +01:00