1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-23 01:55:58 -05:00
Commit Graph

819 Commits

Author SHA1 Message Date
cbef93b327 Ensure fetch-stats ip is a string 2023-07-22 16:41:54 -04:00
6ae55fc9a1 Add info logging for rpc server calls 2023-07-20 16:43:31 -04:00
588e140a7f updated wsgi config default /config/aprsd.conf
This patch changes wsgi.py to default to /config/aprsd.conf

It's assumed that this will be used as a docker container
2023-07-20 15:59:44 -04:00
d251a2727a
Merge pull request #123 from craigerl/flask-update
Remove flask pinning
2023-07-20 15:10:07 -04:00
d3a93b735d Added timing after each thread loop
This is to help keep track of which non-blocking threads are still
alive.

The RPC Server thread blocks, so the time will always increase.
2023-07-20 14:44:46 -04:00
fa452cc773 Update docker bin/admin.sh
This patch uses the wsgi.py instead of admin_Web.py
2023-07-20 14:34:32 -04:00
6a6e854caf Removed flask-classful from webchat
This patch removed the dependency on flask-classful.  This required
making all of the flask web routing non class based.

This patch also changes the aprsis class to allow retries for failed
connections when the aprsis servers are full and not responding to
login requests.
2023-07-20 14:34:31 -04:00
e1183a7e30 Remove flask pinning
Also removed need for flask-classful. Created new
aprsd/wsgi.py for the web admin interface.
2023-07-20 14:34:31 -04:00
5723e3a77b removed linux/arm/v8 2023-07-20 14:33:59 -04:00
dee73c1060 Update master build to include linux/arm/v8 2023-07-17 22:08:00 +00:00
d8318f2ae2 Update Dockerfile-dev to fix plugin permissions
This patch changes the user creation to include creating
a home directory so the plugin install installs those plugins
as a --user option.
2023-07-17 21:57:39 +00:00
2825cac446
Merge pull request #122 from craigerl/crypto-upgrade
Update requirements for upgraded cryptography
2023-07-17 16:56:30 -04:00
fa6e738a20 update manual build github 2023-07-17 13:05:31 -04:00
0c179005ee Update requirements for upgraded cryptography
This patch updates the requirements.in to remove the
pinning to cryptography 38.0.1.  Lets see if the docker
images build.
2023-07-17 11:15:50 -04:00
ad004633de Added more libs for Dockerfile-dev 2023-07-17 14:09:37 +00:00
ccd564a52e Replace Dockerfile-dev with python3 slim 2023-07-17 13:28:34 +00:00
35d41582ee Moved logging to log for wsgi.py
Added wsgi.py to be used with gunicorn to start aprsd's web admin
interface.

gunicorn -b :8080 "aprsd.wsgi:app"
2023-07-16 16:32:39 -04:00
565ffe3f72 Changed weather plugin regex pattern
The weather plugins used to match on w, but now require wx
2023-07-15 18:22:24 -04:00
0bd11d05c6 Limit the float values to 3 decimal places 2023-07-14 11:35:32 -04:00
62eff8645d
Merge pull request #119 from craigerl/wx-fixes
Fixed rain numbers from aprslib
2023-07-14 11:18:11 -04:00
aa547cbef5 Fixed rain numbers from aprslib 2023-07-14 10:42:36 -04:00
7f2aba702a Fixed rpc client initialization 2023-07-13 14:58:12 -04:00
63bf82aab5 Fix in for aprslib issue #80
aprslib incorrectly decodes weather packets and doesn't provide
wind_speed or wind_direction from the CSE/SPD 7 bytes in the APRS
packet.  This patch puts a temporary fix in place until the
aprslib pull request lands and is released.

https://github.com/rossengeorgiev/aprs-python/issues/80

https://github.com/rossengeorgiev/aprs-python/pull/81
2023-07-13 14:35:55 -04:00
bba7b68112 Try and fix Dockerfile-dev 2023-07-10 16:34:14 +00:00
005675cb46 Fixed pep8 errors 2023-07-10 11:01:41 -04:00
191e1ff552 Populate stats object with threads info
This patch adds the thread names and state to the stats object
so the aprsd fetch-stats command can show it.
2023-07-10 10:44:24 -04:00
0a14b07fae added counts to the fetch-stats table 2023-07-09 21:29:29 -04:00
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