From 0d971acfaf538acf886c023255f840dfcae22a49 Mon Sep 17 00:00:00 2001 From: Suwings Date: Wed, 27 Jul 2022 21:21:08 +0800 Subject: [PATCH] Refactor: change license text --- src/app.ts | 10 +--------- src/app/common/global_variable.ts | 10 +--------- src/app/common/instance_stream.ts | 10 +--------- src/app/common/query_wrapper.ts | 10 +--------- src/app/common/system_info.ts | 10 +--------- src/app/common/system_storage.ts | 10 +--------- src/app/const.ts | 10 +--------- src/app/entity/entity_interface.ts | 10 +--------- src/app/entity/remote_service.ts | 10 +--------- src/app/entity/setting.ts | 10 +--------- src/app/entity/structure.ts | 10 +--------- src/app/entity/user.ts | 10 +--------- src/app/i18n/index.ts | 13 +++++++++++++ src/app/index.ts | 10 +--------- src/app/middleware/permission.ts | 10 +--------- src/app/middleware/protocol.ts | 10 +--------- src/app/middleware/validator.ts | 10 +--------- src/app/routers/private/business_user_router.ts | 10 +--------- src/app/routers/private/environment_router.ts | 10 +--------- src/app/routers/private/instance_router.ts | 10 +--------- src/app/routers/private/overview_router.ts | 10 +--------- src/app/routers/private/service_router.ts | 12 +----------- src/app/routers/private/settings_router.ts | 10 +--------- src/app/routers/private/top_user_router.ts | 10 +--------- .../protected/business_instance_router.ts | 10 +--------- src/app/routers/protected/filemananger_router.ts | 10 +--------- .../routers/protected/low_level_user_router.ts | 10 +--------- src/app/routers/protected/schedule_router.ts | 10 +--------- .../routers/protected/user_instance_router.ts | 10 +--------- src/app/routers/public/login_router.ts | 11 +---------- src/app/routers/public/socket_router.ts | 13 ++----------- src/app/service/base/uis.ts | 10 +--------- src/app/service/base/urs.ts | 10 +--------- src/app/service/instance_service.ts | 10 +--------- src/app/service/log.ts | 10 +--------- src/app/service/passport_service.ts | 16 ++++------------ src/app/service/password.ts | 10 +--------- src/app/service/permission_service.ts | 10 +--------- src/app/service/remote_command.ts | 10 +--------- src/app/service/socket_service.ts | 10 +--------- src/app/service/system_remote_service.ts | 10 +--------- src/app/service/system_user.ts | 10 +--------- src/app/service/system_visual_data.ts | 10 +--------- src/app/service/user_statistics.ts | 10 +--------- src/app/setting.ts | 10 +--------- src/app/version.ts | 10 +--------- 46 files changed, 62 insertions(+), 413 deletions(-) diff --git a/src/app.ts b/src/app.ts index 416ff8fd..9940737a 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // 程序启动入口文件 diff --git a/src/app/common/global_variable.ts b/src/app/common/global_variable.ts index 5ee4ffc8..cf1a7d83 100644 --- a/src/app/common/global_variable.ts +++ b/src/app/common/global_variable.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ export default class GlobalVariable { diff --git a/src/app/common/instance_stream.ts b/src/app/common/instance_stream.ts index d5301ed6..a99d3162 100644 --- a/src/app/common/instance_stream.ts +++ b/src/app/common/instance_stream.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import { Socket } from "socket.io"; diff --git a/src/app/common/query_wrapper.ts b/src/app/common/query_wrapper.ts index 2f264ef9..40aa2f82 100644 --- a/src/app/common/query_wrapper.ts +++ b/src/app/common/query_wrapper.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ interface IMap { diff --git a/src/app/common/system_info.ts b/src/app/common/system_info.ts index 09b54292..cf852a7a 100644 --- a/src/app/common/system_info.ts +++ b/src/app/common/system_info.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import os from "os"; diff --git a/src/app/common/system_storage.ts b/src/app/common/system_storage.ts index 3d0c6d59..2662e486 100644 --- a/src/app/common/system_storage.ts +++ b/src/app/common/system_storage.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import path from "path"; diff --git a/src/app/const.ts b/src/app/const.ts index a0cf9ba5..c926b3a1 100644 --- a/src/app/const.ts +++ b/src/app/const.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ const FILENAME_BLACKLIST = ["\\", "/", ".", "'", '"', "?", "*", "<", ">"]; diff --git a/src/app/entity/entity_interface.ts b/src/app/entity/entity_interface.ts index 64468ab2..931266ca 100644 --- a/src/app/entity/entity_interface.ts +++ b/src/app/entity/entity_interface.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // Remote >>> Local diff --git a/src/app/entity/remote_service.ts b/src/app/entity/remote_service.ts index 6ac36c91..c7afb61e 100644 --- a/src/app/entity/remote_service.ts +++ b/src/app/entity/remote_service.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import * as io from "socket.io-client"; diff --git a/src/app/entity/setting.ts b/src/app/entity/setting.ts index 6871b39f..d9752704 100644 --- a/src/app/entity/setting.ts +++ b/src/app/entity/setting.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // @Entity diff --git a/src/app/entity/structure.ts b/src/app/entity/structure.ts index daa85860..e08e7929 100644 --- a/src/app/entity/structure.ts +++ b/src/app/entity/structure.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import path from "path"; diff --git a/src/app/entity/user.ts b/src/app/entity/user.ts index 9d2952b0..690ae3fd 100644 --- a/src/app/entity/user.ts +++ b/src/app/entity/user.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import { IUser } from "./entity_interface"; diff --git a/src/app/i18n/index.ts b/src/app/i18n/index.ts index 2eae9ccf..7d54b68d 100644 --- a/src/app/i18n/index.ts +++ b/src/app/i18n/index.ts @@ -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"; diff --git a/src/app/index.ts b/src/app/index.ts index 89c4ac08..06a0ff98 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // Define subsystem loading and routing loading for the application diff --git a/src/app/middleware/permission.ts b/src/app/middleware/permission.ts index aabf0944..1c49420f 100644 --- a/src/app/middleware/permission.ts +++ b/src/app/middleware/permission.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/middleware/protocol.ts b/src/app/middleware/protocol.ts index 380c9f67..7d871f44 100644 --- a/src/app/middleware/protocol.ts +++ b/src/app/middleware/protocol.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/middleware/validator.ts b/src/app/middleware/validator.ts index 4b17c043..a2213736 100644 --- a/src/app/middleware/validator.ts +++ b/src/app/middleware/validator.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/routers/private/business_user_router.ts b/src/app/routers/private/business_user_router.ts index 6a13431f..451d0561 100644 --- a/src/app/routers/private/business_user_router.ts +++ b/src/app/routers/private/business_user_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/routers/private/environment_router.ts b/src/app/routers/private/environment_router.ts index da6a70e7..f3701c67 100644 --- a/src/app/routers/private/environment_router.ts +++ b/src/app/routers/private/environment_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/private/instance_router.ts b/src/app/routers/private/instance_router.ts index 0706d337..d3d61244 100644 --- a/src/app/routers/private/instance_router.ts +++ b/src/app/routers/private/instance_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/private/overview_router.ts b/src/app/routers/private/overview_router.ts index 9529f787..b4f41cb9 100644 --- a/src/app/routers/private/overview_router.ts +++ b/src/app/routers/private/overview_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/private/service_router.ts b/src/app/routers/private/service_router.ts index 52d1ad51..e17d34a8 100644 --- a/src/app/routers/private/service_router.ts +++ b/src/app/routers/private/service_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 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"; diff --git a/src/app/routers/private/settings_router.ts b/src/app/routers/private/settings_router.ts index 48f4df66..fb6d5562 100644 --- a/src/app/routers/private/settings_router.ts +++ b/src/app/routers/private/settings_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/private/top_user_router.ts b/src/app/routers/private/top_user_router.ts index 94fa041d..c2182e13 100644 --- a/src/app/routers/private/top_user_router.ts +++ b/src/app/routers/private/top_user_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/routers/protected/business_instance_router.ts b/src/app/routers/protected/business_instance_router.ts index 4121e2ab..cde81cca 100644 --- a/src/app/routers/protected/business_instance_router.ts +++ b/src/app/routers/protected/business_instance_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/routers/protected/filemananger_router.ts b/src/app/routers/protected/filemananger_router.ts index 806f97f0..ff0ace08 100644 --- a/src/app/routers/protected/filemananger_router.ts +++ b/src/app/routers/protected/filemananger_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/protected/low_level_user_router.ts b/src/app/routers/protected/low_level_user_router.ts index b20ede67..5fad6147 100644 --- a/src/app/routers/protected/low_level_user_router.ts +++ b/src/app/routers/protected/low_level_user_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Koa from "koa"; diff --git a/src/app/routers/protected/schedule_router.ts b/src/app/routers/protected/schedule_router.ts index 18b2c156..3b19275e 100644 --- a/src/app/routers/protected/schedule_router.ts +++ b/src/app/routers/protected/schedule_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/protected/user_instance_router.ts b/src/app/routers/protected/user_instance_router.ts index 178d66a5..34ba56fe 100644 --- a/src/app/routers/protected/user_instance_router.ts +++ b/src/app/routers/protected/user_instance_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import Router from "@koa/router"; diff --git a/src/app/routers/public/login_router.ts b/src/app/routers/public/login_router.ts index 7468c988..d5ee8c63 100644 --- a/src/app/routers/public/login_router.ts +++ b/src/app/routers/public/login_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ - import Koa from "koa"; import Router from "@koa/router"; import validator from "../../middleware/validator"; diff --git a/src/app/routers/public/socket_router.ts b/src/app/routers/public/socket_router.ts index 2390b5ff..fbd83ccf 100644 --- a/src/app/routers/public/socket_router.ts +++ b/src/app/routers/public/socket_router.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 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); }); } diff --git a/src/app/service/base/uis.ts b/src/app/service/base/uis.ts index ef59564f..9dc7c68a 100644 --- a/src/app/service/base/uis.ts +++ b/src/app/service/base/uis.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // import { v4 } from "uuid"; diff --git a/src/app/service/base/urs.ts b/src/app/service/base/urs.ts index 290e3afd..9541b897 100644 --- a/src/app/service/base/urs.ts +++ b/src/app/service/base/urs.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import { v4 } from "uuid"; diff --git a/src/app/service/instance_service.ts b/src/app/service/instance_service.ts index f6738079..a71d33d2 100644 --- a/src/app/service/instance_service.ts +++ b/src/app/service/instance_service.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // 多转发操作方法 diff --git a/src/app/service/log.ts b/src/app/service/log.ts index 8c23e6e9..79522ca1 100644 --- a/src/app/service/log.ts +++ b/src/app/service/log.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import fs from "fs-extra"; diff --git a/src/app/service/passport_service.ts b/src/app/service/passport_service.ts index e3a96f77..c53da3ba 100644 --- a/src/app/service/passport_service.ts +++ b/src/app/service/passport_service.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 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; } } diff --git a/src/app/service/password.ts b/src/app/service/password.ts index 0cc8acb6..678837d0 100644 --- a/src/app/service/password.ts +++ b/src/app/service/password.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import { v4 } from "uuid"; diff --git a/src/app/service/permission_service.ts b/src/app/service/permission_service.ts index bb11d748..f1212630 100644 --- a/src/app/service/permission_service.ts +++ b/src/app/service/permission_service.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import userSystem from "./system_user"; diff --git a/src/app/service/remote_command.ts b/src/app/service/remote_command.ts index 0514f287..b98ca9e3 100644 --- a/src/app/service/remote_command.ts +++ b/src/app/service/remote_command.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import { v4 } from "uuid"; diff --git a/src/app/service/socket_service.ts b/src/app/service/socket_service.ts index 3ebd1f44..85ed5344 100644 --- a/src/app/service/socket_service.ts +++ b/src/app/service/socket_service.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import http from "http"; diff --git a/src/app/service/system_remote_service.ts b/src/app/service/system_remote_service.ts index cdbdda7d..93c87298 100644 --- a/src/app/service/system_remote_service.ts +++ b/src/app/service/system_remote_service.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import { logger } from "./log"; diff --git a/src/app/service/system_user.ts b/src/app/service/system_user.ts index 98b12acd..2c490370 100644 --- a/src/app/service/system_user.ts +++ b/src/app/service/system_user.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import md5 from "md5"; diff --git a/src/app/service/system_visual_data.ts b/src/app/service/system_visual_data.ts index 0378a0c6..45f4f06d 100644 --- a/src/app/service/system_visual_data.ts +++ b/src/app/service/system_visual_data.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 - 可视化数据子系统:负责收集系统数据和事件数据,并且提供一些方法展示出来 */ import { logger } from "./log"; diff --git a/src/app/service/user_statistics.ts b/src/app/service/user_statistics.ts index 78eed96d..28ec770b 100644 --- a/src/app/service/user_statistics.ts +++ b/src/app/service/user_statistics.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import axios from "axios"; diff --git a/src/app/setting.ts b/src/app/setting.ts index 212c8820..7f32a8d6 100644 --- a/src/app/setting.ts +++ b/src/app/setting.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ // 全局配置初始化 diff --git a/src/app/version.ts b/src/app/version.ts index 94e1f42e..cc3893dc 100644 --- a/src/app/version.ts +++ b/src/app/version.ts @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 Suwings + 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 - - 该程序是免费软件,您可以重新分发和/或修改据 GNU Affero 通用公共许可证的条款, - 由自由软件基金会,许可证的第 3 版,或(由您选择)任何更高版本。 - - 根据 AGPL 与用户协议,您必须保留所有版权声明,如果修改源代码则必须开源修改后的源代码。 - 可以前往 https://mcsmanager.com/ 阅读用户协议,申请闭源开发授权等。 */ import * as fs from "fs-extra";