Commit Graph

3134 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 96f9568122 handle kernel command lines like console=ttyS0,115200n8 2020-04-11 21:19:39 +12:00
Dimitri John Ledkov ada4c7b14d Upload subiquity snapshot with newer translations and consoleconf. 2020-04-09 14:04:47 +01:00
Dimitri John Ledkov b34aeda02d
Merge pull request #695 from CanonicalLtd/fix-login-view-focus
Fix login view button focus to done
2020-04-09 13:28:34 +01:00
Dimitri John Ledkov 854802bd07
Merge pull request #694 from CanonicalLtd/palette-console-conf
Use common palette.
2020-04-09 13:28:24 +01:00
Dimitri John Ledkov b61a3369a3 Fix login view button focus to done 2020-04-09 12:34:37 +01:00
Dimitri John Ledkov a70d309f6a Use common palette.
Fixes header frindge colors in console-conf.
2020-04-09 12:20:16 +01:00
Dimitri John Ledkov f3b1a70822
Merge pull request #692 from bboozzoo/bboozzoo/chooser-tweaks
console_conf: various recover chooser tweaks
2020-04-09 10:59:39 +01:00
Maciej Borzecki 9293d85638 console_conf/ui/views: simplify sorting actions, tweaks
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 12:56:18 +02:00
Maciej Borzecki 8ebc8e0580 console_conf/ui/views/chooser: tweak generic action summary
Thanks @degville!

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 11:57:24 +02:00
Maciej Borzecki 3967329832 console_conf/ui/views/chooser: use lowercase action title in canned summary
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-08 11:57:00 +02:00
Michael Hudson-Doyle 46c539c924 make "make schema" output be just the schema and nothing else 2020-04-08 20:53:35 +12:00
Michael Hudson-Doyle cc3e5df71f
Merge pull request #693 from mwhudson/fix-dropins
remove stray line from proxy from snapd_proxy dropin
2020-04-08 20:40:00 +12:00
Michael Hudson-Doyle bf10d2baff remove stray line from proxy from snapd_proxy dropin
about two years ago I copy-pasted this from a shell script and never
noticed I had included the EOF until now
2020-04-08 18:27:10 +12:00
Maciej Borzecki a957c5b889 console_conf/chooser: UI tweaks
- drop the ABORT button
- introduce BACK button, goes back to the correct previous screen
- sort actions in the order of run -> recover -> install -> rest
- capitalize action title strings
- simplify current model actions screen
- user hints in the confirm screen for well known modes
  - generic hint for unknown modes

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:38:45 +02:00
Maciej Borzecki d3ac0d6f36 console_conf/chooser: use model display name in top banner
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:36:47 +02:00
Maciej Borzecki ed791e5c9e console_conf/models/systems: add method for forgetting the current selection
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 17:22:29 +02:00
Maciej Borzecki a33a477324 subiquitycore/core: fix typo in comments
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-04-07 15:35:47 +02:00
Michael Hudson-Doyle a0dae13dd7
Merge pull request #684 from mwhudson/progress-screen
better experience for partially-interactive installs
2020-04-07 23:00:00 +12:00
Michael Hudson-Doyle 4bef0af3da
Merge pull request #689 from mwhudson/more-autoinstall-storage
two parts of the autoinstall storage spec i forgot about
2020-04-07 22:57:05 +12:00
Michael Hudson-Doyle 01be667422
Merge pull request #691 from mwhudson/autoinstall-inhibit-casper-stop
inhibit the casper-stop prompt for a non-interactive autoinstall
2020-04-07 22:56:55 +12:00
Michael Hudson-Doyle 5d48da5841 allow autoinstall file to control swapfile creation 2020-04-07 22:16:24 +12:00
Michael Hudson-Doyle 30030ef3eb handle a disk match in a layout 2020-04-07 22:16:24 +12:00
Michael Hudson-Doyle beb20ced72 inhibit the casper-stop prompt for a non-interactive autoinstall 2020-04-07 21:57:32 +12:00
Michael Hudson-Doyle f4ad0c1c69 replace some cryptic variable names 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 85f7de110d complicate things to allow for overlapping subiquity events 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle af50f47277 do not leave user stranded if confirmation appears over progress view and they say no 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 5f21076d7f show progress when apply_autoinstall_config takes >0.1s
If, when the overall installer is interactive but a particular
controller is not and applying the config for that installer takes more
than 0.1 seconds, show the progress view until it completes (but ensure
that the progress view is on screen for at least a whole second if it is
shown at all).

Block all input during that (up to) 0.1s wait.

Send events from non-interacttive controllers to the progress view.
2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle b70ad315f8 show error report over first interactive screen 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 5109588d6f move a bit of logic into ProgressView 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 9a11e90719 attach a controller to most contexts 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle 246570314a pass the context object to report_start_event / report_finish_event 2020-04-07 21:51:11 +12:00
Michael Hudson-Doyle c20264bcd7
Merge pull request #688 from mwhudson/fix-travis
fix travis
2020-04-07 21:48:56 +12:00
Michael Hudson-Doyle be146972da fix travis 2020-04-07 21:37:42 +12:00
Dimitri John Ledkov b9999ddd47
Merge pull request #687 from mwhudson/autoinstall-check-argh
fix tty check for autoinstalls
2020-04-07 09:37:21 +01:00
Michael Hudson-Doyle b0302484d2 fix tty check for autoinstalls 2020-04-07 20:34:38 +12:00
Dimitri John Ledkov 95c20226fd
Merge pull request #686 from mwhudson/no-netplan-crash
if netplan apply fails show an error rather than crashing the ui
2020-04-07 09:11:25 +01:00
Dimitri John Ledkov 367e912cc0
Merge pull request #685 from mwhudson/copy-md5check-file
copy /run/casper-md5check.json to /var/log/installer
2020-04-07 09:04:52 +01:00
Michael Hudson-Doyle 692011d84e only write the file if it exists 2020-04-07 12:17:43 +12:00
Michael Hudson-Doyle 81b6f8a90a if netplan apply fails show an error rather than crashing the ui 2020-04-07 12:16:53 +12:00
Michael Hudson-Doyle 43ef6286ef copy /run/casper-md5check.json to /var/log/installer 2020-04-07 10:44:39 +12:00
Dimitri John Ledkov 7b4bcb9922 consoleconf: watch changes on install 2020-04-06 17:24:18 +01:00
Dimitri John Ledkov a5c106be0c releasing package subiquity version 20.03.3+git107gb7ae4d06 2020-04-06 17:14:36 +01:00
Dimitri John Ledkov b7ae4d0659 Update POTFILES.in 2020-04-06 16:55:52 +01:00
Dimitri John Ledkov c6fb745619 update translations 2020-04-06 16:46:23 +01:00
Dimitri John Ledkov 730db517b5
Merge pull request #683 from mwhudson/ssh-help
add a help menu item on how to connect over ssh
2020-04-06 16:08:48 +01:00
Michael Hudson-Doyle 00e33ae0e1 include ssh host key details in ssh help 2020-04-06 14:10:26 +12:00
Michael Hudson-Doyle 818696e2cb add a help menu item on how to connect over ssh 2020-04-06 13:32:56 +12:00
Michael Hudson-Doyle 160007d493
Merge pull request #682 from mwhudson/fix-ssh-key-import
i misunderstood what setting ssh_authorized_keys at the top-level in …
2020-04-03 14:50:32 +13:00
Michael Hudson-Doyle c2cee39e69
Merge pull request #681 from mwhudson/virtual-devices-arent-so-different
avoid deleting virtual devices on every network change
2020-04-03 14:48:10 +13:00
Michael Hudson-Doyle 6812cb48cd i misunderstood what setting ssh_authorized_keys at the top-level in cloud-init user-data did :( 2020-04-03 14:42:50 +13:00