1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-08-17 12:06:35 -04:00
Commit Graph

708 Commits

Author SHA1 Message Date
7d970cbe70 Got webchat working with KISS tcp
This patch reworks the KISS client to get rid of
aioax25 as it was too difficult to work with due to
heavy use of asyncio.

Switched to the kiss3 pypi library.
2022-11-23 13:01:43 -05:00
d717a22717 Added click auto_envvar_prefix
This allows setting environment variables that are
prefixed with APRSD_
2022-11-23 13:01:06 -05:00
9b0c626b59 Update aprsd thread base class to use queue
This patch updates the main aprsd threads class to use
a shared queue to notify all aprsd thread classes they need
to exit.  This ensures any closing down of sockets, etc happens from
inside the context of the thread itself, not the MainThread that
calls stop.
2022-11-23 13:01:06 -05:00
967959e7b3 Update packets to use wrapt
This patch updates the aprsd/packets.py to use wrapt for it's method
lock synchornization.
2022-11-23 13:01:06 -05:00
e5f60b5ce1 Add remving existing requirements
This patch updates the Makefile to do an rm on the requirements.txt
when updating the requirements files.
2022-11-23 13:01:06 -05:00
2ce50d8861 Try sending raw APRSFrames to aioax25
This seems to work sending out, but still getting
third-party dropped packets as response from the local repeater.
2022-11-23 13:01:06 -05:00
ad79ed1261 Use new aprsd.callsign as the main callsign
This patch changes how aprsd identifies itself when connected to
any client, which is not relying on the login for each client.
There are 3 supported clients currently
aprsis,
tcpkiss
serialkiss.

Each client has their own potential login/callsign to connect
to the remote.  This patch tells aprsd to use the new config option
aprsd.callsign as a means to identify itself.  It will accept
packets as <aprsd.callsign> and reply as <aprsd.callsign> regardless
of which client object is being used to connect to the remote.

Note: this breaks backwards compatibility.  This patch now requires
the new config option
aprsd:
  callsign: <callsign>
2022-11-23 13:01:01 -05:00
5f28788180 Fixed access to threads refactor 2022-11-23 13:00:37 -05:00
585d55f10d Added webchat command
This patch adds the new aprsd webchat command which shows
a new webpage that allows you to aprsd chat with multiple
callsigns
2022-11-23 13:00:36 -05:00
1ccb2f7695 Moved log.py to logging
Also renamed logging/logging.py to logging/rich.py
2022-11-23 13:00:36 -05:00
a62843920a Moved trace.py to utils
This patch moves trace.py to the utils directory
2022-11-23 13:00:36 -05:00
29b84b453b Fixed pep8 errors 2022-11-23 13:00:36 -05:00
347a6d69f7 Refactored threads.py
This patch creates a threads directory and separates out
the contents of threads.py into separate files in the
threads directory to make it easier to find and maintain.
2022-11-23 13:00:36 -05:00
bed060f1c5 Refactor utils to directory
This patch moves the utils.py to utils/__init__.py
and fuzzyclock.py to utils
and separates the ring_buffer to it's own file in utils
2022-11-23 13:00:36 -05:00
ab6583666f remove arm build for now 2022-11-04 14:06:03 -04:00
3580425ca3 Added rustc and cargo to Dockerfile
This is an attempt to fix the failing docker image build for
linux/arm/v7
2022-11-04 11:34:27 -04:00
358aa59042 remove linux/arm/v6 from docker platform build 2022-11-04 10:41:25 -04:00
9671dacb1c Only tag master build as master 2022-11-04 10:32:22 -04:00
f9d3bc433f Remove docker build from test
This patch removes the container build from the main python.yml
github action that is only supposed to test tox results for commits
2022-11-04 10:30:34 -04:00
1383352e75
create master-build.yml
This patch adds the tox and docker image build for the latest container image on every push to master branch
2022-11-04 10:27:43 -04:00
b50f343440 Added container build action 2022-11-04 09:04:14 -04:00
4c7c90b947
Merge pull request #98 from ranguli/ranguli-patch-1
Update docs on using Docker
2022-11-02 10:47:04 -04:00
ranguli
bb09296efa
Update docs on using Docker 2022-11-01 21:49:58 -02:30
7db2242060 Update dev-requirements pip-tools
This patch updates the pip-tools version to prevent the bug when
trying to run make update-requirements failing.
2022-11-01 14:16:24 -04:00
61655a0a85
Merge pull request #89 from wildeyedskies/update-eventlet
Bump dependencies to fix python 3.10
2022-11-01 14:02:13 -04:00
fdc8bfafc0
Merge pull request #96 from ranguli/fix-pypi-scraping
Fix #92 (PyPI scraping)
2022-11-01 14:01:37 -04:00
0e5f7aa211
Merge pull request #93 from ranguli/fix-readme-formatting
README formatting fixes
2022-11-01 13:59:28 -04:00
c16886263f
Merge pull request #94 from ranguli/fix-exception-typo
Fix typo on exception
2022-11-01 13:51:41 -04:00
eb4b67d9b8
Merge pull request #97 from ranguli/patch-1
Fix plugins not installing via docker-compose
2022-11-01 13:47:59 -04:00
ranguli
389304c3f2
Fix typo in docker-compose.yml 2022-10-28 10:35:39 -02:30
ranguli
9ffd320353 Fix PyPI scraping 2022-10-27 12:33:31 -02:30
74e4e2c4f5
Merge pull request #95 from ranguli/patch-1 2022-10-26 22:19:20 -04:00
ranguli
b1db08a08c
Allow web interface when running in Docker 2022-10-26 20:03:42 -02:30
ranguli
cc2918377e Fix typo on exception 2022-10-26 16:46:50 -02:30
ranguli
f339ee3ebf
README formatting fixes 2022-10-26 16:01:51 -02:30
Zoe Moore
9d39b030fb Bump dependencies to fix python 3.10 2022-05-31 15:53:26 -07:00
1c052a63c0 Fixed up config option checking for KISS
This patch updates the config option checking for
required fields in the config yaml file.  Specifically
for the existence of the aprsd: section
and the required fields for the 3 supported client types
apris,
kiss serial,
kiss tcp
2022-02-21 16:04:33 -05:00
e739441268 Fix logging issue with log messages
This patch changes the base Message class to
ensure that all printing of the message class only
outputs the message in the truncated and bad word filtering
enabled in the log.
2022-02-11 10:03:02 -05:00
03a20ebb5c for 2.5.9 2022-01-26 14:59:46 -05:00
6257c9ea90 FIX: logging exceptions
This patch fixes the logging of exceptions in the email
plugin.
2022-01-26 14:39:14 -05:00
b00c8db3d6 Updated build and run for rich lib 2022-01-08 09:41:17 -05:00
79270f95be update build for 2.5.8 2022-01-08 09:29:26 -05:00
29a60b7ed0 For 2.5.8 2022-01-07 15:19:44 -05:00
e8100d8777 Removed debug code 2022-01-07 15:17:16 -05:00
764730c123 Updated list-plugins
This patch updates the README.rst with the new format for
`aprsd list-plugins`.
2021-12-15 10:48:16 -05:00
610e40aecd Renamed virtualenv dir to .aprsd-venv
This helps with shell prompts showing the name of the venv.
When you have multiple venv environments on your system, naming then
helps to identify which one you are actively using.
2021-12-15 10:45:53 -05:00
2f6e7e17e8 Added unit tests for dev test-plugin
Also added a check to make sure that the aprs_login
parameter is passed in for use as the fromcallsign.
2021-12-12 16:35:26 -05:00
a7bbde4a43 Send Message command defaults to config
The APRS_LOGIN and APRS_PASSWORD arguments now fallback
to the config file if it exists.

First it checks the passed in parameters, then checks the
environement vars, then checks the parsed config to find the
login and password.

This patch also adds unit tests for the send-message command to
check the fallback.
2021-12-12 16:13:08 -05:00
7530bcf55c Updated Changelog 2021-12-11 07:59:50 -05:00
ab37a5e7a7
Merge pull request #79 from craigerl/fix_kiss_is_enabled
Fixed an KISS config disabled issue
2021-12-11 07:56:47 -05:00