Commit Graph
100 Commits
Author SHA1 Message Date
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
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 bceaa41f4b Add cat API link for... CATS 2018-04-18 10:49:56 +02:00
Kristóf Tóth 8939eb3cf2 Add contend descriptor to code blocks 2018-04-18 10:49:10 +02:00
Kristóf Tóth ee4574523f Include message in tfw.sh releasetfw 2018-04-17 18:21:26 +02:00
Kristóf Tóth f0a3f62847 Fix and extend docs 2018-04-17 18:04:59 +02:00
Kristóf Tóth fec6166eb0 Comply new baseimage contract 2018-04-17 17:45:02 +02:00
Kristóf Tóth 62809439da Continue writing docs 2018-04-17 17:39:57 +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 f463024838 Update README with project structure description 2018-04-17 14:58:24 +02:00
Kristóf Tóth ccd8f87439 Update README.md with latest developments 2018-04-17 13:29:41 +02:00
Kristóf Tóth a740fdbda8 Unify script headers 2018-04-16 20:47:23 +02:00
Kristóf Tóth f3e6a950c8 Make tfw.sh fail on unset variables 2018-04-16 20:47:23 +02:00
Kristóf Tóth fde8792277 Improve TFWDEV detection logic to allow use of set -u 2018-04-16 20:47:16 +02:00
Kristóf Tóth e57ea7b436 Make releasetfw ain't joke no more 2018-04-16 17:16:16 +02:00
Kristóf Tóth 18719f5f97 Implement drone releasename checking 2018-04-16 16:56:54 +02:00
Kristóf Tóth 1192f4c9da Add support for production builds 2018-04-16 16:01:57 +02:00
Kristóf Tóth f9a97eb253 Make script headers consistent 2018-04-16 13:07:22 +02:00
Kristóf Tóth 8812c59b60 Fix broken traps 2018-04-16 13:07:22 +02:00
Kristóf Tóth a33a04f4ad Refactor bootstrap script to better handle increased complexity 2018-04-16 13:07:22 +02:00
Kristóf Tóth 5a672ada5f Comply new TFWServerConnector API 2018-04-14 10:45:51 +02:00
Kristóf Tóth 017e7d0e26 Use BASEIMAGE variable in latest tag detection 2018-04-14 10:10:02 +02:00
Kristóf Tóth 25cedbd3d4 Implement baseimage building of latest tag in bootstrap script 2018-04-14 02:48:26 +02:00
Kristóf Tóth da665562aa Implement tfw.sh buildtfw TAG overriding 2018-04-14 02:45:42 +02:00
Kristóf Tóth cf1174250b Make bootstrap script clean up after itself in case of errors 2018-04-14 02:42:08 +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
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 32fca7206c Make latest tag detection work without DockerHub API 2018-04-06 10:27:36 +02:00
Kristóf Tóth 740110e8c5 Make aliasing nicer in oneliner SHA updater 2018-04-06 10:09:58 +02:00
Kristóf Tóth 59810a194e Merge branch 'usersep' 2018-04-05 17:38:21 +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 4234919902 Implement nicer handling of macOS compatibility aliases in hack folder 2018-04-03 18:03:12 +02:00
Kristóf Tóth 8a98fc05d5 Update oneliner to support custom install arguments 2018-04-03 11:43:46 +02:00
Kristóf Tóth f72b411106 Write documentation on building & running 2018-04-01 21:43:53 +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 8e2e31b386 Improve bootstrap script output 2018-03-31 21:22:33 +02:00
Kristóf Tóth 203d111f09 Add support to build with frontend in image in tfw.sh 2018-03-31 21:15:22 +02:00