mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
Merge branch 'master' of https://github.com/hydro-dev/Hydro
This commit is contained in:
commit
fc0d9873a2
30 files changed
+309
-138
No files matched your search
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"name": "contest-rule-homework",
|
||||
"id": "contest-rule-homework",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "html2md",
|
||||
"id": "html2md",
|
||||
"version": "0.0.1",
|
||||
"description": "Convert html to markdown"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# 迁移须知
|
||||
|
||||
迁移前,您需要指定数据来源。
|
||||
**请不要**将 Hydro 正在使用的数据库设置为数据来源的数据库。
|
||||
迁移过程中,Hydro 的以下内容会被**清空**:
|
||||
|
||||
题目列表,提交记录,用户列表,比赛列表,比赛成绩表,训练列表,训练进度,站内消息,题解,讨论
|
||||
|
||||
以下内容将被迁移:
|
||||
|
||||
题目与测试数据、题解,讨论与回复,比赛与成绩单,训练与进度数据,提交记录,用户列表
|
||||
|
||||
迁移过程中请保持
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "migrate-vijos",
|
||||
"id": "migrate-vijos",
|
||||
"version": "0.0.1",
|
||||
"description": "Migrate From Vijos"
|
||||
}
|
||||
@@ -20,6 +20,7 @@ const tasks = {
|
||||
salt: doc.salt,
|
||||
hash: doc.hash.split('|')[1],
|
||||
hashType: doc.hash.split('|')[0] === 'vj4' ? 'hydro' : doc.hash.split('|')[0],
|
||||
role: doc.priv === -1 ? 'root' : 'default',
|
||||
gravatar: doc.gravatar,
|
||||
email: doc.mail,
|
||||
emailLower: doc.mail_lower,
|
||||
|
||||
@@ -54,8 +54,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="medium-3 columns">
|
||||
{% include 'components/md_hint.html' %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "module-pastebin",
|
||||
"id": "module-pastebin",
|
||||
"version": "1.0.0",
|
||||
"description": "Provide pastebin service."
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "problem-import-syzoj",
|
||||
"id": "problem-import-syzoj",
|
||||
"version": "1.0.0",
|
||||
"description": "Import problem from syzoj."
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "wiki",
|
||||
"id": "wiki",
|
||||
"version": "1.0.0",
|
||||
"description": "Basic wiki module."
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
wiki_about: About
|
||||
wiki_help: Help
|
||||
wiki_development: Development
|
||||
@@ -1,2 +1,7 @@
|
||||
wiki_about: 关于
|
||||
wiki_help: 帮助
|
||||
wiki_development: 开发文档
|
||||
Basic: 基础
|
||||
Module: 模块
|
||||
Introduction: 介绍
|
||||
Deployment: 部署
|
||||
Reference in new issue
Block a user