mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bump version
This commit is contained in:
11 files changed
+41
-23
No files matched your search
@@ -111,6 +111,15 @@ Hydro 用户群:1085853538
|
|||||||
<details>
|
<details>
|
||||||
<summary><h2>更新日志(点击展开)</h2></summary>
|
<summary><h2>更新日志(点击展开)</h2></summary>
|
||||||
|
|
||||||
|
## UI 4.54.1
|
||||||
|
|
||||||
|
- ui: 修复 view-transitions
|
||||||
|
- onlyoffice: 支持处理 PDF 文件
|
||||||
|
- ui: markdown 支持显示代码行号
|
||||||
|
- ui: 支持扩展 richmedia 功能
|
||||||
|
- ui: 支持嵌入优酷视频
|
||||||
|
- ui: 移除部分页面组件多余的横向滚动条
|
||||||
|
|
||||||
### Hydro 4.15.0 / UI 4.54.0
|
### Hydro 4.15.0 / UI 4.54.0
|
||||||
|
|
||||||
- core: 修复题解投票数量计算
|
- core: 修复题解投票数量计算
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
"main": "react.yaml",
|
"main": "react.yaml",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stylistic/eslint-plugin": "^2.8.0",
|
"@stylistic/eslint-plugin": "^2.8.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.6.0",
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
||||||
"@typescript-eslint/parser": "^8.6.0",
|
"@typescript-eslint/parser": "^8.7.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
"eslint-plugin-github": "^5.0.2",
|
"eslint-plugin-github": "^5.0.2",
|
||||||
"eslint-plugin-import": "2.30.0",
|
"eslint-plugin-import": "2.30.0",
|
||||||
|
|||||||
@@ -13,10 +13,10 @@
|
|||||||
"koa": "^2.15.3",
|
"koa": "^2.15.3",
|
||||||
"koa-body": "^6.0.1",
|
"koa-body": "^6.0.1",
|
||||||
"koa-compress": "^5.1.1",
|
"koa-compress": "^5.1.1",
|
||||||
"koa-router": "^12.0.1",
|
"koa-router": "^13.0.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"moment-timezone": "^0.5.45",
|
"moment-timezone": "^0.5.45",
|
||||||
"path-to-regexp": "^7.2.0",
|
"path-to-regexp": "^8.1.0",
|
||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"saslprep": "^1.0.3",
|
"saslprep": "^1.0.3",
|
||||||
"shorty.js": "^1.0.1",
|
"shorty.js": "^1.0.1",
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"@types/koa": "^2.15.0",
|
"@types/koa": "^2.15.0",
|
||||||
"@types/koa-compress": "^4.0.6",
|
"@types/koa-compress": "^4.0.6",
|
||||||
"@types/koa-router": "^7.4.8",
|
"@types/koa-router": "^7.4.8",
|
||||||
"@types/lodash": "^4.17.7",
|
"@types/lodash": "^4.17.9",
|
||||||
"@types/saslprep": "^1.0.3",
|
"@types/saslprep": "^1.0.3",
|
||||||
"@types/ws": "^8.5.12"
|
"@types/ws": "^8.5.12"
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -35,7 +35,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@simplewebauthn/types": "9.0.1",
|
"@simplewebauthn/types": "9.0.1",
|
||||||
"@types/autocannon": "^7.12.5",
|
"@types/autocannon": "^7.12.5",
|
||||||
"@types/chai": "^4.3.19",
|
"@types/chai": "^4.3.20",
|
||||||
"@types/cross-spawn": "^6.0.6",
|
"@types/cross-spawn": "^6.0.6",
|
||||||
"@types/node": "20.12.12",
|
"@types/node": "20.12.12",
|
||||||
"@types/semver": "^7.5.8",
|
"@types/semver": "^7.5.8",
|
||||||
@@ -52,11 +52,11 @@
|
|||||||
"globby": "^14.0.2",
|
"globby": "^14.0.2",
|
||||||
"inspectpack": "^4.7.1",
|
"inspectpack": "^4.7.1",
|
||||||
"mongodb-memory-server": "9.4.1",
|
"mongodb-memory-server": "9.4.1",
|
||||||
"nyc": "^17.0.0",
|
"nyc": "^17.1.0",
|
||||||
"ora": "^8.1.0",
|
"ora": "^8.1.0",
|
||||||
"package-json": "^10.0.1",
|
"package-json": "^10.0.1",
|
||||||
"semver": "^7.6.3",
|
"semver": "^7.6.3",
|
||||||
"simple-git": "^3.26.0",
|
"simple-git": "^3.27.0",
|
||||||
"supertest": "^7.0.0",
|
"supertest": "^7.0.0",
|
||||||
"typescript": "5.3.3",
|
"typescript": "5.3.3",
|
||||||
"wtfnode": "^0.9.3"
|
"wtfnode": "^0.9.3"
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "3.651.1",
|
"@aws-sdk/client-s3": "3.658.1",
|
||||||
"@aws-sdk/lib-storage": "3.651.1",
|
"@aws-sdk/lib-storage": "3.658.1",
|
||||||
"@aws-sdk/s3-presigned-post": "3.651.1",
|
"@aws-sdk/s3-presigned-post": "3.658.1",
|
||||||
"@aws-sdk/s3-request-presigner": "3.651.1",
|
"@aws-sdk/s3-request-presigner": "3.658.1",
|
||||||
"@graphql-tools/schema": "^10.0.6",
|
"@graphql-tools/schema": "^10.0.6",
|
||||||
"@hydrooj/framework": "workspace:^",
|
"@hydrooj/framework": "workspace:^",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
@@ -58,10 +58,10 @@
|
|||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
"@types/js-yaml": "^4.0.9",
|
"@types/js-yaml": "^4.0.9",
|
||||||
"@types/koa-static-cache": "^5.1.4",
|
"@types/koa-static-cache": "^5.1.4",
|
||||||
"@types/lodash": "^4.17.7",
|
"@types/lodash": "^4.17.9",
|
||||||
"@types/mime-types": "^2.1.4",
|
"@types/mime-types": "^2.1.4",
|
||||||
"@types/mongodb-uri": "^0.9.4",
|
"@types/mongodb-uri": "^0.9.4",
|
||||||
"@types/nodemailer": "^6.4.15",
|
"@types/nodemailer": "^6.4.16",
|
||||||
"@types/notp": "^2.0.5",
|
"@types/notp": "^2.0.5",
|
||||||
"@types/saslprep": "^1.0.3",
|
"@types/saslprep": "^1.0.3",
|
||||||
"@types/semver": "^7.5.8",
|
"@types/semver": "^7.5.8",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"mariadb": "^3.3.1",
|
"mariadb": "^3.3.2",
|
||||||
"mongodb": "^5.9.2",
|
"mongodb": "^5.9.2",
|
||||||
"turndown": "^7.2.0",
|
"turndown": "^7.2.0",
|
||||||
"xml2js": "^0.6.2"
|
"xml2js": "^0.6.2"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { sign } from 'jsonwebtoken';
|
import { sign } from 'jsonwebtoken';
|
||||||
import { } from '@hydrooj/ui-default/backendlib/markdown-it-media';
|
import { } from '@hydrooj/ui-default/backendlib/markdown-it-media';
|
||||||
import {
|
import {
|
||||||
Context, Handler, SystemModel, UiContextBase,
|
Context, Handler, superagent, SystemModel, UiContextBase,
|
||||||
} from 'hydrooj';
|
} from 'hydrooj';
|
||||||
|
|
||||||
declare module 'hydrooj' {
|
declare module 'hydrooj' {
|
||||||
@@ -15,6 +15,10 @@ class OnlyofficeJWTHandler extends Handler {
|
|||||||
notUsage = true;
|
notUsage = true;
|
||||||
|
|
||||||
async get({ url }) {
|
async get({ url }) {
|
||||||
|
if (SystemModel.get('onlyoffice.externalSign')) {
|
||||||
|
const res = await superagent.get(SystemModel.get('onlyoffice.externalSign')).query({ url });
|
||||||
|
this.response.body = res.body;
|
||||||
|
}
|
||||||
const path = new URL(url).pathname;
|
const path = new URL(url).pathname;
|
||||||
const allowDownload = !!SystemModel.get('onlyoffice.allowDownload');
|
const allowDownload = !!SystemModel.get('onlyoffice.allowDownload');
|
||||||
const payload = {
|
const payload = {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/onlyoffice",
|
"name": "@hydrooj/onlyoffice",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
"repository": "git@github.com:hydro-dev/Hydro.git",
|
"repository": "git@github.com:hydro-dev/Hydro.git",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
"jsonwebtoken": "^9.0.2"
|
"jsonwebtoken": "^9.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsonwebtoken": "^9"
|
"@types/jsonwebtoken": "^9.0.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13,3 +13,8 @@ pdf:
|
|||||||
name: pdf
|
name: pdf
|
||||||
desc: Handle pdf documents
|
desc: Handle pdf documents
|
||||||
default: false
|
default: false
|
||||||
|
externalSign:
|
||||||
|
type: text
|
||||||
|
name: externalSign
|
||||||
|
desc: External Sign URL
|
||||||
|
default: ''
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.54.0",
|
"version": "4.54.1",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"@sentry/webpack-plugin": "^2.22.4",
|
"@sentry/webpack-plugin": "^2.22.4",
|
||||||
"@simplewebauthn/browser": "9.0.1",
|
"@simplewebauthn/browser": "9.0.1",
|
||||||
"@svgr/webpack": "^8.1.0",
|
"@svgr/webpack": "^8.1.0",
|
||||||
"@types/jquery": "^3.5.30",
|
"@types/jquery": "^3.5.31",
|
||||||
"@types/jquery.transit": "^0.9.33",
|
"@types/jquery.transit": "^0.9.33",
|
||||||
"@types/json-schema": "^7.0.15",
|
"@types/json-schema": "^7.0.15",
|
||||||
"@types/katex": "^0.16.7",
|
"@types/katex": "^0.16.7",
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
"core-js": "^3.38.1",
|
"core-js": "^3.38.1",
|
||||||
"core-js-compat": "^3.38.1",
|
"core-js-compat": "^3.38.1",
|
||||||
"css-loader": "^6.11.0",
|
"css-loader": "^6.11.0",
|
||||||
"diff": "^5.2.0",
|
"diff": "^7.0.0",
|
||||||
"diff-dom": "^5.1.4",
|
"diff-dom": "^5.1.4",
|
||||||
"echarts": "^5.5.1",
|
"echarts": "^5.5.1",
|
||||||
"emojis-keywords": "2.0.0",
|
"emojis-keywords": "2.0.0",
|
||||||
|
|||||||
@@ -9,12 +9,12 @@
|
|||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"jsdom": "^25.0.0",
|
"jsdom": "^25.0.1",
|
||||||
"superagent-charset": "^1.2.0",
|
"superagent-charset": "^1.2.0",
|
||||||
"superagent-proxy": "^3.0.0"
|
"superagent-proxy": "^3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jsdom": "21.1.6",
|
"@types/jsdom": "^21.1.7",
|
||||||
"@types/superagent-proxy": "^3.0.4"
|
"@types/superagent-proxy": "^3.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user