Commit Graph

896 Commits

Author SHA1 Message Date
Kristóf Tóth
9e49a93df3 Fix event handler pytest.raises test cases 2019-08-12 16:25:03 +02:00
R. Richard
0549c5e4c8 Fix message filtering issue 2019-08-12 11:57:54 +02:00
Kristóf Tóth
0b7557f198 Fix frontend message replay broken during refactor 2019-08-09 10:59:27 +02:00
Kristóf Tóth
7ba502277f Remove accidental comment 2019-08-09 10:56:38 +02:00
therealkrispet
81790e18e1
Merge pull request #62 from avatao-content/api-rework
Api rework
2019-08-08 16:32:30 +02:00
Kristóf Tóth
b5e53cb946 Use prefix matching in ZMQConnector 2019-08-08 15:05:37 +02:00
R. Richard
35e5b595d1 Rename message keys 2019-08-08 14:45:59 +02:00
R. Richard
f5e7d6016a Fix condition in PR #62 2019-08-08 08:27:41 +02:00
R. Richard
13179e59eb Restore generate_messages_from_queue() 2019-08-07 11:24:56 +02:00
R. Richard
09ffe2bdcf Forward relevant messages to the frontend 2019-08-07 09:49:25 +02:00
R. Richard
f8ff0bcbb4 Simplify sending bot messages 2019-08-07 09:49:05 +02:00
R. Richard
4b7510e704 Update process- and logmonitor according to the new API 2019-08-07 09:47:57 +02:00
R. Richard
e414ea2631 Simplify terminal handler 2019-08-07 09:47:28 +02:00
R. Richard
dded7fd65c Update FSM related classes according to the new API 2019-08-07 09:46:58 +02:00
R. Richard
d31a850a4e Simplify IDE handler and file manager 2019-08-07 09:44:03 +02:00
R. Richard
1210a30c31 Fix event order problem 2019-08-07 09:42:03 +02:00
Kristóf Tóth
e6d2777520 Replace pipe-io-server source with the new pip package 2019-08-06 11:33:26 +02:00
R. Richard
e87a16991c Implement signed event handler 2019-08-05 13:47:05 +02:00
R. Richard
0a218c8d6d Fix relative path problem 2019-08-01 15:12:58 +02:00
Kristóf Tóth
38eec06b4d Move ZMQ bind address logging to TFWServer 2019-07-31 17:36:03 +02:00
R. Richard
96c6c9b358 Correct whitespaces and add context manager for file locking 2019-07-31 17:19:12 +02:00
R. Richard
25bd9aa0f3 Implement reference counting mechanism 2019-07-31 17:19:12 +02:00
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