Commit Graph

70 Commits

Author SHA1 Message Date
6cbb1ab4a9
feat: always use sso for user 2024-04-28 22:58:39 +08:00
aaac7f57a0
fix: problem config is not properly parsed 2024-04-28 14:39:43 +08:00
1dfe296820
feat: allow to configure runner concurrency 2024-04-28 01:11:57 +08:00
0f026aa180
feat: support golang 2024-04-28 00:36:41 +08:00
54e83ec63e
feat: sync with latest woj_sandbox, allow to set write file limit (RLIMIT_FSIZE) 2024-04-27 21:25:21 +08:00
a0d2b7b2eb
fix: runner/nsjail: map some /dev/ devices into sandbox 2024-03-18 18:56:33 +08:00
3cfa0938e6
fix: compile: return correct JudgeStatus when compile failed 2024-03-16 21:37:55 +08:00
99aec47c76
chore: drop root in container 2024-03-15 13:22:02 +08:00
fca3fc678c
fix: stop submit flow once compile is failed 2024-03-14 01:19:24 +08:00
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
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
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
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
dd86ed8b5a
feat: LimitedWriter: write as much as possible 2024-01-07 00:26:18 +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
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
3f67523ab1
feat: username is now email 2024-01-05 14:31:09 +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
297d031e5b
feat: support pagination on search, close #4 2023-12-27 22:21:42 +08:00
e508c6f4e8
feat: allow fuzz search on tags 2023-12-27 21:56:19 +08:00
ce7d173a82
feat: add tags support 2023-12-27 21:49:10 +08:00
1a5b8270ef
fix: DB: Submission nested preload 2023-12-23 15:37:46 +08:00
b45963f9b5
feat: enhanced paging support 2023-12-23 15:36:42 +08:00
9485dbbce4
fix: several nits 2023-12-21 17:14:59 +08:00
a9106ed363
feat: separate redis addr and port from config 2023-12-18 23:43:27 +08:00
992b21fb9f
chore: add more debugging messages 2023-08-11 23:56:58 +08:00
1365e54aec
feat: deploy support 2023-08-11 23:56:30 +08:00
7660069c34 fix: swagger documentation 2023-07-16 16:27:29 +08:00
a0c36c1606 feat: refactor to use DI 2023-07-15 16:19:49 +08:00