Refactor: change license text

This commit is contained in:
Suwings 2022-07-27 21:21:08 +08:00
parent 253497593e
commit 0d971acfaf
46 changed files with 62 additions and 413 deletions

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// 程序启动入口文件

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
export default class GlobalVariable {

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { Socket } from "socket.io";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
interface IMap {

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import os from "os";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import path from "path";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
const FILENAME_BLACKLIST = ["\\", "/", ".", "'", '"', "?", "*", "<", ">"];

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// Remote >>> Local

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import * as io from "socket.io-client";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// @Entity

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import path from "path";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { IUser } from "./entity_interface";

View File

@ -1,3 +1,16 @@
/*
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
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.
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.
*/
import i18next from "i18next";
import zh_cn from "./language/zh_cn";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// Define subsystem loading and routing loading for the application

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,17 +9,7 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";
import Router from "@koa/router";
import permission from "../../middleware/permission";
import validator from "../../middleware/validator";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Router from "@koa/router";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,16 +9,7 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";
import Router from "@koa/router";
import validator from "../../middleware/validator";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,28 +9,19 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { Socket } from "socket.io";
// 适用于 WebSocket 的路由,基于 Socket.io暂时无用
export default class WebSocketRouter {
constructor(public socket: Socket) {
this.routers(socket);
}
private routers(socket: Socket) {
socket.use((event, next) => {
socket.disconnect(); // 暂时禁用 Websocket
socket.disconnect(); // 暂时禁用 Websocket
return next(null);
});
}

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// import { v4 } from "uuid";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { v4 } from "uuid";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// 多转发操作方法

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import fs from "fs-extra";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import Koa from "koa";
@ -50,8 +42,8 @@ export function login(ctx: Koa.ParameterizedContext, userName: string, passWord:
ctx.session["uuid"] = user.uuid;
ctx.session["token"] = timeUuid();
ctx.session.save();
logger.info(`[Logined Event] IP: ${ip} 成功登录账号 ${userName}`);
logger.info(`Token: ${ctx.session["token"]}`);
logger.info(`[LOGIN] IP: ${ip} Login ${userName} successful!`);
logger.info(`[LOGIN] Token: ${ctx.session["token"]}`);
return ctx.session["token"];
} else {
// 记录登录失败次数
@ -59,7 +51,7 @@ export function login(ctx: Koa.ParameterizedContext, userName: string, passWord:
ctx.session["login"] = null;
ctx.session["token"] = null;
ctx.session.save();
logger.info(`[Logined Event] IP: ${ip} 登录账号 ${userName} 失败`);
logger.info(`[LOGIN] IP: ${ip} login ${userName} failed!`);
return null;
}
}

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { v4 } from "uuid";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import userSystem from "./system_user";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { v4 } from "uuid";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import http from "http";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { logger } from "./log";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import md5 from "md5";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -10,14 +10,6 @@
and if you modify the source code, you must open source the
modified source code.
(C) 2022 Suwings <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import { logger } from "./log";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import axios from "axios";

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
// 全局配置初始化

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2022 Suwings <Suwings@outlook.com>
Copyright (C) 2022 https://github.com/mcsmanager team.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@ -9,14 +9,6 @@
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 <Suwings@outlook.com>
/ GNU Affero
3
AGPL
https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。
*/
import * as fs from "fs-extra";