liguang
360399bdfb
refactor(user-management): 重构用户管理系统
...
- 移除原有的 user 和 problem API,改为使用 Prisma 直接操作数据库
- 新增 admin、teacher、guest 和 problem 的 CRUD 操作
- 优化用户表格组件,支持角色选择和难度选择
- 重构页面组件,使用 Prisma 查询数据
- 更新数据库迁移,增加 TEACHER 角色
2025-06-20 15:29:50 +08:00
0b9c338de4
refactor(run): rename trim to isTrim and simplify output comparison
...
- Change boolean parameter name from 'trim' to 'isTrim' for better clarity
- Simplify output comparison logic by inlining ternary expression
2025-06-16 16:59:48 +08:00
dioxide
7f79b901b7
Add trim function to ignore the whitespace character.
...
Add a trim key to mark whether the answer should be trimmed.
Add a judgement to determine whether the trim should work.
2025-06-15 17:16:39 +08:00
941f1a74fa
feat: replace dockview with flexlayout-react
2025-06-13 14:03:17 +08:00
03f150214d
chore(prisma): make TestcaseResult.output nullable in migration
2025-05-16 10:43:48 +08:00
4cc6456151
refactor(prisma): simplify schema and remove zod-prisma-types
...
- Reorganized Prisma schema structure with simplified models and relations
- Removed zod-prisma-types generator as it's no longer needed
- Consolidated problem content types into a single ProblemLocalization model
- Simplified testcase and template structures
- Removed unused prisma types file
2025-05-12 19:41:28 +08:00
25fd9b5f46
chore(prisma/migrations): add migration for multilingual problem support
2025-05-07 21:09:35 +08:00
2de1674b22
feat(prisma): add testcase_result model and related relations
2025-04-11 15:56:24 +08:00
5e3b75a36b
feat(prisma): add submission table and related relations
2025-04-10 22:26:45 +08:00
17c6be8a65
feat(prisma): migrate timeLimit and memoryLimit to Problem model
2025-04-10 21:55:32 +08:00
e2914d1e18
feat(schema): add expectedOutput field to Testcase model
2025-04-10 10:19:17 +08:00
1813d4ed79
chore(prisma): migrate to add Testcase and TestcaseData models
2025-04-09 19:31:51 +08:00
eafd5c4ca4
chore(prisma): migrate schema to add displayId field in Problem model
2025-03-30 18:43:00 +08:00
3fefee674b
chore(prisma): apply migration to remove TEACHER and STUDENT roles
2025-03-21 11:18:44 +08:00
3e4b396bfe
chore(prisma): add migration for language server protocol enum
2025-03-18 11:46:11 +08:00
c32704af27
chore(prisma): run prisma migrate to add JudgeResult model
2025-03-16 19:07:55 +08:00
eef2df3eb4
feat(prisma): add ExitCode enum to schema
2025-03-16 17:13:57 +08:00
d67ddf6882
chore(prisma): run migration to add DockerConfig to EditorLanguageConfig
2025-03-16 16:45:59 +08:00
4d13ba2c6d
feat(prisma): add LanguageServerConfig model and relationship with EditorLanguageConfig
2025-03-16 14:39:23 +08:00
4dbf6d774b
chore(prisma): apply migration to remove id field from EditorLanguageConfig model
2025-03-16 14:12:02 +08:00
649637cceb
chore(prisma): apply migration for editor language config model
2025-03-16 13:47:06 +08:00
dbc1e8b814
chore(prisma): run migration for credentials-based auth changes
2025-03-14 00:18:56 +08:00
6a0937390c
chore(prisma): generate migration for authentication schema changes
2025-03-12 15:11:05 +08:00
a5b5584e1c
feat(prisma): add initial migration
2025-03-11 15:53:43 +08:00