Commit Graph

1320 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 0355f2c316 Merge branch 'master' into maas-option 2018-02-12 12:40:17 +13:00
Michael Hudson-Doyle aec27c80cb fix typo in config 2018-02-08 14:26:01 +13:00
Michael Hudson-Doyle e1611d9308 put logs and curtin config in installed system at /var/log/installer 2018-02-08 13:48:26 +13:00
Michael Hudson-Doyle 3f2c628fa7 remove the game of running curtin twice in favour of new curtin features
subiquity previously ran curtin twice, once to do the install and the second
time to configure the user data. All this second run did was to drop some
files into the fs and now that we can tell curtin not to unmount everything
when it is done, this can be achieved much more simply. So do that, and rip out
a bunch of the complexity having two curtin configs etc brings.
2018-02-08 11:58:34 +13:00
Michael Hudson-Doyle 2cc3989ad2 some keyboard selection fixes I had forgotten to push to github :( 2018-02-08 11:57:52 +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 3d5bb1a280 remove curtin from the snap
livecd-rootfs puts it in the install media for us. this could go the other way
and remove it from the install media but eh, i don't much care and having two
copies is silly.

this requires removing SNAP from the environment before invoking curtin,
because curtin uses SNAP to find bits of itself (this probably means that we
were using a mix of the two copies of curtin we had before this change!)
2018-01-17 15:29:42 +13:00
Michael Hudson-Doyle 0dedddddad include libsystemd0 in the snap
it's needed now that snapcraft is better about not letting things in a classic
snap link to libraries in the host filesystem.
2018-01-17 12:27:39 +13:00
Michael Hudson-Doyle b5c48fdfb9 only stage the wrappers in the wrapper part 2018-01-16 15:11:49 +13:00
Michael Hudson-Doyle 76e56394de pip install urwid is broken in bionic for now, switch to archive package 2018-01-16 15:10:51 +13:00
Michael Hudson-Doyle 240231ad1c rip out signal nonsense 2018-01-12 14:40:49 +13:00
Michael Hudson-Doyle afe86f618e small fixes 2018-01-12 14:40:49 +13:00
Dimitri John Ledkov cf3f7d9e39 Re-add installpath controller, with added MAAS views. 2018-01-12 14:40:49 +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 ace30afa66 simplify LocaleModel.get_languages 2018-01-03 15:47:15 +13:00
Michael Hudson-Doyle f972119126 beef up partition view tests a bit 2017-12-21 14:41:05 +13:00
Michael Hudson-Doyle 4389c1636b some simple tests for the partition view and fix its creation 2017-12-21 14:11:26 +13:00
Michael Hudson-Doyle aa509d317a make it easier to replace the squashfses in an iso 2017-12-21 14:04:17 +13:00
Michael Hudson-Doyle 2eba19e5de mostly pointless tweaking of inject-subiquity-snap 2017-12-21 12:02:08 +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 bfe374f96e tidy up inject-this-snap with some bashisms 2017-12-19 16:03:53 +13:00
Michael Hudson-Doyle 168d372e68 allow editing filesystem.squashfs with inject-subiquity-snap 2017-12-19 15:51:39 +13:00
Michael Hudson-Doyle d77b4148ef expand NetworkConfigureIPv4InterfaceView tests a bit 2017-12-11 09:52:36 +13:00
Michael Hudson-Doyle c1c47b7c21 refine identity view tests a bit 2017-12-11 09:40:51 +13:00
Michael Hudson-Doyle 8abeb90823
Merge pull request #274 from CanonicalLtd/mwhudson/network-interface-tests
fix manual network interface config
2017-12-08 11:04:03 +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 c04927eca6 depressingly obscure fix for the done buttong on the identity page never being selectable
but hey, at least i have a nice test!
2017-12-07 16:27:02 +13:00
Michael Hudson-Doyle d1d65288e9 actually test on artful and bionic :/ 2017-12-07 14:02:53 +13:00
Michael Hudson-Doyle e554833036 test on artful and bionic too 2017-12-05 10:22:57 +13:00
Michael Hudson-Doyle e99e4a1de6 add tests for GuidedFilesystemView 2017-12-04 10:29:06 +13:00
Michael Hudson-Doyle ecdc01d0b2
Merge pull request #272 from CanonicalLtd/mwhudson/testing-blue-sky
add some simple view unit tests and travis integration
2017-12-01 09:45:26 +13:00
Michael Hudson-Doyle 3296cc977b enable travis on xenial via docker games 2017-11-27 21:59:10 +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 bc4978fd04 stop scrollbar length bouncing around
I think the urwid behaviour without this is a bug but well. ListBox is scary
and this works so I'm happy for now.
2017-11-24 12:51:56 +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 4bbf2d5eac fix STYLES_MONO 2017-11-24 11:23:26 +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 61a31cc263 update unfocused button style per feedback 2017-11-22 14:10:03 +13:00
Michael Hudson-Doyle ba8056768e update to use colors from design 2017-11-22 14:10:03 +13:00
Michael Hudson-Doyle 1fe236be5f
Merge pull request #270 from CanonicalLtd/mwhudson/no-default-labels
stop any of the *_btn functions defining a label by default
2017-11-22 14:09:20 +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 26147d3cc3
Merge pull request #269 from CanonicalLtd/mwhudson/simplify-colors
refactor color / palette setup
2017-11-22 13:28:43 +13:00
Michael Hudson-Doyle e211f67b72 permit myself one bit of clever code 2017-11-22 12:16:09 +13:00