Michael Hudson-Doyle
a14b8debda
try different process for exit to shell
2018-02-13 15:38:55 +13:00
Michael Hudson-Doyle
1794ed53dd
implement keyboard selection ( #276 )
...
A new screen immediately after language.
2018-02-08 10:37:22 +13:00
Michael Hudson-Doyle
923df8d0b2
allow forms to override name of cancel button
2018-01-12 12:56:24 +13:00
Michael Hudson-Doyle
124b4e7f20
make the contents of a selector pop up dialog a listbox
...
the one for keyboard layout will need to scroll!
2018-01-12 10:27:44 +13:00
Michael Hudson-Doyle
c9f3bd3ae0
fix behaviour of "up" on views that have done initially focused
...
before this, if you press up on e.g. the network view, focus would go to the first nic
not the last as you might expect. this is pretty obscure but oh well. such is urwid.
2018-01-11 11:50:08 +13:00
Michael Hudson-Doyle
f972119126
beef up partition view tests a bit
2017-12-21 14:41:05 +13:00
Michael Hudson-Doyle
ad9c527b51
touch /run/casper-no-prompt if answers are supplied
2017-12-21 11:40:51 +13:00
Michael Hudson-Doyle
d77b4148ef
expand NetworkConfigureIPv4InterfaceView tests a bit
2017-12-11 09:52:36 +13:00
Michael Hudson-Doyle
67611165df
fix network manual view and add super simple test of it
2017-12-08 09:41:51 +13:00
Michael Hudson-Doyle
956342478a
move subiquity.ui.views.tests.helpers to subiquitycore.testing.view_helpers
2017-12-08 09:28:48 +13:00
Michael Hudson-Doyle
c60d37f275
some testing ideas
2017-11-27 21:51:39 +13:00
Michael Hudson-Doyle
94b4f550e3
update config to match probert changes
2017-11-27 09:54:11 +13:00
Michael Hudson-Doyle
ad95cdd4d7
Merge pull request #255 from CanonicalLtd/vorlon/fix-up-tests
...
fix tests slightly
2017-11-27 09:09:08 +13:00
Michael Hudson-Doyle
54a52015d6
tone down log spam a bit
2017-11-24 12:50:37 +13:00
Michael Hudson-Doyle
c5692c38f4
Merge pull request #271 from CanonicalLtd/mwhudson/colors
...
implement new color scheme from design
2017-11-24 12:13:03 +13:00
Michael Hudson-Doyle
fadd568323
Merge pull request #268 from CanonicalLtd/mwhudson/reorg-config-rendering
...
move curtin config rendering to a method on SubiquityModel
2017-11-24 12:12:37 +13:00
Michael Hudson-Doyle
b5c07497e8
make language and disk selection buttons use the done style
2017-11-24 11:19:01 +13:00
Michael Hudson-Doyle
ba8056768e
update to use colors from design
2017-11-22 14:10:03 +13:00
Michael Hudson-Doyle
c85602527e
stop any of the *_btn functions defining a label by default
2017-11-22 13:53:35 +13:00
Michael Hudson-Doyle
e211f67b72
permit myself one bit of clever code
2017-11-22 12:16:09 +13:00
Michael Hudson-Doyle
ab9e382387
remove some more leftover bits
2017-11-22 12:05:30 +13:00
Michael Hudson-Doyle
20d4e04efd
streamline a bit, add comments
2017-11-22 11:49:20 +13:00
Michael Hudson-Doyle
225a7637ca
move color scaffolding into core
2017-11-22 11:37:49 +13:00
Michael Hudson-Doyle
918a1979b3
stop modifying the xterm palette at all and use ISO 8613 3 codes instead
2017-11-22 11:26:47 +13:00
Michael Hudson-Doyle
cfbc4ffc0c
more precise color rendering in xterm-like terminals
2017-11-21 15:24:07 +13:00
Michael Hudson-Doyle
484239c060
do not move on from network screen inside callback
...
things get super confusing when there is an exception
2017-11-21 11:27:26 +13:00
Michael Hudson-Doyle
36bcc539c3
move curtin config rendering to a method on SubiquityModel
...
this moves to curtin's native netplan support as a side effect
2017-11-20 13:45:58 +13:00
Michael Hudson-Doyle
6919e5ce68
minimal implementation of canned answers
...
this allows automation of the enter-enter-enter flow, not much more than that
2017-11-17 13:25:16 +13:00
Michael Hudson-Doyle
e7afa9b0b3
correct _data_ready call when udev is not settled
2017-11-17 13:24:30 +13:00
Michael Hudson-Doyle
8086d5df81
move to a unified model instance
...
and stop having the controllers construct each model instance for itself
2017-11-16 12:48:20 +13:00
Michael Hudson-Doyle
947a65a3bb
changes following changes in probert
...
the only really visible effect of all this is to make --dry-run
--machine-config foo show the network config from foo, not the machine
running subiquity. (The existing configs won't work, though)
2017-11-15 14:27:24 +13:00
Michael Hudson-Doyle
4d0d48f2f5
add some comments
2017-10-25 21:52:43 +13:00
Michael Hudson-Doyle
94e58a0aaa
reduce padding around overlays
2017-10-25 21:27:31 +13:00
Michael Hudson-Doyle
c0889dfffc
add explicit entries in the palette for scrollbar parts
2017-10-25 21:09:49 +13:00
Michael Hudson-Doyle
3515961ac9
slightly lower level implementation of ScrollBarListBox.render
...
lower level and less reentrant, which is the main advantage
2017-10-25 21:01:03 +13:00
Michael Hudson-Doyle
0b4ae2b1a5
prevent scrollbox from getting squished to 0 rows
2017-10-25 20:50:53 +13:00
Michael Hudson-Doyle
08e51b87ae
move some listboxs inside their padding
2017-10-20 15:51:01 +13:00
Michael Hudson-Doyle
5405abecc3
Add a scrollbar to our custom listbox implementation.
...
It's pretty ugly for now.
2017-10-20 15:47:32 +13:00
Michael Hudson-Doyle
b6a27582c9
redo padding and layout of network views
2017-10-20 14:55:01 +13:00
Michael Hudson-Doyle
1db8a1dc40
get rid of padding after header
2017-10-20 14:06:57 +13:00
Mathieu Trudel-Lapierre
491ca1e1c0
Indicate which network config method is active.
2017-10-12 11:01:33 -04:00
Michael Hudson-Doyle
5507fd0fbc
clunky way of indicating which network config method is active
2017-10-11 21:35:10 +13:00
Michael Hudson-Doyle
e77509b4dd
Merge branch 'master' into mwhudson/validation-improvements
2017-10-10 23:13:23 +13:00
Michael Hudson-Doyle
bf85eaf05f
do not overwrite the top 8 colors of the palette with black
2017-10-10 21:58:54 +13:00
Michael Hudson-Doyle
e3aadb195b
add a way to run console-conf or subiquity with a subset of the screens
2017-10-10 09:21:42 +13:00
Steve Langasek
ae1b8c2e66
Import i18n module before use.
2017-10-09 17:28:21 +00:00
Michael Hudson-Doyle
68b9f6f1be
add a way to run console-conf or subiquity with a subset of the screens
2017-10-09 09:24:32 +13:00
Michael Hudson-Doyle
f5637a717e
a start at a more sophisticated ssh identity widget
2017-10-06 15:39:14 +13:00
Michael Hudson-Doyle
b06d1a78c4
improve validation of hostname and username fields
...
not sure hostname validation makes perfect sense but at least it is a bit
more transparent now
2017-10-05 22:14:44 +13:00
Michael Hudson-Doyle
1bfb42c9b8
allow the same set of characters in realname as accepted by chfn -f
2017-10-05 16:33:26 +13:00