Commit Graph

1299 Commits

Author SHA1 Message Date
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
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 daab350468 use a uuid for instance-id 2017-11-21 16:23:49 +13:00
Michael Hudson-Doyle ee0f10bf13 delete some long commented out code 2017-11-21 15:53:52 +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 d8724af4c6 fix some strange indentation 2017-11-20 12:49:01 +13:00
Michael Hudson-Doyle c23a335fba fix identity view when no answers are supplied 2017-11-20 12:31:47 +13:00
Michael Hudson-Doyle fccd653ae4 only stage the users-and-groups file 2017-11-20 11:05:05 +13:00
Michael Hudson-Doyle 947b65f264
Merge pull request #267 from CanonicalLtd/mwhudson/non-interactive-mode
simple non interactive mode
2017-11-20 09:11:16 +13:00
Michael Hudson-Doyle 7b375d9d92 always load answers from a fixed path if it is present 2017-11-17 15:09:16 +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 3bad7e1295 add -c option to inject-subiquity-snap.sh too 2017-11-17 12:34:23 +13:00
Michael Hudson-Doyle 1cf60ccafd use probert's requirements.txt, subiquity does not directly depend on pyudev 2017-11-17 11:15:11 +13:00
Michael Hudson-Doyle 5d65ab88ab add -i flag to inject-subiquity-snap.sh to allow random edits of iso 2017-11-17 10:25:08 +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 a13ef47bab remove InstallProgressModel 2017-11-16 12:34:30 +13:00