Commit Graph

23 Commits

Author SHA1 Message Date
2988f8f4a7 Attempting to get stdout from scan 2020-02-13 16:59:35 +13:00
571c857814 Process action naming convention 2020-02-13 10:41:20 +13:00
c4486e4007 Merge pull request #492 from BrainStone/patch-1
Fix checking the boolean flag
2020-02-13 08:56:49 +13:00
37c1fe1dc2 Use /IS_CONTAINER switch 2020-02-11 09:53:58 +13:00
683ca69b7d Fix checking the boolean flag
``[[ $flag ]]`` checks if the variable is not empty. Not if it's true or false. Which means it will always succeed, because both possible values (``true`` and ``false``) are not empty.

An alternative would be ``[[ "$flag" = "true" ]]``.

Fixes some points mentioned in #489. Doesn't address changing `pip` to `pip3` (or maybe even ``python3 -m pip``) or the missing detection of the version number.
2020-02-10 10:26:28 +01:00
2f07b82058 Fixing upgrade command 2020-02-10 07:21:16 +13:00
15943369d4 Using crude but predictable file to detect when running in docker, #489 2020-02-10 07:15:30 +13:00
169396042a Theoretical handling of system task updates; stdout straight to logger 2020-01-17 23:14:43 +13:00
0e15a8745e Attaching Tornado ioloop to SystemThread, handling SystemThread errors with JsonRPC structure 2020-01-17 21:55:12 +13:00
76dc149041 Removing debug code, adding to test 2020-01-17 17:01:24 +13:00
10cc04adae Callbacks not finding self thread 2020-01-03 06:01:36 +13:00
fd66edfbe4 Nope, threading was the best approach (reinstated) 2020-01-01 21:41:38 +13:00
e6136505b4 Moving away from threads, using async instead for system tasks; local scan not working any more 2020-01-01 12:13:18 +13:00
d522316ee2 Adding async await where possible, need to revist system tasks 2019-12-30 21:13:15 +13:00
33d6c66d96 Dropdown fields 2019-11-07 17:01:27 +13:00
1a0b00fcad Git clone as upgrade when running in docker (WIP) 2019-10-20 20:15:20 +13:00
cb015fd263 Removing semi-colon to rectify system tasks 2019-04-10 16:33:41 +12:00
0a6dd7bf23 Flag system tasks that fail 2019-04-04 14:37:40 +13:00
acad6490f5 Fully-functional proof-of-concept 2018-11-02 16:10:38 +13:00
4c100a9527 Attempting threading for long-runing system processes 2018-11-02 10:20:32 +13:00
fa17dafe86 Collecting output from pip upgrade and returning to user 2018-04-21 21:59:40 +12:00
c48d07a8cd System script, implement deley to alert other users; UI 2018-04-17 15:58:39 +12:00
23dd955d6d Upgrade and restart as separate system file 2018-04-16 21:58:38 +12:00