Florian Ludwig
3c5256e50f
remove tracking from docs
2021-03-13 18:28:01 +01:00
Florian Ludwig
e829bfd353
update changelog
2021-03-13 18:28:01 +01:00
Florian Ludwig
97a9d4715a
update gitignore
2021-03-13 18:28:01 +01:00
Florian Ludwig
a4655ddf25
tox and travis are not used anymore
2021-03-13 18:28:01 +01:00
Florian Ludwig
6f47441fdd
cleanup versioning system
2021-03-13 17:02:50 +01:00
Florian Ludwig
836fa0e049
prepare 0.10.0 release
2021-03-13 17:02:50 +01:00
Stein Magnus Jodal
b85774439e
Move scripts module into hbmqtt module
...
Fixes #166
2021-03-13 15:58:25 +01:00
Florian Ludwig
a19f37dac7
setup coveralls
2021-03-13 15:57:39 +01:00
Florian Ludwig
71a2713ef2
update copyright
2021-03-13 15:57:29 +01:00
Florian Ludwig
2c5404c521
fixup
2021-03-13 15:57:29 +01:00
Florian Ludwig
ddd413687e
README update
2021-03-13 15:57:29 +01:00
Florian Ludwig
4a9594e6f3
fix TopicTabooPlugin for anonymous users
...
Thanks to https://github.com/JNevrly
See also https://github.com/beerfactory/hbmqtt/pull/151
2021-03-10 10:20:22 +01:00
Girts Folkmanis
7cd230e6b2
Pass in loop to PluginManager
...
If `loop` is passed to `MQTTClient`, previously it was not passed down
to `PluginManager`, which could potentially grab a different loop from
`asyncio.get_event_loop()`, resulting in a separate event loop being
created or wrong one being used. Now the `loop` argument is passed down
as expected.
2021-03-10 10:09:10 +01:00
Florian Ludwig
ab2084190e
install pytest-asyncio in CI
2021-03-09 19:13:32 +01:00
Florian Ludwig
f439ccd1b1
reaplce some more assertEqual
2021-03-09 19:13:32 +01:00
Florian Ludwig
7c56c9caba
migrate test_client to pytest
2021-03-09 19:13:32 +01:00
Florian Ludwig
7276075ed8
move broker into pytest fixture
2021-03-09 19:13:32 +01:00
Florian Ludwig
b430cc8487
replace assertTrue
2021-03-09 19:13:32 +01:00
Florian Ludwig
5c58fcd59c
rework broker tests to use pytest-asyncio
2021-03-09 19:13:32 +01:00
Florian Ludwig
c631cc7895
run tests for python 3.8 and 3.9
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
1e11e30457
add python3.9 to supported version
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
0e594582d1
add python3.8 to environment
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
30582f4cac
Revert "Fixed critical bugs e.g., incorrectly retained messages on qos0, race conditions on detached sessions, eliminated set_exception on client disconnect tasks, a few debug log message isEnabledFor wrappers."
...
This reverts commit 1f5efd383f
.
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
7b7d17b789
fix async lock call
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
6f586c253c
Fix missing plugin property
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
080a358dd7
Patch MagicMock to asyncronize
2021-03-09 19:13:32 +01:00
Marius Kriegerowski
e0fabc0bc3
Refactor to comply python3.8
2021-03-09 19:13:32 +01:00
Florian Ludwig
bd58685028
mark failing tasts as allowed to fail
2021-03-08 21:08:35 +01:00
Marius Kriegerowski
aeee26f34b
Download mosquitto certificate on the fly
2021-03-01 17:40:57 +01:00
Florian Ludwig
fba07fcc35
drop support for 3.4 and 3.5
2021-03-01 17:29:24 +01:00
Marius Kriegerowski
54c0eb8ec7
Create python-package.yml
2021-02-27 22:29:19 +01:00
Nicolas
07c4c70f06
Merge pull request #213 from shipmints/misc-fixes
...
Misc fixes
2020-04-10 20:47:06 +04:00
shipmints
304c731831
Another asyncio fix to properly handle CancelledError as normal (and reraise) vs. exception
2020-04-02 11:34:46 -04:00
shipmints
1f5efd383f
Fixed critical bugs e.g., incorrectly retained messages on qos0, race conditions on detached sessions, eliminated set_exception on client disconnect tasks, a few debug log message isEnabledFor wrappers.
2020-04-01 15:09:09 -04:00
shipmints
31165fb0e8
asyncio correctness and race-condition tweaks
2020-02-22 07:30:34 -05:00
shipmints
6d6dd997f1
Asyncio fixes
2020-02-20 10:46:29 -05:00
shipmints
69e3e0bc5b
Slight enhancement to client_tasks.pop() in cancel tasks and disconnect logic.
2020-02-17 14:56:59 -05:00
Nicolas
4f5f19aac3
Merge pull request #204 from shipmints/fix-mem-leaks
...
Corrected memory leak of task refs in client deliver_message on timeo…
2020-02-17 20:43:00 +04:00
shipmints
138313a3eb
Corrected memory leak of task refs in client deliver_message on timeout causing client_tasks to grow forever, in plugin/manager causing _fired_events to grow forever
2020-02-14 20:36:17 -05:00
Nicolas
f76be85a0a
prepare next version
2020-01-25 18:14:20 +04:00
Nicolas
f81de68aed
release
2020-01-25 18:08:07 +04:00
Nicolas
87ac03be92
Merge pull request #194 from ntoonio/master
...
Getting peer address with self._protocol.remote_address in WebSocketsWriter
2020-01-25 17:59:00 +04:00
Anton Lindroth
b0505ff093
Getting peer address with self._protocol.remote_address in WebSocketsWriter.get_peer_info
2019-11-28 07:30:27 +01:00
Nicolas
fc462d12bb
Merge pull request #189 from jeeger/reuseaddr
...
Enable reuse_address by default.
2019-09-18 18:13:07 +04:00
Jan Seeger
d8450e9922
Enable reuse_address by default.
2019-08-06 17:06:22 +02:00
Nicolas
4d44a056fa
Merge pull request #186 from agebhar1/feature/PyYAML5
...
fix PyYAML warning on call of `yaml.load(…)`
2019-07-28 12:29:12 +02:00
Nicolas
3f8c994f58
Merge pull request #183 from andvikt/master
...
Added cancel pending tasks coro
2019-07-28 12:28:26 +02:00
Andreas Gebhardt
f8751ca94b
fix PyYAML warning on call of `yaml.load(…)`
...
Since PyYAML v5.1 a warning on deprecation is printed:
> YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
> as the default Loader is unsafe. Please read https://msg.pyyaml.org/load
> for full details.
Use the `FullLoader`s suggared variant `yaml.full_load` according to the
documentation [1] if it's present. Then it's assumed that PyYAML >= v5.1 is
used.
[1] https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation#how-to-disable-the-warning
2019-06-30 20:03:49 +02:00
andvikt
8a20cbe0c7
Update client.py
...
python 34 support
2019-06-04 10:17:17 +03:00
Andrey Viktorov
99d76012ea
Added cancel pending tasks coro
2019-06-03 22:42:19 +03:00