Commit graph

181 commits

Author SHA1 Message Date
Bastian Schroll 98d2ea344b add RouterManager 2019-03-01 20:41:13 +01:00
Bastian Schroll aeaea325e9 many file moves 2019-03-01 12:16:06 +01:00
Bastian Schroll a42676010e some reworks
- rework configYaml
- rework router mechanism test
- move plugin and module files
2019-03-01 12:09:12 +01:00
Bastian Schroll 71d87b080f Merge branch 'develop' into router 2019-02-28 12:01:46 +01:00
Bastian Schroll 9371b71ee0 add isRunning/isConnected Props to server and client 2019-02-28 08:57:41 +01:00
Bastian Schroll a879f27407 remove old config class 2019-02-27 12:41:29 +01:00
Bastian Schroll e2ca436e5d make client ready for broadcast function 2019-02-27 12:08:55 +01:00
Bastian Schroll 60912ce705 first tests with yaml config 2019-02-27 08:39:54 +01:00
Bastian Schroll 90ccbf9d0d use new yaml config loader in client 2019-02-27 08:02:40 +01:00
Bastian Schroll feb47c2f73 first idea for the router class 2019-02-26 13:33:35 +01:00
Bastian Schroll 18d7a0db6f add alarmWorker template 2019-02-10 12:02:44 +01:00
Bastian Schroll e8c43fc124 Merge branch 'fixes' into develop 2018-09-25 19:10:32 +02:00
Bastian Schroll bbf71a34a7
Merge branch 'develop' into broadcast 2018-09-25 19:06:56 +02:00
Bastian Schroll ffb8bba460 fix some small pep8 err 2018-09-25 19:00:07 +02:00
Bastian Schroll 22588caac5 add unittest 2018-09-25 18:50:52 +02:00
Bastian Schroll 3eac36d123 some little fixes 2018-09-25 10:08:00 +02:00
Bastian Schroll 575cc1f19a fixes 2018-09-23 21:39:50 +02:00
Bastian Schroll 362e1001b3 improve tests, add is Running prop 2018-09-23 21:39:04 +02:00
Bastian Schroll 26af2ef18b fix in runningState management 2018-09-23 21:27:40 +02:00
Bastian Schroll 59f6ec0732 check running state, add prop for running state 2018-09-23 21:22:22 +02:00
Bastian Schroll cb08ad4e88 improve timer tests and add some fixes 2018-09-23 21:08:44 +02:00
Bastian Schroll 71065672a7 some improvements 2018-09-23 18:44:58 +02:00
Bastian Schroll 16c5388d3d some improvements 2018-09-23 18:19:48 +02:00
Bastian Schroll 9c091fb1f7 add more docu 2018-09-22 22:58:19 +02:00
Bastian Schroll 1b7341c07e resolve todo and add some docu 2018-09-22 08:39:41 +02:00
Bastian Schroll bec034827f some improvements
- run server in thread
- improve some logging msg
2018-09-21 22:36:11 +02:00
Bastian Schroll 1837ba46af
Merge branch 'develop' into ping 2018-09-21 22:09:30 +02:00
Bastian Schroll deee515b15 broadcasting func - get conn infos from server 2018-09-21 22:02:07 +02:00
Bastian Schroll 407de76ccf edit comments 2018-09-21 20:14:56 +02:00
Bastian Schroll 9a3c28744b fix a error in server 2018-09-21 16:37:23 +02:00
Bastian Schroll 24083ad6e8 little improvements 2018-09-21 16:05:48 +02:00
Bastian Schroll cecde86005 insert logging 2018-09-21 15:27:02 +02:00
Bastian Schroll 3cf0b49c0e start timer as daemon 2018-09-21 14:31:03 +02:00
Bastian Schroll 11eab418ed improve exc handling and tests 2018-09-21 14:21:33 +02:00
Bastian Schroll 91389a9c5b add timer unittest 2018-09-21 13:30:41 +02:00
Bastian Schroll c2b3093bb5
Merge branch 'develop' into server_queue 2018-09-21 12:53:06 +02:00
Bastian Schroll 11dab44098
Merge branch 'develop' into ping 2018-09-21 12:50:08 +02:00
Bastian Schroll 4a554e2cf1
Merge branch 'develop' into add_sys_var 2018-09-21 12:45:24 +02:00
Bastian Schroll ff8e1347bd add fixme warning 2018-09-21 12:43:43 +02:00
Bastian Schroll b300d0c578 add docu to NetCheck class 2018-09-21 12:39:36 +02:00
Bastian Schroll c7e301317f add timer and netCheck 2018-09-21 12:35:23 +02:00
Bastian Schroll da94581dc2 fix doxy warning 2018-09-20 23:55:53 +02:00
Bastian Schroll 5c6039ef71 rework server class (added python queue support) 2018-09-20 23:35:56 +02:00
Bastian Schroll c903276141 Revert "fix false type from _clients in server.py"
This reverts commit d08381108f.
2018-09-20 15:28:57 +02:00
Bastian Schroll d08381108f fix false type from _clients in server.py 2018-09-20 14:19:51 +02:00
Bastian Schroll f0081d6e6d fix path 2018-09-20 10:53:09 +02:00
Bastian Schroll 449c8f9726 add system adaption for config path 2018-09-20 09:51:47 +02:00
Bastian Schroll 478868c225 change comment 2018-09-20 08:10:40 +02:00
Bastian Schroll aca20faf18 add comment 2018-09-20 08:02:42 +02:00
Bastian Schroll 1252a953a8 add doc to server.py 2018-09-20 07:58:26 +02:00
Bastian Schroll a2e9156af4
Merge branch 'develop' into add_sys_var 2018-09-19 15:14:21 +02:00
Bastian Schroll 2037921ee6 change a todo to note 2018-09-19 15:09:30 +02:00
Bastian Schroll d95ab7781e combine some todos 2018-09-19 14:53:56 +02:00
Bastian Schroll 3f1eac88be fixes for pyLint 2018-09-18 05:59:38 +02:00
Bastian Schroll a6e10dd6f5 fix error 2018-09-18 05:48:18 +02:00
Bastian Schroll 16a8424b80 logs on linux in /var/log/boswatch/
on windows in log/ folder
2018-09-17 20:15:30 +02:00
Bastian Schroll f1bf468c2a make decoder classes <<static>> 2018-09-09 16:34:44 +02:00
Bastian Schroll a6542f0b63 edit decoder tests 2018-09-09 16:23:09 +02:00
Bastian Schroll a1e1be6275 change decoder strategy 2018-09-09 16:17:49 +02:00
Bastian Schroll e97b97640b little changes in server 2018-09-09 16:16:55 +02:00
Bastian Schroll b87d98fc7d little changes 2018-06-18 07:29:51 +02:00
Bastian Schroll b708adfbd8 fix little config issue 2018-06-18 06:59:04 +02:00
Bastian Schroll 19796ab746 add test files for server and client 2018-06-15 22:20:20 +02:00
Bastian Schroll c6393efda0 PEP8 edits 2018-05-16 11:18:23 +02:00
Bastian Schroll 519df6e3f9 edit wildcard
+ add wildcards to packet.MD
2018-02-23 06:48:23 +01:00
Bastian Schroll 505448a5e8 wildcard.py 2018-02-22 13:36:50 +01:00
Bastian Schroll 48ecdd666c add msg mode to plugin 2018-02-22 08:28:02 +01:00
Bastian Schroll a1e8393627 little changes + tests 2018-02-22 07:34:42 +01:00
Bastian Schroll e37b3dbbe9 edit doubleFilter 2018-02-10 17:43:06 +01:00
Bastian Schroll fd501c23dc some little improvements 2018-02-03 22:32:28 +01:00
Bastian Schroll 4f72691c65 rework double filter 2018-02-03 16:09:56 +01:00
Bastian Schroll c89e6ef28c add intern list of all connected clients in server 2018-02-02 23:43:05 +01:00
Bastian Schroll b23cc40e4a little changes (comment/todo) 2018-02-02 23:42:34 +01:00
Bastian Schroll bf7fdc189e edit wildcard replacer
not ready yet
2018-02-01 14:41:09 +01:00
Bastian Schroll 3e05638c62 little improvement in config 2018-01-17 21:54:58 +01:00
Bastian Schroll 56b97e471f edit config and his test 2018-01-15 21:51:29 +01:00
Bastian Schroll b763a62f1a little edits 2018-01-15 21:45:58 +01:00
Bastian Schroll d4e6d6e618 improve doubleFilter 2018-01-15 21:26:14 +01:00
Bastian Schroll 2230241538 add doubleFilter() 2018-01-15 21:00:52 +01:00
Bastian Schroll 8097b4bb12 add plugin readme, wildcardhandler 2018-01-15 14:18:15 +01:00
Bastian Schroll 3c2aa557fe littles changes 2018-01-14 23:21:22 +01:00
Bastian Schroll c2a09ad7c3 add pluginmanager class 2018-01-14 22:57:40 +01:00
Bastian Schroll aa5698471f some little edits 2018-01-14 20:06:31 +01:00
Bastian Schroll d80db0d6cc add template plugin 2018-01-14 16:28:11 +01:00
Bastian Schroll 9c824ff862 little changes 2018-01-13 16:31:20 +01:00
Bastian Schroll 34ed9c3d5b edit server and client class
- server: bind not only to local - bind to all
- client improve error handling
2018-01-13 13:22:28 +01:00
Bastian Schroll f0d19eaba0 some little changes 2018-01-13 09:56:46 +01:00
Bastian Schroll 03e2f6091e add a countPacketsInQueue() method to server 2018-01-12 18:58:14 +01:00
Bastian Schroll 2e515ff15d edit config bool getter 2018-01-12 18:57:56 +01:00
Bastian Schroll 4cd7dd183a edit server and plugin 2018-01-12 12:33:41 +01:00
Bastian Schroll 7662f05f0c do lock with the with statement 2018-01-12 09:50:46 +01:00
Bastian Schroll 4dad6bc414 edit lock mechanism 2018-01-12 09:14:22 +01:00
Bastian Schroll 8e670f86fc edit packet.py 2018-01-12 09:02:54 +01:00
Bastian Schroll a955058edd insert lock-methods into server 2018-01-12 09:02:26 +01:00
Bastian Schroll d08e11e17e add timeout msg to client 2018-01-12 09:02:07 +01:00
Bastian Schroll 0b1bd7a59b edit specific get methods to the config (Int, Str, Bool) 2018-01-11 13:02:04 +01:00
Bastian Schroll 6e011301d4 fix some typos and other 2018-01-11 13:01:27 +01:00
Bastian Schroll 2ea2e940ac fix header, edit plugin 2018-01-10 12:57:20 +01:00
Bastian Schroll a79ddc49c6 improve statistics 2018-01-09 13:44:46 +01:00
Bastian Schroll 36781fc254 edit bwPacket Methods get and set 2018-01-09 11:33:23 +01:00