Commit Graph

843 Commits

Author SHA1 Message Date
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
Bálint Bokros
bcdceb7d9d Make pyenv install MitM-resilient 2018-01-12 13:42:04 +01:00
Bálint Bokros
b1d5a71c49 Use node 8 (LTS) instead of 9 (latest) 2018-01-11 18:17:17 +01:00
Bálint Bokros
0f73b093cc Automate frontend build 2018-01-11 17:47:47 +01:00
Bálint Bokros
c26d3da98d Update readme 2018-01-10 16:56:03 +01:00
Bálint Bokros
a4d101883e Use nginx to serve everything 2018-01-10 16:55:48 +01:00
Bálint Bokros
6436953eea Reorder layers in Dockerfile 2018-01-10 16:54:47 +01:00
Bálint Bokros
c88c0aae19 Update Python version 2018-01-10 16:53:58 +01:00
Bálint Bokros
729ced323d Rename WEB_PORT to TFW_WEB_PORT 2018-01-10 16:52:03 +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
3e14b000b1 Expose supervisor to python clients 2018-01-10 16:31:36 +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
3a41423596 Revert "Make supervisor uncontrollable for now"
This reverts commit 9f8cc3764f.
2017-12-22 14:14: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
Bokros Bálint
b5e3759bed Merge pull request #1 from avatao-content/ace-integration
Ace integration
2017-12-11 14:02:00 +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
c1f867f97c Update readme 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
ae5e045173 Rename lib folder's envvar 2017-12-05 12:48:01 +01:00
Bálint Bokros
77c3259099 Remove unnecessary parentheses 2017-12-05 12:44:48 +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
3726ba7186 Don't autorestart event handlers 2017-12-04 21:39:47 +01:00
Bálint Bokros
9f8cc3764f Make supervisor uncontrollable for now
Enabling to stop and start services on a container the user will possibly gain
shell access isn't the best idea.
2017-12-04 21:38:16 +01:00
Bálint Bokros
e2aa7c755c Switch hardcoded user to envvar 2017-12-04 17:12:18 +01:00
Bálint Bokros
44317ba76a Remove unnecessary PATH modification 2017-12-04 15:02:58 +01:00
Bálint Bokros
5e7e47d4a7 Clarify comment in Dockerfile 2017-12-04 14:55:08 +01:00
Bálint Bokros
ca59787cd4 Expose WEB_PORT envvar instead of hardcoding the value directly after the envvar was defined 2017-12-04 14:04:22 +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