Commit Graph

936 Commits

Author SHA1 Message Date
Bálint Bokros 6facda3520 Update MessageSender to implement designed message format 2018-01-31 11:21:19 +01:00
Bálint Bokros 7b76afe232 Use common ZMQConnectorBase as base class 2018-01-30 14:31:00 +01:00
Kristóf Tóth 340ea31856 Remove unnecessary RPC server 2018-01-30 10:51:23 +01:00
Kristóf Tóth 0e38bef92e Implement loglevel configuration from Dockerfile 2018-01-30 10:49:16 +01:00
Kristóf Tóth 071167d3d7 Refactor logging 2018-01-29 18:36:29 +01:00
Kristóf Tóth 1856831d80 Remove meaningless, obsolete dev commit 2018-01-29 18:04:45 +01:00
Kristóf Tóth f8ca656ff0 Fix ZMQWebSocketHandler's sockets being bound several times 2018-01-29 18:03:54 +01:00
Kristóf Tóth 87a437cfb5 Refactor socket logic from state machine ¯\_(ツ)_/¯ 2018-01-29 17:27:16 +01:00
Kristóf Tóth 9760db7c5c Work out multiple inheritance in event_handler_connector.py 2018-01-29 17:27:16 +01:00
Kristóf Tóth 6e6d775a05 OO Refactor event_handler_connector.py temporary solution 2018-01-29 17:27:16 +01:00
Bálint Bokros 16dad5e2cd Add initial version of MessageSender 2018-01-29 16:48:32 +01:00
Bálint Bokros cd5f7084da Split ServerConnector to single responsibility classes 2018-01-29 16:08:11 +01:00
Kristóf Tóth e05ae079ad Refactor FSM instance creation 2018-01-29 14:09:40 +01:00
Kristóf Tóth 22aef7dd7b Remove unused json import 2018-01-29 13:24:55 +01:00
Bokros Bálint 3fb29763f1
Merge pull request #2 from avatao-content/fsmupdate
Implement FSM status updates to frontend
2018-01-29 11:12:21 +01:00
Kristóf Tóth 35d375968b Implement FSM status updates to frontend 2018-01-29 11:03:55 +01:00
Bálint Bokros 19798f19d3 Remove unused import 2018-01-26 15:48:55 +01:00
Bálint Bokros fae76b0c97 Remove unused old Messaging instance from main 2018-01-26 15:17:37 +01:00
Bálint Bokros 80ada91cec Rename Messaging to ServerConnector 2018-01-26 15:16:34 +01:00
Bálint Bokros 585cd35e48 Store all initial subscriptions 2018-01-25 17:04:34 +01:00
Kristóf Tóth 14db8cae62 Fix EventHandlerBase anchor 'reset' subscription 2018-01-25 16:49:58 +01:00
Kristóf Tóth 96b5234fc1 Fix terminado buffer issues & terminado server OO refactor 2018-01-25 16:48:48 +01:00
Bálint Bokros 8244e22479 Use fresh messaging instances for each event handler 2018-01-25 15:50:43 +01:00
Bálint Bokros 6246baa675 Move ioloop init to module level 2018-01-25 15:50:43 +01:00
Kristóf Tóth 7e4f8ae2f9 Update frontend 2018-01-25 14:31:50 +01:00
Kristóf Tóth 6de653534f Apply nginx reverse proxy to terminado's 7878 websocket 2018-01-25 12:22:32 +01:00
Bálint Bokros 9ad2a53a51 Move ZMQ connection logic to a separate class 2018-01-25 11:14:59 +01:00
Kristóf Tóth d7919255ec Handling of xmlrpc exceptions is now done with contextlib.suppress() 2018-01-24 18:28:45 +01:00
Kristóf Tóth ae4c27c0f5 Freeze Python dependencies via pip install -r req....txt 2018-01-24 18:26:02 +01:00
Kristóf Tóth fb597adf46 TerminalEventHandler.handle_event() now logs instead of raising 2018-01-24 16:36:32 +01:00
Kristóf Tóth eedf589ab7 Implement setting working directory from ENV 2018-01-24 16:26:01 +01:00
Kristóf Tóth c7bc588397 Refactor for handling xmlrpc exceptiions 2018-01-24 15:54:03 +01:00
Kristóf Tóth 83b66c47b5 Implement and integrate TerminadoEvendHandler to docker container 2018-01-24 15:10:59 +01:00
Kristóf Tóth 6b6f4942c0 Reorder of Dockerfile for painless configuration of envvars 2018-01-24 13:46:27 +01:00
Kristóf Tóth 2b306efb04 Refactor EventHandles supervisord access to a mixin 2018-01-24 12:17:15 +01:00
Kristóf Tóth 3a7349abd4 Commit of sqlFSM magic line to make master branch testable 2018-01-24 12:15:24 +01:00
Bálint Bokros 352a04178b Use SSH remote for submodule instead of HTTPS 2018-01-23 17:28:33 +01:00
Bálint Bokros fa2b9ed6f3 Reorder Dockerfile to avoid unnecessary cache busts 2018-01-23 17:28:21 +01:00
Bálint Bokros 5f1233156d Update frontend 2018-01-23 16:50:28 +01:00
Kristóf Tóth 3dbb14ecd3 Removal of multistage features and general cleanup of Dockerfile 2018-01-18 15:51:08 +01:00
Bálint Bokros ce07c4d6ec Move commands to class variable 2018-01-18 15:51:08 +01:00
Kristóf Tóth 677bd57ba4 EventHandlers now handle anchor 'reset' in a dedicated method 2018-01-18 15:51:08 +01:00
Kristóf Tóth 8ee658e62a Refactor of ZMQWebsocketHandler callback (closure -> method) 2018-01-18 15:51:03 +01:00
Kristóf Tóth 863cc304ad Command -> handler mapping in SourceCodeEventHandler is now nicer 2018-01-18 15:50:48 +01:00
Kristóf Tóth 2793efeaf9 Refactor of writing/reading in SourceCodeEventHandler.handle_event() 2018-01-18 15:50:38 +01:00
Kristóf Tóth 70a2dd1de6 Refactor of EventHandler boilerplate ¯\_(ツ)_/¯ 2018-01-18 15:50:31 +01:00
Bálint Bokros f713697a2e Fix /login location 2018-01-17 11:19:41 +01:00
Bálint Bokros a9701ba3fe Do not expose TFW_WEB_PORT, as it isn't needed publicly anymore 2018-01-12 14:11:40 +01:00
Bálint Bokros aabc042431 Use ARG instead of ENV for build-time variables 2018-01-12 14:10:57 +01:00
Bálint Bokros a30c0c3fff Reorder Dockerfile for better caching and less layers 2018-01-12 14:10:30 +01:00