Ryan Parry-Jones
08028ebef8
Update amqtt/mqtt/protocol/handler.py
...
Co-authored-by: not-f-elsner <123899677+not-f-elsner@users.noreply.github.com>
2023-02-27 18:52:11 +01:00
Ryan Parry-Jones
2acca01df5
Update amqtt/mqtt/protocol/handler.py
...
Co-authored-by: not-f-elsner <123899677+not-f-elsner@users.noreply.github.com>
2023-02-27 18:52:11 +01:00
rparry-jones
d0eb64dc19
#126
...
- Updated protocol handlers to more reliably remove active waiters when task cancellation occurs
- Fixed checks where expecting a KeyError when it should be checking if not None
- Updated next_packet_id property to correctly check if there are any packet_ids available. Avoids infinite loop if all packet ids are used.
2023-02-27 18:52:11 +01:00
Marius Kriegerowski
1a2812c5fc
Merge pull request #114 from Yakifo/bugfix/server-connection-release
...
Bugfix/server connection release
2023-02-11 15:55:10 +01:00
Marius Kriegerowski
1aa84e28a4
move psutil to dev dependencies
2023-02-11 15:53:13 +01:00
Marius Kriegerowski
7fcdb0c13b
broker: release server connection upon exception
2023-02-11 15:53:13 +01:00
Marius Kriegerowski
4944b0deae
unit testing tcp connection to the broker
2023-02-11 15:53:06 +01:00
Florian Ludwig
7b2088bcd6
release 0.10.0-beta
2023-02-09 14:16:20 +01:00
Fabian Elsner
3912564bf1
Fixup python compatibility declaration
2023-02-09 13:49:38 +01:00
Florian Ludwig
fda35f3e18
chore: prepare release 0.11.x
2023-02-09 13:49:38 +01:00
Fabian Elsner
3bf29cff4c
Cleanup running task before shutdown
2023-02-09 12:42:48 +01:00
Fabian Elsner
96e89fb37f
Fix test for Python 3.7
2023-02-09 12:42:48 +01:00
Fabian Elsner
d438202610
Inverse excepts for more accurate log message in Python 3.7
2023-02-09 12:42:48 +01:00
Fabian Elsner
a6b54a9dd5
Reduce log level from warning to info
2023-02-09 12:42:48 +01:00
Fabian Elsner
d03dea0d05
Only log debug messages when enabled
2023-02-09 12:42:48 +01:00
Fabian Elsner
604c45ca7a
Added test for broadcast loop cancellation
2023-02-09 12:42:48 +01:00
Fabian Elsner
85e3320da5
Fix task cancellation breaking broadcast loop
...
- Differentiate between broadcast shutdown and task cancellation
- Minor refactor to make the code more readable
- Improved and simplified logging
2023-02-09 12:42:48 +01:00
Marius Kriegerowski
19960e62df
check if _disconnect_waiter is None when closing connection
2022-11-29 10:03:44 +01:00
Marc Billow
09ac98d39a
Handle cleanup on close
2022-05-29 18:14:32 +02:00
Marc Billow
b4a27c97b6
Implement client take-over
2022-05-29 18:14:32 +02:00
Florian Ludwig
63ecb375db
Update readme to mention 0.10.1 release
2022-04-29 17:11:14 +02:00
Florian Ludwig
c418ba38a2
Improve overview of release branches
2022-04-28 16:49:33 +02:00
Florian Ludwig
0ecd4342ef
Also run GitHub Actions on v0.10.x branch
2022-04-27 11:52:45 +02:00
Robert Resch
efddec98ca
run pre-commit on all files
2022-04-17 12:28:23 +02:00
Robert Resch
1d6acb9934
remove deprecated/not used loop argument
2022-04-17 12:27:54 +02:00
Robert Resch
f95f97be01
fix passing coroutine to asyncio.wait
2022-04-17 12:27:02 +02:00
Robert Resch
c88bd0887d
fix error when stop is called multiple
2022-04-17 12:27:02 +02:00
Robert Resch
1fc0cc8d3d
fix deprecation warning
2022-04-17 12:27:02 +02:00
Robert Resch
af57ee3ebd
no need for asyncio.wait
2022-04-17 12:27:02 +02:00
Pierre-Luc Bertrand
fcba3b6132
Refactor topic_checking to simplify booleans
2022-04-17 12:24:56 +02:00
Rémi Cardona
a3f982c4d2
allow connections with username only
...
Section [MQTT-3.1.2-22] of the MQTT 3.1.1 only says that a password cannot be
given without a user. The reverse should be allowed. Fixes #79 .
2022-04-17 12:05:25 +02:00
Robert Resch
f71b99b086
don't filter topics if its explicit disabled
2022-04-14 17:35:02 +02:00
plbertrand
33486d110f
Fix executable names
...
The executables have been renamed. This fixes the name in the documentation.
2022-03-28 00:05:09 +02:00
Florian Ludwig
ecf64a4f82
python pre 3.9 compatibily
2022-02-06 14:42:51 +01:00
Florian Ludwig
42be5c145c
reformat with black
2022-02-06 14:42:51 +01:00
Florian Ludwig
e517622319
move flake9 config into separate file and ignore all style checks
2022-02-06 14:42:51 +01:00
Robert Resch
1bc2e06be2
fix flake8 error
2022-02-06 14:42:51 +01:00
Robert Resch
5181289d2b
improve has_attr plugin tests
2022-02-06 14:42:51 +01:00
Florian Ludwig
0c993565b5
add changelog
2022-02-06 14:42:51 +01:00
Florian Ludwig
d43b36f90c
throw exception instance not class and add test
2022-02-06 14:42:51 +01:00
Florian Ludwig
d50c1e25c9
0.11 changelog
2022-02-04 18:16:01 +01:00
Robert Resch
635e3adf5b
fix EventLoggerPlugin.__getattr__
2022-02-04 18:04:05 +01:00
Marc Mueller
3f05d35483
Remove fallback to yaml.load
...
* yaml.full_load was added in PyYAML 5.1, required is >=5.4
2022-01-30 22:03:38 +01:00
Marc Mueller
10c6575f02
Update dependencies
2022-01-30 22:03:38 +01:00
Joe Keenan
9e1056080b
Remove leading slashes from example topics
...
Use of a leading slash is not best practice and should not appear in examples.
2022-01-30 21:57:09 +01:00
Marius Kriegerowski
8961b8fff5
fix poetry path
2022-01-11 12:55:04 +01:00
Marius Kriegerowski
3467f710b4
install poetry from python-poetry.org
2022-01-11 12:55:04 +01:00
Florian Ludwig
87524cf6bb
run CI with python 3.10
2022-01-11 12:55:04 +01:00
Florian Ludwig
9628a1ce3e
remove deprecated loop parameter from tests
2022-01-11 12:55:04 +01:00
Florian Ludwig
035cd6267b
run black
2022-01-11 12:55:04 +01:00