From 06a64725be920b35209b51da7d9a5a592f72910c Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Sat, 1 Feb 2025 10:55:41 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=BA=90=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=89=88=E6=9D=83=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/build_img.sh | 20 ++++++++++++++++++++ build/init.sh | 20 ++++++++++++++++++++ configs/kvmd/armbain-motd | 24 +++++++++++++++++++++--- configs/kvmd/atx.sh | 20 ++++++++++++++++++++ configs/kvmd/clean_when_exit.sh | 20 ++++++++++++++++++++ configs/kvmd/custom_atx/gpio.sh | 20 ++++++++++++++++++++ configs/kvmd/custom_atx/usbrelay_hid.py | 21 +++++++++++++++++++++ configs/kvmd/custom_atx/usbrelay_hid.sh | 20 ++++++++++++++++++++ kvmd/apps/kvmd/api/log.py | 2 +- kvmd/apps/kvmd/api/msd.py | 1 + kvmd/apps/kvmd/info/extras.py | 1 + kvmd/apps/kvmd/logreader.py | 1 + kvmd/apps/otg/__init__.py | 1 + kvmd/apps/otgmsd/__init__.py | 1 + kvmd/fstab.py | 1 + kvmd/plugins/msd/__init__.py | 1 + kvmd/plugins/msd/otg/__init__.py | 1 + kvmd/plugins/msd/otg/drive.py | 1 + scripts/kvmd | 20 ++++++++++++++++++++ scripts/kvmd-htpasswd | 20 ++++++++++++++++++++ scripts/kvmd-media | 20 ++++++++++++++++++++ scripts/kvmd-otg | 20 ++++++++++++++++++++ scripts/kvmd-otgconf | 20 ++++++++++++++++++++ scripts/kvmd-totp | 20 ++++++++++++++++++++ scripts/kvmd-vnc | 20 ++++++++++++++++++++ setup.py | 1 + web/base.pug | 1 + web/share/js/i18n/i18n.js | 21 +++++++++++++++++++++ web/share/js/index/main.js | 1 + web/share/js/kvm/msd.js | 1 + web/share/js/kvm/stream.js | 1 + 31 files changed, 338 insertions(+), 4 deletions(-) diff --git a/build/build_img.sh b/build/build_img.sh index da757be6..a87d7ec4 100644 --- a/build/build_img.sh +++ b/build/build_img.sh @@ -1,4 +1,24 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # SRCPATH=/mnt/nas/src BOOTFS=/tmp/bootfs diff --git a/build/init.sh b/build/init.sh index c3fc20cf..b698de42 100755 --- a/build/init.sh +++ b/build/init.sh @@ -1,4 +1,24 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # # 定义颜色代码 RED='\033[0;31m' diff --git a/configs/kvmd/armbain-motd b/configs/kvmd/armbain-motd index 1d45b76b..70f4dc29 100755 --- a/configs/kvmd/armbain-motd +++ b/configs/kvmd/armbain-motd @@ -1,4 +1,24 @@ -#!/bin/bash +#!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # if [ -e /etc/update-motd.d/10-armbian-header ]; then /etc/update-motd.d/10-armbian-header; fi if [ -e /etc/update-motd.d/30-armbian-sysinfo ]; then /etc/update-motd.d/30-armbian-sysinfo; fi @@ -15,8 +35,6 @@ printf " ____________________________________________________________________________ -欢迎使用 One-KVM,基于开源程序 PiKVM 的 IP-KVM 应用 - 项目链接: * One-KVM:https://github.com/mofeng-git/One-KVM diff --git a/configs/kvmd/atx.sh b/configs/kvmd/atx.sh index 4e8694e0..19f1a8f5 100755 --- a/configs/kvmd/atx.sh +++ b/configs/kvmd/atx.sh @@ -1,4 +1,24 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # echo $ATX case $ATX in diff --git a/configs/kvmd/clean_when_exit.sh b/configs/kvmd/clean_when_exit.sh index 55cf0747..dc85f547 100755 --- a/configs/kvmd/clean_when_exit.sh +++ b/configs/kvmd/clean_when_exit.sh @@ -1,4 +1,24 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # RED='\033[0;31m' GREEN='\033[0;32m' diff --git a/configs/kvmd/custom_atx/gpio.sh b/configs/kvmd/custom_atx/gpio.sh index 0d2bef51..91c809b2 100755 --- a/configs/kvmd/custom_atx/gpio.sh +++ b/configs/kvmd/custom_atx/gpio.sh @@ -1,4 +1,24 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # case $1 in short) gpioset -m time -s 1 SHUTDOWNPIN=0 diff --git a/configs/kvmd/custom_atx/usbrelay_hid.py b/configs/kvmd/custom_atx/usbrelay_hid.py index 2009e5cf..9625c01a 100755 --- a/configs/kvmd/custom_atx/usbrelay_hid.py +++ b/configs/kvmd/custom_atx/usbrelay_hid.py @@ -1,3 +1,24 @@ +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # + import sys import hid diff --git a/configs/kvmd/custom_atx/usbrelay_hid.sh b/configs/kvmd/custom_atx/usbrelay_hid.sh index 63008bff..16720efa 100755 --- a/configs/kvmd/custom_atx/usbrelay_hid.sh +++ b/configs/kvmd/custom_atx/usbrelay_hid.sh @@ -1,4 +1,24 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # case $1 in short) python3 /etc/kvmd/custom_atx/usbrelay_hid.py 1 on diff --git a/kvmd/apps/kvmd/api/log.py b/kvmd/apps/kvmd/api/log.py index 1d31ae8f..1be9c7ce 100644 --- a/kvmd/apps/kvmd/api/log.py +++ b/kvmd/apps/kvmd/api/log.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # @@ -19,7 +20,6 @@ # # # ========================================================================== # - from aiohttp.web import Request from aiohttp.web import StreamResponse diff --git a/kvmd/apps/kvmd/api/msd.py b/kvmd/apps/kvmd/api/msd.py index 799b138c..2bb8042e 100644 --- a/kvmd/apps/kvmd/api/msd.py +++ b/kvmd/apps/kvmd/api/msd.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/apps/kvmd/info/extras.py b/kvmd/apps/kvmd/info/extras.py index 1e69748c..11c47a52 100644 --- a/kvmd/apps/kvmd/info/extras.py +++ b/kvmd/apps/kvmd/info/extras.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/apps/kvmd/logreader.py b/kvmd/apps/kvmd/logreader.py index e52981f3..c500756d 100644 --- a/kvmd/apps/kvmd/logreader.py +++ b/kvmd/apps/kvmd/logreader.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py index 3a324526..cf2bc00b 100644 --- a/kvmd/apps/otg/__init__.py +++ b/kvmd/apps/otg/__init__.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/apps/otgmsd/__init__.py b/kvmd/apps/otgmsd/__init__.py index 7c2159d5..d1a6cb13 100644 --- a/kvmd/apps/otgmsd/__init__.py +++ b/kvmd/apps/otgmsd/__init__.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/fstab.py b/kvmd/fstab.py index fd4ce050..5d42b123 100644 --- a/kvmd/fstab.py +++ b/kvmd/fstab.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/plugins/msd/__init__.py b/kvmd/plugins/msd/__init__.py index 0b59b552..0b750275 100644 --- a/kvmd/plugins/msd/__init__.py +++ b/kvmd/plugins/msd/__init__.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py index a1d7f8fe..defe0dd3 100644 --- a/kvmd/plugins/msd/otg/__init__.py +++ b/kvmd/plugins/msd/otg/__init__.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/kvmd/plugins/msd/otg/drive.py b/kvmd/plugins/msd/otg/drive.py index 9c2a158e..1d93593b 100644 --- a/kvmd/plugins/msd/otg/drive.py +++ b/kvmd/plugins/msd/otg/drive.py @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/scripts/kvmd b/scripts/kvmd index 87dc26f9..18053c18 100755 --- a/scripts/kvmd +++ b/scripts/kvmd @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.kvmd "$@" \ No newline at end of file diff --git a/scripts/kvmd-htpasswd b/scripts/kvmd-htpasswd index ef94bf4b..8a2e54b1 100755 --- a/scripts/kvmd-htpasswd +++ b/scripts/kvmd-htpasswd @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.htpasswd "$@" \ No newline at end of file diff --git a/scripts/kvmd-media b/scripts/kvmd-media index 18e806a0..1d670240 100755 --- a/scripts/kvmd-media +++ b/scripts/kvmd-media @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.media "$@" diff --git a/scripts/kvmd-otg b/scripts/kvmd-otg index 6088326f..9862888d 100755 --- a/scripts/kvmd-otg +++ b/scripts/kvmd-otg @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.otg "$@" \ No newline at end of file diff --git a/scripts/kvmd-otgconf b/scripts/kvmd-otgconf index d307fbf5..e0cf6000 100755 --- a/scripts/kvmd-otgconf +++ b/scripts/kvmd-otgconf @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.otgconf "$@" \ No newline at end of file diff --git a/scripts/kvmd-totp b/scripts/kvmd-totp index 9e48110a..5791f4ad 100755 --- a/scripts/kvmd-totp +++ b/scripts/kvmd-totp @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.totp "$@" \ No newline at end of file diff --git a/scripts/kvmd-vnc b/scripts/kvmd-vnc index cef9b59f..7cd223a7 100755 --- a/scripts/kvmd-vnc +++ b/scripts/kvmd-vnc @@ -1,3 +1,23 @@ #!/bin/bash +# ========================================================================== # +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +# ========================================================================== # cd / && python3 -m kvmd.apps.vnc "$@" \ No newline at end of file diff --git a/setup.py b/setup.py index 3ba240e5..1adcd773 100755 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/web/base.pug b/web/base.pug index a3bbadf8..a6f26b41 100644 --- a/web/base.pug +++ b/web/base.pug @@ -6,6 +6,7 @@ doctype html # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # + # Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/web/share/js/i18n/i18n.js b/web/share/js/i18n/i18n.js index a008940d..61015b80 100644 --- a/web/share/js/i18n/i18n.js +++ b/web/share/js/i18n/i18n.js @@ -1,3 +1,24 @@ +/***************************************************************************** +# # +# KVMD - The main PiKVM daemon. # +# # +# Copyright (C) 2023-2025 SilentWind # +# # +# 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 # +# 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. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +*****************************************************************************/ + function setCookie (name, value) { var expdate = new Date(); diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js index 92c7a088..66f27b0e 100644 --- a/web/share/js/index/main.js +++ b/web/share/js/index/main.js @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js index 605efae9..ca536d38 100644 --- a/web/share/js/kvm/msd.js +++ b/web/share/js/kvm/msd.js @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 # diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index dfade3f0..8acc6394 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -3,6 +3,7 @@ # KVMD - The main PiKVM daemon. # # # # Copyright (C) 2018-2024 Maxim Devaev # +# Copyright (C) 2023-2025 SilentWind # # # # 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 #