1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:41:32 +00:00
Commit Graph

149 Commits

Author SHA1 Message Date
R. Richard
14f300d610 Include PipeIO dependencies 2019-06-11 13:13:32 +02:00
R. Richard
6b14cd0cae Configure loggging in pipe_io_main(), too 2019-06-11 11:32:46 +02:00
R. Richard
8b04bc0477 Import the logging module directly 2019-06-10 15:36:14 +02:00
Kristóf Tóth
0104a209bf Comply TFW lib changes 2019-06-04 13:59:32 +02:00
Kristóf Tóth
48efb39ea5 Partially conform new TFW networking model 2019-05-26 18:31:16 +02:00
R. Richard
a1b4a87864 Replace cleanup() with stop() 2019-05-20 11:10:24 +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
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
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
38963e7b81 Improve Dockerfile 2018-08-01 15:05:08 +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
2f60ddd46a Add FSMAwareEH example to event_handler_main 2018-07-20 13:38:18 +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
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
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
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
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
a6724b947b Make TestCommands general instead of a command for every feature 2018-05-26 22:56:49 +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
3ee5db6e57 Make webservice run as user and use tfwconnector pip package 2018-05-11 17:46:15 +02:00
Kristóf Tóth
9eede5f80e Silence pylint's unjust accusations 2018-05-10 17:07:25 +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
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
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
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
Kristóf Tóth
9ec0132e06 Add docstrings to webservice UserOps class 2018-04-28 19:24:15 +02:00
Kristóf Tóth
0e83c31587 Make webide display webservice authentication module 2018-04-28 19:12:19 +02:00
Kristóf Tóth
511e16c514 Perform mercilless separation of bussiness logic from request handling 2018-04-28 19:08:29 +02:00
Kristóf Tóth
fbd7bff85a Fix form validation in webservice 2018-04-28 18:37:49 +02:00
Kristóf Tóth
cf464c1987 Refactor messy global scoped_session from webservice 2018-04-28 18:25:23 +02:00
Kristóf Tóth
42ce7ca511 Make webservice registration layout nicer 2018-04-28 18:25:03 +02:00
Kristóf Tóth
bb4745ed47 Use best practices for password hashing in webservice 2018-04-28 17:40:36 +02:00
Kristóf Tóth
db9e2c055f Refactor webservice to use SQLAlchemy and other good stuff 2018-04-28 15:51:04 +02:00
Kristóf Tóth
1f1a1149c6 Symlink webservice server.py to webide workdir 2018-04-26 11:04:00 +02:00
Kristóf Tóth
b897ec449c Rename TerminadoEventHandler 2018-04-26 10:12:47 +02:00
Kristóf Tóth
1a295d5fd6 Strip old sqli example app and replace it with a simple login service 2018-04-25 11:52:42 +02:00
Kristóf Tóth
89cd7638d5 Rename webide -> ide 2018-04-20 17:33:59 +02:00
Kristóf Tóth
31c1391726 Make seppuku command trigger frontend reload 2018-04-20 14:51:08 +02:00
Kristóf Tóth
41d6fa7417 Implement command to change layout from cli 2018-04-20 14:42:32 +02:00
Kristóf Tóth
d6ff80230f Move TFW stuff to hidden location with proper permissions 2018-04-19 17:33:12 +02:00
Kristóf Tóth
d39a861e1d Implement seppuku command 2018-04-19 16:23:46 +02:00
Kristóf Tóth
d79664cf0c Silence unjust pylint warnings 2018-04-19 11:22:43 +02:00
Kristóf Tóth
101ecae37b Remove logging calls that noone ever used 2018-04-19 11:21:42 +02:00
Kristóf Tóth
1040882254 Use new f-strings where possible 2018-04-19 09:19:32 +02:00
Kristóf Tóth
f79235fe22 Silence unjust pylint warnings 2018-04-18 20:45:17 +02:00
Kristóf Tóth
fec6166eb0 Comply new baseimage contract 2018-04-17 17:45:02 +02:00
Kristóf Tóth
4219e7a610 Unify nginx configuration style 2018-04-17 15:15:01 +02:00
Kristóf Tóth
325980e61d Remove terminado nginx config (this comes with TFW) 2018-04-17 15:14:40 +02:00
Kristóf Tóth
1192f4c9da Add support for production builds 2018-04-16 16:01:57 +02:00
Kristóf Tóth
5a672ada5f Comply new TFWServerConnector API 2018-04-14 10:45:51 +02:00
Kristóf Tóth
7952ca7e54 Add .bashrc path to TestCommands instance 2018-04-12 11:08:58 +02:00
Kristóf Tóth
36d4054147 Move Commands class to TFW library as TerminalCommands 2018-04-12 10:55:33 +02:00
Kristóf Tóth
b718f960f7 Rename stuff in Command class to be more expressive 2018-04-12 10:46:54 +02:00
Kristóf Tóth
93f211c410 Refactor command implementation boilerplate into Command class 2018-04-11 17:35:18 +02:00
Bokros Bálint
31a385fced Merge pull request #2 from avatao-content/linearfsm
Add LinearFSM example to test project
2018-04-10 17:37:12 +02:00
Kristóf Tóth
7a22dc96f5 Make TestFSM.__init__ argument binding more explicit 2018-04-10 17:32:47 +02:00
Kristóf Tóth
7331858055 Add LinearFSM example to test project 2018-04-10 11:19:53 +02:00
Kristóf Tóth
8519479ebd Fix indentation ruined by renamings 2018-04-07 22:41:18 +02:00
Kristóf Tóth
07e57681c5 Follow renamings in baseimage 2018-04-07 14:18:41 +02:00
Kristóf Tóth
4fa9895854 Use ServerUplinkConnector with new name TFWServerConnector 2018-04-06 16:23:20 +02:00
Kristóf Tóth
de4c534568 Make use of new import API 2018-04-06 16:05:52 +02:00
Kristóf Tóth
d44515c3d1 Comply new import API 2018-04-06 15:22:14 +02:00
Kristóf Tóth
0aea0010c8 Add whitelist to SourceCodeEH 2018-04-05 17:37:38 +02:00
Kristóf Tóth
b96af45af8 Comply with new contract (add TFWServer starter to supervisor) 2018-04-04 17:49:18 +02:00
Kristóf Tóth
0e342e2f2c Update project to comply user separation 2018-04-04 17:44:14 +02:00
Kristóf Tóth
9509ea88e1 Refactor event_handler_main according to pylint suggestions 2018-04-01 00:45:15 +02:00
Kristóf Tóth
f9c87d9a31 Remove extra folder from demo path 2018-03-31 22:05:48 +02:00
Kristóf Tóth
c99251c4bf Fix parent image after name change 2018-03-31 00:38:30 +02:00
Kristóf Tóth
c9196dda75 Initialize HistoryMonitor in TerminadoEventHandler callee 2018-03-29 11:34:53 +02:00
Kristóf Tóth
832aae0c32 Update supervisor config files to use non-hacky python 2018-03-28 16:28:10 +02:00
Kristóf Tóth
5edb203fed Make app.py comply pylint 2018-03-27 17:09:14 +02:00
Kristóf Tóth
8169f5e220 Group imports in app.py 2018-03-27 17:05:27 +02:00
Kristóf Tóth
557ccfc2db Update event_handler_main to pre-baseimage split version 2018-03-27 16:04:33 +02:00
Kristóf Tóth
5a5045ff3b Rename TFWENV constant to use capital letters 2018-03-25 16:34:31 +02:00
Kristóf Tóth
5c43c7588d Add frontend directory with .gitkeep 2018-03-23 16:07:42 +01:00
Kristóf Tóth
6d6262b220 Initial commit, first version of test TFW project 2018-03-23 15:27:42 +01:00