Commit Graph

791 Commits

Author SHA1 Message Date
Mathieu Trudel-Lapierre 143e36ec69 releasing package subiquity version 0.0.19 2016-10-05 13:45:55 -04:00
Mathieu Trudel-Lapierre 9da7ce8e4e Code cleanups and refactoring.
* Code cleanups and refactoring.
* console-conf: do nothing if a snap system is managed.
2016-10-05 13:44:40 -04:00
Mathieu Trudel-Lapierre 8478f1ab47 console-conf-wrapper: output of snap is-managed is "system is managed".
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-10-05 13:39:52 -04:00
Mathieu Trudel-Lapierre f0824dd35e Merge pull request #169 from CanonicalLtd/mwhudson/noop-if-is-managed
exit console-conf immediately on a managed device
2016-10-05 13:38:36 -04:00
Michael Hudson-Doyle 89e68d2b50 exit console-conf immediately on a managed device 2016-10-04 17:12:51 +13:00
Michael Hudson-Doyle 4ae64bc9db fix attribute error in user creation 2016-09-30 15:13:39 +13:00
Michael Hudson-Doyle 23ff9fe1e8 controllers can have signals without models now. 2016-09-29 14:52:11 +13:00
Michael Hudson-Doyle caa1120783 Merge pull request #167 from CanonicalLtd/mwhudson/tech-debt-2
clean up subiquity internals a bit
2016-09-29 14:06:33 +13:00
Michael Hudson-Doyle 8020dd38c7 address review comments 2016-09-29 14:06:09 +13:00
Michael Hudson-Doyle 0bd33b7074 fix subiquity side again 2016-09-29 12:29:21 +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 2373837269 make fake network actions in dry-run mode a lot quicker 2016-09-27 20:53:17 +13:00
Michael Hudson-Doyle aa4d188d45 fix subiquity bits again
back to the same level of broken
2016-09-27 20:53:17 +13:00
Michael Hudson-Doyle dad0e10912 completely separate menu -> signal and signal -> method mappings
and put the signal -> method mapping into the controller

this breaks the subiquity part even more than before, but it's pretty broken
already.
2016-09-27 20:53:17 +13:00
Mathieu Trudel-Lapierre aab8c08243 releasing package subiquity version 0.0.18 2016-09-23 15:48:03 -04:00
Mathieu Trudel-Lapierre 60913f0a40 Add changelog entries for release.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-09-23 15:41:35 -04:00
Mathieu Trudel-Lapierre ba51edff75 models/network: don't render wifi devices that have no addresses and no DHCP.
Otherwise netplan, seeing the device half-rendered, also expects to set a
SSID we haven't set.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-09-23 15:21:32 -04:00
Mathieu Trudel-Lapierre d939a2f976 Merge pull request #165 from CanonicalLtd/mwhudson/log-timestamps
do not override datefmt so we get seconds (and even microseconds) in the logs
2016-09-21 13:51:53 -04:00
Michael Hudson-Doyle cd2758cc90 do not override datefmt so we get seconds (and even microseconds) in the logs 2016-09-21 11:56:04 +12:00
Mathieu Trudel-Lapierre 4c29d4fd42 Merge pull request #164 from CanonicalLtd/mwhudson/ui-remarks
address some UI comments from Mark
2016-09-20 11:01:35 -04:00
Michael Hudson-Doyle e765538c95 address some UI comments from Mark 2016-09-20 14:13:31 +12:00
Michael Hudson-Doyle f94e7fce52 releasing package subiquity version 0.0.17~xenial 2016-09-20 13:17:46 +12:00
Michael Hudson-Doyle f031e71162 Merge pull request #162 from CanonicalLtd/mwhudson/link-status
Indicate if a wired interface is connected or not
2016-09-20 13:12:58 +12:00
Michael Hudson-Doyle cbc6e97af7 use is_connected from probert 2016-09-19 11:27:12 +12:00
Mathieu Trudel-Lapierre 627dc340f7 Merge pull request #163 from CanonicalLtd/mwhudson/stamp-earlier
Mark firstboot complete as soon as we've called create-user
2016-09-16 10:52:48 -04: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
Michael Hudson-Doyle f78cae64bd Show if a link is not connected.
At least as well as ip(8) does it.
2016-09-16 14:28:40 +12:00
Michael Hudson-Doyle 682c81c289 Really probe (i.e. call into probert) every time we load the network screen.
Connected-ness of a link is something that can plausibly change over short
timescales.
2016-09-16 14:27:37 +12:00
Michael Hudson-Doyle 6161967459 Merge pull request #159 from CanonicalLtd/mwhudson/lp-1623756
Do not write any config for a wlan device that has not been given a ESSID
2016-09-16 09:59:31 +12:00
Michael Hudson-Doyle 55c95faae1 Merge pull request #160 from CanonicalLtd/mwhudson/task-paranoia
be more careful in BackgroundProcess.cancel
2016-09-16 09:59:26 +12:00
Michael Hudson-Doyle fdd99e21f0 be more careful in BackgroundProcess.cancel
Someone sent me a traceback where cancel() was called before .proc was set.  I
don't really understand how this happens, but there's no harm in being careful.
2016-09-15 21:35:48 +12:00
Michael Hudson-Doyle 36967e2309 Do not write any config for a wlan device that has not been given a ESSID
See https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1623756
2016-09-15 21:30:41 +12:00
Mathieu Trudel-Lapierre 85e9545768 Merge pull request #158 from CanonicalLtd/mwhudson/lp-1621142
Use console-conf-wrapper on the serial line again.
2016-09-13 14:51:18 -04:00
Michael Hudson-Doyle a4add7037d Use console-conf-wrapper on the serial line again.
This means that the "Please press enter to configure" message is actually shown
now. But it turns out we need some stty magic so that newline actually works to
enter console-conf.

Fixes https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1621142
2016-09-13 15:44:30 +12:00
Michael Hudson-Doyle 6036f5e739 changelog 2016-09-12 21:22:39 +12:00
Mathieu Trudel-Lapierre e608362b34 Merge pull request #154 from CanonicalLtd/mwhudson/wifi-ui
Add a basic UI for entering wifi config details.
2016-09-09 15:33:48 -04:00
Mathieu Trudel-Lapierre d882666e2e Merge pull request #155 from CanonicalLtd/mwhudson/fix-columns
fix scrolling with many interfaces
2016-09-09 14:52:43 -04: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
Mathieu Trudel-Lapierre 32a3910d1e Merge pull request #157 from CanonicalLtd/mwhudson/enter-submits-email
Enter now submits the email address on the identity view.
2016-09-09 14:49:04 -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 bfbb876855 version from PPA 2016-09-05 21:21:05 +12:00
Michael Hudson-Doyle bf827db28d fix scrolling with many interfaces 2016-09-05 21:07:56 +12:00
Michael Hudson-Doyle 313b4d86db add a word 2016-09-05 20:17:05 +12:00
Michael Hudson-Doyle 97171f6b71 improve UI a bit 2016-09-05 16:55:09 +12:00
Michael Hudson-Doyle 60b4262b07 remove gratuitous delta a bit 2016-09-05 16:39:58 +12:00
Michael Hudson-Doyle f58d2aa7c0 refactor a bit 2016-09-05 16:38:26 +12:00
Michael Hudson-Doyle 9451d69076 actually do something with the inputted data 2016-09-05 16:25:45 +12:00
Michael Hudson-Doyle f9668b8802 more low quality UI work 2016-09-05 15:36:59 +12:00