mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
bump beta.18
This commit is contained in:
15 files changed
+34
-18
No files matched your search
@@ -111,6 +111,15 @@ Hydro 用户群:1085853538
|
||||
<details>
|
||||
<summary><h2>更新日志(点击展开)</h2></summary>
|
||||
|
||||
## Hydro 5.0.0-beta.18 / UI 4.58.0-beta.19
|
||||
|
||||
- ui: problemconfig: 修复子任务测试点拖拽
|
||||
- ui: problemconfig: 修复子任务依赖设置
|
||||
- ui: 调整默认编译空间设置
|
||||
- core: 修复重载设置导致设置项复制的问题
|
||||
- core: 修复题解被赞数量显示
|
||||
- ui: 修复题解区长数学公式显示
|
||||
|
||||
## Hydro 5.0.0-beta.17 / UI 4.58.0-beta.18
|
||||
|
||||
- ui: 自动折叠过长的题解内容
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/eslint-config",
|
||||
"version": "3.0.7",
|
||||
"version": "3.1.0",
|
||||
"license": "MIT",
|
||||
"main": "base.mjs",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/framework",
|
||||
"version": "0.2.6",
|
||||
"version": "0.2.7",
|
||||
"main": "index.ts",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/utils",
|
||||
"version": "1.5.3",
|
||||
"version": "1.5.4",
|
||||
"description": "hydrooj utils",
|
||||
"main": "lib/utils.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/components",
|
||||
"version": "1.0.0-beta.10",
|
||||
"version": "1.0.0-beta.11",
|
||||
"main": "./frontend/index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"sideEffects": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/elastic-search",
|
||||
"version": "1.2.0-beta.3",
|
||||
"version": "1.2.0-beta.4",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/geoip",
|
||||
"version": "1.4.0-beta.1",
|
||||
"version": "1.4.0-beta.2",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "3.5.0-beta.13",
|
||||
"version": "3.5.0-beta.14",
|
||||
"main": "./src/index.ts",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "5.0.0-beta.17",
|
||||
"version": "5.0.0-beta.18",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/plugin-api",
|
||||
"module": "src/plugin-api",
|
||||
|
||||
@@ -63,7 +63,7 @@ export default class GoogleOAuthService extends Service {
|
||||
_id: payload.sub.toString(),
|
||||
email: payload.email,
|
||||
uname: [`${payload.given_name} ${payload.family_name}`, payload.name],
|
||||
viewLang: payload.locale.replace('-', '_'),
|
||||
...(payload.locale ? { viewLang: payload.locale.replace('-', '_') } : {}),
|
||||
};
|
||||
},
|
||||
get: async function get(this: Handler) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/migrate",
|
||||
"version": "0.5.0-beta.6",
|
||||
"version": "0.5.0-beta.7",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/onsite-toolkit",
|
||||
"version": "0.1.0-beta.5",
|
||||
"version": "0.1.0-beta.6",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"dependencies": {
|
||||
"@react-spring/web": "^10.0.3",
|
||||
|
||||
@@ -31,13 +31,20 @@ try {
|
||||
__webpack_public_path__ = UiContext.cdn_prefix;
|
||||
} catch (e) { }
|
||||
if ('serviceWorker' in navigator) {
|
||||
const sendConfig = () => fetch('/service-worker-config', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(UiContext.SWConfig),
|
||||
});
|
||||
navigator.serviceWorker.register('/service-worker.js').then((registration) => {
|
||||
console.log('SW registered: ', registration);
|
||||
fetch('/service-worker-config', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(UiContext.SWConfig),
|
||||
});
|
||||
const sw = registration.active || registration.waiting || registration.installing;
|
||||
if (sw.state === 'activated') sendConfig();
|
||||
else {
|
||||
sw.addEventListener('statechange', (e) => {
|
||||
if (e.target.state === 'activated') sendConfig();
|
||||
});
|
||||
}
|
||||
}).catch((registrationError) => {
|
||||
console.log('SW registration failed: ', registrationError);
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.58.0-beta.18",
|
||||
"version": "4.58.0-beta.19",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/vjudge",
|
||||
"version": "1.10.0-beta.5",
|
||||
"version": "1.10.0-beta.6",
|
||||
"description": "Submit problems to remote oj",
|
||||
"main": "./src/index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
Reference in new issue
Block a user