Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Kristóf Tóth 60986fa51d Remove no longer used argument from IdeEH.__init__ call 2018-06-04 21:48:54 +02:00
Kristóf Tóth d7f272a535 Reduce user_ops.py line length to better fit webIDE 2018-06-04 21:16:05 +02:00
Kristóf Tóth cf8a9d7e81 Rename event_handlers.conf for coherency 2018-05-31 14:22:08 +02:00
Kristóf Tóth e5056e3ee1 Comply with changes in TFW API 2018-05-31 14:20:08 +02:00
Kristóf Tóth 6ff39e9739 Extend docstrings in event_handler_main 2018-05-31 14:19:47 +02:00
Kristóf Tóth 23a64a4553 Unify event_handler_main EH instantiation formatting 2018-05-30 15:58:19 +02:00
Kristóf Tóth c17372cfb1 Comply new LogMonitoringEH API 2018-05-30 15:23:54 +02:00
therealkrispet 9c6cd15bb2 Merge pull request #6 from avatao-content/console
Console
2018-05-30 14:30:05 +02:00
Kristóf Tóth 8b8e6ed5fb Use new LogMonitoringEventHandler instead of naked LogMonitor observer 2018-05-30 13:15:13 +02:00
Kristóf Tóth 7e717b8829 Add LogMonitor for live process output monitoring 2018-05-30 11:29:42 +02:00
Kristóf Tóth 00f2473592 Update webservice supervisor config in preparation for console 2018-05-30 11:29:42 +02:00
Kristóf Tóth 68c90aa2e9 Add KILL kernel capability to avoid cap-drops messing up PMGEH 2018-05-30 11:28:31 +02:00
Kristóf Tóth a6724b947b Make TestCommands general instead of a command for every feature 2018-05-26 22:56:49 +02:00
Kristóf Tóth 1210aea1b5 Remove spinners from all git commands to avoid breaking stdout 2018-05-25 10:40:43 +02:00
Kristóf Tóth 870b2d4cff Fix HTTPS authentication in bootstrap script 2018-05-25 10:22:30 +02:00
Kristóf Tóth f88342a91d Fix user_ops.py not reloading on edit from terminal 2018-05-24 16:20:56 +02:00
Kristóf Tóth 66be01548b Encforce tag descriptions in tfw.sh releasetfw 2018-05-24 14:43:15 +02:00
Kristóf Tóth 8e0537974e Add support for running TFW without a new build 2018-05-18 16:14:31 +02:00
Kristóf Tóth fb2814c3a2 Improve HOTRELOAD mounting logic 2018-05-14 12:45:21 +02:00
Kristóf Tóth 3ee5db6e57 Make webservice run as user and use tfwconnector pip package 2018-05-11 17:46:15 +02:00
Kristóf Tóth ba0f92d2ac Add documentation on tfw pip package 2018-05-10 17:28:12 +02:00
Kristóf Tóth 9eede5f80e Silence pylint's unjust accusations 2018-05-10 17:07:25 +02:00
Kristóf Tóth 43d63323fa Add note on challenge-toolbox 2018-05-08 12:49:31 +02:00
Kristóf Tóth d0c84e4d02 Make tfw.sh work with different repo names 2018-05-08 12:44:38 +02:00
Kristóf Tóth 9dc4587196 Add .drone.yml 2018-05-08 12:26:41 +02:00
Kristóf Tóth 6a53b9634b Make solvable work on read-only fs 2018-05-07 13:39:38 +02:00
Kristóf Tóth 950bd857a4 Add support for running container separately in tfw.sh 2018-05-04 11:00:22 +02:00
Kristóf Tóth 0b8d084181 Deal with pylint being pylint 2018-05-04 10:35:32 +02:00
Kristóf Tóth 6782b49882 Match session scope with request scope, cry with Uncle Bob 2018-05-04 10:27:46 +02:00
Kristóf Tóth cb6f670329 Implement support for optional arguments to docker run inside script 2018-05-04 10:24:06 +02:00
Kristóf Tóth f4bbf5477d Add .gitignore with project specific stuff 2018-05-04 10:23:35 +02:00
Kristóf Tóth 19278ecb77 Rename webservice directory in Dockerfile to match service name 2018-05-04 10:02:30 +02:00
Kristóf Tóth 89103f7c31 Rename exceptions.py to avoid shadowing built-in module 2018-05-03 14:39:25 +02:00
Kristóf Tóth f56de6aef4 Implement optional changing of git remotes to HTTPS 2018-05-03 14:32:23 +02:00
Kristóf Tóth 65ce63c2cd Fix error traps not running on SIGINT 2018-05-03 14:29:41 +02:00
Kristóf Tóth 99b19a80da Refactor webservice db stuff to use a single sessionmaker 2018-05-03 14:24:30 +02:00
Kristóf Tóth 3203f3af84 Refactor get_url to a lambda 2018-05-03 14:11:02 +02:00