Commit Graph

924 Commits

Author SHA1 Message Date
Kristóf Tóth
911831fdb1 Implement sync API for networking 2019-07-31 17:08:47 +02:00
Kristóf Tóth
78c3a8cf98 Fix socket bind order regarding ZMQStream 2019-07-30 15:23:47 +02:00
Kristóf Tóth
30223fe99f Rename ServerConnector interface to Connector ¯\_(ツ)_/¯ 2019-07-30 15:17:29 +02:00
Kristóf Tóth
fd92c443b2 Update PipeIOServer dependency 2019-07-30 14:45:33 +02:00
Kristóf Tóth
9a4da0b36f Implement bootiful unit tests for TFW network stack 2019-07-29 13:02:46 +02:00
Kristóf Tóth
6069ea5089 Merge branch 'eventhandler-rework' into chausie 2019-07-25 12:10:43 +02:00
Kristóf Tóth
3fca555251 Move TFWRouter to separate file 2019-07-24 17:22:08 +02:00
Kristóf Tóth
42f959878f Add signal handling to tfw_server.py 2019-07-24 16:47:03 +02:00
Kristóf Tóth
f2b6123d41 Remove unnecessary newlines 2019-07-24 16:32:57 +02:00
Kristóf Tóth
52399f413c Simplify package structure 2019-07-24 15:50:41 +02:00
Kristóf Tóth
a23224aced Rework whole package structure (improved dependency handling) 2019-07-24 15:17:40 +02:00
Kristóf Tóth
c6e01d294d Inject TFWENV dependencies to builtins 2019-07-23 15:32:50 +02:00
Kristóf Tóth
ae69a094c7 Improve names in EventHandlerFactoryBase to improve readability 2019-07-23 11:47:59 +02:00
Kristóf Tóth
9725f805ed Silence unjust pylint warnings 2019-07-15 11:09:57 +02:00
Kristóf Tóth
45a9a753b2 Fix test_event_handler 2019-07-15 11:09:43 +02:00
Kristóf Tóth
adf2672cd4 Add forgotten dateutil dependency 2019-07-12 23:38:18 +02:00
Kristóf Tóth
026db9ea84 Avoid duplicate filename (EventHandlerFactory) 2019-07-12 23:32:15 +02:00
Kristóf Tóth
de78f48930 Adjust the whole framework to event handler dependency inversion 2019-07-12 23:25:16 +02:00
Kristóf Tóth
42beafcf04 Update dependencies 2019-07-12 23:14:47 +02:00
Kristóf Tóth
f73c059429 Improve EventHandlerFactoryBase 2019-07-11 18:52:15 +02:00
Kristóf Tóth
f1679ffb50 Add new EventHandler stuff as per interface segregation principle 2019-07-10 14:26:12 +02:00
Kristóf Tóth
84a28a1582 Remove unused rate limiter classes (sad to see you go) 2019-07-09 11:02:45 +02:00
Kristóf Tóth
e5dee3a1b3 Remove leftover parentheses 2019-07-09 09:12:21 +02:00
Kristóf Tóth
64ea7d8218 Fix ZMQ socketopt call order 2019-07-08 20:12:12 +02:00
R. Richard
9be21d88ac Create event handler to wrap TerminalCommands 2019-07-08 14:13:58 +02:00
R. Richard
98271a3783 Remove dead code 2019-07-08 14:13:58 +02:00
R. Richard
fbe60de968 Separate independent classes from built-in event handlers 2019-07-08 14:13:58 +02:00
Kristóf Tóth
f6a369496d Improve color scheme 2019-07-04 17:28:26 +02:00
Kristóf Tóth
dc62508a7b Remove message scope during routing 2019-07-04 15:55:23 +02:00
Kristóf Tóth
80e42a4091 Ignore message scope in message signatures 2019-07-04 15:51:55 +02:00
Kristóf Tóth
2c0aba2ffe Fix bug where sign_message wasn't idempotent 2019-07-04 15:19:48 +02:00
Kristóf Tóth
459ae684de Make up for forgotten parentheses 2019-07-03 16:48:56 +02:00
Kristóf Tóth
ca697b41b3 Further improve EventHandler <-> EventHandlerBase port situation 2019-07-03 16:48:17 +02:00
Kristóf Tóth
49844c7b58 Fix trying to send None as a TFW message 2019-07-03 15:49:20 +02:00
Kristóf Tóth
81accf94ae Fix inotify unit tests on BSD based systems 2019-07-02 16:39:36 +02:00
R. Richard
882ab60490 Print stack trace during an exception 2019-07-02 15:39:46 +02:00
Kristóf Tóth
3be018eb17 Make EventHandlerBase capable of stopping all it's instances 2019-07-01 16:01:54 +02:00
R. Richard
68a6469d23 Refactor TFW logging 2019-06-28 17:44:49 +02:00
R. Richard
f94c5b0c37 Rename server_connector to uplink 2019-06-28 17:44:49 +02:00
Kristóf Tóth
aafd145fc5 Delete copyright headers in preparation of going open source ^^ 2019-06-28 17:44:43 +02:00
Kristóf Tóth
018286f397 Improve EventHandler response sending pattern 2019-06-28 16:50:36 +02:00
Kristóf Tóth
481a919606 Improve FSMAware api 2019-06-28 16:49:58 +02:00
Kristóf Tóth
78bd97493a Rework EventHandler situation 2019-06-28 15:11:02 +02:00
Kristóf Tóth
28c3e68b5a Refactor TFWLog 2019-06-27 17:42:41 +02:00
Kristóf Tóth
bcee486463 Refactor InotifyObserver 2019-06-27 17:42:41 +02:00
Kristóf Tóth
491eaf6d5e Refactor HistoryMonitor 2019-06-27 17:42:41 +02:00
R. Richard
44a1433d3b Refactor Inotify 2019-06-27 17:42:41 +02:00
R. Richard
da19769362 Fix file observer 2019-06-27 17:42:41 +02:00
Kristóf Tóth
6cc3d32097 Refactor LogMonitoringEventHandler 2019-06-27 17:42:41 +02:00
R. Richard
c5c5d2c10a Fix logging bug 2019-06-27 17:42:41 +02:00