Commit Graph

665 Commits

Author SHA1 Message Date
Kristóf Tóth
792981742c Make SourceCodeEventHandler command handlers data_json['data'] based 2018-02-08 17:13:14 +01:00
Kristóf Tóth
6283b825d6 Fix file list disappearing from json after write command – webide. 2018-02-08 17:13:14 +01:00
Kristóf Tóth
c2c5353f98 Fix files in subdirectories killing everything I stand for 2018-02-08 17:13:14 +01:00
Kristóf Tóth
d0a04240b6 Fix non-unicode files kill whole webide backend 2018-02-08 17:13:14 +01:00
Kristóf Tóth
fc168f47ef Add support for tab switching on backend SourceCodeEventHandler 2018-02-08 17:13:14 +01:00
Kristóf Tóth
eb344de7a2 Implement SourceCodeEventHandler support for multiple files 2018-02-08 17:13:14 +01:00
Kristóf Tóth
71dcb58c92 Change loglevel back to DEBUG (CRITICAL was committed accidentally) 2018-02-08 17:13:14 +01:00
Kristóf Tóth
944066d699 Implement recursive file lookup in FileManager.files 2018-02-08 17:13:14 +01:00
Kristóf Tóth
5cc1ab2c8d Refactor handling of files in SourceCodeEventHandler 2018-02-08 17:13:14 +01:00
Kristóf Tóth
c74c00c618 Extract process managing logic to SupervisorMixin from event handlers 2018-02-08 17:13:14 +01:00
Bálint Bokros
8b9f7e50cb Move FSM instantiation out of FSMManagingSocketHandler 2018-02-08 14:47:00 +01:00
Kristóf Tóth
849fd7b61c Hotfix eventhandlers invoked several times. Waiting for server refactor. 2018-02-07 10:13:06 +01:00
Kristóf Tóth
08260f70fa Remove leftover ioloop.install() stuff from module global era 2018-02-06 14:26:53 +01:00
Kristóf Tóth
b75709b3e5 Make tfw.networking more structured, remove relative import hell 2018-02-06 14:20:51 +01:00
Kristóf Tóth
5e34835ed6 Refactor Dockerfile (move nginx setup to earlier layers) 2018-02-05 15:51:53 +01:00
Kristóf Tóth
de6e23e512 Remove thread safety warning: problem was nonexsistent ¯\_(ツ)_/¯ 2018-02-05 14:23:46 +01:00
Kristóf Tóth
654a732368 Fix ZMQWebSocketHandlers handling their own little FSM instances 2018-02-05 14:10:21 +01:00
Bálint Bokros
96762575ba Move JSON (de)serialization to socket boundaries 2018-02-02 18:39:06 +01:00
Bálint Bokros
31fea13a9a Move serialization in one place 2018-02-02 17:30:26 +01:00
Bálint Bokros
91d5e560eb Rework MessageSender to conform defined API 2018-02-02 16:51:06 +01:00
Kristóf Tóth
c99630172b Split nginx configuration to several files 2018-01-31 23:04:51 +01:00
Kristóf Tóth
0ec79fe8d0 Split supervisor configuration to several files 2018-01-31 23:04:27 +01:00
Bokros Bálint
fde26fb0c8
Merge pull request #3 from avatao-content/project_restructure
Project restructure
2018-01-31 16:42:58 +01:00
Kristóf Tóth
4c50f07be9 Unify Docker container config file locations to project root 2018-01-31 16:15:19 +01:00
Kristóf Tóth
0d41b4c8e9 Refactor project structure 2018-01-31 15:56:39 +01:00
Kristóf Tóth
23cc381495 Fix EventHandler subscriptions being registered several times 2018-01-31 15:10:05 +01:00
Kristóf Tóth
1b49386da6 Edit FSM transitions to minimize reset events causing slow loading 2018-01-31 13:24:38 +01:00
Kristóf Tóth
2ad42dbaa7 Fix logging: supervisord loglevel=debug for now 2018-01-31 11:38:01 +01:00
Kristóf Tóth
8bce986b1c Remove dead code from project 2018-01-31 11:35:07 +01:00
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