Commit Graph

116 Commits

Author SHA1 Message Date
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
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
5f1233156d Update frontend 2018-01-23 16:50:28 +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
0f73b093cc Automate frontend build 2018-01-11 17:47:47 +01:00
Bálint Bokros
a4d101883e Use nginx to serve everything 2018-01-10 16:55:48 +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
af3de243df Add linebreaks to FSM model 2018-01-10 16:26:40 +01:00
Bálint Bokros
7cc5268f9b Remove all frontend related stuff 2018-01-10 16:25:23 +01:00
Bálint Bokros
44bf8349c9 Print debug message when a client is connected 2017-12-20 11:37:22 +01:00
Bálint Bokros
7e79c22437 Implement frontend dependency management 2017-12-11 17:37:21 +01:00
Bálint Bokros
e14946fcb9 Adapt CSS to Ace 2017-12-11 13:59:11 +01:00
Bálint Bokros
cb625bf116 Replace roll-your-own basic WebIDE with Ace Editor 2017-12-11 13:59:11 +01:00
Bálint Bokros
642ca7f54c Implement watching static files 2017-12-11 13:59:11 +01:00
Bálint Bokros
d3db21f26e Move common parts of FSM to a baseclass 2017-12-06 01:29:09 +01:00
Bálint Bokros
0a3c06109e Remove unnecessary hljs call 2017-12-06 01:02:50 +01:00
Bálint Bokros
5151a47490 Use source code as title instead of WebIDE as it's static 2017-12-05 20:37:42 +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
d916f5bc65 Give Button states boring names 2017-12-03 23:42:00 +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
Bálint Bokros
6a5b83f406 Don't store event_handler_function in EventHandlerBase 2017-12-03 02:27:07 +01:00
Bálint Bokros
62a12c605c Project-wide refactor of things named Component* to EventHandler* 2017-12-02 15:19:05 +01:00
Bálint Bokros
acaf8899cc Rename database 2017-11-27 21:12:49 +01:00
Bálint Bokros
564369dd90 Replace 'Proof of Concept' with 'Demo' 2017-11-27 21:11:17 +01:00
Bálint Bokros
18c8f45a19 Rework onmessage 2017-11-27 21:09:57 +01:00
Bálint Bokros
fac9202b3d Send necessary data in onopen 2017-11-27 21:09:57 +01:00
Bálint Bokros
5a295de426 Create handler for form submit 2017-11-27 21:09:57 +01:00
Bálint Bokros
982f72b4ba Rework button handler 2017-11-27 21:09:57 +01:00
Bálint Bokros
f6a8bf6239 Remove unnecessary comments 2017-11-27 21:09:57 +01:00
Bálint Bokros
ce2ae58075 Wire dependencies for ws_listener.js 2017-11-27 21:09:57 +01:00
Bálint Bokros
a2106d5b89 Present new components 2017-11-27 21:09:57 +01:00
Bálint Bokros
d557703373 Hide old components 2017-11-27 21:09:57 +01:00
Bálint Bokros
e0b3064513 Create components to handle SQL injection tutorial 2017-11-27 21:09:57 +01:00
Bálint Bokros
327376232d Create prepared vulnerable code 2017-11-27 21:09:57 +01:00
Bálint Bokros
e0d13840f0 Create handler for login 2017-11-27 21:09:57 +01:00
Bálint Bokros
4a810b4229 Create new FSM for SQL injection tutorial 2017-11-27 21:09:57 +01:00
Bálint Bokros
638c1b96ae Move FSM initialization out of ZMQWebSocketHandler 2017-11-27 21:09:57 +01:00
Bálint Bokros
9b5bfcf9c8 Adapt existing component examples to refactor 2017-11-27 21:09:57 +01:00
Bálint Bokros
40914e767f Create StatefulComponent which yields values from a generator instead of returning a static value 2017-11-27 21:09:57 +01:00
Bálint Bokros
726fc165b0 Add subscription management to ComponentBase 2017-11-27 21:09:57 +01:00
Bálint Bokros
1d5abaaea0 Add ability to message another component to ComponentBase 2017-11-27 21:09:57 +01:00
Bálint Bokros
66d684f022 Refactor Component to Component and ComponentBase 2017-11-27 21:09:57 +01:00
Bálint Bokros
d507b3d066 Move socket management to a separate package 2017-11-27 21:09:57 +01:00
Bálint Bokros
9b97e3dd19 Add WebIDE UIModule 2017-11-27 21:09:57 +01:00
Bálint Bokros
a5aad9ad26 Add Login UIModule 2017-11-27 21:09:57 +01:00
Bálint Bokros
b96c8e4457 Add Logger UIModule 2017-11-27 21:09:57 +01:00
Bálint Bokros
f3c9a21956 Prepare use of UIModules 2017-11-27 21:09:57 +01:00
Bálint Bokros
c3e35cd549 Rearrange project and dockerize 2017-11-27 21:09:56 +01:00