Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Ross Gardler 5aad15ee10 whitespace 2017-08-24 22:54:59 +00:00
Ross Gardler 5416c09c95 replace '\n' wit '<br/>' to ensure proper layout of results. Fixes #25 2017-08-19 00:20:49 +00:00
Ross Gardler c1cec2d6a6 clear console and info panel on connect 2017-08-19 00:10:31 +00:00
Ross Gardler d4a60315ab Strip ANSI codes when displaying in browser #24 2017-08-18 23:56:59 +00:00
Ross Gardler 8e14bb6bc5 need to expand variables when converting xdg-open to tab open otherwise the browser gets the variable name not the valiue 2017-08-18 23:25:30 +00:00
Ross Gardler 5d08b45dcc add the ability to intercept some commands. This allows, for example, xdg-open - opens a file or URL in the user's preferred application
Synopsis

xdg-open { file | URL }

xdg-open { --help | --manual | --version }

Use 'man xdg-open' or 'xdg-open --manual' for additional info. to be intercepted and converted to  in the CLI, while on the browser it causes a tab to be opened in the browser
2017-08-15 01:55:40 +00:00
Ross Gardler aec758a6f2 displya prompt after clear 2017-08-13 05:43:57 +00:00
Ross Gardler cc69846903 allow configuratoin of the port 2017-08-13 04:52:14 +00:00
Ross Gardler 70bc0cd5bb Add a broswer 'audience view' showing just the console' 2017-08-13 01:38:40 +00:00
Ross Gardler 23d1bfd913 break out console and control code to make it possible to create different views in the browser 2017-08-12 23:32:42 +00:00
Ross Gardler 3e9c8d00f8 drop output of demo details to stdout 2017-08-12 03:48:11 +00:00
Ross Gardler d3fe34d64f move capturing the input into the request_input method itself 2017-08-12 03:48:11 +00:00
Ross Gardler 310b0f20e6 When connecting to webUI report the demo in use 2017-08-12 03:48:11 +00:00
Ross Gardler 1e1ca10c4b demo no longer a parameter 2017-08-12 03:48:11 +00:00
Ross Gardler a5d781b120 pause to get a string from the user for the execution mode, not quite there for next steps, but almost 2017-08-12 03:47:11 +00:00
Ross Gardler b989dafccd Now waits for user input between commands 2017-08-12 03:47:11 +00:00
Ross Gardler 609a77feec batch up the characters to send over the websocket if running in anything other than simulation mode 2017-08-12 03:47:11 +00:00
Ross Gardler 6a7a305ca3 WIP: Use an alert to proceed throug the demo - no longer need to enter anything in the shell. Need to move this to a move away from alerts bu this is a quick spike to show how it's done. 2017-08-12 03:47:11 +00:00
Ross Gardler 043df48214 Send commands and results to console (note input still comes from the CLI so to test you need to hit keys in the shell you started the application in) 2017-08-12 03:47:11 +00:00
Ross Gardler 48ec48d672 provide to ways to display information (console panel and info panel) 2017-08-12 03:47:11 +00:00
Ross Gardler 730b0ac294 add color and font to console 2017-08-12 03:47:11 +00:00
Ross Gardler 9eacc4feca basic functionality for web ui is now there 2017-08-12 03:47:11 +00:00
Ross Gardler 431b087091 WIP: adding a web server with WebSockets to update the console 2017-08-12 03:47:11 +00:00