1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-08-18 17:44:02 -04:00

Compare commits

...

3 Commits

Author SHA1 Message Date
hemna ade3c49e93 Updated Changelog 2021-11-13 10:00:40 -05:00
hemna 6fb610582d Fixed dev command missing initialization
This patch fixes a few issues when running test-plugin command.
It was missing some initialization of the stats and packets classes.
2021-11-13 09:56:19 -05:00
hemna bda2ef00dd Fix admin logging tab 2021-11-12 12:17:45 -05:00
3 changed files with 27 additions and 3 deletions
+20
View File
@@ -1,6 +1,26 @@
CHANGES
=======
v2.5.4
------
* Fixed dev command missing initialization
v2.5.3
------
* Fix admin logging tab
v2.5.2
------
* Added new list-plugins command
* Don't require check-version command to have a config
* Healthcheck command doesn't need the aprsd.yml config
* Fix test failures
* Removed requirement for aprs.fi key
* Updated Changelog
v2.5.1
------
+5 -1
View File
@@ -8,7 +8,7 @@ import logging
import click
# local imports here
from aprsd import cli_helper, client, plugin
from aprsd import cli_helper, client, messaging, packets, plugin, stats
from ..aprsd import cli
@@ -80,6 +80,10 @@ def test_plugin(
if type(message) is tuple:
message = " ".join(message)
client.Client(config)
stats.APRSDStats(config)
messaging.MsgTrack(config=config)
packets.WatchList(config=config)
packets.SeenList(config=config)
pm = plugin.PluginManager(config)
if load_all:
+2 -2
View File
@@ -19,7 +19,7 @@ from werkzeug.security import check_password_hash, generate_password_hash
import aprsd
from aprsd import client
from aprsd import config as aprsd_config
from aprsd import messaging, packets, plugin, stats, threads, utils
from aprsd import log, messaging, packets, plugin, stats, threads, utils
from aprsd.clients import aprsis
@@ -500,7 +500,7 @@ class LogMonitorThread(threads.APRSDThread):
def loop(self):
global socketio
try:
record = threads.logging_queue.get(block=True, timeout=5)
record = log.logging_queue.get(block=True, timeout=5)
json_record = self.json_record(record)
socketio.emit(
"log_entry", json_record,