Commit Graph
100 Commits
Author SHA1 Message Date
Bokros Bálint 1a4d88668a Merge pull request #23 from avatao-content/watchdog_api
Fix webide autosave stuff & implement DirectoryMonitoringEventHandler
2018-03-20 17:02:14 +01:00
Bokros Bálint 38f61b9daa Merge pull request #22 from avatao-content/webide_enhancements
Webide enhancements
2018-03-19 13:33:23 +01:00
Bokros Bálint abeb12858e Merge pull request #21 from avatao-content/platform_fixes
Add platform fixes to TFW and implement Geri's feature requests
2018-03-14 14:37:20 +01:00
Bokros Bálint b6f6725550 Merge pull request #20 from avatao-content/webide-directories
Implement support for changing working directory in webide
2018-03-09 11:22:05 +01:00
Bokros Bálint cb3d7b0e04 Merge pull request #19 from avatao-content/error_handling
Implement robust error handling
2018-03-07 17:07:42 +01:00
Bokros Bálint be6f657de1 Merge pull request #18 from avatao-content/callbackmixin
Refactor callback subscription stuff to a mixin
2018-03-07 12:05:03 +01:00
Bokros Bálint 6db4c80671 Merge pull request #17 from avatao-content/terminado_commands
Implement terminal manipulation via a new EventHandler
2018-03-07 11:43:02 +01:00
Bokros Bálint a785a1a76f Merge pull request #16 from avatao-content/pmgeh_monitorpasuse_fix
Fix monitor pausing rendered useless by pmgeh, general webide optimization
2018-03-02 14:20:02 +01:00
Bokros Bálint feb946a1bb Merge pull request #15 from avatao-content/pmgeh
Rework TFW process management capabilities
2018-02-28 17:57:27 +01:00
Bokros Bálint 7d5b93077f Merge pull request #14 from avatao-content/fsm_api
FSM API implementation
2018-02-27 16:48:11 +01:00
Bokros Bálint 58d2977731 Merge pull request #13 from avatao-content/bottomless_pit
Refactor TFW architecture to support stateless event handling
2018-02-27 14:09:44 +01:00
Bokros Bálint 41a32437b2 Merge pull request #13 from avatao-content/bottomless_pit
Refactor TFW architecture to support stateless event handling
2018-02-26 17:06:22 +01:00
Bokros Bálint 654ddacb74 Merge pull request #12 from avatao-content/multi_websockets
Implement support for multiple websockets connecting to TFW
2018-02-19 10:08:40 +01:00
Bálint Bokros 609cd19589 Remove unnecessary super call 2018-02-19 10:02:42 +01:00
Bálint Bokros acb292460f Log token setup failure properly 2018-02-19 09:50:01 +01:00
Bálint Bokros 4db3a4a128 Update frontend 2018-02-15 17:21:10 +01:00
Bokros Bálint a7e2a08166 Merge pull request #11 from avatao-content/watchdog_hotfix
Watchdog hotfix
2018-02-15 10:19:39 +01:00
Bálint Bokros 516c5746f8 Update frontend 2018-02-14 13:27:38 +01:00
Bálint Bokros 2ebc34fa05 Remove unused create_source_code_response_data method 2018-02-13 17:57:12 +01:00
Bálint Bokros b9e41c01cf Move RateLimiter to decorators 2018-02-13 17:56:01 +01:00
Bálint Bokros 14f3a4a153 Move SupervisorMixin to mixins 2018-02-13 17:51:19 +01:00
Bálint Bokros f5a8230d3b Move ZMQConnectorBase to networking 2018-02-13 17:44:48 +01:00
Bálint Bokros dbc2d1c0ea Add cenerator to enable testing 2018-02-13 17:35:30 +01:00
Bokros Bálint ddffb666be Merge pull request #8 from avatao-content/watchdog
Watchdog
2018-02-13 16:32:50 +01:00
Bálint Bokros dda470fc93 Validate token in controller's HTTP handlers 2018-02-13 13:39:27 +01:00
Bálint Bokros 019ce53b39 Share token with solvable upon starting 2018-02-13 13:38:13 +01:00
Bálint Bokros 0cd294d61f Create token in controller 2018-02-13 13:35:34 +01:00
Bálint Bokros cb46a8b80e Make controller async 2018-02-12 18:04:59 +01:00
Bálint Bokros 86aecd18a8 Move responding-to-controller related stuff to its own class 2018-02-12 13:22:55 +01:00
Bálint Bokros 6f785b3ca7 Refactor solvable responses 2018-02-12 11:28:35 +01:00
Bálint Bokros e04cc08dd6 Remove unnecessary autoreload
As running the project outside a Docker container has become unfeasible,
having this feature doesn't make sense anymore.
2018-02-12 11:09:30 +01:00
Bokros Bálint de98ec3391 Merge pull request #6 from avatao-content/project_restructure
Project restructure
2018-02-12 10:55:19 +01:00
Bálint Bokros 1e9642912c Create initial implementation for solution check 2018-02-09 17:37:56 +01:00
Bálint Bokros 4f181b8f09 Separate the handling of envvars by prefix 2018-02-09 17:37:56 +01:00
Bálint Bokros 2499c4759e Fix envvar imports 2018-02-09 17:37:56 +01:00
Bálint Bokros 28e83de0d7 Create PoC of solvable with hardcoded responses 2018-02-09 17:37:56 +01:00
Bálint Bokros eed3006055 Add logging to controller 2018-02-09 17:37:56 +01:00
Bálint Bokros e39b8b9283 Make trailing slash optional in URLs 2018-02-09 17:37:56 +01:00
Bálint Bokros 1c3e946e29 Fix handlers' responses 2018-02-09 17:37:56 +01:00
Bálint Bokros f3d53c2b5b Fix handlers import 2018-02-09 17:37:56 +01:00
Bálint Bokros 9a33ed0624 Create supervisor entry for controller 2018-02-09 17:37:56 +01:00
Bálint Bokros 793fc45493 Add controller to Dockerfile
This is a temporary measure to ease development and testing. The final project
will contain a separate controller.
2018-02-09 17:37:56 +01:00
Bálint Bokros c015727153 Create initial version of controller 2018-02-09 17:37:56 +01:00
Bálint Bokros 95e1f907ee Make serialization methods' parameter names more generic 2018-02-09 17:37:56 +01:00
Bálint Bokros 27376ada22 Create initial version of SolvableConnector 2018-02-09 17:37:56 +01:00
Bálint Bokros 03d6f587e9 Create initial version of ControllerConnector 2018-02-09 17:37:56 +01:00
Bálint Bokros 55ef87e089 Add AVATAO_SECRET to envvars 2018-02-09 17:37:56 +01:00
Bokros Bálint a933248e90 Merge pull request #4 from avatao-content/webide_rework
Webide rework
2018-02-08 17:52:45 +01:00
Bálint Bokros 8b9f7e50cb Move FSM instantiation out of FSMManagingSocketHandler 2018-02-08 14:47:00 +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
Bokros Bálint fde26fb0c8 Merge pull request #3 from avatao-content/project_restructure
Project restructure
2018-01-31 16:42:58 +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
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
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
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
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
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
Bálint Bokros ce07c4d6ec Move commands to class variable 2018-01-18 15:51:08 +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
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