Comments (16)
我急于像修复这个问题,毕竟已经因为各种技术问题把比赛从一月份延期到二月了
from uoj.
@roastduck @panda2134 @vfleaking @Pisces000221 我真的很急,比赛已经开始了,我的QQ消息都堆满了。全是告诉我不能进入比赛
from uoj.
我有点困惑,为什么报名人数是0人?之前大家没有报名吗
from uoj.
什么意思,不太理解
from uoj.
比赛开始前需要报名,报名之后才能参赛。你比赛开始前有让大家报名比赛吗?比赛开始后是无法报名的
from uoj.
是说需要提前报名吗?
如果是这个意思,那比赛过程中如何开放报名?
from uoj.
毕竟初中学生都还小,让他们一直看OJ不太现实,毕竟不可能让所有人一起点报名
from uoj.
比赛过程中开放报名需要自己改代码。鉴于你现在情况比较紧急,建议你把比赛的开始时间调到14:00,然后让大家赶紧报名,14:00再正式开赛
from uoj.
哦哦好,谢谢
from uoj.
那我想问一下需要改哪一些代码。docker进mysql似乎一直说permission denied,说不能以无密码的root的形式进入
from uoj.
不用进 mysql。改网页端代码就行
https://github.com/UniversalOJ/UOJ-System/blob/0d931e270b425b35fabb421ea21043ba2aaf9786/web/app/controllers/contest_registration.php#L10
这里 != CONTEST_NOT_STARTED
改成 <= CONTEST_IN_PROGRESS
https://github.com/UniversalOJ/UOJ-System/blob/0d931e270b425b35fabb421ea21043ba2aaf9786/web/app/controllers/contest_inside.php#L15
这里 becomeMsgPage(...);
改成 header("Location: /contest/{$contest['id']}/register"); die();
from uoj.
我急于像修复这个问题,毕竟已经因为各种技术问题把比赛从一月份延期到二月了
太惨了……刚上手确实会遇到不少麻烦,不好意思。不过你可以加 UOJ 开源群的,平时有问题可以在群里问,也可以私聊找我。群号是 590822951
from uoj.
嗯嗯,再打扰一下,网页端代码怎么改,教程里面没有……:-(
from uoj.
应该是在 /opt/uoj/web/
这个目录下,找到我上面链接里的两个文件,然后改改就好
我主要在维护官网版,你用的是开源社区版。UOJ 的基本架构可以在这里找到:https://vfleaking.github.io/uoj/dev/ 官网版和开源社区版是类似的,只有些微小的差异
from uoj.
好,我试试。有问题再联系您,谢谢啦
from uoj.
好的 :)
from uoj.
Related Issues (20)
- 支持测评给出的分数为小数
- 自动显示题目的时空限制 HOT 2
- 升级 testlib 版本 HOT 4
- 数据配置页面增加 Subtask 相关配置
- 请问能添加一个收藏题目的功能吗?
- 增加按测评状态搜索提交记录的功能
- 前后缀和曲线可能不单调
- Modern C++ 代码高亮
- 支持通过共享内存实现的交互题
- 希望评测时间限制可以精确到 ms HOT 1
- 一个关于 UOJContestProblem 的 PHP Warning
- 请问哪里可以下载到livecd版本呢 HOT 1
- Feature request: 从题库中题目跳转到包含它的比赛 HOT 1
- 提答题出现Judgement Failed HOT 8
- 希望代码被hack或failed extra test的时候像用户发送消息提示 HOT 1
- web/app下出现了windows下不允许的文件夹名aux
- 配置为非80端口的时候访问OJ会出现问题 HOT 1
- 建议将 aux 文件夹改为其它的名字
- docker安装后系统时间有些问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uoj.