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:
12 files changed
+94
-24
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "3.3.15",
|
||||
"version": "3.3.16",
|
||||
"main": "./src/index.ts",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -636,6 +636,7 @@ Quit Scratchpad: 退出在线编程模式
|
||||
Quote: 引用
|
||||
Rank: 排名
|
||||
ranking: 排名
|
||||
Ranking: 排名
|
||||
Read record codes after accept: 题目通过后读取记录的代码
|
||||
Recalculates nSubmit and nAccept in problem status.: 重新计算每道题目的 AC 量和提交量
|
||||
Recommended: 推荐
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "4.13.1",
|
||||
"version": "4.13.2",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/plugin-api",
|
||||
"module": "src/plugin-api",
|
||||
@@ -12,10 +12,10 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.609.0",
|
||||
"@aws-sdk/lib-storage": "3.609.0",
|
||||
"@aws-sdk/s3-presigned-post": "3.609.0",
|
||||
"@aws-sdk/s3-request-presigner": "3.609.0",
|
||||
"@aws-sdk/client-s3": "3.614.0",
|
||||
"@aws-sdk/lib-storage": "3.614.0",
|
||||
"@aws-sdk/s3-presigned-post": "3.614.0",
|
||||
"@aws-sdk/s3-request-presigner": "3.614.0",
|
||||
"@graphql-tools/schema": "^10.0.4",
|
||||
"@hydrooj/framework": "workspace:^",
|
||||
"@hydrooj/utils": "workspace:^",
|
||||
@@ -34,7 +34,7 @@
|
||||
"koa-proxies": "^0.12.4",
|
||||
"koa-static-cache": "^5.1.4",
|
||||
"lodash": "^4.17.21",
|
||||
"lru-cache": "^10.3.1",
|
||||
"lru-cache": "^10.4.3",
|
||||
"mime-types": "^2.1.35",
|
||||
"moment-timezone": "^0.5.45",
|
||||
"mongodb": "^5.9.2",
|
||||
|
||||
@@ -14,16 +14,19 @@ declare module '../context' {
|
||||
|
||||
export default class MigrationService extends Service {
|
||||
private channels: Record<string, MigrationScript[]> = {};
|
||||
private called = false;
|
||||
|
||||
constructor(ctx: Context) {
|
||||
super(ctx, 'migration', true);
|
||||
}
|
||||
|
||||
async registerChannel(name: string, s: MigrationScript[]) {
|
||||
if (this.called) logger.warn('MigrationService.registerChannel: called after doUpgrade');
|
||||
this.channels[name] = s;
|
||||
}
|
||||
|
||||
async doUpgrade() {
|
||||
this.called = true;
|
||||
for (const channel in this.channels) {
|
||||
const name = `db.ver${channel === 'hydrooj' ? '' : `-${channel}`}`;
|
||||
let dbVer = system.get(name) ?? 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.51.4",
|
||||
"version": "4.52.0",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
@@ -25,8 +25,8 @@
|
||||
"@fontsource/source-code-pro": "^5.0.18",
|
||||
"@fontsource/ubuntu-mono": "^5.0.20",
|
||||
"@hydrooj/utils": "workspace:^",
|
||||
"@sentry/browser": "^8.15.0",
|
||||
"@sentry/webpack-plugin": "^2.20.1",
|
||||
"@sentry/browser": "^8.17.0",
|
||||
"@sentry/webpack-plugin": "^2.21.1",
|
||||
"@simplewebauthn/browser": "7.4.0",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@types/gulp-if": "^0.0.34",
|
||||
@@ -44,7 +44,7 @@
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/webpack-env": "^1.18.5",
|
||||
"@vscode/codicons": "^0.0.36",
|
||||
"ajv": "^8.16.0",
|
||||
"ajv": "^8.17.1",
|
||||
"allotment": "^1.20.2",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"browser-update": "^3.3.53",
|
||||
@@ -61,7 +61,7 @@
|
||||
"echarts": "^5.5.1",
|
||||
"emojis-keywords": "2.0.0",
|
||||
"emojis-list": "2.1.0",
|
||||
"esbuild-loader": "^4.2.0",
|
||||
"esbuild-loader": "^4.2.1",
|
||||
"fancy-log": "^2.0.0",
|
||||
"flatpickr": "^4.6.13",
|
||||
"graphiql": "^2.4.7",
|
||||
@@ -124,7 +124,7 @@
|
||||
"ts-loader": "^9.5.1",
|
||||
"vinyl-buffer": "^1.0.1",
|
||||
"web-streams-polyfill": "^4.0.0",
|
||||
"webpack": "^5.92.1",
|
||||
"webpack": "^5.93.0",
|
||||
"webpack-bundle-analyzer": "^4.10.2",
|
||||
"webpack-dev-server": "^5.0.4",
|
||||
"webpack-manifest-plugin": "^5.0.0",
|
||||
|
||||
@@ -161,7 +161,7 @@ const page = new NamedPage('problem_files', () => {
|
||||
|
||||
const style = { fontFamily: 'var(--code-font-family)' };
|
||||
|
||||
return <div className="typo">
|
||||
return <div className="typo" style={{ maxHeight: '60vh', overflow: 'scroll' }}>
|
||||
{!preview ? <>
|
||||
<div className="row">
|
||||
<div className="medium-6 small-6 columns">
|
||||
@@ -229,7 +229,7 @@ const page = new NamedPage('problem_files', () => {
|
||||
<th className="col--new">{i18n('New filename(s)')}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style={{ maxHeight: '60vh', overflow: 'scroll' }}>
|
||||
<tbody>
|
||||
{selectedFiles.map((file, index) => <tr key={file}>
|
||||
<td className="col--origin">{file}</td>
|
||||
<td className="col--new">{newNames[index]}</td>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/vjudge",
|
||||
"version": "1.9.7",
|
||||
"version": "1.9.8",
|
||||
"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