bump version

This commit is contained in:
undefined committed 2024-09-26 06:49:10 +08:00
1 parent dcbca065e5
commit 7ccc119e33
11 files changed
+41 -23

No files matched your search

+6 -6
View File
@@ -12,10 +12,10 @@
},
"preferUnplugged": true,
"dependencies": {
"@aws-sdk/client-s3": "3.651.1",
"@aws-sdk/lib-storage": "3.651.1",
"@aws-sdk/s3-presigned-post": "3.651.1",
"@aws-sdk/s3-request-presigner": "3.651.1",
"@aws-sdk/client-s3": "3.658.1",
"@aws-sdk/lib-storage": "3.658.1",
"@aws-sdk/s3-presigned-post": "3.658.1",
"@aws-sdk/s3-request-presigner": "3.658.1",
"@graphql-tools/schema": "^10.0.6",
"@hydrooj/framework": "workspace:^",
"@hydrooj/utils": "workspace:^",
@@ -58,10 +58,10 @@
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/koa-static-cache": "^5.1.4",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.9",
"@types/mime-types": "^2.1.4",
"@types/mongodb-uri": "^0.9.4",
"@types/nodemailer": "^6.4.15",
"@types/nodemailer": "^6.4.16",
"@types/notp": "^2.0.5",
"@types/saslprep": "^1.0.3",
"@types/semver": "^7.5.8",
+1 -1
View File
@@ -6,7 +6,7 @@
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0-or-later",
"dependencies": {
"mariadb": "^3.3.1",
"mariadb": "^3.3.2",
"mongodb": "^5.9.2",
"turndown": "^7.2.0",
"xml2js": "^0.6.2"
+5 -1
View File
@@ -1,7 +1,7 @@
import { sign } from 'jsonwebtoken';
import { } from '@hydrooj/ui-default/backendlib/markdown-it-media';
import {
Context, Handler, SystemModel, UiContextBase,
Context, Handler, superagent, SystemModel, UiContextBase,
} from 'hydrooj';
declare module 'hydrooj' {
@@ -15,6 +15,10 @@ class OnlyofficeJWTHandler extends Handler {
notUsage = true;
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 allowDownload = !!SystemModel.get('onlyoffice.allowDownload');
const payload = {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/onlyoffice",
"version": "1.4.0",
"version": "1.4.1",
"main": "index.ts",
"repository": "git@github.com:hydro-dev/Hydro.git",
"author": "undefined <i@undefined.moe>",
@@ -10,6 +10,6 @@
"jsonwebtoken": "^9.0.2"
},
"devDependencies": {
"@types/jsonwebtoken": "^9"
"@types/jsonwebtoken": "^9.0.7"
}
}
+5
View File
@@ -13,3 +13,8 @@ pdf:
name: pdf
desc: Handle pdf documents
default: false
externalSign:
type: text
name: externalSign
desc: External Sign URL
default: ''
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.54.0",
"version": "4.54.1",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "index.ts",
@@ -29,7 +29,7 @@
"@sentry/webpack-plugin": "^2.22.4",
"@simplewebauthn/browser": "9.0.1",
"@svgr/webpack": "^8.1.0",
"@types/jquery": "^3.5.30",
"@types/jquery": "^3.5.31",
"@types/jquery.transit": "^0.9.33",
"@types/json-schema": "^7.0.15",
"@types/katex": "^0.16.7",
@@ -55,7 +55,7 @@
"core-js": "^3.38.1",
"core-js-compat": "^3.38.1",
"css-loader": "^6.11.0",
"diff": "^5.2.0",
"diff": "^7.0.0",
"diff-dom": "^5.1.4",
"echarts": "^5.5.1",
"emojis-keywords": "2.0.0",
+2 -2
View File
@@ -9,12 +9,12 @@
"preferUnplugged": true,
"dependencies": {
"@hydrooj/utils": "workspace:^",
"jsdom": "^25.0.0",
"jsdom": "^25.0.1",
"superagent-charset": "^1.2.0",
"superagent-proxy": "^3.0.0"
},
"devDependencies": {
"@types/jsdom": "21.1.6",
"@types/jsdom": "^21.1.7",
"@types/superagent-proxy": "^3.0.4"
}
}