Commit Graph

2953 Commits

Author SHA1 Message Date
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
Michael Hudson-Doyle f82864ef72
Merge pull request #538 from mwhudson/move-stretchy-signals
move stretchy signals from overlay to stretchy itself
2019-09-25 16:31:11 +12:00
Michael Hudson-Doyle cff9b057d4
Merge pull request #539 from mwhudson/dont-call-default
update a few leftover calls to controller.default()
2019-09-25 14:24:29 +12:00
Michael Hudson-Doyle 130c95f5c7 update a few leftover calls to controller.default() 2019-09-25 14:01:56 +12:00
Michael Hudson-Doyle 947f14a0af move stretchy signals from overlay to stretchy itself
Also add overridable opened/closed hooks.
2019-09-12 21:36:40 +12:00
Michael Hudson-Doyle ce66777bd4 give filesystem actions a nicer __repr__ 2019-09-09 15:42:24 +12:00
Michael Hudson-Doyle d0151deec0 some more logging statements to follow user around the ui a little more 2019-09-09 15:33:45 +12:00
Michael Hudson-Doyle b6bf3fcc42 a bit too much effort making one particular log statement look nice 2019-09-09 15:32:49 +12:00
Michael Hudson-Doyle 0eb4dcfdfb more logging tweaks 2019-09-09 15:27:56 +12:00
Michael Hudson-Doyle ca6ebf84f4 only call is_linux_tty once 2019-09-09 15:27:34 +12:00
Michael Hudson-Doyle b24dbf7095 remove environment_check stuff 2019-09-09 15:27:29 +12:00