mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
更新 协议说明
This commit is contained in:
parent
6acabafa68
commit
7ac6c85fe3
@ -4,7 +4,7 @@
|
||||
|
||||
[![Status](https://img.shields.io/badge/npm-v6.14.15-blue.svg)](https://www.npmjs.com/)
|
||||
[![Status](https://img.shields.io/badge/node-v14.17.6-blue.svg)](https://nodejs.org/en/download/)
|
||||
[![Status](https://img.shields.io/badge/License-GPL-red.svg)](https://github.com/Suwings/MCSManager)
|
||||
[![Status](https://img.shields.io/badge/License-AGPL-red.svg)](https://github.com/Suwings/MCSManager)
|
||||
|
||||
[官方网站](http://mcsmanager.com/) | [使用文档](https://docs.mcsmanager.com/) | [团队主页](https://github.com/MCSManager) | [面板端项目](https://github.com/MCSManager/MCSManager) | [网页前端项目](https://github.com/MCSManager/UI) | [守护进程项目](https://github.com/MCSManager/Daemon)
|
||||
|
||||
|
2
app.js
2
app.js
@ -4,7 +4,7 @@ __ /|_/ /_ / _____ \\__ /|_/ /_ __ /_ __ \\ __ /_ __ / _ \\_ ___/
|
||||
_ / / / / /___ ____/ /_ / / / / /_/ /_ / / / /_/ /_ /_/ // __/ /
|
||||
/_/ /_/ \\____/ /____/ /_/ /_/ \\__,_/ /_/ /_/\\__,_/ _\\__, / \\___//_/
|
||||
/____/
|
||||
+ Released under the GPL-3.0 License
|
||||
+ Released under the AGPL-3.0 License
|
||||
+ https://github.com/MCSManager
|
||||
`);
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"homepage": "https://mcsmanager.com/",
|
||||
"author": "https://github.com/Suwings",
|
||||
"license": "GPL-3.0",
|
||||
"license": "AGPL-3.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/MCSManager/MCSManager"
|
||||
|
24
src/app.ts
24
src/app.ts
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// 程序启动入口文件
|
||||
@ -39,7 +33,7 @@ __ /|_/ /_ / _____ \\__ /|_/ /_ __ /_ __ \\ __ /_ __ / _ \\_ ___/
|
||||
_ / / / / /___ ____/ /_ / / / / /_/ /_ / / / /_/ /_ /_/ // __/ /
|
||||
/_/ /_/ \\____/ /____/ /_/ /_/ \\__,_/ /_/ /_/\\__,_/ _\\__, / \\___//_/
|
||||
/____/
|
||||
+ Released under the GPL-3.0 License
|
||||
+ Released under the AGPL-3.0 License
|
||||
+ Copyright 2022 Suwings
|
||||
+ Version ${VERSION}
|
||||
`);
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
export default class GlobalVariable {
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
import { Socket } from "socket.io";
|
||||
|
||||
@ -35,7 +29,9 @@ export default class InstanceStreamListener {
|
||||
public requestForward(socket: Socket, instanceUuid: string) {
|
||||
if (this.listenMap.has(instanceUuid)) {
|
||||
const sockets = this.listenMap.get(instanceUuid);
|
||||
for (const iterator of sockets) if (iterator.id === socket.id) throw new Error(`此 Socket ${socket.id} 已经存在于指定实例监听表中`);
|
||||
for (const iterator of sockets)
|
||||
if (iterator.id === socket.id)
|
||||
throw new Error(`此 Socket ${socket.id} 已经存在于指定实例监听表中`);
|
||||
sockets.push(socket);
|
||||
} else {
|
||||
this.listenMap.set(instanceUuid, [socket]);
|
||||
@ -43,7 +39,8 @@ export default class InstanceStreamListener {
|
||||
}
|
||||
|
||||
public cannelForward(socket: Socket, instanceUuid: string) {
|
||||
if (!this.listenMap.has(instanceUuid)) throw new Error(`指定 ${instanceUuid} 并不存在于监听表中`);
|
||||
if (!this.listenMap.has(instanceUuid))
|
||||
throw new Error(`指定 ${instanceUuid} 并不存在于监听表中`);
|
||||
const socketList = this.listenMap.get(instanceUuid);
|
||||
socketList.forEach((v, index) => {
|
||||
if (v.id === socket.id) socketList.splice(index, 1);
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
interface IMap {
|
||||
@ -40,7 +34,7 @@ interface Page<T> {
|
||||
|
||||
// 供给路由层使用的MAP型查询接口
|
||||
export class QueryMapWrapper {
|
||||
constructor(public map: IMap) { }
|
||||
constructor(public map: IMap) {}
|
||||
|
||||
select<T>(condition: (v: T) => boolean): T[] {
|
||||
const result: T[] = [];
|
||||
@ -88,7 +82,7 @@ export class MySqlSource<T> implements IDataSource<T> {
|
||||
|
||||
// 本地文件数据源(内嵌式微型数据库)
|
||||
export class LocalFileSource<T> implements IDataSource<T> {
|
||||
constructor(public data: any) { }
|
||||
constructor(public data: any) {}
|
||||
|
||||
selectPage(condition: any, page = 1, pageSize = 10) {
|
||||
const result: T[] = [];
|
||||
@ -128,14 +122,14 @@ export class LocalFileSource<T> implements IDataSource<T> {
|
||||
select(condition: any): any[] {
|
||||
return null;
|
||||
}
|
||||
update(condition: any, data: any) { }
|
||||
delete(condition: any) { }
|
||||
insert(data: any) { }
|
||||
update(condition: any, data: any) {}
|
||||
delete(condition: any) {}
|
||||
insert(data: any) {}
|
||||
}
|
||||
|
||||
// 供给路由层使用的统一数据查询接口
|
||||
export class QueryWrapper<T> {
|
||||
constructor(public dataSource: IDataSource<T>) { }
|
||||
constructor(public dataSource: IDataSource<T>) {}
|
||||
|
||||
selectPage(condition: any, page = 1, pageSize = 10) {
|
||||
return this.dataSource.selectPage(condition, page, pageSize);
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import os from "os";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import path from "path";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// Remote >>> Local
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import * as io from "socket.io-client";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// @Entity
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import path from "path";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import { IUser } from "./entity_interface";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// Define subsystem loading and routing loading for the application
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
@ -169,7 +163,7 @@ router.post("/multi_open", permission({ level: 10 }), async (ctx) => {
|
||||
.request("instance/open", {
|
||||
instanceUuids
|
||||
})
|
||||
.catch(() => { });
|
||||
.catch(() => {});
|
||||
});
|
||||
ctx.body = true;
|
||||
} catch (err) {
|
||||
@ -188,7 +182,7 @@ router.post("/multi_stop", permission({ level: 10 }), async (ctx) => {
|
||||
.request("instance/stop", {
|
||||
instanceUuids
|
||||
})
|
||||
.catch(() => { });
|
||||
.catch(() => {});
|
||||
});
|
||||
ctx.body = true;
|
||||
} catch (err) {
|
||||
@ -205,7 +199,7 @@ router.post("/multi_kill", permission({ level: 10 }), async (ctx) => {
|
||||
const remoteService = RemoteServiceSubsystem.getInstance(remoteUuid);
|
||||
new RemoteRequest(remoteService)
|
||||
.request("instance/kill", { instanceUuids })
|
||||
.catch((err) => { });
|
||||
.catch((err) => {});
|
||||
});
|
||||
ctx.body = true;
|
||||
} catch (err) {
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
@ -101,7 +95,7 @@ router.get("/", permission({ level: 10, token: false }), async (ctx) => {
|
||||
request: VisualDataSubsystem.getStatusChartArray()
|
||||
},
|
||||
remoteCount: RemoteServiceSubsystem.count(),
|
||||
remote: remoteInfoList,
|
||||
remote: remoteInfoList
|
||||
};
|
||||
|
||||
ctx.body = overviewData;
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Router from "@koa/router";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import { Socket } from "socket.io";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// import { v4 } from "uuid";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import { v4 } from "uuid";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// 多转发操作方法
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import log4js from "log4js";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import Koa from "koa";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import { v4 } from "uuid";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import userSystem from "./system_user";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import { v4 } from "uuid";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import http from "http";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import { logger } from "./log";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import md5 from "md5";
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
|
||||
可视化数据子系统:负责收集系统数据和事件数据,并且提供一些方法展示出来
|
||||
*/
|
||||
@ -104,7 +98,7 @@ class VisualDataSubsystem {
|
||||
for (const iterator of RemoteServiceSubsystem.services.entries()) {
|
||||
try {
|
||||
remoteInfoList.push(await new RemoteRequest(iterator[1]).request("info/overview"));
|
||||
} catch (err) { }
|
||||
} catch (err) {}
|
||||
}
|
||||
let totalInstance = 0;
|
||||
let runningInstance = 0;
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
// 全局配置初始化
|
||||
|
@ -1,28 +1,22 @@
|
||||
/*
|
||||
Copyright (C) 2022 Suwings(https://github.com/Suwings)
|
||||
Copyright (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
According to the GPL, it is forbidden to delete all copyright notices,
|
||||
According to the AGPL, it is forbidden to delete all copyright notices,
|
||||
and if you modify the source code, you must open source the
|
||||
modified source code.
|
||||
|
||||
版权所有 (C) 2022 Suwings(https://github.com/Suwings)
|
||||
版权所有 (C) 2022 Suwings <Suwings@outlook.com>
|
||||
|
||||
本程序为自由软件,你可以依据 GPL 的条款(第三版或者更高),再分发和/或修改它。
|
||||
该程序以具有实际用途为目的发布,但是并不包含任何担保,
|
||||
也不包含基于特定商用或健康用途的默认担保。具体细节请查看 GPL 协议。
|
||||
该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款,
|
||||
由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。
|
||||
|
||||
根据协议,您必须保留所有版权声明,如果修改源码则必须开源修改后的源码。
|
||||
前往 https://mcsmanager.com/ 申请闭源开发授权或了解更多。
|
||||
根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。
|
||||
可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
|
||||
*/
|
||||
|
||||
import * as fs from "fs-extra";
|
||||
@ -56,4 +50,4 @@ export function specifiedDaemonVersion() {
|
||||
} catch (error) {
|
||||
return "1.0.0";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user