Andrew Mirsky
e40aaa4aa0
updating documentation
2025-06-12 20:28:11 -04:00
Andrew Mirsky
b373e8bd56
abstract common pattern for calling plugin methods
2025-06-12 20:12:08 -04:00
Andrew Mirsky
5bd7513e80
updating type-hinting to set generics for base, client and broker contexts
2025-06-12 19:52:16 -04:00
Andrew Mirsky
43efa4c829
instead of filtering upon call of the plugin's coro, filter upon plugin loading
2025-06-12 19:12:33 -04:00
Andrew Mirsky
24f99fdc2d
consistent description in readme file
2025-06-12 14:28:50 -04:00
Andrew Mirsky
a2cbef1bc4
running pytest to generate htmlcov for readthedocs
2025-06-12 14:20:31 -04:00
Andrew Mirsky
fed5b8eb08
shutdown broker when test completes
2025-06-12 11:03:28 -04:00
Andrew Mirsky
e7882a3755
fixes amqtt/Yakifo#210 : when reconnect is false, authentication failure causes NoDataError instead of ConnectError
2025-06-12 10:52:44 -04:00
Andrew Mirsky
7b936d785c
loading plugins from config file, bypassing entry points. authenticate and subscribe/publish
2025-06-12 08:37:27 -04:00
Andrew Mirsky
06053ce7ee
tweaking readthedocs configuration
2025-06-11 16:30:27 -04:00
Andrew Mirsky
21880a3cb8
ability to rebuild the 'latest' docs as of 2023-02-09T12:49:41.380973Z and 3912564bf1
...
using default sphinx-generated conf.py
2025-06-11 15:01:40 -04:00
Andrew Mirsky
a86c702361
switching from gitter to discord
2025-06-11 12:43:25 -04:00
Andrew Mirsky
e66f5ab711
fixes to readthedocs build process
2025-06-11 12:00:27 -04:00
Andrew Mirsky
b9da62e02b
Merge pull request #208 from ajmirsky/readthedocs
...
readthedocs configuration and build
2025-06-11 11:57:52 -04:00
Andrew Mirsky
09fa23dc22
adding configuration for readthedocs
2025-06-11 11:54:12 -04:00
Andrew Mirsky
ee7a88fc72
amqtt.io ( #206 )
...
* ignoring all files and adding back was causing confusion
* adding in amqtt.io website
* adding amqtt logo
* removing mobile version of the dashboard menu
* minor change to naming of logo
* adding functionality to display statistics from amqtt broker
* adding content about configuration
* separating amqtt.io from test.amqtt.io
* adding link to the test server page
* remove unneeded state
* docker file for building image
* separating docker build into two phases to minimize image size. add documentation for docker launch / configure
* updating docs with references to docker image
* adding missing icons
* adding docker compose samples. updating classifiers and version
* fixing uv lock file version identifier
* tweaking test.amqtt.io page to include broker start and uptime. fix project links. add gitter icon
* missing image
* update to include 'client'
2025-06-11 11:49:09 -04:00
Andrew Mirsky
9252dbda76
Merge pull request #204 from ajmirsky/docker
...
docker container for amqtt
2025-06-11 11:48:38 -04:00
Andrew Mirsky
66eafd1e5c
separating docker build into two phases to minimize image size. add documentation for docker launch / configure
2025-06-09 14:32:55 -04:00
Andrew Mirsky
e69cb12652
fixing test case for python 3.12
2025-06-09 12:21:22 -04:00
Andrew Mirsky
18bfb6d9c5
python 3.12 requires the connect packet before forcing the socket to disconnect
2025-06-09 00:24:40 -04:00
Andrew Mirsky
2caa792d69
fixes Yakifo/amqtt#51 : plugins which fail to import or load should stop the broker from starting
2025-06-09 00:11:06 -04:00
Andrew Mirsky
2b1599e6af
fixes Yakifo/amqtt#86 : verify that the issue has been fixed
2025-06-08 22:42:49 -04:00
Andrew Mirsky
52b69ee068
fixes Yakifo/amqtt#67 : malformed uri or incorrect scheme should raise a ConnectError (not a ClientError)
2025-06-08 10:29:14 -04:00
Andrew Mirsky
1756d93ebd
removing cli test cases for verifying will messages, better done through unit test cases in test_client.py
2025-06-08 10:00:13 -04:00
Andrew Mirsky
69f6114830
Merge branch 'issues/154' into issues/199
2025-06-08 07:57:51 -04:00
Andrew Mirsky
ac8782772f
removing inaccurate tests
2025-06-08 07:42:07 -04:00
Andrew Mirsky
58d431f2f5
adding test case for issue 67
2025-06-08 00:06:17 -04:00
Andrew Mirsky
2093cc5961
fixes Yakifo/amqtt#199 : cleanly disconnected clients should not send will messages. fixing client tests, adding additional. and correcting the broker's client handler so that normal or abnormal disconnections end the client's session and stop processing messages from the client
2025-06-07 23:56:30 -04:00
Andrew Mirsky
f3291eda2f
fixes Yakifo/amqtt#154 : will message is allowed to have zero length. and the StreamReader can return 'None' or zero and they have different implications. if reading value in order to read from a stream and the length is zero, return a NoDataError. Creating exception class to satisfy EM101 and TRY003
2025-06-07 18:21:08 -04:00
Andrew Mirsky
7890888e80
fixes Yakifo/amqtt#144 : reconnect_retries < 0 will retry indefinitely. consistent default for 'reconnect_retries'
2025-06-07 17:38:23 -04:00
Andrew Mirsky
9396feee1a
docker file for building image
2025-06-07 12:21:15 -04:00
Andrew Mirsky
80016d8cca
Merge pull request #191 from ajmirsky/add_test_coverage
...
Add test coverage
2025-06-05 11:32:05 -04:00
Andrew Mirsky
d739217162
fixes #116 : adding reason message to task cancellation on lost connection
2025-06-05 08:24:13 -04:00
Andrew Mirsky
4ddc4c7474
Merge pull request #194 from ajmirsky/issues/55
...
add `ruff` to ci.yaml
2025-06-04 10:38:31 -04:00
Andrew Mirsky
26c400ea10
Merge pull request #192 from ajmirsky/issues/159
...
fixes Yakifo/amqtt#159 : 'will' topic docs and tests
2025-06-04 10:38:17 -04:00
Andrew Mirsky
9d3d9bd7e2
using 'n' messages to force amqtt_sub to exit, instead of SIGINT which seems to cause the process to force quit instead of causing a keyboard interupt
2025-06-03 18:29:13 -04:00
Andrew Mirsky
2dc6f1b712
pre-commit checks shouldn't apply _fixes_ automatically
2025-06-03 13:17:35 -04:00
Andrew Mirsky
248ef13536
fixes Yakifo/amqtt#55 : match ci checks with pre-commit checks (ruff added to ci)
2025-06-03 13:13:50 -04:00
Andrew Mirsky
dd666811a5
increasing timeout for longer running cli tests, adding asyncio wrapper on test_client test
2025-06-03 11:55:03 -04:00
Andrew Mirsky
69a1052382
fixes Yakifo/amqtt#157 : get_event_loop is deprecated, replacing with asyncio.run and new_event_loop (where applicable)
2025-06-03 11:42:50 -04:00
Andrew Mirsky
031ce83107
removing unneeded import
2025-06-03 11:15:48 -04:00
Andrew Mirsky
eebec2e604
adding documentation for additional client configuration options
2025-06-03 11:11:07 -04:00
Andrew Mirsky
1752895a39
fixes Yakifo/amqtt#159 : tests/test_client.py::test_client_publish_will_with_retain
2025-06-03 10:58:56 -04:00
Andrew Mirsky
2683e0772e
Merge pull request #182 from ajmirsky/qos_test_cases
...
Fixing QoS test cases
2025-06-02 23:34:04 -04:00
Andrew Mirsky
f049ee2931
python 3.10 still differentiates between asyncio.TimeoutError and the built-in TimeoutError
2025-06-02 23:32:39 -04:00
Andrew Mirsky
76661e4625
Merge pull request #190 from ajmirsky/test_paho
...
resolve #170 . add tests to verify compatibility with paho-mqtt library
2025-06-01 11:17:52 -04:00
Andrew Mirsky
b30a52386f
Merge branch 'rc' into test_paho
2025-06-01 11:12:46 -04:00
Andrew Mirsky
0f632f9901
Merge pull request #189 from ajmirsky/plugin_cleanup
...
plugin interface and documentation updates
2025-06-01 11:10:58 -04:00
Andrew Mirsky
1456cc5e2d
Merge pull request #186 from ajmirsky/mypy16
...
Upgrade to mypy 1.16
2025-06-01 11:10:42 -04:00
Andrew Mirsky
371e76fb30
adding test to cover adapter base classes. adding test for BrokerSysPlugin
2025-06-01 11:09:40 -04:00