Commit Graph
100 Commits
Author SHA1 Message Date
Kristóf Tóth bbae82d839 Add priorities to event_handler and pipe_io main processes 2019-11-21 14:26:50 +01:00
Kristóf Tóth b60dbc8471 Fix webservice 2019-11-21 13:31:39 +01:00
Kristóf Tóth 9d24f797df Add .gitkeep to solvable/nginx 2019-11-18 11:25:57 +01:00
Kristóf Tóth 5e9fc16cac Bind challenge container port to localhost only 2019-11-13 13:05:35 +01:00
Kristóf Tóth 990991217d Increase template config.yml memlimit 2019-11-13 12:35:37 +01:00
Kristóf Tóth ef73b4a2b8 Fix try_build_baseimage in tfw.sh 2019-11-12 13:31:56 +01:00
Kristóf Tóth 6e5b5cd901 Fix frontend::latest_tag hack 2019-11-07 16:30:54 +01:00
Kristóf Tóth 320cfe9952 Improve tfw.sh (refactor & new baseimage compliance) 2019-10-31 15:17:27 +01:00
Kristóf Tóth 6f7c197b12 Update terminal port envvar name 2019-10-08 14:25:58 +02:00
Kristóf Tóth 5da0af26a0 Rework release tooling 2019-09-30 15:08:04 +02:00
Kristóf Tóth 8b29cb8caa Update baseimage name in libhack 2019-09-13 09:44:51 -04:00
Kristóf Tóth 99ec9afdc3 Use new baseimage from DockerHub 2019-09-12 16:40:42 -04:00
Kristóf Tóth 6996546c75 Merge branch 'multistage' 2019-09-12 14:17:47 -04:00
Kristóf Tóth 77d7935a64 License project under GNU LGPLv3 2019-09-12 13:49:22 -04:00
Kristóf Tóth e5aaf29c17 Merge branch 'chausie' 2019-09-12 13:48:56 -04:00
Kristóf Tóth fa1cdbfd6e Open /tmp/tfw_* pipes for all users 2019-09-06 15:56:35 +02:00
Kristóf Tóth e016fc0a24 Configure frontend on 'frontend.ready' event 2019-08-30 17:38:27 +02:00
Kristóf Tóth 8c2cd7e44e Ignore trailing slash in controller route 2019-08-30 16:41:59 +02:00
Kristóf Tóth d9fa357672 Remove now duplicate EventHandler type specifications 2019-08-30 14:46:15 +02:00
Kristóf Tóth 1a1b61375c Merge branch 'processlog-rework' into chausie 2019-08-15 14:40:30 +02:00
Kristóf Tóth 4bd8ee1cf2 Use new ConsoleLogsHandler to write process logs to frontend 2019-08-15 14:37:32 +02:00
Kristóf Tóth 419a694597 Remove unused handler import 2019-08-15 14:21:41 +02:00
Kristóf Tóth 4c163e1085 Remove snaphotting from default event_handler_main 2019-08-08 16:30:14 +02:00
Kristóf Tóth 01b247e494 Follow API changes 2019-07-30 15:17:47 +02:00
Kristóf Tóth b032da8983 Use IOLoop.current() instead of deprecated instance() 2019-07-28 21:04:22 +02:00
Kristóf Tóth 7698ff430e Merge branch 'eventhandler-rework' into chausie 2019-07-25 12:12:01 +02:00
Kristóf Tóth 27cc80d36c Remove unnecessary newlines 2019-07-24 16:33:21 +02:00
Kristóf Tóth 9095a9f85a Comply new package structure 2019-07-24 15:52:38 +02:00
Kristóf Tóth 290c301d27 Simplify *main setup 2019-07-15 13:43:54 +02:00
Kristóf Tóth d9e69a6327 Use new event handling model 2019-07-12 23:26:57 +02:00
Kristóf Tóth eb60c1e08e Remove pipe auxlib 2019-07-12 23:19:22 +02:00
Kristóf Tóth 76118c0c49 Use new EventHandlerBase API to simplify graceful stop logic 2019-07-01 16:02:44 +02:00
Kristóf Tóth d263011179 Fix import order 2019-07-01 14:54:47 +02:00
Kristóf Tóth b392749643 Comply EventHandler changes 2019-06-28 15:15:56 +02:00
therealkrispet ba9d745e75 Merge pull request #14 from avatao-content/connector-rm
Remove unnecessary webservice dependencies and replace TFWConnector with PipeIO
2019-06-11 13:47:50 +02:00
therealkrispet 3ff95cf2de Merge pull request #15 from avatao-content/logging
Import the logging module directly
2019-06-11 11:33:16 +02:00
Kristóf Tóth 0104a209bf Comply TFW lib changes 2019-06-04 13:59:32 +02:00
Kristóf Tóth 2796b26d92 Harmonize pylintrc with baseimage repo 2019-06-04 13:59:12 +02:00
therealkrispet b8e441a32d Merge pull request #13 from avatao-content/pipeio
Pipeio
2019-05-28 14:53:22 +02:00
Kristóf Tóth 48efb39ea5 Partially conform new TFW networking model 2019-05-26 18:31:16 +02:00
Kristóf Tóth d33ba34454 Merge branch 'ocicat', the unrealized dream. Ocicat will return... 2019-05-15 17:26:02 +02:00
Kristóf Tóth 5a8edb7b8a Merge branch 'pipeio' 2019-05-15 14:30:15 +02:00
Kristóf Tóth fe49e61f82 Generalize pipeio by subscribing to all keys in pipe_io_main 2019-05-05 21:29:53 +02:00
Kristóf Tóth 31d8161379 Add example process with PipeIO event handlers 2019-05-02 15:59:20 +02:00
Kristóf Tóth e204cc7422 Make event_handler_main shutdown gracefully on SIGTERM and SIGINT 2019-05-02 15:07:13 +02:00
Kristóf Tóth 89c5565126 Add missing GNU utils to bootstrap script dep list 2019-02-13 13:51:55 +01:00
Kristóf Tóth 97c593640d Add macOS grep aliases to hack scripts 2018-09-17 11:49:10 +02:00
Kristóf Tóth 4a1073e524 Bootify webservice db session handling 2018-08-31 16:57:00 +02:00
Kristóf Tóth e7d78ed289 Add snapshot event handler 2018-08-07 17:08:22 +02:00
Kristóf Tóth 3bda7bc540 Make cleanup() calls automatic in event_handler_main.py 2018-08-07 17:08:18 +02:00
Kristóf Tóth 829c244867 Fix HOTRELOAD 2018-08-03 13:33:11 +02:00
Kristóf Tóth 38963e7b81 Improve Dockerfile 2018-08-01 15:05:08 +02:00
Kristóf Tóth 5e390e1449 Update lies in README 2018-07-30 08:56:40 +02:00
Kristóf Tóth db551e8788 Add notice on YamlFSM jinja2 support 2018-07-27 13:59:34 +02:00
Kristóf Tóth 8b47b301e4 Use jinja2 in default YamlFSM 2018-07-27 13:59:14 +02:00
Kristóf Tóth 265560b614 Conform new import routes 2018-07-26 14:00:24 +02:00
Kristóf Tóth 8fab3d2226 Conform new fsm_update API 2018-07-25 13:35:39 +02:00
Kristóf Tóth b15e442039 Fix hotreload dev feature 2018-07-24 14:50:25 +02:00
Kristóf Tóth d90426794c Merge branch 'state-rewind' 2018-07-20 15:20:25 +02:00
Kristóf Tóth 67b630401b Implement TFW controller after months of pain and suffering ¯\_(ツ)_/¯ 2018-07-20 15:05:00 +02:00
Kristóf Tóth 69721039eb Prepare controller/Dockerfile for an actual controller 2018-07-20 14:41:27 +02:00
Kristóf Tóth 2f60ddd46a Add FSMAwareEH example to event_handler_main 2018-07-20 13:38:18 +02:00
Kristóf Tóth d23771e7ca Merge branch 'fsm_as_eventhandler' 2018-07-11 10:23:09 +02:00
Kristóf Tóth 185f1165cf Update FSM documentation 2018-07-11 10:17:19 +02:00
Kristóf Tóth 7949d94493 Update docs with FSM stuff 2018-07-10 17:56:36 +02:00
Kristóf Tóth c9439f547b Remove lies from docs and update info 2018-07-10 17:42:08 +02:00
Kristóf Tóth 98f297cff2 Make python and yaml FSMs eqvivalent so it's a nice example 2018-07-10 17:32:43 +02:00
Kristóf Tóth 6b1fa664c4 Remove TFWServer logic (handled in baseimage from now) 2018-06-29 22:52:39 +02:00
Kristóf Tóth 9b3e62852d Move FSM initialization logic to event_handler_main.py 2018-06-29 22:08:05 +02:00
Kristóf Tóth 0fafa8bcfb Add readme notes on challenge creation in general 2018-06-28 13:39:24 +02:00
Kristóf Tóth 5376ee617d Merge branch 'libhack' 2018-06-27 17:09:12 +02:00
Kristóf Tóth f71d94e8dc Fix delete_repos broken directory changing logic 2018-06-27 14:38:11 +02:00
Kristóf Tóth 1507a9338b Implement invalid tag detection 2018-06-27 14:35:06 +02:00
Kristóf Tóth 043ae95801 Strip bootstrap.sh from tfw.sh as Dockerization efforts are abandoned 2018-06-27 13:57:00 +02:00
Kristóf Tóth 7567bcb891 Elaborate creating proxy-aware web applications in readme 2018-06-27 10:36:44 +02:00
Kristóf Tóth 51cd837e3a Fix remote ask logic broken by refactor streak 2018-06-20 17:48:16 +02:00
Kristóf Tóth df285fea58 Integrate old bootstrap_tfw_dev.sh into tfw.sh 2018-06-20 17:48:16 +02:00
Kristóf Tóth 0f9b5920c1 Fix leftover legacy function names from libhack refactor 2018-06-20 17:48:16 +02:00
Kristóf Tóth 8128866c86 Fix certain ifs in hack stuff 2018-06-20 17:48:16 +02:00
Kristóf Tóth f37e07d955 Fix TFWDEV=0 workflow 2018-06-20 17:48:16 +02:00
Kristóf Tóth cdbae9f39e Refactor frontend stuff to libhack/frontend.sh 2018-06-20 17:48:16 +02:00
Kristóf Tóth 6248da24e7 Use locals where possible 2018-06-20 17:48:16 +02:00
Kristóf Tóth 35776e7d7f Refactor challenge building to libhack 2018-06-20 17:48:16 +02:00
Kristóf Tóth f563022aa8 Refactor baseimage building to baseimage.sh 2018-06-20 17:48:16 +02:00
Kristóf Tóth d86f6affac Refactor baseimage related stuff to libhack/baseimage.sh 2018-06-20 17:48:16 +02:00
Kristóf Tóth d4f4d5b288 Improve db Session logic 2018-06-20 17:47:36 +02:00
Kristóf Tóth ccf348e5c5 Fix webservice 404, 401 handlers 2018-06-13 17:18:34 +02:00
Kristóf Tóth 5180edbaf6 Further reduce user_ops line length in preparation for monaco 2018-06-13 09:38:56 +02:00
Kristóf Tóth 321699c644 Merge branch 'baseimage-only-hack' 2018-06-08 14:16:12 +02:00
Kristóf Tóth d21417ba0c Implement in-container building of TFW sphinx documentation 2018-06-08 14:11:03 +02:00
Kristóf Tóth 154c4fa2ce Add instructions on building a specific baseimage version 2018-06-08 12:09:47 +02:00
Kristóf Tóth 164c044595 Reorder and augment stuff in readme 2018-06-08 12:00:30 +02:00
Kristóf Tóth a6e8f4b898 Rename functions not telling the truth in bootstrap script 2018-06-08 11:46:36 +02:00
Kristóf Tóth 81a930470a Improve BASEIMAGE_ONLY flow 2018-06-08 11:40:22 +02:00
Kristóf Tóth 5ea5f52630 Implement optional BASEIMAGE_ONLY builds 2018-06-08 11:11:12 +02:00
Kristóf Tóth 9f2f5f8bfb Build TFW for framework developers and reorder building process 2018-06-08 11:11:12 +02:00
Kristóf Tóth b5156d437b Fix webservice authentication bug caused by pylint streak 2018-06-06 20:42:05 +02:00
Kristóf Tóth 1738b541e8 Comply import order conventions 2018-06-06 20:36:21 +02:00
Kristóf Tóth cb9e673a68 Merge branch 'message-types' 2018-06-04 22:19:39 +02:00
Kristóf Tóth 12c95a198b Harmonize code formatting style across project 2018-06-04 21:56:59 +02:00