Wykres commitów

1333 Commity (revert-274-broker_script_logging)

Autor SHA1 Wiadomość Data
Andrew Mirsky d3635e4b2c
Merge pull request #184 from ajmirsky/rebase/106
Add exception stack traces to logging
2025-05-29 13:25:04 -04:00
Andrew Mirsky c95f20d76e
Merge branch 'rc' into rebase/106 2025-05-29 13:22:40 -04:00
Andrew Mirsky 52faed680b
Merge pull request #181 from ajmirsky/issue/180
fix: $SYS broker stats plugin, topics
2025-05-29 13:20:36 -04:00
Andrew Mirsky ab117d61d8
Merge pull request #168 from ajmirsky/replace_docopts
replace `docopt` with `typer`
2025-05-29 13:16:49 -04:00
Andrew Mirsky 28edc4938e
Merge pull request #167 from ajmirsky/add_python310_support
Add support for python 3.10, 3.11, 3.12
2025-05-29 13:16:25 -04:00
Andrew Mirsky 55033db996
updating title 2025-05-28 09:35:03 -04:00
Andrew Mirsky bb9c92537f
lint fixing. and make sure the client is loading the correct default file 2025-05-28 09:29:07 -04:00
Andrew Mirsky a3de71930c
adding favicon, broker and client config documents. 2025-05-28 08:39:02 -04:00
Andrew Mirsky bffee5916b
consolidating configuration documentation for both broker and client. including making sure there's consistency in default configuration 2025-05-28 07:45:12 -04:00
Andrew Mirsky 4975349604
adding support page into the documentation. adding hatch into the dev dependencies for package build. adding poe to help with running script commands (requires 'uv run poe') but still allows common commands to be run easier. 2025-05-27 10:37:10 -04:00
Andrew Mirsky 97436e5dcd
resolve #170. add tests to verify compatibility with paho-mqtt library 2025-05-26 16:49:57 -04:00
Andrew Mirsky b43583c954
reapplying any remaining stack traces to logging messages that weren't already included in other updates 2025-05-26 11:27:42 -04:00
Andrew Mirsky ec31def92c
enhancing the 'test_init_handler' case so that it checks to make sure that the ProtocolHandler defaults to the correct loop. 2025-05-26 10:46:11 -04:00
Andrew Mirsky 5c5305baa6
while the explicit close to the asyncio.open_server docs say that you need to close the writer to have it properly exit, it seems that only python 3.12 requires the explicit close 2025-05-26 09:03:51 -04:00
Andrew Mirsky 508f42ac30
reverting changes needed for debug 2025-05-26 08:49:06 -04:00
Andrew Mirsky a7f2ae5746
test_init_handler: protocolhandler gets the current loop, if not provided and self.loop isn't the current loop, it's a new loop; ProtocolHandler.__init__: handler was using the session's keepalive, even though if the keepalive is zero, it needs to bypass 2025-05-26 08:48:10 -04:00
Andrew Mirsky 255e38a947
adding debug statements to determine root cause of qos failures 2025-05-25 12:44:54 -04:00
Andrew Mirsky 00cebb6a23
update script help messages 2025-05-23 10:57:44 -04:00
Andrew Mirsky 9a9dac2135
clean up of mkdocs configuration. update docstrings for 'BaseAuthPlugin' and 'BaseTopicPlugin' as well as adding guides for using existing plugins and/or developing new plugins 2025-05-22 18:24:51 -04:00
Andrew Mirsky c6abe5adeb
fixing client docstrings. plugin documentation expanded. 2025-05-22 15:24:13 -04:00
Andrew Mirsky 72bb2f3e91
fix: $SYS topics `uptime` and `uptime/formatted` were incorrect
Fixes #180
2025-05-22 13:34:58 -04:00
Andrew Mirsky 08091db2a8
adding page for plugin 2025-05-22 13:20:49 -04:00
Andrew Mirsky 120ba1d699
updating client documentation by converting rst format into google docstring params, including examples from reference file 2025-05-21 21:59:12 -04:00
Andrew Mirsky 0ad46ef783
update to amqtt logo. revisions to amqtt docs 2025-05-21 12:37:02 -04:00
Andrew Mirsky b8ac2b3b9a
using the README file as the index overview 2025-05-21 11:46:46 -04:00
Andrew Mirsky 9e13cb9da4
convert rst files to md 2025-05-21 09:53:46 -04:00
Andrew Mirsky 335e0e20d1
initial conversion from sphinx to mkdocs 2025-05-20 20:57:08 -04:00
Andrew Mirsky 47765b437b
updating documentation, cleanup broken links. overhaul of the quickstart guide. 2025-05-20 19:40:56 -04:00
Andrew Mirsky 6afe0cddbb
disabling color output 2025-05-20 12:43:39 -04:00
Andrew Mirsky 82fe0f0ca1
disable colorized cli output for test_cli 2025-05-20 12:38:17 -04:00
Andrew Mirsky 0a50ff02ce
use 'Self' from typing_extensions to support python 3.10. add cli checks for publisher for required 'will' options. update cli test for pub/sub retain 2025-05-20 12:26:22 -04:00
Andrew Mirsky 0401220c38
turn cli exceptions into error message and error codes. added cli tests 2025-05-19 14:23:51 -04:00
Andrew Mirsky bb3ec6e683
typer uses a syntax that disagrees with B008, added lint bypass for this case 2025-05-19 13:15:22 -04:00
Andrew Mirsky 582f8b16c7
Merge branch 'add_python310_support' into replace_docopts 2025-05-19 13:09:20 -04:00
Andrew Mirsky 7af3709750
fixing typo 2025-05-19 12:54:00 -04:00
Andrew Mirsky 8a91c0fab0
pylint fi 2025-05-19 12:50:34 -04:00
Andrew Mirsky 1f2f7a1f79
since the amqtt broker (and MQTT 3.1) requires that that a CONNECT packet be received for a valid socket connection, need to send one (See BrokerProtocolHandler.init_from_connect) otherewise, the connection is immediately closed. asyncio's behavior in python 3.10, 3.11 & 3.13 seems to defer processing the 'read_or_raise' from the socket. however, python 3.12 prioritizes the 'read_or_raise' in the loop so it, triggers a NoDataError, terminating the socket before we can verify in the test. 2025-05-19 12:45:45 -04:00
Andrew Mirsky f6bb6b0497
replacing amqtt broker's use of 'docopts' with 'typer' 2025-05-18 13:34:34 -04:00
Andrew Mirsky 387878d8e8
replacing amqtt subscriber's use of 'docopts' with 'typer' 2025-05-18 13:19:04 -04:00
Andrew Mirsky 7255561b09
replacing amqtt publisher use of 'docopts' with 'typer' 2025-05-18 11:12:14 -04:00
Andrew Mirsky d39bd2ec5c
adding support for python 3.10-3.12 in ci. fixing pylint errors 2025-05-17 14:22:32 -04:00
Andrew Mirsky a919ef344b
Merge remote-tracking branch 'origin/add_python310_support' into add_python310_support 2025-05-17 14:08:52 -04:00
Andrew Mirsky 6cbc18d966
lint and mypy cleanup and exceptions due to the need to support imports from different locations depending on python version 2025-05-17 14:06:37 -04:00
Andrew Mirsky f171fe9a8f
lint and mypy cleanup and exceptions due to the need to support imports from different locations depending on python version 2025-05-17 14:05:30 -04:00
Andrew Mirsky b982e4242a
Merge pull request #165 from MVladislav/main
Refactor and Enhancement of AMQTT Codebase
2025-05-17 13:35:36 -04:00
MVladislav 36697261ca
refactor: update _feed_buffer param info
Co-authored-by: Andrew Mirsky <andrew@mirsky.net>
2025-05-17 18:00:43 +02:00
MVladislav 5bee2a9af9
refactor: update pre-commit versions 2025-05-17 17:55:13 +02:00
MVladislav 2c4bfd55c1
refactor: update 'astral-sh/setup-uv' version 2025-05-17 17:54:49 +02:00
MVladislav e1ec9bb0f5
merge: pull request #6 from ajmirsky/beta4_to_rc1
resolving the merge conflicts `mvladislav/amqtt` and `Yakifo/amqtt`
2025-05-17 17:53:14 +02:00
MVladislav 4c90b878e2
refactor: Update README.rst
remove white-space
2025-05-17 17:50:46 +02:00