Commit Graph

720 Commits

Author SHA1 Message Date
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
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
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