Commit Graph

108 Commits

Author SHA1 Message Date
9fe69280f9
fix: make rust happy 2024-03-14 01:18:57 +08:00
05b3d948c2
fix: use absolute path to sh 2024-03-13 22:38:52 +08:00
ff98b7b05f
feat: switch to nsjail 2024-03-13 20:05:00 +08:00
267a9994ea
fix: json.Unmarshal will treat int as float64, reflect to float64 then cast to int 2024-02-19 22:00:05 +08:00
283fc39b74
fix: ensure deps should be fatal error 2024-02-19 21:26:56 +08:00
4d21360251
chore: drop undeleted debug print 2024-02-19 21:14:16 +08:00
a193dee410
feat: allow using custom container prefix 2024-02-19 15:42:45 +08:00
7b6f98d67a
feat: adjust sentry logging level 2024-02-19 12:17:52 +08:00
f284e452d1
feat: add benchmark for ContainerRun{Pool} 2024-02-15 12:54:29 +08:00
6956fe4ee1
feat: capture runtime status from cgroups
pkg/pool: task is now available to return interface{} as result
pkg/pool: use atomic instead of mutex
service/runner: ContainerRun will return metrics
2024-02-15 12:53:57 +08:00
95e861fe43
chore: do not store config in zap 2024-02-15 12:47:57 +08:00
e3cd843249
feat: add support for python3(pypy3) and rust 2024-01-30 20:57:17 +08:00
204b61a867
feat: return CompileMessage even if compile is success 2024-01-29 21:16:51 +08:00
bb53ae280f
feat: unify argument passing and errors in runner 2024-01-29 21:15:39 +08:00
33107bf3ae
chore: cleanup: drop prepare_images 2024-01-28 21:51:16 +08:00
6965435cb7
feat: compile and new_problem are queued by pool (#7) 2024-01-28 18:16:04 +08:00
8429988cb4
fix: Prebuild should be independent of Languages 2024-01-28 18:15:07 +08:00
83d3913ba7
feat: support more detailed problem config (#7) 2024-01-27 23:07:34 +08:00
b5bedddf94
feat: use containerd as backend 2024-01-27 17:40:10 +08:00
7446ac6d23
feat: let asynq retry submit request if it's internal error 2024-01-07 00:45:16 +08:00
55f76636fd
fix: asynq concurrency set to cpu num 2024-01-07 00:39:33 +08:00
dd86ed8b5a
feat: LimitedWriter: write as much as possible 2024-01-07 00:26:18 +08:00
c36d68eddd
feat: metrics: do not log oauth callback 2024-01-06 21:55:44 +08:00
7d95c88063
fix: query_one might crash if submitStatus is empty 2024-01-06 21:24:14 +08:00
f5e2b0cf8b
fix: adjust sentrygin position 2024-01-06 21:05:54 +08:00
7f71fb4554
fix: query_one might crash if submitStatus is empty 2024-01-06 21:03:16 +08:00
d1f72b758e
feat: also log user dir in status table 2024-01-06 20:34:16 +08:00
9286aea36a
chore: more verbose log 2024-01-06 19:47:16 +08:00
5826b98b95
fix: migrate is a separate command 2024-01-06 19:26:18 +08:00
696804452e
feat: use injector shutdown rather than manually call Close() 2024-01-06 19:23:12 +08:00
bb105d1451
feat: #6 [7] Rewrite run_judge 2024-01-06 19:21:37 +08:00
8dee13af85
feat: #6 [6] Rewrite compile 2024-01-06 17:39:36 +08:00
7f0f897181
feat: #6 [5] Add must and rename functions in package file 2024-01-06 17:31:00 +08:00
fd85b603dc
feat: #6 [4] Rewrite new_problem 2024-01-06 16:06:53 +08:00
31391f6ce0
feat: #6 [3] Add LimitedWriter and move file related utils out from package utils 2024-01-06 16:06:16 +08:00
8e3222daab
feat: #6 [2] Rewrite EnsureDeps 2024-01-06 15:07:11 +08:00
8d66639cdc
feat: #6 [1] Add pool in runner 2024-01-06 15:06:12 +08:00
53899d58a1
feat: add utils.Try 2024-01-06 14:42:35 +08:00
1cd3620bdb
feat: redirect to frontend landing page 2024-01-05 15:47:29 +08:00
d45d958ea1
fix: oauth: login: unify POST method 2024-01-05 15:08:38 +08:00
99d8bd6b80
chore: verify email 2024-01-05 14:34:41 +08:00
3f67523ab1
feat: username is now email 2024-01-05 14:31:09 +08:00
bb21f5858d
chore: move oauth into api 2024-01-05 00:57:43 +08:00
310eff0e88
chore: re-organize config 2024-01-05 00:44:49 +08:00
3a6dbf8595
feat: allow to override ClientIP logic in gin 2024-01-05 00:40:05 +08:00
f52450f4c1
fix: signed state could not prevent replay attack, use redis to store real state and delete once checked 2024-01-03 14:10:44 +08:00
7faeafb367
feat: add initial oauth2 support 2024-01-03 00:55:41 +08:00
09611857c9
feat: user: allow to query profile and create if not exists (transaction) 2024-01-03 00:54:15 +08:00
97c0eed6ef
chore: adjust order 2024-01-02 23:39:09 +08:00
8d3b50fa77
chore: update prometheus bucket 2023-12-31 23:12:27 +08:00