Wykres commitów

286 Commity (issues/232)

Autor SHA1 Wiadomość Data
Andrew Mirsky d359ad4375
Merge branch '0.11.1-rc' into issues/232 2025-06-25 19:54:53 -04:00
Andrew Mirsky 0973c63a34
Merge pull request #227 from ajmirsky/issues/225
update sample files
2025-06-25 19:11:58 -04:00
Andrew Mirsky 4ee3ece28b
fixes Yakifo/amqtt#232 : adding system metrics about the broker to the 2025-06-25 17:56:53 -04:00
Andrew Mirsky e0cb182957
broker_simple.py has different exit messages depending on python version 2025-06-17 18:32:35 -04:00
Andrew Mirsky 9ba7c8019b
test case fix and show debug message on failure 2025-06-17 18:22:32 -04:00
Andrew Mirsky 29e5a74dbc
fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -04:00
Andrew Mirsky b7ccc458e9
moving base classes for auth and topic plugins into common file 2025-06-17 12:53:37 -04:00
Andrew Mirsky 2828a171d7
removing tests due to unreliable external access 2025-06-16 10:13:33 -04:00
Andrew Mirsky c6a7715ddc
fixes Yakifo/amqtt#35 : gather event callbacks upon plugin load so don't have to check all plugins on every fire_event 2025-06-15 20:17:40 -04:00
Andrew Mirsky 3d6e7a8364
added tests for plugin events and broker sys topics 2025-06-15 19:27:47 -04:00
Andrew Mirsky a5487b5cef
Merge branch 'rc' into event_strenum 2025-06-15 10:35:31 -04:00
Andrew Mirsky 99a9594e9f
creating MQTTEvents enumeration instead of individual string names. consolidating into a single file to eliminate import errors 2025-06-15 10:21:41 -04:00
Andrew Mirsky efd8c15375
removing xfail 2025-06-15 06:31:48 -04:00
Andrew Mirsky 012a744b66
removing xfail from test_sys 2025-06-15 06:29:25 -04:00
Andrew Mirsky b0cf416c36
using a strenum instead of enum. creating events as well as client/broker events as well 2025-06-14 21:28:00 -04:00
Andrew Mirsky 4729166d99
lint fix 2025-06-14 15:39:39 -04:00
Andrew Mirsky 364273e684
marking test for broker sys plugin as xfail, because it fails on github workflow but not locally 2025-06-14 15:28:46 -04:00
Andrew Mirsky aace4d65f7
Merge pull request #212 from ajmirsky/plugin_call_optimization
reduce call logic for plugin coros: authenticate, topic_filtering, close
2025-06-14 10:19:39 -04:00
Andrew Mirsky 6b00521ca7
Merge branch 'rc' into issues/199 2025-06-14 10:14:40 -04:00
Andrew Mirsky 54af134832
Merge pull request #203 from ajmirsky/issues/51
fixes Yakifo/amqtt#51 : plugins which fail to import or initialize
2025-06-14 10:11:34 -04:00
Andrew Mirsky 90167d060f
Merge branch 'rc' into issues/199 2025-06-14 10:08:34 -04:00
Andrew Mirsky 101e32af64
Merge branch 'rc' into issues/154 2025-06-14 10:03:09 -04:00
Andrew Mirsky 67fd2970ab
Merge pull request #201 from ajmirsky/issues/67
clarifying reason for `ClientError`
2025-06-14 10:01:06 -04:00
Andrew Mirsky bc44f170ba
Merge branch 'rc' into issues/67 2025-06-14 09:56:01 -04:00
Andrew Mirsky e2842dd7e5
Merge pull request #202 from ajmirsky/issues/86
verify that issue #86 has been fixed
2025-06-14 09:53:42 -04:00
Andrew Mirsky 532c8118e6
Merge branch 'rc' into issues/51 2025-06-14 09:51:42 -04:00
Andrew Mirsky b72c7d4f28
Merge branch 'rc' into plugin_call_optimization 2025-06-14 09:51:12 -04:00
Andrew Mirsky 18ad76bcd3
Merge pull request #213 from ajmirsky/event_strenum
Create `StrEnum` for the broker events
2025-06-14 09:47:19 -04:00
Andrew Mirsky 5a4fb993b7
Merge branch 'rc' into issues/154 2025-06-14 09:44:43 -04:00
Andrew Mirsky d69a14c06a
Merge branch 'rc' into issues/154 2025-06-14 09:40:38 -04:00
Andrew Mirsky 89a0b88491
Merge pull request #211 from ajmirsky/issues_210
fixes amqtt/Yakifo#210 :
2025-06-14 09:39:22 -04:00
Andrew Mirsky 3c07a39877
Merge remote-tracking branch 'source/rc' into event_strenum 2025-06-14 09:38:44 -04:00
Andrew Mirsky 038fee7cf4
remove test_sys 2025-06-14 09:26:55 -04:00
Andrew Mirsky 51102a435b
converting from event strings to a string enumeration 2025-06-13 16:17:22 -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 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 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 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 80016d8cca
Merge pull request #191 from ajmirsky/add_test_coverage
Add test coverage
2025-06-05 11:32:05 -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