Commit Graph

20 Commits

Author SHA1 Message Date
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