Commit Graph

119 Commits

Author SHA1 Message Date
c55b010d6f ♻️ refactor(syzoj-header): restructure navigation menu and upgrade LLM model
- Remove "来源/分类" (category.php) link from main navigation
- Relocate "cppreference" to end of menu, after contest-related items
- Add conditional "AI 聊天" section using `$OJ_AI_HTML` variable
- Update LLM model from `MiniMax-M2.7` to `MiniMax-M3` in db_info.inc.php
- Fix trailing whitespace in header.php template
2026-06-05 18:40:45 +08:00
b95ede457e feat: 新增 LLM AI 错误点评功能,支持通过 OpenAI 兼容 API 对提交代码进行智能分析 2026-05-29 16:04:42 +08:00
606e0855f9 feat: 支持分类标签使用逗号分隔 2026-05-29 15:52:19 +08:00
145ad7b8ff ♻️ refactor: 优化问题标题样式和响应式设计 2026-04-17 17:17:18 +08:00
687093a134 ♻️ refactor: 优化全局字体大小设置 2026-04-17 15:50:01 +08:00
c6df6d16c8 ♻️ refactor: 移除全局字体大小和标题大小设置,优化样式 2026-04-17 15:36:56 +08:00
16e678d924 feat: 优化样例复制功能,增加成功和失败提示 2026-04-12 15:06:21 +08:00
bae46aef77 feat: 调整全局和管理员字体大小,优化样式 2026-04-12 13:59:18 +08:00
af78359d94 feat: 添加 Sarasa Mono 字体支持并优化样式 2026-04-12 13:29:17 +08:00
c0c0cc19b2 feat: 优化样例输入输出处理逻辑并增强复制功能 2026-04-12 12:59:35 +08:00
7334f3a368 feat: 优化问题页面工具栏样式和标签显示 2026-04-12 12:55:45 +08:00
e5aadba7fd feat: 优化评测状态页面表单和样式 2026-04-11 20:57:47 +08:00
917ea78c66 feat: 添加 Ace 编辑器支持并优化样式 2026-04-11 20:42:59 +08:00
31c676fc3a feat: 添加 MathJax 字体文件并优化代码加载逻辑 2026-04-11 20:37:53 +08:00
ab2a3ca65f feat: 优化问题页面样式并添加复制功能 2026-04-11 19:44:27 +08:00
007425ce81 feat: 添加全局单一字体样式以统一界面字体 2026-04-10 20:56:35 +08:00
5baab4da11 feat: 优化代码编辑器样式和增强预览功能 2026-04-10 20:45:24 +08:00
96b9eb57e2 feat: 添加语言模式映射和获取函数以支持代码编辑器 2026-04-10 19:39:06 +08:00
470b6ad776 feat: 添加文档标题规范化功能和优化文档显示逻辑 2026-04-10 18:16:03 +08:00
d1cd73ccdb feat: 添加文档功能和页面模板 2026-04-10 18:09:36 +08:00
addada1823 移除多余的无用代码 2026-04-10 16:36:57 +08:00
f20b7aa61c feat: 新增 WYSIWYG 编辑器功能和相关工具栏事件处理 2026-04-10 16:18:01 +08:00
40b77471b5 feat: 更新问题页面和提交页面,集成Vditor适配器,优化Markdown渲染 2026-04-10 15:47:26 +08:00
0c7297afd7 feat: 添加管理员操作功能以支持重判和删除提交 2026-04-05 13:55:10 +08:00
489f11ce35 feat: re-enable nickname editing in user profile
- Restore nickname field in modify.php SQL update query
- Remove disabled attribute from nickname input in modifypage.php template
- Allow users to update their nickname through profile modification
- Maintain existing HTML entity encoding for security
2026-03-15 13:15:09 +08:00
055223bfdf feat(problem): add copy button to markdown code blocks
Add a copy button to markdown code blocks in the problem view for easier code snippet copying. The button appears in the top-right corner of code blocks and provides visual feedback on copy success or failure. This improves user experience by eliminating the need to manually select and copy code.
2026-03-13 19:32:38 +08:00
3256c00dcd feat(ui): adjust hardness dropdown styling for better vertical alignment
- Increase min-height and line-height to 32px for consistent sizing
- Remove top and bottom padding to improve vertical centering
- Maintain existing width and margin properties
2026-03-13 15:55:40 +08:00
aceaaeb272 feat(problemset): replace semantic-ui dropdown with native select for hardness filter
- Replace custom semantic-ui dropdown component with standard HTML select element
- Simplify JavaScript by using native event listener instead of semantic-ui dropdown API
- Remove unnecessary dropdown initialization and selection setting code
- Maintain same functionality while reducing complexity and dependency on semantic-ui
2026-03-13 15:54:04 +08:00
73049b71b6 feat: add admin-only git pull interface and remove auto-pull
- Add new `gitpull.php` page for manual git pull execution by administrators
- Remove automatic git pull on homepage visit to prevent unintended updates
- Include git pull link in admin navigation menu for easy access
- Secure interface with admin-only access and sudo credentials configuration
2026-03-13 15:32:53 +08:00
2a41341e51 feat(problemset): move hardness filter to right side and improve UX
- Relocate hardness dropdown from left to right side of filter controls
- Change form submission behavior to update URL parameters directly
- Preserve selected hardness value on page reload
- Remove page parameter when hardness changes to reset pagination
- Improve visual alignment and spacing in filter interface
2026-03-13 15:25:34 +08:00
60f1532eb8 feat(problemset): add hardness filter and improve query parameter handling
- Added hardness filter dropdown in problemset UI with options 1-8
- Implemented server-side hardness parameter validation and filtering
- Refactored query parameter handling to use $filter_params array
- Updated SQL queries to use parameter binding for both search and hardness filters
- Fixed pagination to include hardness parameter in URL
- Improved code organization by centralizing filter parameter management
2026-03-13 15:03:46 +08:00
3f6db1935a 增加只显示未完成题目的按钮 2025-10-31 18:15:15 +08:00
26e0f0fc0a 难度按钮先注释了 2025-08-01 14:03:15 +08:00
b62fdbd18a 增加难度分类按钮 2025-08-01 14:01:36 +08:00
196e706fe4 上传cppreference 2025-08-01 12:57:54 +08:00
e29892f8cd 增加一个搜索按钮 2025-06-06 16:09:05 +08:00
1d77722c0e 试试gemini的建议 2025-05-10 16:46:14 +08:00
4d65c23bdf 增加判断 2025-05-10 16:35:42 +08:00
cdfb67fb3f 改回原来的试试 2025-05-10 16:29:56 +08:00
712c9fbe57 再改回html 2025-05-10 16:25:17 +08:00
d62b005cb3 试试append 2025-05-10 16:23:38 +08:00
5f719c78e1 再试试 2025-05-10 16:20:42 +08:00
b3f23cf2f0 使用text而非html保证markdown不会被修改 2025-05-10 16:14:33 +08:00
06b4e61de1 增加一些对markdown的判断 2025-05-10 16:02:58 +08:00
48fdf71836 更新markded.min.js 2025-05-10 15:54:40 +08:00
df321c3ab1 单独进行处理 2025-05-10 15:50:23 +08:00
f1ba072f45 移除bbcode_to_html试试 2025-05-10 15:40:44 +08:00
7094b36a37 增加一个开关用于调试 2025-05-09 18:34:17 +08:00
bcb36b4ab9 换个地方再试试 2025-05-09 18:21:42 +08:00
e22a8d8d4d trans_md中增加大于小于号转换 2025-05-09 18:12:22 +08:00