Commit graph

267 commits

Author SHA1 Message Date
Bastian Schroll d87247783d fix in TCPClient 2019-09-20 18:19:46 +02:00
Bastian Schroll 6f40095c52 test multimon with procManager 2019-09-20 17:38:53 +02:00
Bastian Schroll 957b22e087 fix decoder 2019-09-20 17:38:33 +02:00
Bastian Schroll 0c6044072a Merge branch 'develop' into process_manager 2019-09-20 14:54:07 +02:00
Bastian Schroll 0af091373f remove csv descr from paket and wildcard
should be done in a module
2019-09-20 13:06:15 +02:00
Bastian Schroll a3ffbf5e87 insert basic changelog 2019-09-20 08:51:54 +02:00
Bastian Schroll 34dd0172cf some improves and add example 2019-09-19 10:48:27 +02:00
Bastian Schroll e2c8394907 add basic docu 2019-09-18 18:38:17 +02:00
Bastian Schroll f5c60d2814 some refactorings 2019-03-11 11:08:10 +01:00
Bastian Schroll 4f389723c0 some refactorings 2019-03-11 07:54:11 +01:00
Bastian Schroll e69dfb1a84 Merge branch 'develop' into process_manager 2019-03-10 19:44:27 +01:00
Bastian Schroll 2e9681b7d4 add a modeFilter module 2019-03-09 12:12:35 +01:00
Bastian Schroll 36e02eca4c some fixes in processManager 2019-03-09 11:42:50 +01:00
Bastian Schroll fc6e0111af Merge branch 'develop' into process_manager 2019-03-08 07:54:49 +01:00
Bastian Schroll bb1fd118f5 little improvements in processManager class 2019-03-08 07:44:44 +01:00
Bastian Schroll 0cb79569dd improve docstrings 2019-03-05 08:33:35 +01:00
Bastian Schroll 0b3d71cd4a add logging 2019-03-05 08:24:55 +01:00
Bastian Schroll 0ee177f8ea improve ProcessManager 2019-03-05 07:49:15 +01:00
Bastian Schroll 05166cfdca add docstrings to the router classes 2019-03-04 20:10:49 +01:00
Bastian Schroll 54e5338000 first processManager testing 2019-03-04 19:43:32 +01:00
Bastian Schroll 54676f9f06 remove false todo 2019-03-04 14:54:00 +01:00
Bastian Schroll 8ae23b4d0f split router classes and make own module 2019-03-04 14:48:25 +01:00
Bastian Schroll 43674989b9 little change in server test 2019-03-03 20:14:46 +01:00
Bastian Schroll 69acff24e4 add doc strings for tests 2019-03-03 20:00:04 +01:00
Bastian Schroll c76c179225 various pylint fixes 2019-03-03 19:39:53 +01:00
Bastian Schroll 3feda678e2 some little fixes 2019-03-03 19:14:00 +01:00
Bastian Schroll 4b69b08028 fix test config file location and paths 2019-03-03 13:58:37 +01:00
Bastian Schroll 2ca62d90f2 move test files - fix config tests 2019-03-03 13:32:31 +01:00
Bastian Schroll 82e3eb719d move old files to __deprecated folder 2019-03-03 11:21:57 +01:00
Bastian Schroll e372fb75b4 fix some classes for testing 2019-03-03 09:56:36 +01:00
Bastian Schroll f0d76ea165 remove unused import 2019-03-02 22:36:28 +01:00
Bastian Schroll 39d88f3e3d implement new router system in server 2019-03-02 09:17:20 +01:00
Bastian Schroll 3fa10911c9 remove generall exception handling 2019-03-02 09:15:40 +01:00
Bastian Schroll 4ac4bc5faa improve error handling in router building 2019-03-01 22:46:28 +01:00
Bastian Schroll f487bfc104 some refactoring 2019-03-01 22:12:29 +01:00
Bastian Schroll 7f55be4823 add some error handling in router 2019-03-01 21:46:48 +01:00
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
Bastian Schroll 1ba76cc66b edit some files 2018-01-08 23:42:26 +01:00
Bastian Schroll 2d279f6e71 edit tests and config 2018-01-08 23:41:33 +01:00
Bastian Schroll 27c33c5f0d edit __init__.py's 2018-01-08 20:09:15 +01:00
Bastian Schroll 2685a63cdb add plugin base class 2018-01-08 19:57:48 +01:00
Bastian Schroll e08ec80e63 edit packet class config 2018-01-08 19:57:28 +01:00
Bastian Schroll e29628fb7c edit config class and test 2018-01-08 19:57:15 +01:00
Bastian Schroll e108720998 edit server.py 2018-01-08 15:50:13 +01:00
Bastian Schroll 2b49059594 new tests for config class 2018-01-08 14:35:54 +01:00
Bastian Schroll 531525ef6a add new Config class (unused) 2018-01-08 12:34:09 +01:00
Bastian Schroll f6094618d8 some edits 2018-01-08 08:09:23 +01:00
Bastian Schroll b5b5562a5d fix error in decoder 2018-01-08 07:58:33 +01:00
Bastian Schroll 881615dcce little edits on decoder 2018-01-08 07:56:10 +01:00
Bastian Schroll 9a7dbaeade little edits 2018-01-08 07:47:32 +01:00
Bastian Schroll f64a521bd9 little adds and changes 2018-01-07 23:41:52 +01:00