Michael Hudson-Doyle
82b11dbd69
reorganize the network model and make the UI a bit more consistent
...
The main change here is to separate the state a network device is in and the
state we want it to be in. So it now parses the netplan config on a system as
well as probing the state of via probert.
The UI is changed to make this distintion too, and be IMO a bit more
consistent. Somewhere in this I've removed the display of whether the
probed address was found via DHCP or not, possibly that should be put
back if it doesn't make things too cluttered.
In dry-run mode, we now still write the config and feed it to netplan, but
in a way that doesn't affect the system we are running it on.
2016-11-07 15:15:46 +13:00
Michael Hudson-Doyle
f603207d94
remove most trivial use of signals from console-conf's flow
2016-10-11 12:48:28 +13:00
Michael Hudson-Doyle
e348207597
Remove most use of signals from welcome and network views.
2016-10-10 16:47:42 +13:00
Michael Hudson-Doyle
2f8c1aa5cf
move logic from identity/login views into identity controller
...
This was what I wanted to do before I got distracted by the other things.
2016-09-27 21:56:48 +13:00
Michael Hudson-Doyle
d9095336e5
do not have controllers (or view code!!) know the order of the screens
2016-09-27 21:35:47 +13:00
Michael Hudson-Doyle
051c41cf7b
Mark firstboot complete as soon as we've called create-user
...
Otherwish if you reboot while still on the final screen you end up in
console-conf again.
2016-09-16 14:41:56 +12:00
Mathieu Trudel-Lapierre
e92f184d40
Merge pull request #156 from CanonicalLtd/mwhudson/no-escape
...
prevent escape from leaving the finish screen
2016-09-09 14:49:35 -04:00
Michael Hudson-Doyle
96901f667e
Enter now submits the email address on the identity view.
...
See https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1621304
2016-09-09 16:09:38 +12:00
Michael Hudson-Doyle
663535c287
prevent escape from leaving the finish screen
...
See https://bugs.launchpad.net/snappy/+bug/1621339
2016-09-09 15:58:11 +12:00
Michael Hudson-Doyle
2a540e11c1
fix passing username to welcome view
2016-08-17 20:54:00 +12:00
Mathieu Trudel-Lapierre
60c58e6654
Merge branch 'cyphermox/network_v2'
2016-08-16 15:33:20 -04:00
Mathieu Trudel-Lapierre
cac89c30e9
Do bonding, dhcp toggle, and segregate IPv4 and IPv6 again.
2016-08-16 00:48:15 -04:00
Michael Hudson-Doyle
c3907430fa
adapt to new behavior of snap create-user.
2016-08-16 16:32:14 +12:00
Mathieu Trudel-Lapierre
0f82a12208
Allow setting IPs and rendering as yaml
2016-08-15 17:05:19 -04:00
Mathieu Trudel-Lapierre
1980c4e483
fake-merge mwhudson/network
2016-08-12 22:31:31 -04:00
Mathieu Trudel-Lapierre
a23840411d
Iterate all IPv4 addresses on an interface.
2016-08-12 14:58:21 -04:00
Michael Hudson-Doyle
12c0947bad
hacking that might be enough to let you turn dhcp on for an interface
2016-08-12 16:38:53 +12:00
Michael Hudson-Doyle
2857cc90a3
give up on probert for now
2016-08-12 16:04:40 +12:00
Mathieu Trudel-Lapierre
6754a15c93
Allow more than one IPv4 address on an interface, and leave room for IPv6.
2016-08-09 15:11:02 -04:00
Michael Hudson-Doyle
959743aded
start on configure interface view
2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle
724a99ac1a
works so long as you do not actually want to change anything
2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle
c0ce60f767
start network view
2016-08-09 11:03:10 +12:00
Michael Hudson-Doyle
eec8adf6f8
Stop all console-conf processes when complete.
2016-08-05 14:59:25 +12:00
Mathieu Trudel-Lapierre
046d3774ba
Revert "Temporary unbreak, but nerf the user logins with email address."
...
This reverts commit 89c9e70501
.
2016-07-28 20:51:48 -04:00
Mathieu Trudel-Lapierre
69cafa643a
Merge branch 'mwhudson/demo'
2016-07-28 20:50:51 -04:00
Michael Hudson-Doyle
dfb5eb6a15
oops
2016-07-29 12:48:53 +12:00
Mathieu Trudel-Lapierre
89c9e70501
Temporary unbreak, but nerf the user logins with email address.
2016-07-28 20:40:14 -04:00
Michael Hudson-Doyle
6112c441b0
final (?) version
2016-07-28 14:34:48 +12:00
Michael Hudson-Doyle
e4d5c7fa85
stuff
2016-07-28 11:13:19 +12:00
Michael Hudson-Doyle
95dc9664e5
Start at a login view.
2016-07-28 10:30:27 +12:00
Michael Hudson-Doyle
ec5f94bf7d
entirely custom identity view for console-conf
2016-07-27 22:15:22 +12:00
Michael Hudson-Doyle
ac06f25abd
Refactor identity stuff to avoid dep on curtin in console-conf case.
...
A bit verbose perhaps, but works. Now console-conf only depends on curtin for
the network stuff.
2016-07-27 16:05:47 +12:00
Michael Hudson-Doyle
1fdb035cdf
Fix flake8 warnings in console_conf
2016-07-25 12:55:42 +12:00
Mathieu Trudel-Lapierre
e85859fa62
WelcomeView: update UI to Mark's review: welcome string and button caption
...
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:35:19 -04:00
Mathieu Trudel-Lapierre
848ccabc7d
console_conf: start initial console-conf tree with a custom controller story
...
And a custom Welcome screen to boot; to show the overriding of settings.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-06-30 14:18:54 -04:00