ff5daf8afe
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-07-04 11:06:41 -06:00
bda28b8400
feat: SQL 题接入测试点在线编辑器
...
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-04 03:57:55 -06:00
740f956fe3
feat: SQL 测试点在线编辑器组件与 API
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-04 03:50:43 -06:00
0b627b5157
feat: 管理端 SQL 题隐藏输入输出描述与样例表单
...
- 隐藏 SQL 题的输入/输出描述编辑器
- 隐藏 SQL 题的样例编辑区域
- 跳过 SQL 题的输入输出和样例验证
- SQL 题提交时清空样例数组
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-03 01:31:08 -06:00
5d418a2280
修复测试用例区域温馨提醒 tooltip 不换行
...
n-tooltip 的内容容器默认按内容宽度撑开(naive-ui 没有设默认 max-width/
white-space),SQL 提示文案变长后整段挤成一条超宽横线。加 max-width 约束
宽度使其正常换行。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-02 18:02:49 -06:00
b4ac42b736
出题表单:修复 SQL 题崩溃并隐藏流程图区域
...
流程图区域的"AI 生成"按钮读取 problem.answers 里 language==='Python3' 的
第一项 .code,SQL 题(languages=["SQL"])没有 Python3 答案,[0] 为
undefined,导致模板抛 TypeError 崩溃整个出题页。
流程图功能本身依赖 Python 答案生成 Mermaid 代码,对 SQL 题没有意义,
和已隐藏的"代码规则检查"一样直接整块隐藏(切到 SQL 时顺带重置
allow_flowchart/show_flowchart,避免脏数据)。顺手给禁用态判断加了
可选链,修掉未选 Python3 时同样会崩的潜在问题(如仅选 C/C++ 的题目)。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-02 17:45:44 -06:00
c227c1d506
出题表单:SQL 题隐藏代码规则检查
...
AstRulesEditor 基于 tree-sitter 对 Python/C 做 AST 解析(后端 ast_checker
只注册了这两种语言),对 SQL 没有意义;此前只要 SQL 在已选语言里就会渲染
出对应 tab,选项全是 for/while 循环等编程语言概念。切到 SQL 时隐藏该区块
并清空 ast_rules,避免出题界面出现无意义配置。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-02 17:41:50 -06:00
38500671af
新增 SQL 题型前端支持
...
- LANGUAGE 类型与六张语言映射表补 SQL;编辑器 SQLite 方言高亮
- 出题表单:SQL 语言选项、题型/行序配置卡片、数据脚本压缩包上传、标准答案必填校验
- 修复做题页语言回退硬编码 Python3 的问题(SQL 题会提交被拒)
- SQL 题隐藏自测猫/自测屏/复制到自测猫(外部运行器不支持 SQL)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-02 17:23:23 -06:00
77db837af3
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-06-07 05:57:48 -06:00
f6232da3ba
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-06-03 09:06:08 -06:00
80e916e817
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-06-01 21:09:34 +08:00
cb7743367a
remove contest type
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-26 23:10:15 -06:00
7e784be061
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-26 02:44:55 -06:00
bf69a355fe
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-25 23:55:16 -06:00
f970bb955d
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-25 23:06:03 -06:00
82987ffd54
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-25 22:40:24 -06:00
11e447d4b7
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-25 21:56:07 -06:00
7547f896f6
feat: add admin UI for AST rule configuration
2026-05-25 20:50:40 -06:00
1296251c80
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-25 06:15:04 -06:00
6403b69294
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-21 19:52:44 -06:00
16588d2965
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-20 18:23:01 -06:00
2850887ce3
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-20 09:32:08 -06:00
a72317173b
feat: show warning when no answer code exists in generator
2026-05-19 04:27:10 -06:00
0ac203806c
fix: round up initial rows to nearest multiple of 5
2026-05-19 04:25:31 -06:00
e7e270b928
fix: ensure at least 5 rows in generator even when samples exist
2026-05-19 04:25:00 -06:00
874a6fbe90
feat: pre-populate generator with problem samples on open
2026-05-19 04:22:23 -06:00
06738f6e29
refactor: move reminder tooltip into testcase section
2026-05-19 04:20:48 -06:00
8047a7af8e
refactor: move test case info alert into testcase section
2026-05-19 04:20:16 -06:00
2912c7495c
fix: use display-directive=show on modal to preserve generator state
2026-05-19 04:18:56 -06:00
60851e3255
feat: preserve testcase generator state across modal open/close
2026-05-19 04:17:49 -06:00
f57c2c4137
fix: show all languages in selector regardless of answer code
2026-05-19 04:16:17 -06:00
09475db932
fix: explicitly import TestcaseGenerator component
2026-05-19 04:08:37 -06:00
cf2f5eec7d
fix: disable add/remove during run and fix score distribution to sum to 100
2026-05-19 04:04:18 -06:00
5c037bb438
fix: remount TestcaseGenerator on modal open to reset state
2026-05-19 04:02:00 -06:00
3b7b518109
feat: integrate testcase generator modal into problem edit page
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-19 04:00:13 -06:00
a48baddcc3
fix: guard reset during run and use stable key for file list
2026-05-19 03:58:24 -06:00
631292c33b
feat: add TestcaseGenerator component for inline test case creation
2026-05-19 03:55:54 -06:00
aaf53e3a0c
fix: move tag section to its own row
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-17 08:22:30 -06:00
07c86fe969
refactor: replace n-select dropdown with flat tag cloud
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-17 08:19:45 -06:00
3c90bedff6
refactor: replace tag two-panel with unified n-select combobox
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-17 08:09:13 -06:00
d25f126710
fix UI
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-17 05:46:18 -06:00
3503d19055
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-11 04:32:47 -06:00
53a79cd511
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-11 04:27:12 -06:00
c5a89c6d6a
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-11 00:55:04 -06:00
3d88ca22cb
update yearly ac rate
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-11 00:43:11 -06:00
7d8eff4ee8
fix
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-07 01:46:43 -06:00
4c9d379d0c
test
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-05-07 00:12:31 -06:00
5e07d3311b
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-03-08 21:40:30 +08:00
50c9ce3555
update
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled
2026-03-08 21:30:55 +08:00
9029e29148
feat: add teaching enhancement features
...
1. AI personalized hints after 3 failures (streaming SSE)
2. Submission error distribution panel in "my submissions" tab
3. Similar problem recommendations on AC or 3+ failures
4. Admin stuck problems analysis page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 21:12:47 +08:00