Commit Graph

260 Commits

Author SHA1 Message Date
Kristóf Tóth
9eaced9f02 Remove unused __init__ attributes from pmgeh related classes 2018-02-27 16:51:10 +01:00
Kristóf Tóth
a6bbe6df55 Update SupervisorMixin users to support stateless API 2018-02-27 15:54:31 +01:00
Kristóf Tóth
789db7416d Refactor SupervisorMixin to be stateless 2018-02-27 15:54:10 +01:00
Kristóf Tóth
57bd2aec45 Implement uplink notifications in ProcessManagingEventHandler 2018-02-27 15:26:16 +01:00
Kristóf Tóth
b50a2e401f Update ProcessManagingEventHandler to support new architecture 2018-02-27 14:39:54 +01:00
Kristóf Tóth
3341e97ef6 Fix anchor->key refactor conflicts after rebase 2018-02-27 14:39:40 +01:00
Kristóf Tóth
c96f50711d Add ProcessManagingEventHandler to event_handler_main 2018-02-27 14:10:00 +01:00
Kristóf Tóth
387d07bc4a Remove SupervisorMixin from ProcessManagingEventHandler 2018-02-27 14:10:00 +01:00
Kristóf Tóth
3506f5abb4 Fix ProcessMonitor not being compatible with SupervisorMixin 2018-02-27 14:10:00 +01:00
Kristóf Tóth
69c998bfde Rename ProcessManager.__init__() arguments to be more specific 2018-02-27 14:10:00 +01:00
Kristóf Tóth
8d8b60d143 Refactor ProcessManagingEventHandler 2018-02-27 14:10:00 +01:00
Kristóf Tóth
a50a173f54 Implement ProcessManagingEventHandler 2018-02-27 14:10:00 +01:00
Bokros Bálint
58d2977731 Merge pull request #13 from avatao-content/bottomless_pit
Refactor TFW architecture to support stateless event handling
2018-02-27 14:09:44 +01:00
Kristóf Tóth
76456b36de Enable proxying of Triggerless messages in TFWServer 2018-02-23 15:14:23 +01:00
Kristóf Tóth
cf4a5bc09d Refactor FSMUpdate message sending logic to class FSMUpdater 2018-02-23 14:55:58 +01:00
Kristóf Tóth
940e74d6da Implement triggered and triggerless EventHandler base classes 2018-02-23 14:07:41 +01:00
Kristóf Tóth
fd1cb100ad Unify (key, response) ordering 2018-02-23 12:13:19 +01:00
Kristóf Tóth
38ca56fa9d Fix generate_fsm_update() not listing valid transitions properly 2018-02-23 12:08:14 +01:00
Kristóf Tóth
ecbb61a862 Overhaul WS->ZMQ proxying 2018-02-23 12:07:30 +01:00
Kristóf Tóth
26538a4ad9 Make ZMQWebSocketHandler "abstract" 2018-02-21 16:46:25 +01:00
Kristóf Tóth
31ba6cb623 Rename anchor -> key globally ¯\_(ツ)_/¯ 2018-02-21 15:28:16 +01:00
Bokros Bálint
654ddacb74
Merge pull request #12 from avatao-content/multi_websockets
Implement support for multiple websockets connecting to TFW
2018-02-19 10:08:40 +01:00
Bálint Bokros
609cd19589 Remove unnecessary super call 2018-02-19 10:02:42 +01:00
Bálint Bokros
acb292460f Log token setup failure properly 2018-02-19 09:50:01 +01:00
Kristóf Tóth
24fd753679 Implement support for multiple websockets connecting to TFW 2018-02-16 17:47:30 +01:00
Kristóf Tóth
3e54733033 Remove unused import 2018-02-16 11:09:58 +01:00
Bálint Bokros
4db3a4a128 Update frontend 2018-02-15 17:21:10 +01:00
Kristóf Tóth
6e7e681602 Remove unnecessary call in FileManager 2018-02-15 16:32:41 +01:00
Kristóf Tóth
ade210c4fc Remove extension -> language mapping from backend (move to frontend) 2018-02-15 16:30:02 +01:00
Bokros Bálint
a7e2a08166
Merge pull request #11 from avatao-content/watchdog_hotfix
Watchdog hotfix
2018-02-15 10:19:39 +01:00
Kristóf Tóth
c2e161dad3 Make DirectoryMonitor pausable using the with statement 2018-02-14 17:44:05 +01:00
Kristóf Tóth
0b3db0ae9e Implement pausing watchdog while webide files are being written 2018-02-14 16:09:09 +01:00
Bálint Bokros
516c5746f8 Update frontend 2018-02-14 13:27:38 +01:00
therealkrispet
e5576775ef
Merge pull request #10 from avatao-content/util_refactor
Util refactor
2018-02-13 18:54:08 +01:00
Bálint Bokros
2ebc34fa05 Remove unused create_source_code_response_data method 2018-02-13 17:57:12 +01:00
Bálint Bokros
b9e41c01cf Move RateLimiter to decorators 2018-02-13 17:56:01 +01:00
Bálint Bokros
14f3a4a153 Move SupervisorMixin to mixins 2018-02-13 17:51:19 +01:00
Bálint Bokros
f5a8230d3b Move ZMQConnectorBase to networking 2018-02-13 17:44:48 +01:00
Bálint Bokros
dbc2d1c0ea Add cenerator to enable testing 2018-02-13 17:35:30 +01:00
therealkrispet
2530fe43ea
Merge pull request #9 from avatao-content/controller_auth
Controller auth
2018-02-13 17:01:09 +01:00
Bokros Bálint
ddffb666be
Merge pull request #8 from avatao-content/watchdog
Watchdog
2018-02-13 16:32:50 +01:00
Kristóf Tóth
5213152477 Remove obsolete TODO 2018-02-13 16:29:45 +01:00
therealkrispet
f395adc8c3
Merge pull request #7 from avatao-content/controller
Initial controller implementation
2018-02-13 16:22:23 +01:00
Kristóf Tóth
1d47ca5684 Add method EventHandlerBase.cleanup() 2018-02-13 15:38:46 +01:00
Kristóf Tóth
fd029dbfe7 Move RateLimiter to tfw.util 2018-02-13 15:06:19 +01:00
Kristóf Tóth
60bcb8c2b0 Refactor webide rate limiting 2018-02-13 15:06:15 +01:00
Kristóf Tóth
4d49c8d11b Improve webide refresh trigger rate limiting 2018-02-13 14:37:56 +01:00
Bálint Bokros
dda470fc93 Validate token in controller's HTTP handlers 2018-02-13 13:39:27 +01:00
Bálint Bokros
019ce53b39 Share token with solvable upon starting 2018-02-13 13:38:13 +01:00
Bálint Bokros
0cd294d61f Create token in controller 2018-02-13 13:35:34 +01:00