fda7515263098926485391473214b3e3db75abfb
验证码只剩注册一处调用方,一并去掉。 - UserRegisterAPI 的校验、UserRegisterSerializer 的 captcha 字段、 发图的 captcha 路由 - utils/captcha/ 整个包删除,含 Menlo.ttc 和 timesbi.ttf 两个字体 - utils/shortcuts.py 的 img2base64(),唯一调用方是验证码视图 - 依赖删除 pillow(本地实测 PIL/ 5.9M + pillow.libs/ 14M) 注意:注册接口现在只有 SysOptions.allow_register 一个开关,没有限流, throttling 目前只用在 SubmissionAPI 上。内网自用可以接受,站点若暴露到 公网需要补 IP 维度限流。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
OnlineJudge 2.0
An onlinejudge system based on Python and Vue. Demo
Overview
- Based on Docker; One-click deployment
- Separated backend and frontend; Modular programming; Micro service
- ACM/OI rule support; realtime/non-realtime rank support
- Amazing charting and visualization
- Template-problem support
- More reasonable permission control
- Multi-language support:
C,C++,Java,Python2,Python3 - Markdown & MathJax support
- Contest participants IP limit(CIDR)
Main modules are available below:
- Backend(Django): https://github.com/QingdaoU/OnlineJudge
- Frontend(Vue): https://github.com/QingdaoU/OnlineJudgeFE
- Judger Sandbox(Seccomp): https://github.com/QingdaoU/Judger
- JudgeServer(A wrapper for Judger): https://github.com/QingdaoU/JudgeServer
Installation
Follow me: https://github.com/QingdaoU/OnlineJudgeDeploy/tree/2.0
Documents
Screenshots
Frontend:
You can control the menu and chart status in rankings.
Admin:
Browser Support
Modern browsers(chrome, firefox) and Internet Explorer 10+.
Thanks
- I'd appreciate a star if you find this helpful.
- Thanks to everyone that contributes to this project.
- Special thanks to heb1c, who has given us a lot of suggestions.
License
Description












