1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-13 20:01:48 -05:00
Commit Graph

692 Commits

Author SHA1 Message Date
b2e621da4b Added the fetch-stats command
You can now fetch and view the stats of a live running aprsd server
if it has enabled the rpc server in the config file's rpc_settings
block.
You just have to match the magic word as specified in the config file to
authorize against the rpc server.

aprsd fetch-stats --ip-address <ip of aprsd> --port <port> --magic-word
<magic word>
2023-07-09 21:06:57 -04:00
fe0d71de4d Replace ratelimiter with rush
This patch replaces the ratelimiter library with rush for rate limiting
as the ratelimiter package doesn't work with python 3.11.

This patch also refactors the flask.pu to admin_web.py and
aprsd.py to main.py
2023-07-08 17:30:22 -04:00
9b944142bd Added some utilities to Dockerfile-dev
This patch adds telnet, sudo and vim to the development
Dockerfile-dev file for testing aprsd in a container
2023-06-22 15:51:45 -04:00
b172c692a1 add arm64 for manual github build 2023-06-22 10:44:08 -04:00
311cebaf27 Added manual master build 2023-06-22 10:08:28 -04:00
f4d60357ee
Update master-build.yml
undo
2023-06-22 10:04:59 -04:00
09a0c4cb02 Add github manual trigger for master build 2023-06-22 10:03:39 -04:00
80b85e648f Fixed unit tests for Location plugin 2023-06-22 09:06:55 -04:00
9931c8a6c5 USe new tox and update githubworkflows
This patch updates tox to the latest and updates the github workflows
to use tox-gh, which is claimed to work with github parallel tox runs
2023-06-22 07:58:35 -04:00
319969cc08 Updated requirements 2023-06-21 19:12:38 -04:00
da20ff038b force tox to 4.3.5 2023-06-21 19:09:26 -04:00
15bf3710d2 Update github workflows
removed building for arm64
2023-06-21 18:55:32 -04:00
5bc589f21f Fixed pep8 violation
This patch fixes a pep8 violation in the location plugin
2023-06-21 18:51:53 -04:00
8b73372b6e Added rpc server for listen
Added the ability to start the rpc server for fetching stats from the
listen command.  If the rpc server is enabled in config, the rpc
server will now start.
2023-06-21 18:48:08 -04:00
26c1e7afbb Update location plugin and reworked requirements
Added geopy as a dependency for the location plugin.
The us weather service API is now broken upstream.

Reworked the requirements.txt and dev-requirements.txt files
2023-06-15 16:08:28 -04:00
c99d5b859e
Merge pull request #116 from jhmartin/fix-example-plugin
Example plugin wrong function
2023-06-14 11:26:38 -04:00
cad22e1744 Fixed .readthedocs.yaml format 2023-06-14 09:31:19 -04:00
43d6b62760 Add .readthedocs.yaml
Read the docs service is now requiring the config file
.readthedocs.yaml for it to be able to build the online documentation
for a project.
2023-06-14 09:11:39 -04:00
Jason Martin
96fa4330ba
Example plugin wrong function
The example plugin, used verbatim, complains about an abstract class. The interface requires 'process'  not 'command'.
2023-05-19 22:53:15 +00:00
4e99e30f16 Ensure conf is imported for threads/tx
Import the conf for threads/tx.py to ensure that the
msg_rate_limit_period is defined prior to the conf entry
being referenced.
2023-05-05 11:07:23 -04:00
00f1c3a2ba Update Dockerfile to help build cryptography 2023-04-26 14:31:50 +00:00
0527ddfdba Update Changelog to 3.0.3 2023-04-25 14:44:56 -04:00
5694cabd93 cleanup some debug messages 2023-04-25 14:29:26 -04:00
e21e2a7c50 Fixed loading of plugins for server
Some instances the plugins failed to load
2023-04-20 14:31:50 -04:00
17d9c06b07 Don't load help plugin for listen command
This patch disables loading the help plugin for the listen command.
2023-04-17 15:37:48 -04:00
66ebb286d8 Added listen args. 2023-04-17 15:31:07 -04:00
0ec41f7605 Change listen command plugins
The listen command now adds the --load-plugins, which is false by
default, to load all the plugins as defined in the config file.
2023-04-17 15:01:57 -04:00
c353877321 Added listen.sh for docker
This patch adds the listen.sh entry point for the docker image.
2023-04-17 15:45:49 +00:00
483afce5ad Update Listen command
This patch updates the aprsd listen command to add the packet-plugins
argument which allows enabling a single plugin to work against the
packets recieved from the aprsis network.
2023-04-17 10:51:17 -04:00
8a456cac48 Update Dockerfile 2023-01-31 17:36:39 +00:00
62e1d69272
Merge pull request #111 from craigerl/ratelimit
Add ratelimiting for acks and other packets
2023-01-18 14:01:41 -05:00
840b0aba97 Add ratelimiting for acks and other packets
This patch adds basic ratelimiting to sending out AckPackets
and non AckPackets.  This provides a basic way to prevent
aprsd from sending out packets as fast as possible, which isn't
great for a bandwidth limited network.

This patch also adds some keepalive checks to all threads in the
threadslist as well as the network client objects (apris, kiss)
2023-01-18 13:00:10 -05:00
357a193a75 Update Changelog for 3.0.2 2023-01-16 11:41:42 -05:00
4aa4a4b5d3 Import RejectPacket 2023-01-16 11:38:48 -05:00
062f3caf83 3.0.1 2023-01-14 12:56:03 -05:00
9ac9835541
Merge pull request #109 from craigerl/reject_packet
Add support for Reject messages.
2023-01-14 12:53:19 -05:00
c68b270ee2 Add support to Reject messages.
This patch adds support for receiving reject messages.
2023-01-14 12:41:22 -05:00
38725907f3 Update Docker builds for 3.0.0 2023-01-09 11:54:50 -05:00
4a10511d8b Update Changelog for 3.0.0 2023-01-09 11:05:14 -05:00
c5aba17ad1 Ensure server command main thread doesn't exit
This patch adds join calls on the running threads to prevent
the main thread from exiting prematurely.
2023-01-07 14:57:25 -05:00
233d49bb4c Fixed save directory default 2023-01-03 15:38:19 -05:00
6391c7eed6 Fixed pep8 failure 2023-01-03 09:01:53 -05:00
0758a58101 Cleaned up KISS interfaces use of old config 2023-01-02 14:20:13 -05:00
a5520b2cd3 reworked usage of importlib.metadata
For whatever reason passing in group in python 3.9.x
fails for importlib_metadata.entry_points.  This patch
fetches all and filters through them to get the real
oslo.config.opts entry points now.  This is to find all
of the config options of aprsd and the plugins
2023-01-02 14:13:49 -05:00
29b8764124 Added new docs files for 3.0.0 2023-01-02 14:13:49 -05:00
fe2f7b5b71 Removed url option from healthcheck in dev 2023-01-01 17:37:43 +00:00
c5acdba6de Updated Healthcheck to use rpc to call aprsd
After adding the rpc service for aprsd server and separating the
admin web REST interface, healthcheck no longer worked.   The stats
are available via rpc now.
2022-12-31 16:52:50 -05:00
79e7ed1e91 Updated docker/bin/run.sh to use new conf
This patch updates the docker shell run script to use the
new aprsd.conf file.  The new aprsd config is an aprsd.conf file
now not, aprsd.yml
2022-12-30 10:13:25 -05:00
ed284a42cc Added ObjectPacket
This patch adds the ObjectPacket.  This is used by the REPEAT plugins
to send out an object in message packet to let radios tune directly
to the station.
2022-12-30 09:44:25 -05:00
3d0bb8ae8e Update regex processing and regex for plugins
The regex search is now by default case insensitive.
Also update each core plugin to better match the command.

ping plugin can now match on
p
p foo
ping
pIng

Weather plugins can now match on
w
wx
wX
Wx KM6LYW
weather
WeaTher
2022-12-29 14:34:46 -05:00