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
Andrew Mirsky
129aa60ec9
Merge branch 'beta4_to_rc1' into add_python310_support
2025-05-16 17:34:01 -04:00
Andrew Mirsky
da2af91ce4
fixing lint errors. removing mutually exclusive checks
2025-05-16 17:31:10 -04:00
Andrew Mirsky
c289ae9132
Merge branch 'main' into beta4_to_rc1
2025-05-16 17:25:09 -04:00
Andrew Mirsky
688f09a562
using 'typing_extensions' package and 'ImportError' fallbacks to support 3.10+
2025-05-16 14:21:16 -04:00
Andrew Mirsky
3e47e31f73
updating version
2025-05-16 13:56:58 -04:00
Andrew Mirsky
15e0e9a24e
cleaning up incorrect resolutions of merge conflicts
2025-05-16 13:56:00 -04:00
Andrew Mirsky
3cddea336e
merging up from 'origin/main' and resolving merge conflicts
2025-05-16 13:45:59 -04:00
MVladislav
613e532949
refactor: improve property accessors and enhance code readability across multiple modules
2025-04-06 19:58:20 +02:00
MVladislav
12d5cb6866
refactor: modularize broker listener startup and improve session management
...
- Extracted listener startup logic into a separate method `_start_listeners` for better readability and maintainability.
- Created helper methods for SSL context creation.
- Improved session cleanup during shutdown by centralizing logic in `_cleanup_session`.
- Refactored message handling and subscription management into dedicated methods for clarity.
- Updated tests to reflect changes in method visibility for matching topics.
2025-04-06 19:03:30 +02:00
MVladislav
3e0902cc8b
refactor: update base project confs
2025-04-04 21:06:41 +02:00
MVladislav
03979450ec
refactor: update .gitignore to include additional patterns and improve file exclusions
2025-04-04 19:22:11 +02:00
MVladislav
338ff39b17
chore: update version to 0.11.0-beta4, add clear_queues method, and improve resource management in PluginManager and BrokerProtocolHandler
2025-04-04 19:18:17 +02:00
MVladislav
7b8b949c46
fix( #0 ): update uv.lock
2025-04-01 20:22:21 +02:00