Wykres commitów

397 Commity (8dab60a4449518417acd604d6e5fd10e86170b0c)

Autor SHA1 Wiadomość Data
Nico 2d5d1c3d45 Add and fix QOS_0 message receive 2015-09-15 21:31:07 +02:00
Nico 2c60b3c1a0 Commit with test failure 2015-09-13 22:36:22 +02:00
Nico cf9e78e4bb move stop() method 2015-09-12 15:54:18 +02:00
Nico a5c34ed315 BufferWriter uses provided buffer 2015-09-12 15:28:05 +02:00
Nicolas Jouanin e3ac527924 implement QOS_2 handling 2015-09-12 14:16:22 +02:00
Nicolas Jouanin 9fe5e4e851 Remove unused 2015-09-12 14:15:59 +02:00
Nicolas Jouanin b4ffdf482a Fix tuple usage 2015-09-12 14:15:44 +02:00
Nicolas Jouanin 586b898c63 Remove writer coro + WIP for publish message protocol flow management 2015-09-11 22:39:47 +02:00
nico 785d363b2f Refactoring WIP 2015-09-11 13:54:14 +02:00
Nicolas Jouanin 2f3c143554 Refactor publish message sent acknowledgment management 2015-09-10 22:41:54 +02:00
Nicolas Jouanin 3c656ef95b remove state machine 2015-09-10 22:40:49 +02:00
Nicolas Jouanin 8d20a3d95d Remove unused test and add return value to publish() 2015-09-10 22:40:30 +02:00
Nicolas Jouanin a1c8655463 Change use of deprecated method 2015-09-10 21:34:45 +02:00
Nicolas Jouanin 866321ad22 Use OrderedDict implementation so list is iterated in the same order the elements were added 2015-09-10 21:34:18 +02:00
Nicolas Jouanin 8b3ca8cbbe add protocol_ts attribute which is initialized to current timestamp when a packet is read or written to the network. This is known as the protocol timestamp 2015-09-10 21:33:34 +02:00
nico 9996b289ff Add LoggingAdapter 2015-09-10 14:01:53 +02:00
nico a6f19c909b remove coroutine declaration for check_connect 2015-09-10 14:01:28 +02:00
nico beb3fd4400 Fix missing plugin call 2015-09-10 13:32:08 +02:00
Nicolas Jouanin 0cbbaa6763 Refactoring WIP 2015-09-09 23:01:11 +02:00
Nicolas Jouanin 5d6732b1ac remove packet_type from repr() as given by the class name 2015-09-09 22:29:55 +02:00
nico 008b99b5a4 Begin publish message management refactoring 2015-09-09 14:22:32 +02:00
nico 15468b7849 Improve handler stopping (remove wait delay when disconnecting) 2015-09-08 15:01:37 +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 a8c88b98af Refactoring 2015-09-03 22:20:31 +02:00
Nicolas Jouanin c3dc01daf3 Merge branch 'develop' of https://github.com/beerfactory/hbmqtt into develop 2015-09-03 21:26:44 +02:00
nico 7b79f56199 Add a method to facilitate access to packet data structure. 2015-09-03 16:48:11 +02:00
Nicolas Jouanin 313c4a367a Remove useless Task creation 2015-09-02 22:41:24 +02:00
Nicolas Jouanin fb6c2784bb rename waiters 2015-09-01 22:53:17 +02:00
Nicolas Jouanin bcf14ef6b8 subscription refactoring 2015-09-01 22:42:23 +02:00
Nicolas Jouanin 7df739acfe add persistence sample 2015-09-01 21:24:42 +02:00
Nicolas Jouanin 9dc217cf82 Add persistence plugin (WIP) 2015-08-31 22:37:01 +02:00
Nicolas Jouanin c8e0a4e356 Allow to filter auth plugins 2015-08-29 22:10:28 +02:00
Nicolas Jouanin 61cdc1a0d2 Implement anonymous and file auth plugin
HBMQTT-14
2015-08-29 21:25:59 +02:00
Nicolas Jouanin 15cea7e9fa Fix exception when connection is refused 2015-08-29 21:19:38 +02:00
Nicolas Jouanin 6e69726da8 Doc 2015-08-29 15:30:05 +02:00
Nicolas Jouanin d0e32610bd Add file auth plugin 2015-08-29 15:29:09 +02:00
Nicolas Jouanin 3f2a7fc8c8 Add plugin for checking if anonymous connection are authorized 2015-08-21 22:48:56 +02:00
Nicolas Jouanin d70e6437cf Fix coro call by name
Secure map calls if plugin method is not a coro
2015-08-21 22:42:59 +02:00
Nicolas Jouanin f1c4d2fe61 Fix logger usage 2015-08-21 21:43:54 +02:00
Nicolas Jouanin 2ff81f29bd Join logging plugins modules 2015-08-21 20:44:20 +02:00
nico 872ca87d4d Add model for authentication configuration 2015-08-21 14:45:01 +02:00
nico 933e0065fa map() accepts a filter_plugin argument which can be used to filter effective plugin called 2015-08-21 13:37:57 +02:00
nico b0007676fb map() method now returns a map of result
{plugin1: ret1, plugin2: ret2...} for each plugin called
2015-08-21 13:08:52 +02:00
Nicolas Jouanin 1dd0da9811 Call authentication plugins (WIP) 2015-08-20 23:02:32 +02:00
Nicolas Jouanin 688d9d0091 stylish 2015-08-20 22:29:54 +02:00
Nicolas Jouanin e4a2097499 Add missing loop arguments
HBMQTT-28
2015-08-20 22:12:33 +02:00
Nicolas Jouanin 654e665c96 Fix test 2015-08-20 21:57:44 +02:00
Nicolas Jouanin 3147dee4bd Change context init 2015-08-20 21:54:23 +02:00
Nicolas Jouanin 22c7ef674e Init plugin logger in context 2015-08-20 21:43:18 +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 995e240882 Add missing file 2015-08-19 23:26:35 +02:00
nico 1860038e87 TODO : Commit missing file 2015-08-19 13:54:31 +02:00
nico 97bb250427 Add wait paramter to fire_event 2015-08-19 13:54:09 +02:00
nico e653610875 Merge branch 'feature/plugin-manager' of https://github.com/beerfactory/hbmqtt into feature/plugin-manager 2015-08-19 13:12:26 +02:00
nico bf4295ccdb Add comment for wait parameter 2015-08-19 13:12:19 +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 913dd77134 fix typo 2015-08-17 23:13:40 +02:00
Nicolas Jouanin d2d1a9f975 Change formating 2015-08-17 21:54:53 +02:00
Nicolas Jouanin 6b03106c1c minor fixes 2015-08-17 21:52:13 +02:00
Nicolas Jouanin 848aaf8438 Add EventLoggingModule 2015-08-17 21:52:00 +02:00
Nicolas Jouanin e44c0b32df PEP8 2015-08-17 21:31:23 +02:00
nico c9c47cda56 add pre/post start/shudown events firing 2015-08-17 14:18:18 +02:00
nico c448841ea6 Add BaseContact
override exported symbols (__all__)
2015-08-17 14:17:54 +02:00
nico e018b2a723 Add plugin managers cache 2015-08-17 13:33:19 +02:00
Nicolas Jouanin a732a5ee72 Implement core PluginManager 2015-08-16 21:37:18 +02:00
nico d2142644b7 Move protocol_name testing to broker 2015-08-14 14:25:24 +02:00
Nicolas Jouanin a54e7dc773 Bump to 0.6 2015-08-13 21:45:08 +02:00
Nicolas Jouanin 77cdb1f226 Bump version 2015-08-13 21:39:16 +02:00
Nicolas Jouanin aa92884b7d Fix missing refactoring
HBMQTT-26
2015-08-13 21:30:32 +02:00
Nicolas Jouanin 0ce7bea6ef Disable $SYS when 'sys_interval' is set to 0 (required) for paho tests
HBMQTT-26
2015-08-13 21:30:09 +02:00
Nicolas Jouanin 3e614fa1df Fix missing attribute rename 2015-08-12 20:21:06 +02:00
Nicolas Jouanin e8720a0c5f bump to next version 2015-08-12 18:59:33 +02:00
Nicolas Jouanin d6c8de71ae Bump version 2015-08-12 18:57:37 +02:00
Nicolas Jouanin fd6ed3c42c Fix error handling if broker can't be connected
HBMQTT-24
2015-08-12 18:46:56 +02:00
Nicolas Jouanin 74a66632cf connect() method returns a Future which has result set if the session is disconnected from the broker. 2015-08-11 22:20:03 +02:00
Nicolas Jouanin 1e563ee257 Move writer.close() after writer_coro is done 2015-08-11 22:15:02 +02:00
Nicolas Jouanin 92a2b50a8c Rename transitions machine 2015-08-11 21:07:38 +02:00
Nicolas Jouanin 0077c61943 Test client reconnection (and messages buffering while connection lost) 2015-08-10 23:17:22 +02:00
Nicolas Jouanin b14cd1b5a4 Close writer sooner on handler stop to stop reader_coro 2015-08-10 22:05:30 +02:00
Nicolas Jouanin 43de5e4b4c Remove verbose debug messages 2015-08-10 22:05:03 +02:00
Nicolas Jouanin 4d5074aced Implement basic $SYS tree 2015-08-10 21:30:03 +02:00
Nicolas Jouanin 83ab0c318a Add message count properties 2015-08-10 21:29:40 +02:00
Nicolas Jouanin bc248f9fc5 Move debug trace to get packet length 2015-08-09 23:19:17 +02:00
Nicolas Jouanin 592952f1f0 Add first $SYS topics 2015-08-09 23:07:55 +02:00
Nicolas Jouanin 568bdd9cb3 Fix client session initialisation 2015-08-09 23:00:30 +02:00
Nicolas Jouanin 986046b80b Fix clean_session init 2015-08-09 22:58:09 +02:00
Nicolas Jouanin 4a5a702cf8 Clean warnings 2015-08-09 17:48:47 +02:00
Nicolas Jouanin c8705a059f Add packet sent/received signals 2015-08-08 22:04:55 +02:00
Nicolas Jouanin 1fc3d5094d Fix formatting 2015-08-08 22:04:17 +02:00
Nicolas Jouanin afed8acf72 Generate packet ID only for QOS > 0 messages. 2015-08-08 22:01:08 +02:00
Nicolas Jouanin 9adbbdfc3a Remove unused 2015-08-08 13:58:21 +02:00
Nicolas Jouanin 7b5145da72 Add to_bytes() method on Packet 2015-08-08 13:57:17 +02:00
Nicolas Jouanin a87d989553 Listeners accept max_connections parameters
Server manage connection count through semaphore
HBMQTT-23
2015-08-06 22:44:37 +02:00
Nicolas Jouanin 901574f2da Add client certificate load 2015-08-06 21:07:44 +02:00
Nicolas Jouanin 67d2f4e7ce clean 2015-08-03 11:40:27 +02:00
Nicolas Jouanin 2bfc70eebf SSL fixes 2015-08-02 23:37:49 +02:00
Nicolas Jouanin b9f944f6cc randomize gen_client_id 2015-08-02 23:37:16 +02:00