Commit Graph

52 Commits

Author SHA1 Message Date
Kristóf Tóth
89694097cc Temporary extension of ACE editor language map, make 'text' default 2018-02-08 17:13:14 +01:00
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
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
Kristóf Tóth
0d41b4c8e9 Refactor project structure 2018-01-31 15:56:39 +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
071167d3d7 Refactor logging 2018-01-29 18:36:29 +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
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
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
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
2b306efb04 Refactor EventHandles supervisord access to a mixin 2018-01-24 12:17:15 +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
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
0b8542fc39 Use initial version of SourceCodeEventHandler 2018-01-10 16:49:23 +01:00
Bálint Bokros
1d1cab228b Create initial version of SourceCodeEventHandler 2018-01-10 16:47:25 +01:00
Bálint Bokros
895a387169 Remove passing self to event handler functions 2017-12-05 20:34:06 +01:00
Bálint Bokros
277ad85735 Remove unnecessary imports 2017-12-05 20:33:18 +01:00
Bálint Bokros
9d299a5f3e Use subscribe method from super, instead of using duplicated code 2017-12-05 18:37:20 +01:00
Bálint Bokros
92394cac27 Fix handling exhausted generators 2017-12-05 18:36:26 +01:00
Bálint Bokros
ad89c8fb57 Refactor reset in StatefulEventHandler 2017-12-05 18:35:22 +01:00
Bálint Bokros
6f16a335db Remove gratuitous None-check 2017-12-05 17:52:25 +01:00
Bálint Bokros
26ef730569 Make StatefulEventHandler's code clearer 2017-12-05 17:51:34 +01:00
Bálint Bokros
7479ef5639 Rename event_handler_example to event_handler_main 2017-12-04 21:50:41 +01:00
Bálint Bokros
23bef68f51 Remove passing self to handler functions in EventHandler 2017-12-03 19:51:52 +01:00
Bálint Bokros
3164a760a1 Remove unnecessary partial magic from EventHandler 2017-12-03 19:35:28 +01:00
Bálint Bokros
f995aae318 Use meaningful names in EventHandler 2017-12-03 18:59:35 +01:00