Commit Graph

43 Commits

Author SHA1 Message Date
Masco Skray
986a2713fa chore: set Dockerfile build from new branch name
We've just change php7 branch as the master branch, and php5 version turned into legacy.
To make docker automated build work correctly, the branch name specify now changed.
2018-12-15 13:44:03 +08:00
Masco Skray
64b7f9296e revert: fix the wrong generation of our-root password and length
Due to last those commits, the password generation was modified incorrectly.
It gens the $_svn_ourroot_password_ to $_svn_certroot_password_. Must revert it.
According to the version from @vfleaking, the judger_socket password and the our-root password is 32 chars long.
2018-09-20 16:32:08 +08:00
Billchenchina
410fe66e46
fix(uoj-form-lib.php): Closes #13 2018-07-03 22:38:10 +08:00
TRCYX
29e99be073
fix(uoj-form-lib.php): UniversalOJ/UOJ-System#13
From vfleaking/uoj@43280f92d6.
Fix wrongly written `isset`s.
2018-07-03 02:27:30 +08:00
Unostvisal
7dbd73552c
Merge pull request #11 from Igronemyk/master
fix: Fix the install.sh
2018-01-01 21:08:26 +08:00
igronemyk
6419333a57 fix: Fix the install.sh
Due to unknown reason,the last pull request was not completely submitted.Fix it.
2018-01-01 20:47:53 +08:00
Igronemyk
bea9508a26 fix: fix the wrong svn password (#9)
Due to historical reasons,the password for problem will be refresh by the web side after it created.So the svn password should use only one. And the last hotfix caused some strange problem. Fix it.
2018-01-01 17:14:15 +08:00
Billchenchina
349f8471e1 fix: fix the wrong svn password (#8)
The new install script (commit 19aac52) made a mistake in svn password, which made a error
when trying to click the 与svn仓库同步 button. Just fix this bug.
2017-12-31 23:34:59 +08:00
ceba_robot
1c1e219681 fix: Fix the wrong generation of cookie salt
The last commit changed the installation script a lot, but made a
mistake on the genration of config. It gen the cookie-checksum-salt
to user-checksum-salt. Just fix it.
2017-09-17 23:21:22 +08:00
MascoSkray
19aac52bcd
feat: update new installation script and support docker automated build
There are too many files of the old installation script. Now this could be only three files.
Add support for docker automated build, so we can get the latest build form docker hub every time.
The script can automaticly search the latest jdk builds and get them. It is no need to download by yourself. Make some changes to .default-config.php to generate config file.
This new installation script can also be used for traditional installation. Supports some situations that does not provide docker environment such as WSL or OpenVZ virtualization technology.
Bump mysql-server into 5.6 which 5.5.57 has some 奥妙重重的 problems in docker container.
2017-09-11 03:46:56 +08:00
MascoSkray
ec743dd808
fix: change fixed jdk runtime path to latest
The original judge client default uses jdk 7u76 and 8u31, and cannot change to the newest version.
This commit will change the folder into _latest. Prepare for new installation script.
2017-09-08 18:56:24 +08:00
MascoSkray
c5ef73dc76
style: move install files to a renamed folder
The installation files are dirty when they are outside of the folder. It now looks not so mess.
And there is no need to place empty jdk files. 果断删除之。
2017-09-07 13:16:13 +08:00
AdemJensen
fd77267e3f style: change language jack buttons' link
Some of the pictures of the original UOJ system uses the picture bed that belongs to the real UOJ which set up by vfleaking. But it may not work on some situations of the community version.
This commit added language flag pictures and changed the link to those pictures.
2017-06-29 17:32:46 +08:00
MascoSkray
b77834a182
fix: search box position and security change
This commit changes the search box up the paginator, and fixes a security problem.

ATTENTION! The version which has search box MUST update to the newest version IMMEDIATELY, the old version did not process the escape of the string, may cause SQL injection problems.
2017-06-28 13:32:44 +08:00
cebarobot
4fd63e8070 Merge branch 'feat-ceba'
fix: improve the look of search box
2017-06-27 11:42:42 +08:00
cebarobot
f923784a91 fix: improve the look of searchbox
Improve the look of searchbox.
- Change the color of the search button
- Put the searchbox at the middle of screen when using small equipments.
2017-06-27 11:38:44 +08:00
cebarobot
b7974dc6ae feat: add a new-blog button at blogs page
Add a new-blog button at blogs page. It simplified the operation to write a
new blog.
2017-06-25 10:38:16 +08:00
MascoSkray
20589aa2d2
fix: OJ short name on the blog nav bar did not use general settings
We set OJ name in the config file but when we use blog, it makes no difference. Replace original UOJ to general setting sets.
2017-06-01 10:34:42 +08:00
MascoSkray
e1b17aa3ca
feat: add a simple search box on problem set page
Add a search box on problem set page. Only uses a simple algorithm, you can't use it like Google. You can search one or some of the words in the title.

NOTICE: The style of the sarch box may have some problems. when you turn the window into mobile mode, the search box will not be at the center of the page. Hope someone can make it better.
2017-06-01 10:29:17 +08:00
MascoSkray
866d70b5b8
fix: no highlight and MathJax isn't working in faq page
There is a blog usage introduction in faq page, but the code highlight can't be seen and MathJax isn't working. Add require libs and js.
2017-05-22 10:57:45 +08:00
MascoSkray
10deda3561
fix: wrong blog tag address when not using subdomain
When the blog doesn't use subdomain, the tag address will be wrong. Add a situation check to find out the right tag address.
2017-04-25 15:25:53 +08:00
MascoSkray
2c303fd7d4
fix: fix a link failure and change some usage on managing problem data
The svn address link is missing, we fix it. Removed zip upload on the middle. You can now show & send SVN password.
2017-04-25 14:11:29 +08:00
MascoSkray
32d4340e76
fix: data uploaded by zip success but not commited and can't checkout using svn
If we upload data and problem.conf online, we may cannot checkout the existing data using svn. This commit fixed it. Also changed some button's position.
2017-04-25 13:06:44 +08:00
MascoSkray
be94141d94
feat: add own checker option to the online problem.conf editor
If you upload the data by zip file, you can now set your own checker to problem.conf online.

NOTE: If you want to use advanced options, you'd better modify problem.conf yourself. The online problem.conf editor is only for the common situation.
2017-04-25 12:49:46 +08:00
MascoSkray
290872a098
feat: add an option to set user as superuser
Superusers now can easily add user as superuser.

BREAKING CHANGE: login into others' account is no longer supported
For safety reasons, we removed the option for superusers to login into other users' account.
If you want to recover this option, please add the code by yourself.
2017-04-25 12:40:09 +08:00
MascoSkray
39acf1b05e
style: move all php libs to a folder
The php lib files are in the app directory root. Move it to a new directory so that can be tidy.
2017-04-25 12:30:03 +08:00
MascoSkray
e4b674ffce
style: add collapse and some long introductions to faq
New FAQ page uses collapse, and add the blog using introductions, judging details, OJ introductions. Also changed some grammar.
2017-04-25 12:26:36 +08:00
MascoSkray
cd9a0c9bbd 更换360字体CDN为谷歌国内服务器,部分提示友好化 2017-04-18 13:07:23 +08:00
MascoSkray
521b2719fd 微调变量名,主页面导航栏名称修复 2017-04-12 19:26:06 +08:00
ruanxingzhi
85de04ff6c 修复非80端口问题;在.config.php中自定义网站;docker build镜像名设为uoj 2017-04-07 17:02:34 +08:00
whitelilis
eb0500bbfa $oj-name changed to $oj_name 2017-04-07 11:16:42 +08:00
Too-Naive
7f2f52c726 Correction grammar 2017-04-07 11:16:41 +08:00
Too-Naive
ee06930872 修改常量名及移除个人信息 2017-04-07 11:16:40 +08:00
MascoSkray
7d1c1cc82a 添加一些方便修改的配置信息 2017-04-07 11:16:40 +08:00
MascoSkray
949ef0e573 移除官方版本文档和题目示例 2017-04-07 11:16:39 +08:00
stneng
a0ac25e42e Update gen-uoj-config.php 2017-04-07 11:16:38 +08:00
stneng
0c19d8d732 Add two empty files 2017-04-07 11:16:38 +08:00
ruanxingzhi
e7d8db81c0 修复对fcmp的描述 2017-04-07 11:16:37 +08:00
ruanxingzhi
2b736bb368 修改.htaccess,使得可以zip上传1G数据 2017-04-07 11:16:36 +08:00
ruanxingzhi
6529539bc0 修改readme;默认子目录博客 2017-04-07 11:16:33 +08:00
ruanxingzhi
5128be38f6 从AD1024那里搞来了zip传题 2017-04-07 11:15:44 +08:00
roastduck
63142dd042 fixed the port issue 2017-04-07 11:15:39 +08:00
vfleaking
74c091c911 Initial commit 2016-07-19 00:39:37 +08:00