Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
ruanxingzhi
e7d8db81c0 修复对fcmp的描述 2017-04-07 11:16:37 +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