1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-04-23 03:29:41 -04:00
Commit Graph

1203 Commits

Author SHA1 Message Date
1cba31f0ac removed pytest from README 2025-01-15 17:55:12 -05:00
02e29405ce Added star history to readme 2025-01-15 17:52:21 -05:00
cdd297c5bb Added activity to README 2025-01-15 08:18:48 -05:00
e332d7c9d0 some cleanup 2025-01-10 17:09:42 -05:00
e4f82d6054 updated tools in pre-commit 2025-01-10 17:07:45 -05:00
8d98546055 Added .mailmap 2025-01-07 15:57:19 -05:00
3ee422b5c9 update to py 3.10 2025-01-07 10:50:22 -05:00
7702d68cf7 updated action versions 2025-01-07 10:48:12 -05:00
c8735c257a added authors.yml 2025-01-07 10:46:59 -05:00
3cd9bfa7bb updated docs rst files 2025-01-07 10:22:26 -05:00
007386505a updated plugin example 2025-01-07 10:22:01 -05:00
7f2c1d7124 updated requirements 2025-01-07 10:06:02 -05:00
fbec7168eb updated requirements-dev 2025-01-07 10:01:41 -05:00
e3a7e7fb8a updated github workflows 2025-01-07 09:35:39 -05:00
a21432fb24 removed BeautifulSoup usage 2025-01-06 17:27:39 -05:00
275e33538d Updated README.md
Added links to aprsd-admin-extension and aprsd-webchat-extension
since they are now external.
2025-01-06 17:18:15 -05:00
5274c5dc56 Some cleanup with list plugins 2025-01-06 17:14:55 -05:00
df14eb8f28 updated workflow 2025-01-06 17:14:01 -05:00
fd74405b5f Updated README.md 2025-01-06 17:13:40 -05:00
ec1adf4182 fixed list-plugins
This patch fixes the list-plugins and list-extensions.
Pypi changed their search page to require javascript, which
breaks python scripts....
2025-01-03 17:16:26 -05:00
b1a830d54e Changed README.rst -> README.md 2025-01-03 12:29:31 -05:00
72d068c0b8 Changed to ruff
This patch changes to the ruff linter.  SO MUCH quicker.
Removed grey and mypy as well.
2024-12-20 22:00:54 -05:00
30d1eb57dd Added new KeepAliveCollector
This new collector allows external extensions and plugins to
get callbacks during the keepalive thread runs.  Every 60 seconds
the keepalive thread will do some checks and log some entries in the
logfile to keep the user/admin aware of the state of aprsd itself.
2024-12-18 16:55:26 -05:00
e5d8796cda Enable packet stats for listen command in Docker
Update the docker listen.sh to enable tracking packet stats.
2024-12-12 08:59:28 -05:00
bbdbb9aba1 Include haversine library
This patch changes the geopy to haversine library for logging
packet distances.  haversine is quite a bit lighter than geopy.
2024-12-11 16:25:02 -05:00
3bba8a19da Removed LocationPlugin from aprsd core
This eliminates the requirement for geopy library and all it's deps.

The new location for the LocationPlugin is here:

https://github.com/hemna/aprsd-location-plugin
2024-12-11 15:55:16 -05:00
f0c02606eb Removed more email references. 2024-12-11 15:55:16 -05:00
fcd1629fde removed email reference
From the list-plugins command
2024-12-11 15:55:16 -05:00
ae28dbb0e6 Fixed make clean
Just changed the order of things to clean up.
2024-12-11 15:55:16 -05:00
0880a356e6 Remove email plugin
This patch removes the email plugin from APRSD core.  The new
home for email plugin is here:

http://github.com/hemna/aprsd-email-plugin.git
2024-12-11 15:55:15 -05:00
8f8887f0e4 Remove webchat as a built in command.
Webchat will now be an extension that can be installed.
the extension is here:
https://github.com/hemna/aprsd-webchat-extension

Install it from git or pypi.
2024-12-11 15:55:15 -05:00
c48ff8dfd4 Migrate admin web out of aprsd.
This patch removes the admin command out of aprsd proper.
The admin interface will be an aprsd extension called
aprsd-admin-extension.

This is the start of the effort to trim down the base of APRSD
and the commands to server, healthcheck, list_plugins, list_extensions.

This will reduce the number of required packages that APRSD core needs.
This is useful for others using APRSD as their base to their
applications.
2024-12-11 15:55:15 -05:00
caa4bb8bd0 Update Makefile
to help clean.
2024-12-11 15:54:49 -05:00
bc709b377c Update Changelog for 3.4.4 2024-12-06 09:17:44 -05:00
63bcd4139b Fixed some pep8 failures 2024-12-06 09:16:21 -05:00
3c058f3e7b Added new acked property to the core Packet
This is intended to be a flag for message packets that are sent out.
When we get an ack for that sent packet the acked should be changed
to True.
2024-12-02 20:11:43 -05:00
0d8a1ac334 Update requirements.dev 2024-12-01 21:29:13 -05:00
db73a540ba Remove dataclasses from requirements
dataclasses are no part of python proper since python 2.7 and >.
2024-12-01 21:28:31 -05:00
7fb0c7454e Update healthcheck
Check for keepalive with connection_keepalive to support more than
1 of the client types.
2024-11-27 20:53:53 -05:00
d94a3e7b90 Added __contains__ to threadlist
This patch adds the __contains__ to the APRSDThreadList
class so we can do things like

if name in APRSDThreadList:
  # do something
2024-11-27 11:40:53 -05:00
d4ae72608b Fixed webchat packets without msgNo
This patch makes a fix in the webchat UI for packets that
don't have a msgNo in the RX'd packets.  Previously the packets
would just show up as a dupe of the previous RX'd packet from
the same callsign.  Webchat UI will now properly show the message
by creating a fake msgNo value based on the contents of the RX'd packet
from_call+addressee+message_text
2024-11-26 19:48:50 -05:00
f66b96288f Fixed issue with packet object and prepare()
If any part of the code had a packet object and called prepare()
on it, it would create a msgNo if it wasn't set.  Sometimes we
get packets on the wire/RF that don't have a msgNo, so adding one
locally is wrong.   We should ONLY create a msgNo on a packet that
is destined for transmission.

This patch ensures that even if prepare() is called, that only
packets that are created locally for TX get a msgNo unless it
already exists from RX'd packets.
2024-11-26 16:52:39 -05:00
3a8b8f26dd Fixed webchat popovers not working.
We have to call reload_popovers() every time we insert
new chat bubbles or the popovers on the new bubbles won't work.
2024-11-26 12:59:37 -05:00
8529f1f8d1 Updated keepalive thread to report client
This patch updates the keepalive thread and the
aprsis client and kiss client to report keepalive.
2024-11-26 12:35:36 -05:00
a17b80ddd8 Fixed issue not processing null msg ids
Fixed a problem where we weren't sending packets with no msg id
to process.
2024-11-26 12:31:33 -05:00
e8ae3807db Webchat: Don't automatically fetch location KISS
this patch changes webchat to not call REPEAT automatically to fetch the
location of a remote callsign if the client is on kiss.
Only fetch the location if the user clicks the button to fetch the
location.
2024-11-26 10:00:59 -05:00
8f3da961e7 Update RX Packet dupe checking
Lots of APRS messages don't have message ids in the packet.  This
prevents packet.msgNo from having a value.  so when we look the packet
up in the packet_list, the packet key has a None for a value for the
msgNo portion of the key.  This results in every packet after the first
from that callsign that doesn't have a msg id, will be marked as a dupe
and will never be processed.

This patch checks to see if msgNo is None.  If it is, then just
mark the packet as never being seen and pass it on the chain to
be processed.  This also means that there should never be an Ack
sent for those packets that don't container a msgNo value.
2024-11-25 17:17:32 -05:00
aba5bb03a2 Fix call in kiss consumer
Fixes a log entry in the kiss client consumer
2024-11-25 17:10:20 -05:00
3e488db3d7 Properly report TCPKISS connection
This patch updates the KISS client to properly report the
connection as being valid or failed.
2024-11-25 14:37:49 -05:00
be6357a552 Put safety checks around the timeago for keepalive
If the client isn't running yet, the keepalive date will be
None, so we need a check around it before running timeago on it.
2024-11-23 09:15:30 -05:00