Wykres commitów

77 Commity (5a241d77392d304ed2bec4bfcce9f840d6a79b0a)

Autor SHA1 Wiadomość Data
Thinh Nguyen 5a241d7739 Only setting session username/password if it is not already set. This is to prevent failures when the broker is reconnecting without username/password 2018-10-29 13:55:09 +11:00
Richard Kojedzinszky deeae6a230 MQTTClient: init should not overwrite global defaults 2018-09-22 14:28:31 +02:00
Nicolas 1af9e7f99c
Merge pull request #139 from gdraynz/py37
python3.7 support
2018-07-16 21:06:44 +02:00
Richard Kojedzinszky 44479b73b9 Handle no more reconnect case in mqtt_connected decorator
Fixes #140
2018-07-05 21:29:07 +02:00
Guillaume Desvé 31888f8e69 python3.7 support 2018-06-29 15:56:27 +02:00
krh 75a85d1ea4 Import InvalidHandshake from 'websockets.exceptions' not 'websockets.handshake', since websockets 5.0 no longer provides that alias. 2018-05-22 11:28:43 -07:00
Vegard Storheil Eriksen 7df731790a Re-raise exception from deliver_task in MQTTClient.deliver_message().
deliver_task will raise a ClientException to signal a connection loss.
Passing it on to the caller instead of silently ignoring it lets the
caller handle the connection loss. Exiting the function early also
avoids an IndexError when trying to pop from client_tasks.

Fixes #106
2018-02-13 23:58:48 +01:00
mi3z 47e37404fd TLS connections can be established by default with system certificates to publish domains (for example to 'mqtts://iot.eclipse.org') - the client only requires cafiles if the broker provides self signed certificates 2017-11-22 10:40:20 +01:00
Nguyễn Hồng Quân 04098b7ba8 Fix the Client doc 2017-10-18 17:54:19 +07:00
Guillaume Desvé 3fe4bacf02 Fix missing positional argument on 'cancel_tasks' 2017-10-10 16:19:37 +02:00
Stein Magnus Jodal 559c18f681 flake8: Fix all F403, F405, F821 import warnings 2017-08-07 01:23:21 +02:00
Stein Magnus Jodal 6435e4239c flake8: Fix all F401 unused imports warnings 2017-08-07 01:23:21 +02:00
Stein Magnus Jodal 177bfb627c flake8: Fix all E1xx indentation warnings 2017-08-07 01:23:21 +02:00
Stein Magnus Jodal ed676945b4 flake8: Fix all Wxxx whitespace and newline warnings 2017-08-07 01:23:21 +02:00
Stein Magnus Jodal df2c9b8a43 flake8: Fix all E3xx newline warnings 2017-08-07 01:23:20 +02:00
Stein Magnus Jodal a89e744a47 Change deprecated warn() to warning() 2017-07-26 14:06:17 +02:00
Nicolas cd58d1dabc Fix #60 2017-06-02 21:41:17 +02:00
Nicolas 0dbef5005a Fix #74
set_exception only for not done tasks.
2017-06-02 21:37:10 +02:00
dansheme 605747723d fixed issues while using non default async loop 2017-03-12 15:50:28 +02:00
cfchou 5a2830b6f8 disables verification of the server hostname in the server certificate 2016-09-22 16:39:14 +08:00
Nicolas b7401443c8 Fix #40 and add test cases 2016-05-31 21:40:10 +02:00
Nicolas e9b806348e Fix #32 2016-04-10 23:02:10 +02:00
Nicolas dd04b44a57 Fix timeout management on message delivery 2016-04-10 21:46:52 +02:00
Nico 82985b6f1c Improve documentation 2015-11-13 22:07:58 +01:00
Nico 35c48ff9a8 Improve documentation 2015-11-12 22:57:00 +01:00
Nico 6c0657b438 Documentation update 2015-11-11 22:40:38 +01:00
Nico 263d86f942 Docstring 2015-11-08 20:46:58 +01:00
Nico c4e58669e9 Fix task cleanup when connection closed 2015-11-04 22:11:13 +01:00
Nico 8dab60a444 Add support for both Python 3.4 and 3.5 2015-11-01 21:27:33 +01:00
Nico 4dcf8eb477 Revert to 3.4 coroutine syntax 2015-11-01 15:58:20 +01:00
Nico daf53b83a5 Fix assert position 2015-10-31 14:28:41 +01:00
Nico 52e3160995 #HBMQTT-35
Refactor yield from -> await
2015-10-16 22:13:37 +02:00
Nico d1a5cdc2c1 fix result 2015-10-10 22:25:13 +02:00
Nico 3acec1d606 Add broker test class + fixes in both client and broker connection management 2015-10-07 22:42:04 +02:00
Nico 53b7168c1c Forgot to return return_code 2015-10-03 21:46:52 +02:00
Nico 44640a64f6 MQTTClient coroutine are now decorated with a wait connected event 2015-09-29 22:19:20 +02:00
Nico 20a43e5b25 Refactored client connection
allow auto-reconnect
2015-09-29 21:54:09 +02:00
Nico 8bafbeb0f2 remove unused 2015-09-27 21:17:12 +02:00
Nico 01628e25a6 Fix port init. 2015-09-27 21:16:55 +02:00
Nicolas Jouanin 8d20a3d95d Remove unused test and add return value to publish() 2015-09-10 22:40:30 +02:00
nico 29cb2600f3 HBMQTT-34
Rewrite URI when using websocket to remove username and password from netloc.
2015-09-08 14:19:40 +02:00
Nicolas Jouanin 60cc2da745 Refactoring 2015-09-06 22:23:06 +02:00
Nicolas Jouanin 15cea7e9fa Fix exception when connection is refused 2015-08-29 21:19:38 +02:00
Nicolas Jouanin e4a2097499 Add missing loop arguments
HBMQTT-28
2015-08-20 22:12:33 +02:00
Nicolas Jouanin 3147dee4bd Change context init 2015-08-20 21:54:23 +02:00
Nicolas Jouanin a17ae34361 Rename plugin namespace 2015-08-20 21:42:31 +02:00
nico 90fb11ad8c Fix missing class 2015-08-20 14:07:14 +02:00
Nicolas Jouanin db79e460d3 Add session to event fired 2015-08-18 20:56:06 +02:00
Nicolas Jouanin 18cba2f53d Add packet logger plugin 2015-08-17 23:15:40 +02:00
Nicolas Jouanin fd6ed3c42c Fix error handling if broker can't be connected
HBMQTT-24
2015-08-12 18:46:56 +02:00