Commit Graph
100 Commits
Author SHA1 Message Date
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
Kristóf Tóth af6f173963 Warn in case docker daemon is not running in dep checks 2018-05-02 19:11:57 +02:00
Kristóf Tóth b7cfbc9593 Fix output broken by trap & status code fix 2018-05-02 19:11:06 +02:00
Kristóf Tóth d4931b0727 Fix spinned function not returning exit codes 2018-05-02 18:18:55 +02:00
Kristóf Tóth a440c2d1cb Unify traps in bootstrap scripts to avoid confusion 2018-05-02 18:16:42 +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 c14b244c1e Update tfw.sh usage info 2018-04-28 11:28:22 +02:00
Kristóf Tóth ab88856651 Reorder stuff in bootstrap script for logical consistency 2018-04-28 11:26:48 +02:00
Kristóf Tóth 6679a3b1ef Implement bootstrap script dependency checking 2018-04-28 11:17:55 +02:00
Kristóf Tóth 1678f81315 Add notice about SSH keys 2018-04-28 10:35:12 +02:00
Kristóf Tóth 4a64de0ac7 Include dependencies in docs 2018-04-27 11:55:52 +02:00
Kristóf Tóth 4b39a3d5da Implement spinning progress bar stuff 2018-04-27 11:40:34 +02:00
Kristóf Tóth 6c90801146 Fix cleanup trap failing when not in proper directory 2018-04-27 11:28:00 +02:00
Kristóf Tóth adcdf74673 Use pushd and popd instald of cding around 2018-04-27 11:27:23 +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 26801bed52 Resolve TODOs in README 2018-04-25 17:44:12 +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 54b299e7ef Clarify frontend proxying in readme 2018-04-23 17:32:21 +02:00
Kristóf Tóth 8e21b8ffaa Make repo listing items links 2018-04-21 11:30:34 +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 709c61d130 Change tfw.sh usage output to make more sense 2018-04-19 17:04:08 +02:00
Kristóf Tóth f54d654576 Fix usage info printing in tfw.sh 2018-04-19 17:01:59 +02:00
Kristóf Tóth 3b0552f6d1 Implement TFW library hotreloading 2018-04-19 17:01:26 +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