From f639fbb54c6a8340efe0de4374c6e251ed5ddcda Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:35:45 +0100 Subject: [PATCH 1/8] Update server.py --- server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index b590e63..7000736 100644 --- a/server.py +++ b/server.py @@ -3,7 +3,8 @@ """ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) Date: 06/25/2024 -Version: 0.1.0 +Yorkshire BBS Edition +Version: 0.1.01 Description: The system allows for mail message handling, bulletin boards, and a channel @@ -31,7 +32,8 @@ def display_banner(): ██║ ██║ ██╔═══╝ ╚════╝██╔══██╗██╔══██╗╚════██║ ██║ ╚██████╗███████╗ ██████╔╝██████╔╝███████║ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝ -Meshtastic Version +Yorkshire BBS Edition +Version: 0.1.01 """ print(banner) From 61fa0bdc03b32446b361b9698077fa788ee372b0 Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:37:21 +0100 Subject: [PATCH 2/8] Update server.py --- server.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server.py b/server.py index af5117c..7c9d4fb 100644 --- a/server.py +++ b/server.py @@ -2,8 +2,8 @@ """ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) -Date: 06/25/2024 -Version: 0.1.0 +Yorkshire BBS Edition +Version: 0.1.02 Description: The system allows for mail message handling, bulletin boards, and a channel @@ -31,7 +31,8 @@ def display_banner(): ██║ ██║ ██╔═══╝ ╚════╝██╔══██╗██╔══██╗╚════██║ ██║ ╚██████╗███████╗ ██████╔╝██████╔╝███████║ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝ -Meshtastic Version +Yorkshire BBS Edition +Version: 0.1.02 """ print(banner) From 79206e209bade15ff749c67f7b57f1382d20be2a Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:38:39 +0100 Subject: [PATCH 3/8] Update server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 7c9d4fb..ac29a1e 100644 --- a/server.py +++ b/server.py @@ -2,6 +2,7 @@ """ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) +Date: 03/07/2024 Yorkshire BBS Edition Version: 0.1.02 From 2822b7942c92a45a110cbd3b3f80d8c57fab3d98 Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:39:02 +0100 Subject: [PATCH 4/8] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 7000736..adcd44c 100644 --- a/server.py +++ b/server.py @@ -2,7 +2,7 @@ """ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) -Date: 06/25/2024 +Date: 03/07/2024 Yorkshire BBS Edition Version: 0.1.01 From a4aa980c404591169a5dd6856b998e9fc668e96d Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:48:37 +0100 Subject: [PATCH 5/8] Update command_handlers.py --- command_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command_handlers.py b/command_handlers.py index d39e727..d272f5f 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -107,7 +107,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): la2 = str(psutil.getloadavg()[1]) la3 = str(psutil.getloadavg()[2]) ramu = str(psutil.virtual_memory().percent) - response = "CPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" + response = "Version: 0.1.01\nCPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return @@ -402,4 +402,4 @@ def handle_channel_directory_steps(sender_id, message, step, state, interface): channel_name = state['channel_name'] add_channel(channel_name, channel_url) send_message(f"Your channel '{channel_name}' has been added to the directory.", sender_id, interface) - handle_channel_directory_command(sender_id, interface) \ No newline at end of file + handle_channel_directory_command(sender_id, interface) From 29f45e3a0d82504751f2dfbfa1f4a761743c3c68 Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:49:10 +0100 Subject: [PATCH 6/8] Update command_handlers.py --- command_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index 0eadf2d..5aadb0d 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -107,7 +107,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): la2 = str(psutil.getloadavg()[1]) la3 = str(psutil.getloadavg()[2]) ramu = str(psutil.virtual_memory().percent) - response = "CPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" + response = "Version: 0.1.02\nCPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return From 1840828e87f248c63da8e8d817ed818542853ea8 Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 15:23:50 +0100 Subject: [PATCH 7/8] Update server.py --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index ac29a1e..899b448 100644 --- a/server.py +++ b/server.py @@ -4,7 +4,7 @@ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) Date: 03/07/2024 Yorkshire BBS Edition -Version: 0.1.02 +Version: 0.1.02_Dev Description: The system allows for mail message handling, bulletin boards, and a channel @@ -33,7 +33,7 @@ def display_banner(): ██║ ╚██████╗███████╗ ██████╔╝██████╔╝███████║ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝ Yorkshire BBS Edition -Version: 0.1.02 +Version: 0.1.02_Dev """ print(banner) From 260cf9a7526d8e49d73689e509a4992ce5a8cbc1 Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 15:25:27 +0100 Subject: [PATCH 8/8] Update command_handlers.py --- command_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command_handlers.py b/command_handlers.py index 5aadb0d..78be576 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -107,7 +107,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): la2 = str(psutil.getloadavg()[1]) la3 = str(psutil.getloadavg()[2]) ramu = str(psutil.virtual_memory().percent) - response = "Version: 0.1.02\nCPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" + response = "Version: 0.1.02_Dev\nCPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return