Commit Graph

734 Commits

Author SHA1 Message Date
Michael Hudson-Doyle c4fdf5cb72 allow choosing from visible networks when configuring wifi 2016-11-07 16:56:36 +13:00
Michael Hudson-Doyle cacd456a6a Adapt to netlink event driven version of probert. 2016-11-07 16:56:32 +13:00
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 1594ff0f32 Merge pull request #170 from CanonicalLtd/mwhudson/kill-some-signals
remove trivial uses of signals for console-conf
2016-11-03 09:46:01 +13:00
Michael Hudson-Doyle 4861cedb34 one last emit_signal that came in via merge 2016-11-02 12:56:44 +13:00
Michael Hudson-Doyle d48a70973e restore escape key behaviour 2016-11-02 12:44:04 +13:00
Michael Hudson-Doyle f9de0818a8 fix C-x 2016-11-02 12:24:06 +13:00
Michael Hudson-Doyle 6b99559819 oops 2016-11-02 12:14:01 +13:00
Michael Hudson-Doyle 91e42e37bd Merge branch 'master' into mwhudson/kill-some-signals 2016-11-02 12:00:47 +13:00
Michael Hudson-Doyle 138aae98de releasing package subiquity version 0.0.23 2016-10-28 13:35:34 +13:00
Michael Hudson-Doyle d4f44d4913 Merge pull request #179 from CanonicalLtd/mwhudson/redact-logs-more
make properly sure that the wifi password does not get logged
2016-10-28 13:32:14 +13:00
Michael Hudson-Doyle 019b5c4b3e make properly sure that the wifi password does not get logged
Two of these were properly stupid :(

LP: #1636421 (again)
2016-10-28 13:14:05 +13:00
Michael Hudson-Doyle 4a3955d8de releasing package subiquity version 0.0.22 2016-10-27 09:51:38 +13:00
Michael Hudson-Doyle c9be28f73a changelog 2016-10-27 09:51:23 +13:00
Michael Hudson-Doyle 9c552ac38d Merge pull request #178 from CanonicalLtd/mwhudson/lp-1636891
allow +,= in email addresses

possibly even this amount of validation is overkill but well. it should work for all emails permitted by lp at least.
2016-10-27 09:43:34 +13:00
Michael Hudson-Doyle 74be6a382a launchpad allows = in emails too 2016-10-27 09:28:52 +13:00
Michael Hudson-Doyle ef0da85568 allow + in email addresses 2016-10-27 09:24:21 +13:00
Michael Hudson-Doyle 651aba7266 changelog 2016-10-26 11:50:04 +13:00
Michael Hudson-Doyle 8b9a45d965 Merge pull request #176 from CanonicalLtd/mwhudson/umask-log-passwords
remove setting of umask, redact wifi password from log file
2016-10-26 11:45:39 +13:00
Michael Hudson-Doyle 47af1de57e remove setting of umask, redact wifi password from log file
The setting of umask was breaking configuring wifi :(
2016-10-26 11:02:23 +13:00
Mathieu Trudel-Lapierre 6ba4e59bd9 releasing package subiquity version 0.0.20 2016-10-20 18:35:38 -04:00
Mathieu Trudel-Lapierre 71c4b0ec36 More changelog entries for mwhudson's changes
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-10-20 16:26:18 -04:00
Michael Hudson-Doyle 6318de27cf make sure selecting dhcp after manual configuration clears out gateway & nameserver config 2016-10-21 08:59:34 +13:00
Michael Hudson-Doyle 6d93221a43 do not add empty strings to nameservers or search_domains 2016-10-21 08:59:09 +13:00
Mathieu Trudel-Lapierre 99675b8495 Update changelog with latest changes from mwhudson.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-10-20 15:32:01 -04:00
Mathieu Trudel-Lapierre 0ef1ec679b models/network: move nameservers rendering to the interface rather than being global
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-10-20 15:18:19 -04:00
Mathieu Trudel-Lapierre aa058727f7 Merge pull request #175 from CanonicalLtd/mwhudson/nameservers-ui
add UI for entering nameservers
2016-10-20 09:21:56 -04:00
Michael Hudson-Doyle 7edcf3bcb7 UI for entering name servers/domains 2016-10-20 22:31:10 +13:00
Michael Hudson-Doyle 67f2ee4cda include nameservers in device config 2016-10-20 21:59:34 +13:00
Michael Hudson-Doyle 17d96e36c8 Merge pull request #174 from CanonicalLtd/mwhudson/private-logs
set umask in console-conf-tui to make log files private
2016-10-20 13:46:26 +13:00
Michael Hudson-Doyle ce3735a2ef set umask in console-conf-tui to make log files private
this would also affect any other files console-conf creates, but afaict
that's only the netplan config which (a) should be private too and (b)
is handled specially anyway
2016-10-20 13:41:30 +13:00
Michael Hudson-Doyle 262a7a4806 Merge pull request #172 from CanonicalLtd/mwhudson/render-gateway
render gateway4/gateway6 in network config
2016-10-20 13:22:25 +13:00
Michael Hudson-Doyle 1c423e324d Merge pull request #173 from CanonicalLtd/mwhudson/config-permissions
do not write the netplan config so the world can see it
2016-10-20 13:21:59 +13:00
Michael Hudson-Doyle d594b77f28 do not write the netplan config so the world can see it 2016-10-20 12:37:19 +13:00
Michael Hudson-Doyle baf05ac5ad render gateway4/gateway6 in network config
See https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1634540
2016-10-20 11:04:18 +13:00
Michael Hudson-Doyle 0cdbd40a1c Merge pull request #171 from CanonicalLtd/pr-168-take-2
skip the "enter your email address" view if the device is already owned
2016-10-12 14:00:16 +13:00
Michael Hudson-Doyle e6a8cc07c7 address review comments 2016-10-12 13:17:14 +13:00
Mathieu Trudel-Lapierre e41e17f61a Fixup: don't side-effect checking for the device owner.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-10-12 13:13:14 +13:00
Mathieu Trudel-Lapierre a8dd559979 identity: implement an initial, dumb "is this device owned" check.
Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
2016-10-12 13:13:14 +13:00
Michael Hudson-Doyle 7f42bf3970 Merge branch 'master' into mwhudson/kill-some-signals 2016-10-11 12:55:07 +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
Mathieu Trudel-Lapierre fc10303150 Update code to follow latest `snap managed` API. 2016-10-07 11:34:45 -04:00
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