Dimitri John Ledkov
0a1a9faa12
Merge pull request #534 from mwhudson/overlay-close-signal
...
define a 'closed' signal on StretchyOverlay
2019-09-05 14:34:38 +01:00
Michael Hudson-Doyle
ea258973fc
define a 'closed' signal on StretchyOverlay
...
And return the overlay from show_stretchy_overlay, so you can do things
when the overlay is closed.
Will be used by the help-showing stuff.
2019-09-05 12:30:03 +12:00
Michael Hudson-Doyle
3c2fd87e9b
Allow the UI to have a widget in the bottom right of the screen
...
This will be a help button in subiquity soon.
2019-09-05 12:22:56 +12:00
Michael Hudson-Doyle
3f8c005237
allow console_conf and subiquity to use different UI classes
...
Subiquity is going to grow some global UI elements that console_conf
does not want.
2019-09-05 11:58:25 +12:00
Michael Hudson-Doyle
e9c56d65f0
Merge pull request #531 from mwhudson/controller-refactors
...
refactor some controller stuff
2019-09-04 22:38:38 +12:00
Michael Hudson-Doyle
c1e973fe1e
Add Controller.showing helper
2019-09-04 15:21:26 +12:00
Michael Hudson-Doyle
9a05653150
Tweak Controller API
...
* rename 'default' method to 'start_ui'
* add 'end_ui' hook
* add Application.cur_controller helper
2019-09-04 15:18:45 +12:00
Michael Hudson-Doyle
3605514d30
extract some methods out of Application.run
2019-09-03 13:14:17 +12:00
Michael Hudson-Doyle
caf026fb23
fix error logging in host_key_fingerprints
2019-09-03 13:13:58 +12:00
Michael Hudson-Doyle
443de76c77
Add UPPER HALF BLOCK and LOWER HALF BLOCK to subiquity's console font
...
There is a proto-plan to report bugs via apport and encode the URL the
user must visit in a QR code. We need these characters to be able to
generate a QR code that will fit on a 24 line console.
2019-09-03 12:05:26 +12:00
Michael Hudson-Doyle
a5419081b9
Merge pull request #528 from mwhudson/run_command_in_foreground
...
add a way to suspend the subiquity UI and run some other command
2019-08-29 13:54:18 +12:00
Michael Hudson-Doyle
74840f172e
Merge pull request #530 from mwhudson/get-curtin-nvme-fixes
...
grab a curtin commit off master to address nvme validation fixes
2019-08-28 12:11:12 +12:00
Michael Hudson-Doyle
c495277642
grab a curtin commit off master to address nvme validation fixes
2019-08-28 12:00:37 +12:00
Michael Hudson-Doyle
6a722354fd
Merge pull request #529 from mwhudson/oops
...
fix writing unattended-upgrades configuration
2019-08-26 11:19:47 +12:00
Michael Hudson-Doyle
bdf9b31f2e
fix writing unattended-upgrades configuration
...
also rejig uu running code to run as much of it as possible in dry-run
mode.
2019-08-26 10:51:11 +12:00
Michael Hudson-Doyle
43f414da1f
add a way to suspend the subiquity UI and run some other command
...
This will be used for the drop to shell functionality and also to allow
viewing an error report before we submit it to daisy.
It is almost but not quite surprisingly easy (I added a long-ish comment
about the difficulties).
2019-08-23 11:19:21 +12:00
Michael Hudson-Doyle
276a3a6de1
Merge pull request #515 from mwhudson/lp-1838520
...
make sure unattended-upgrades always runs
2019-08-23 10:25:20 +12:00
Michael Hudson-Doyle
dc1936c2d7
Merge pull request #527 from paride/fix/test-this-branch
...
test-this-branch.sh: fix the ISO file name
2019-08-23 10:24:58 +12:00
Paride Legovini
a23c554af3
test-this-branch.sh: fix the ISO file name
2019-08-22 14:41:38 +02:00
Michael Hudson-Doyle
bbb8c1f440
Merge pull request #526 from mwhudson/mismerge
...
fix mismerge self.common["loop"] vs self.loop
2019-08-20 11:43:55 +12:00
Michael Hudson-Doyle
1947abcc5e
fix mismerge self.common["loop"] vs self.loop
2019-08-20 10:34:31 +12:00
Dimitri John Ledkov
1dfffbda01
Merge pull request #523 from mwhudson/run_in_bg-fd-leak
...
fix fd leak in run_in_bg
2019-08-19 11:30:52 +01:00
Michael Hudson-Doyle
f85fb6aac7
Merge pull request #525 from mwhudson/outermost-pile
...
Make the outermost widget an instance of Pile rather than Frame
2019-08-16 14:51:32 +12:00
Michael Hudson-Doyle
384f228b99
Merge pull request #516 from mwhudson/core-cleanups
...
clean up how data is passed around at the centre of subiquity
2019-08-16 14:51:22 +12:00
Michael Hudson-Doyle
9e40dcbad6
Make the outermost widget an instance of Pile rather than Frame
...
Current plans involve putting a focusable widget (a help button) in the
footer, and Pile's behaviour is much more what we want than Frame for
this.
2019-08-16 14:31:03 +12:00
Michael Hudson-Doyle
b38f47bf42
Merge branch 'master' into core-cleanups
2019-08-16 14:24:56 +12:00
Michael Hudson-Doyle
d2cf3a3a92
Merge pull request #524 from mwhudson/setraw
...
put the terminal into raw mode
2019-08-16 14:19:40 +12:00
Dimitri John Ledkov
010911d950
Unbreak console-conf.
2019-08-15 12:13:30 +01:00
Michael Hudson-Doyle
9b7eb8883c
fix fd leak in run_in_bg
...
Notices this while debugging something entirely different.
2019-08-15 13:59:29 +12:00
Michael Hudson-Doyle
90d376fbbd
put the terminal into raw mode
...
For whatever reason, urwid puts the terminal into cbreak mode during
initialization. If we put the terminal into raw mode instead, then we
don't have to ignore SIGINT and SIGQUIT, which is good, because when we
support dropping to a subshell we don't want to run that subshell with
those signals ignored, because that is extremely confusing.
This also lets me dump the code that puts the terminal into raw mode
during keyboard detection.
2019-08-15 13:50:23 +12:00
Michael Hudson-Doyle
cad6817118
fix console-conf again
2019-08-15 13:34:10 +12:00
Michael Hudson-Doyle
518e52e8e2
move "global" key handling to an unhandled_input handler
...
The only observable difference here is that ctrl-x now exits in dry-run
mode when a pop up is open.
2019-08-15 13:34:10 +12:00
Michael Hudson-Doyle
7096501a6d
reduce answers-related boilerplate
2019-08-15 13:34:10 +12:00
Michael Hudson-Doyle
81b9c883f3
do not copy so many things from app to controller in Controller.__init__
2019-08-15 13:34:09 +12:00
Michael Hudson-Doyle
98908e91b2
get rid of silly common dictionary that was passed around a bit everywhere
2019-08-15 13:33:38 +12:00
Michael Hudson-Doyle
8b2a59bf2e
Merge pull request #521 from mwhudson/optional-real-name
...
allow real name to be empty
2019-08-15 11:35:03 +12:00
Michael Hudson-Doyle
0dd5666720
user username as realname if none is provided
2019-08-15 11:26:54 +12:00
Dimitri John Ledkov
8ada8b6d29
Merge pull request #522 from xnox/fixup-write-login-details
...
consoleconf: Fixup write_login_details_standalone
2019-08-14 21:38:50 +01:00
Dimitri John Ledkov
968fe145e6
consoleconf: Fixup write_login_details_standalone
...
Port to use prober API, stop using removed APIs.
2019-08-14 14:04:29 +01:00
Michael Hudson-Doyle
b2dc484bc3
allow real name to be empty
...
for https://bugs.launchpad.net/subiquity/+bug/1786381
2019-08-13 23:24:02 +12:00
Michael Hudson-Doyle
673f0d80da
Merge pull request #520 from mwhudson/indent-probe-data.json
...
pretty print the probe data when we dump it to /var/log/installer/block
2019-08-12 11:20:27 +12:00
Michael Hudson-Doyle
420ebfcda4
pretty print the probe data when we dump it to /var/log/installer/block
2019-08-12 10:37:50 +12:00
Michael Hudson-Doyle
2a5fdb2184
Merge pull request #519 from mwhudson/blockdev-fallback
...
the probe_types argument of probert.storage.Storage.probe takes a set, not a list
2019-08-09 15:17:38 +12:00
Michael Hudson-Doyle
8097ad62bf
the probe_types argument of probert.storage.Storage.probe takes a set, not a list
...
This means my careful code to do rich probing of block devices and fall
back to simple probing doesn't work! Oh well, at least the fix is
trivial.
Seen in the logs from this bug report:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1839529
2019-08-09 14:37:22 +12:00
Michael Hudson-Doyle
66defaa5ad
Merge pull request #518 from xnox/unbreak-console-conf
...
Unbreak console conf
2019-08-09 14:04:34 +12:00
Dimitri John Ledkov
dfab5563c1
console_conf: unbreak LoginView
2019-08-08 15:02:39 +01:00
Dimitri John Ledkov
962fd3ebd3
NetDev: bring back actual_global_ip_addresses used by console_conf.
2019-08-08 15:02:39 +01:00
Dimitri John Ledkov
e755bf4b5f
console_conf/subiquity: split identitymodel, as it is not the same at all.
2019-08-08 15:02:39 +01:00
Dimitri John Ledkov
290c26d244
consoleconf: rewrite identity page.
2019-08-07 21:35:35 +01:00
Dimitri John Ledkov
a4c7e36408
consoleconf: fix welcome header/excerpt
2019-08-07 21:26:14 +01:00