mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-08 00:54:50 -04:00
Big patch
This commit adds the new send-message command for sending messages. This also redoes the logging of sent/rx'd packets to a single method which is syncrhonized, so we don't get intermixed log messages for packets. Also adds email address validation during startup, and optionally disables the validation via a command line switch. without email validation for production running aprsd, emails sent can turn up garbage and cause issues when those emails are received by aprsd message processing as invalid content.
This commit is contained in:
+2
-1
@@ -19,5 +19,6 @@ class testMain(unittest.TestCase):
|
||||
"""Test to make sure we fail."""
|
||||
imap_mock.return_value = None
|
||||
smtp_mock.return_value = {"smaiof": "fire"}
|
||||
config = mock.MagicMock()
|
||||
|
||||
email.validate_email()
|
||||
email.validate_email_config(config, True)
|
||||
|
||||
Reference in New Issue
Block a user