fix: BUG-025/026/027/028/029 implementations and ruff/mypy refinements

BUG-025: send_channel_message retry logic on no_event_received
BUG-026: split_text_into_chunks and chunked dispatch in message_handler
BUG-027: test_weekly_on_wrong_day_does_not_run patch uses fake_now
BUG-028: byte_data = b"" initialised before try in decode_meshcore_packet
BUG-029: app.py db_path via self._config_base; realtime.html socket race
  fixed; base.html forceNew removed; ping_timeout 5 to 20s

Additional: ruff and mypy refinements across all modules; discord bridge,
telegram bridge, rate limiter, and service plugin updates
This commit is contained in:
Stacy Olivas committed 2026-03-17 17:46:27 -07:00
1 parent ba83acb064
commit c9cfcdfe00
66 files changed
+1086 -241

No files matched your search

+2 -2
View File
@@ -33,7 +33,7 @@ class CmdCommand(BaseCommand):
super().__init__(bot)
self.cmd_enabled = self.get_config_value('Cmd_Command', 'enabled', fallback=True, value_type='bool')
def can_execute(self, message: MeshMessage) -> bool:
def can_execute(self, message: MeshMessage, skip_channel_check: bool = False) -> bool:
"""Check if this command can be executed with the given message.
Args:
@@ -135,7 +135,7 @@ class CmdCommand(BaseCommand):
return ', '.join(command_names)
# Build list within length limit
result = []
result: list[str] = []
prefix = "Available commands: "
current_length = len(prefix)