mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
bump version
This commit is contained in:
4 files changed
+33
-21
No files matched your search
@@ -111,7 +111,21 @@ Hydro 用户群:1085853538
|
||||
<details>
|
||||
<summary><h2>更新日志(点击展开)</h2></summary>
|
||||
|
||||
## Hydro 5.0.0-beta.14 / UI 4.58.0-beta.15
|
||||
## Hydro 5.0.0-beta.16 / UI 4.58.0-beta.17
|
||||
|
||||
- core: 修复繁体中文 i18n 自动检测
|
||||
- scoreboard-xcpcio: 修复子域中自动重定向
|
||||
- core: 比赛导航优化
|
||||
- core&ui: 繁体中文翻译完善
|
||||
- core&ui: 支持搜索训练计划
|
||||
- core: 修复 judge 特定情况下的竞态
|
||||
- onsite-toolkit: 添加比赛模式
|
||||
- ui: 支持自动填写测试数据输入到在线 IDE
|
||||
- ui: 默认禁用提交列表页面统计数据
|
||||
- judge: 支持同时运行多组自测数据
|
||||
- ui: 细节优化
|
||||
|
||||
## Hydro 5.0.0-beta.15 / UI 4.58.0-beta.16
|
||||
|
||||
- core: 修复题目创建页面多语言切换
|
||||
- ui: 修复比赛题目列表显示
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "5.0.0-beta.15",
|
||||
"version": "5.0.0-beta.16",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/plugin-api",
|
||||
"module": "src/plugin-api",
|
||||
@@ -31,7 +31,7 @@
|
||||
"csv-stringify": "^6.6.0",
|
||||
"emoji-regex": "^10.6.0",
|
||||
"emojis-list": "2.1.0",
|
||||
"fs-extra": "^11.3.2",
|
||||
"fs-extra": "^11.3.3",
|
||||
"js-yaml": "^4.1.1",
|
||||
"koa-proxies": "^0.12.4",
|
||||
"koa-static-cache": "^5.1.4",
|
||||
@@ -42,7 +42,7 @@
|
||||
"mongodb": "^7.0.0",
|
||||
"mongodb-uri": "^0.9.7",
|
||||
"nanoid": "^5.1.6",
|
||||
"nodemailer": "^7.0.11",
|
||||
"nodemailer": "^7.0.12",
|
||||
"notp": "^2.0.3",
|
||||
"p-queue": "^9.0.1",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.58.0-beta.16",
|
||||
"version": "4.58.0-beta.17",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
@@ -23,7 +23,7 @@
|
||||
"@mantine/core": "^8.3.10",
|
||||
"@mantine/hooks": "^8.3.10",
|
||||
"@mantine/notifications": "^8.3.10",
|
||||
"@sentry/browser": "^10.31.0",
|
||||
"@sentry/browser": "^10.32.1",
|
||||
"@sentry/webpack-plugin": "^4.6.1",
|
||||
"@simplewebauthn/browser": "13.2.2",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
@@ -43,7 +43,7 @@
|
||||
"@types/webpack-env": "^1.18.8",
|
||||
"@vscode/codicons": "^0.0.44",
|
||||
"ajv": "^8.17.1",
|
||||
"allotment": "^1.20.4",
|
||||
"allotment": "^1.20.5",
|
||||
"autoprefixer": "^10.4.23",
|
||||
"browser-update": "^3.3.63",
|
||||
"chalk": "^5.6.2",
|
||||
@@ -60,7 +60,7 @@
|
||||
"echarts": "^6.0.0",
|
||||
"emojis-keywords": "2.0.0",
|
||||
"emojis-list": "2.1.0",
|
||||
"esbuild-loader": "^4.4.0",
|
||||
"esbuild-loader": "^4.4.1",
|
||||
"flatpickr": "^4.6.13",
|
||||
"idb": "^8.0.3",
|
||||
"jquery": "^3.7.1",
|
||||
@@ -101,7 +101,7 @@
|
||||
"redux-promise-middleware": "^6.2.0",
|
||||
"redux-thunk": "^3.1.0",
|
||||
"rupture": "^0.7.1",
|
||||
"sass": "^1.97.0",
|
||||
"sass": "^1.97.1",
|
||||
"sass-loader": "^16.0.6",
|
||||
"schemastery": "^3.17.2",
|
||||
"shorty.js": "^1.0.1",
|
||||
@@ -117,7 +117,7 @@
|
||||
"timeago.js": "^4.0.2",
|
||||
"ts-loader": "^9.5.4",
|
||||
"web-streams-polyfill": "^4.2.0",
|
||||
"webpack": "^5.104.0",
|
||||
"webpack": "^5.104.1",
|
||||
"webpack-bundle-analyzer": "^5.1.0",
|
||||
"webpack-dev-server": "^5.2.2",
|
||||
"webpack-manifest-plugin": "^6.0.1",
|
||||
@@ -128,7 +128,7 @@
|
||||
"ansi_up": "^6.0.6",
|
||||
"cssfilter": "^0.0.11",
|
||||
"esbuild": "0.25.2",
|
||||
"fs-extra": "^11.3.2",
|
||||
"fs-extra": "^11.3.3",
|
||||
"html-to-text": "^9.0.5",
|
||||
"js-yaml": "^4.1.1",
|
||||
"jsesc": "^3.1.0",
|
||||
|
||||
@@ -11,16 +11,14 @@ const page = new NamedPage('manage_dashboard', async () => {
|
||||
|
||||
sock.onmessage = (message) => {
|
||||
const msg = JSON.parse(message.data);
|
||||
if (msg.type === 'log') {
|
||||
const div = $('<blockquote class="blue">').appendTo('#messages');
|
||||
$(`<p>${msg.payload}</p>`).appendTo(div);
|
||||
} else if (msg.type === 'warn') {
|
||||
const div = $('<blockquote class="yellow">').appendTo('#messages');
|
||||
$(`<p>${msg.payload}</p>`).appendTo(div);
|
||||
} else if (msg.type === 'error') {
|
||||
const div = $('<blockquote class="red">').appendTo('#messages');
|
||||
$(`<p>${msg.payload}</p>`).appendTo(div);
|
||||
}
|
||||
const color = {
|
||||
log: 'blue',
|
||||
warn: 'yellow',
|
||||
error: 'red',
|
||||
};
|
||||
const div = $(`<blockquote class="${color[msg.type]}">`).appendTo('#messages');
|
||||
// message come from backend checks, mark as trusted
|
||||
for (const line of (msg.payload || '').split('\n')) $(`<p>${line}</p>`).appendTo(div);
|
||||
};
|
||||
|
||||
sock.onclose = (message) => {
|
||||
|
||||
Reference in new issue
Block a user