Commit Graph

2663 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 61424b6853 tweaks to help menu suggested by design 2019-10-07 12:27:13 +13:00
Dimitri John Ledkov 6f939e5452
Merge pull request #551 from xnox/fix-path
Move PATH setup from agetty service into subiquity itself
2019-10-04 18:18:05 +01:00
Dimitri John Ledkov 3f548665e1 Add ASCII mode 2019-10-04 17:17:26 +01:00
Dimitri John Ledkov 60a1d88c2e
Merge pull request #552 from mwhudson/colorfun
enable turning colors on and off
2019-10-04 16:23:30 +01:00
Michael Hudson-Doyle 471ac37520 reprobe block devices on debug shell exit 2019-10-04 15:10:14 +13:00
Michael Hudson-Doyle 7a3a88ab0c add a signal that is fired when a debug shell exits 2019-10-04 15:10:11 +13:00
Michael Hudson-Doyle 36cdf0effd some better names 2019-10-04 13:39:39 +13:00
Michael Hudson-Doyle 415db68e36 always use vt100 codes for white/black/default
For maximum compatibility in mono mode.
2019-10-04 13:39:39 +13:00
Michael Hudson-Doyle cea3a65ca1 refactor how palettes and colors and screens are set up 2019-10-04 13:39:39 +13:00
Michael Hudson-Doyle 165ac5f31b add to help menu 2019-10-04 13:39:39 +13:00
Michael Hudson-Doyle 29c9e0c984 add a hot key (f4) for turning color on and off 2019-10-04 13:39:39 +13:00
Dimitri John Ledkov e6dd21be6e Move PATH setup from agetty service into subiquity itself
This way `sudo snap run subiquity` will have the correct PATH for
probert/utils/curtin, as needed when running subiquity from ssh
session.
2019-10-04 00:55:24 +01:00
Michael Hudson-Doyle fffefa9405 run debug shell in / 2019-10-04 11:31:46 +13:00
Michael Hudson-Doyle 3d68dd796a move each block probing attempt into its own object
This makes the flow a bit clearer even without it enabling what's coming
next.
2019-10-04 11:31:35 +13:00
Dimitri John Ledkov e62045f9a5 Mention that control-L redraws screen in help
Merge remote-tracking branch 'origin/pull/549/head'
2019-10-03 14:57:43 +01:00
Dimitri John Ledkov 5fd40fb8d1
Merge pull request #545 from mwhudson/debug-shell-2
add debug shell help menu item / shortcut
2019-10-03 14:55:33 +01:00
Michael Hudson-Doyle 28c979cf63 mention that control-l redraws screen in help 2019-10-03 15:01:54 +13:00
Michael Hudson-Doyle 0ca326a072 add f2 as another "switch to shell" shortcut 2019-10-03 09:20:44 +13:00
Michael Hudson-Doyle 97beb73b36 add debug shell help menu item / shortcut 2019-10-03 09:19:00 +13:00
Michael Hudson-Doyle 670f0cbba1
Merge pull request #546 from xnox/unbreak-f1
Unbreak F1
2019-10-03 09:10:30 +13:00
Michael Hudson-Doyle 6beae73dbe
Merge pull request #547 from CanonicalLtd/vorlon/strings-not-to-translate
Don't mark 'DHCPv{v}' as translatable
2019-10-03 09:10:16 +13:00
Steve Langasek d2f996732f Don't mark a dash as translatable 2019-10-02 11:45:34 -07:00
Steve Langasek 34034e4a79 Don't mark 'DHCPv{v}' as translatable 2019-10-02 11:40:58 -07:00
Dimitri John Ledkov 4a451fe0e3 Unbreak F1 2019-10-02 12:49:40 +01:00
Michael Hudson-Doyle 8ca8bcf579
Merge pull request #541 from mwhudson/add-help-menu
Add help menu
2019-10-02 11:01:48 +13:00
Michael Hudson-Doyle 12a8ff3445 leave the help menu focusable while help content is showing 2019-10-02 10:51:56 +13:00
Michael Hudson-Doyle 9ece5d2222 implement local documentation 2019-10-02 10:51:34 +13:00
Michael Hudson-Doyle 6944637b7b minor about wordsmithing 2019-10-02 10:51:12 +13:00
Michael Hudson-Doyle 85338ff834 help on shortcut keys 2019-10-02 10:50:49 +13:00
Michael Hudson-Doyle 8d97a6be80 make f1 open help menu 2019-10-02 10:50:27 +13:00
Michael Hudson-Doyle efe24c7c6a make "about" menu item do something 2019-10-02 10:50:05 +13:00
Michael Hudson-Doyle 5470a8adf3 nerdery around displaying menu dividers more neatly 2019-10-02 10:49:43 +13:00
Michael Hudson-Doyle 2e03caa805 have escape close the menu 2019-10-02 10:49:20 +13:00
Michael Hudson-Doyle 0c4d809c05 Have the help button open a help menu.
None of the items do anything yet though.
2019-10-02 10:48:58 +13:00
Michael Hudson-Doyle 70bb4ab5dd add [ Help ] button to header 2019-10-02 10:48:35 +13:00
Michael Hudson-Doyle 3450078f4b
Merge pull request #542 from mwhudson/log-file-per-pid
create one log file per invocation
2019-10-02 10:29:25 +13:00
Michael Hudson-Doyle 26a24c9043
Merge pull request #544 from mwhudson/run_command_in_foreground-fix
fix run_command_in_foreground to disconnect from stdin while in background
2019-10-02 09:38:55 +13:00
Michael Hudson-Doyle 93732dfb73 fix run_command_in_foreground to disconnect from stdin while in backgound
Not sure how I didn't notice this when implementing it for the first
time but well. This is all fairly confusing.
2019-09-30 16:26:24 +13:00
Michael Hudson-Doyle fb6ea590a5 still create a subiquity-debug.log symlink 2019-09-30 16:21:42 +13:00
Michael Hudson-Doyle 296d512039
Merge pull request #543 from mwhudson/curtin-ubuntu-devel
go back to getting curtin from ubuntu/devel branch
2019-09-30 16:12:31 +13:00
Michael Hudson-Doyle 88946c3c85 go back to getting curtin from ubuntu/devel branch 2019-09-30 14:58:48 +13:00
Michael Hudson-Doyle 7c1154b758 create one log file per invocation
Log to subiquity-debug.log.$PID instead of just subiquity-debug.log.

When we implement error reports we'll obviously attach the log to the
error report. There's no point adding log messages from previous runs of
subiquity.
2019-09-30 13:47:56 +13:00
Michael Hudson-Doyle f69a393380
Merge pull request #540 from mwhudson/remove-footer
remove footer, make header narrower
2019-09-30 09:38:27 +13:00
Michael Hudson-Doyle 2581e8e0f9 fix about the only screen that does not use the screen() helper 2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle 401618bfff stop snap details using the frame header 2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle a2ccb0cd9e remove all remaining footer-related things 2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle a96c5c8805 Make header narrower, move right_icon into header. 2019-09-30 09:32:07 +13:00
Michael Hudson-Doyle d8d5b2e265 remove the footer 2019-09-27 14:31:34 +12:00
Michael Hudson-Doyle f78760101f Move guidance on what to do next on filesystem screen out of the footer. 2019-09-27 14:31:34 +12:00
Michael Hudson-Doyle c442a166ca
Merge pull request #537 from mwhudson/log-sanity
clean up logging a touch
2019-09-26 11:57:27 +12:00