152132b0ed
Fix test failures
2021-11-10 11:51:21 -05:00
7787dc1be4
Removed requirement for aprs.fi key
...
This removed the requirement of running APRSD for specifying
the aprs.fi key in the config file. The plugins that need the
key have been updated to set enabled = False when the key is missing.
2021-11-10 11:01:10 -05:00
10e34d8634
Updated Changelog
2021-11-09 15:06:40 -05:00
9469410929
Removed stock plugin.
2021-11-09 15:02:54 -05:00
998bc32c27
Merge pull request #72 from craigerl/remove_stock_plugin
...
Removed the stock plugin
2021-11-09 14:59:03 -05:00
88db485eb4
Removed the stock plugin
...
This patch removed the built in stock plugin from APRSD.
This helps clean up the requirement tree from the yfinance
python module that pulled in a lot of other requirements.
The stock plugin is it's own separate repo and module now.
https://github.com/hemna/aprsd-stock-plugin
https://pypi.org/project/aprsd-stock-plugin/
2021-11-09 14:53:20 -05:00
5d17809895
Updated for v2.5.0
2021-11-09 10:31:29 -05:00
059cc86a11
Updated Dockerfile's and build script for docker
2021-11-09 08:15:16 -05:00
ffdd1e47b2
Merge pull request #71 from craigerl/refactor_cli
...
Refactor cli
2021-11-09 08:07:19 -05:00
cdcb98e438
Cleaned up some verbose output & colorized output
...
Some commands now have some color if the shell detects it supports it.
2021-11-08 12:18:23 -05:00
89727e2b8e
Reworked all the common arguments
...
This patch reworks all the common arguments for the commands
and subcommands
--loglevel
--config_file
--quiet
These are all now processed in 1 place.
2021-11-08 11:52:41 -05:00
617973f561
Fixed test-plugin
2021-11-05 16:40:07 -04:00
9187b9781a
Ensure common params are honored
2021-11-05 16:26:24 -04:00
8287c09ce5
pep8
2021-11-05 14:38:23 -04:00
82def598f0
Added healthcheck to the cmds
...
this patch moves the healthcheck to it's own command.
aprsd healthcheck
2021-11-05 14:21:36 -04:00
3463c6eb96
Removed the need for FROMCALL in dev test-plugin
...
We already use the env var for APRS_LOGIN, so that is now
used for the test-plugin command.
Also cleaned up some help text
2021-11-05 14:05:24 -04:00
2ead6a97da
Pep8 failures
2021-11-05 13:42:27 -04:00
7d0006b0a6
Refactor the cli
...
This patch refactors the cli to incorporate
the dev, send-message, listen commands into the main aprsd app.
This also moves the command line completion installer/show into
it's own subgroup.
2021-11-05 13:36:33 -04:00
30df452e00
Updated Changelog for 4.2.3
2021-11-05 10:51:22 -04:00
49f3ea8339
Fixed a problem with send-message command
...
This patch fixes a problem with the packets object
not being initialized correctly for the send-message command
from the command line.
Also adds the --wait-response option for send-message, which by
default is now False
2021-11-05 10:39:47 -04:00
0d5b7166b3
Updated Changelog
2021-11-02 11:47:40 -04:00
cefb581bb8
Be more careful picking data to/from disk
...
This patch ensures that the pickle file is opened and closed correctly
as well as trapping for any exceptions that might occur while loading
a pickle file.
2021-11-02 08:52:59 -04:00
d2e8fe660f
Updated Changelog
2021-10-25 11:33:15 -04:00
95fecd2394
Ensure plugins are last to be loaded.
...
This patch initializes all of the MsgTrack, WatchList and SeenList
prior to the plugins loading. Some plugins may kick off messages
being sent immediately. So everything has to be ready to go
prior to the plugins being loaded.
2021-10-25 11:22:46 -04:00
c8c23e6185
Fixed email connecting to smtp server
...
Fixed an issue with not passing config in the smtp_connect
2021-10-25 11:12:29 -04:00
a3a3a5aa23
Updated Changelog for 2.4.0 release
2021-10-22 16:24:26 -04:00
e009791b75
Converted MsgTrack to ObjectStoreMixin
2021-10-22 16:07:20 -04:00
b0d25a76f7
Fixed unit tests
...
Had to initialize the watchlist and seenlist with a config dict.
2021-10-21 09:20:24 -04:00
89701c8a70
Make sure SeenList update has a from in packet
...
This makes sure that the packet being processed by the seenlist
has a from address.
2021-10-21 08:40:40 -04:00
66c5d85b89
Ensure PacketList is initialized
2021-10-20 15:48:35 -04:00
8ee8b149f1
Added SIGTERM to signal_handler
2021-10-20 15:37:54 -04:00
0d51634ec2
Enable configuring where to save the objectstore data
...
This patch adds a new config entry aprsd.save_location
which is the directory used to store and load the objectstore
data.
2021-10-20 14:39:12 -04:00
135e21cd8d
PEP8 cleanup
2021-10-20 14:10:54 -04:00
4233827dea
Added objectstore Mixin
...
This patch adds the new objectstore Mixin class that enables
classes that store their date in self.data as a serializeable dict,
to be able to be stored to disk at shutdown and loaded at startup.
The SeenList and WatchList are now saved/loaded to/from disk.
2021-10-20 14:07:22 -04:00
9b2212245f
Added -num option to aprsd-dev test-plugin
...
This allows the user to specify how many times in a loop
to call the plugin. The Default is 1.
2021-10-20 11:46:55 -04:00
9150f3b6ff
Only call stop_threads if it exists
2021-10-10 14:50:04 -04:00
278bb6e882
Added new SeenList
...
This patch adds the seen list feature. It tracks the callsign of every
packet that aprsd sees.
2021-10-09 14:29:25 -04:00
004795dbf1
Added plugin version to stats reporting
...
This patch adds version to the plugin stats collected.
2021-10-09 09:31:51 -04:00
3b7924b13d
Added new HelpPlugin
...
This patch adds the always enabled HelpPlugin. This plugin
now will respond to the 'help' or 'h' commands that will
automatically build a help string based on the number of
enabled plugins. It will also respond to
help <plugin> with the plugin specific help
2021-10-08 12:01:04 -04:00
2bf85db21b
Updated aprsd-dev to use config for logfile format
...
This patch updates the aprsd-dev command's log file format
to use what's defined as the default and/or use the config file
setting like aprsd server does.
2021-10-08 08:47:24 -04:00
14f77876f9
Merge pull request #70 from craigerl/utils_refactor
...
Refactoring/Cleanup
2021-10-08 08:41:14 -04:00
db9cbf51df
Updated build.sh
...
This patch forces the rebuild of the docker buildx build container.
Also makes the tag, version available from cmdln
2021-10-07 10:56:09 -04:00
5b17228811
removed usage of config.check_config_option
...
check_config_option has been superceeded by the config UserDict
object's ability to see if a config option exists.
2021-10-07 10:11:48 -04:00
725bb2fe35
Fixed send-message after config/client rework
...
This patch fixes the send-message from the command line
ability after the complete rework of the client classes.
2021-10-07 10:05:19 -04:00
f8d87d05bb
Fixed issue with flask config
...
Flask was trying to serialize the UserDict object. Use the
data (dict) inside of it instead.
2021-10-06 15:17:09 -04:00
30671cbdbc
Added some server startup info logs
...
This patch adds some general info logs around starting the
client connection as well as loading the plugins.
2021-10-06 12:55:17 -04:00
fdc8c0cd66
Increase email delay to +10
...
This patch updates the increasing of the email check delay to += 10
seconds instead of +1.
2021-10-06 12:12:49 -04:00
c097c31258
Updated dev to use plugin manager
...
Also ensure that main creates the client prior to starting the
plugins.
2021-10-06 12:09:52 -04:00
e3c5c7b408
Fixed notify plugins
...
The notify base filter() was missing the @hookimpl
2021-10-06 12:08:29 -04:00
491644ece6
Added new Config object.
...
The config object now has builtin dot notation getter with default
config.get("some.path.here", default="Not found")
2021-10-04 15:37:14 -04:00