d80277c9d8
Moved Threads list for mypy
...
This patch moves the APRSDThreadList to the bottom
of the file so that we can specify the type in the
threads_list member for mypy.
2024-03-20 15:39:18 -04:00
29b4b04eee
No need to synchronize on stats
...
this patch updates the stats object to remove the synchronize
on calling stats. each property on the stats object are already
synchronized.
2024-03-20 15:39:18 -04:00
12dab284cb
Start to add types
2024-03-20 15:39:18 -04:00
d0f53c563f
Update tox for mypy runs
2024-03-20 15:39:18 -04:00
24830ae810
Merge pull request #155 from craigerl/dependabot/pip/black-24.3.0
...
Bump black from 24.2.0 to 24.3.0
2024-03-20 15:38:59 -04:00
dependabot[bot]
52896a1c6f
Bump black from 24.2.0 to 24.3.0
...
Bumps [black](https://github.com/psf/black ) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 18:14:03 +00:00
82b3761628
replaced access to conf from uwsgi
2024-03-14 12:15:23 -04:00
8797dfd072
Fixed call to setup_logging in uwsgi
2024-03-14 12:11:30 -04:00
c1acdc2510
Fixed access to conf.log in logging_setup
2024-03-14 11:41:34 -04:00
71cd7e0ab5
Changelog for 3.3.2
2024-03-13 13:49:11 -04:00
d485f484ec
Remove warning during sample-config
...
This patch removes a warning log during sample-config
generation
2024-03-13 13:47:01 -04:00
f810c02d5d
Removed print in utils
...
this patch removes a leftover debug print in utils.load_entry_points
that was causing sample-config output to be bogus.
2024-03-13 13:44:09 -04:00
50e24abb81
Updates for 3.3.1
2024-03-12 10:41:16 -04:00
10d023dd7b
Fixed failure with fetch-stats
...
This patch fails nicely with the fetch-stats if it can't connect
with the rpc server on the other end.
2024-03-12 10:37:17 -04:00
cb9456b29d
Fixed problem with list-plugins
...
This patch includes a fix to the list-plugins and
list-extensions commands.
2024-03-12 10:36:26 -04:00
c37e1d58bb
Changelog for 3.3.0
2024-03-12 10:08:38 -04:00
0ca5ceee7e
sample-config fix
...
This patch makes a change on how it's calling importlib.entry_points
to only fetch the group we want, which is 'oslo.config.opts'.
This fixes a problem with python 3.12 compatibility.
2024-03-11 11:53:28 -04:00
2e9c9d40e1
Fixed registry url post
2024-03-08 11:49:10 -05:00
66004f639f
Changed processpkt message
...
this includes the pkt.key in the log entry
2024-03-08 11:25:46 -05:00
0b0afd39ed
Fixed RegistryThread not sending requests
2024-03-08 09:18:28 -05:00
aec88d4a7e
use log.setup_logging
2024-03-07 12:43:10 -05:00
24bbea1d49
Disable debug logs for aprslib
...
This patch adds a disable of propogating the debug logs
from the aprslib parsing. We don't really need to see
this in our aprsd services.
2024-03-07 09:46:36 -05:00
5d3f42f411
Make registry thread sleep
...
This patch adds a required sleep of 1 second in each
registry thread loop to prevent runaway cpu usage
2024-03-07 08:37:09 -05:00
44a98850c9
Merge pull request #147 from craigerl/loguru
...
Replace slow rich logging with loguru
2024-03-06 14:18:19 -05:00
2cb9c2a31c
Put threads first after date/time
2024-03-06 13:39:51 -05:00
2fefa9fcd6
Replace slow rich logging with loguru
...
This patch removes the rich logging with
the modern loguru logging
2024-03-06 13:00:52 -05:00
d092a43ec9
Updated requirements
2024-03-06 12:59:21 -05:00
d1a09fc6b5
Fixed pep8
2024-02-28 16:24:01 -05:00
ff051bc285
Added list-extensions and updated README.rst
...
This patch adds the list-extensions command to support
showing the available extensions for APRSD that live on
pypi.
2024-02-28 16:10:55 -05:00
5fd91a2172
Change defaults for beacon and registry
...
The beacon frequency is now every 30 minutes by default.
The registry call is now every hour.
2024-02-28 13:23:11 -05:00
a4630c15be
Add log info for Beacon and Registry threads
2024-02-27 16:01:15 -05:00
6a7d7ad79b
fixed frequency_seconds to IntOpt
2024-02-27 15:53:03 -05:00
7a5b55fa77
fixed references to conf
2024-02-27 15:48:58 -05:00
a1e21e795d
changed the default packet timeout to 5 minutes
2024-02-27 15:11:39 -05:00
cb291de047
Fixed default service registry url
2024-02-27 15:10:21 -05:00
e9c48c1914
fix pep8 failures
2024-02-27 14:21:04 -05:00
f0ad6d7577
py311 fails in github
2024-02-27 13:46:28 -05:00
38fe408c82
Don't send uptime to registry
2024-02-27 13:40:39 -05:00
8264c94bd6
Added sending software string to registry
...
This patch adds sending the APRSD signature and url
along with the regsitry request.
2024-02-27 11:05:41 -05:00
1ad2e135dc
add py310 gh actions
2024-02-27 08:14:05 -05:00
1e4f0ca65a
Added the new APRS Registry thread
...
This patch adds the new APRSRegistryThread,
which enabled in config, will send a small
packet of information to the as yet deployed
APRS service registry every 900 seconds.
The data that this thread will send is
the service callsign, a description of the service,
a website url for the service.
The idea being that the registry website that this thread
sends information to, will show all the services that are
running on the ARPS network, so Ham operators can discover
them and try them out.
2024-02-26 18:28:52 -05:00
41185416cb
Added installing extensions to Docker run
...
This patch adds the installation of APRSD via pip during startup
time for the main server run.sh, admin.sh and listen.sh
2024-02-25 15:05:45 -05:00
68f23d8ca7
Cleanup some logs
...
This patch removes some debug logging from the clients.
2024-02-25 15:04:26 -05:00
11f1e9533e
Added BeaconPacket
...
This patch adds the BeaconPacket and BeaconSendThread.
This will enable APRSD server to send a beacon if enabled in
the config.
2024-02-25 14:21:17 -05:00
275bf67b9e
updated requirements files
2024-02-24 14:30:08 -05:00
968345944a
removed some unneeded code
...
removed the callsigns locations iterator
2024-02-24 14:28:37 -05:00
df2798eafb
Added iterator to objectstore
...
Since the objectstore mixin uses a iterable to store it's data,
it was easy to add an __iter__ to the objectstore class itself.
2024-02-24 14:27:39 -05:00
e89f8a805b
Added some missing classes to threads
...
Added new APRSDupeThread
2024-02-24 14:26:55 -05:00
b14307270c
Added support for loading extensions
...
This patch adds support for loading extenions
to APRSD!!
You can create another separate aprsd project, and register
your extension in your setup.cfg as a new entry point for aprsd
like
[entry_points]
aprsd.extension =
cool = my_project.extension
in your my_project/extension.py file
import your commmands and away you go.
2024-02-23 16:53:42 -05:00
ebee8e1439
Merge pull request #146 from craigerl/webchat-location
...
Added location for callsign tabs in webchat
2024-02-20 10:30:21 -05:00