Michael Hudson-Doyle
3221599cb1
default routes can appear via CHANGE as well as NEW
2017-09-29 08:37:24 -04:00
Michael Hudson-Doyle
393055622c
always super-call route_change
2017-09-29 08:37:19 -04:00
Michael Hudson-Doyle
86ac32905b
change the progress bar to show x / y rather than a %age
...
Also make its progress more automatic.
2017-09-26 09:01:22 -04:00
Dimitri John Ledkov
693f3e7c7d
Barebones i18n setup.
2017-09-18 14:14:39 +01:00
Michael Hudson-Doyle
e0f75ba013
tweaks to network views
...
1) move the done / cancel buttons (and error display) out of scrolling region
2) focus done by default
3) update footer texts to make sense
4) use a bit more of the horizontal space to show interface information
2017-09-08 09:48:41 +12:00
Michael Hudson-Doyle
395b30451e
stop being clever in handling of escape in network screens
2017-04-05 14:36:46 +12:00
Michael Hudson-Doyle
32578fb35e
make sure waiting for the default route times out properly
...
see https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1672803
2017-03-21 13:38:35 +13:00
Michael Hudson-Doyle
f1b97508fa
dry-run fix
2017-03-20 15:03:32 +13:00
Michael Hudson-Doyle
3f425c9e05
make the netplan file name and path depend (very slightly) on subiquity vs console-conf
2017-03-16 22:52:05 +13:00
Michael Hudson-Doyle
ff75b7a7fe
fix crash on disappearing network interface
...
By being more careful about accessing self.focus in FocusTrackingMixin.
Fixes https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1667829
2017-03-02 21:34:12 +13:00
Michael Hudson-Doyle
404ca627da
use evilnick's wording on the network page
2017-03-02 13:52:20 +13:00
Michael Hudson-Doyle
65f9d1ef62
move show_overlay to BaseView
2017-02-14 16:16:19 +13:00
Michael Hudson-Doyle
a4d6682478
simpler api for doing stuff in a background thread
2017-01-18 12:03:56 +13:00
Michael Hudson-Doyle
fa95fb55ad
make callfromthread functionality more available, use it in installprogress
2017-01-18 12:02:34 +13:00
Michael Hudson-Doyle
e50ccb9c76
stop sharing WelcomeController
2017-01-17 11:34:32 +13:00
Michael Hudson-Doyle
4e726495c3
move BaseIdentityController to become subiquity's IdentityController
2017-01-17 11:34:32 +13:00
Michael Hudson-Doyle
17b943209e
remove subiquitycore/async.py
...
it was just a glorified global variable.
2017-01-13 15:08:31 +13:00
Mathieu Trudel-Lapierre
b9a990171c
identity: don't quit after subiquity/subiquitycore identity controller, it should be able to continue to the next screen.
2016-12-22 22:16:15 -05:00
Michael Hudson-Doyle
df800bf8b3
fix header of WIFI config screen
...
See https://bugs.launchpad.net/bugs/1651119
2016-12-22 12:16:39 +13:00
Mathieu Trudel-Lapierre
01c42205f0
Fix identity controller for subiquity; correctly process done signal and displaying local user info.
2016-12-20 15:40:28 -05:00
Michael Hudson-Doyle
2a716df0ad
add and use NetworkConfigureIPv6InterfaceView
2016-12-12 15:45:45 +13:00
Michael Hudson-Doyle
bd9046ae9c
squash some more trivial uses of signals
...
And move the @view decorator and associated methods used by the network
stuff somewhere more general.
2016-11-22 16:09:51 +13:00
Michael Hudson-Doyle
9ba1c8feff
get subiquity to the point where it at least starts
2016-11-21 13:32:58 +13:00
Michael Hudson-Doyle
19081d53bc
reparse netplan configs after writing config
...
'netplan apply' can re-plug network interfaces, so it looked like we
forgot how an interface had been configured
2016-11-09 12:21:06 +13:00
Michael Hudson-Doyle
a7bfef3646
show error message from netplan generate when it fails
2016-11-08 10:39:54 +13:00
Michael Hudson-Doyle
31b21799b7
remove dependency on netifaces
2016-11-07 16:56:36 +13:00
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
d48a70973e
restore escape key behaviour
2016-11-02 12:44:04 +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
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
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
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
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
2373837269
make fake network actions in dry-run mode a lot quicker
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
Michael Hudson-Doyle
e765538c95
address some UI comments from Mark
2016-09-20 14:13:31 +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
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
f9668b8802
more low quality UI work
2016-09-05 15:36:59 +12:00
Michael Hudson-Doyle
bf3384596e
a start a configure-wifi ui
2016-09-05 12:03:06 +12:00
Michael Hudson-Doyle
c6b17fdf43
Overwrite the netplan config that snap firstboot creates.
2016-08-31 11:22:23 +12:00
Michael Hudson-Doyle
fedcb10560
add WaitForDefaultRouteTask, use it instead of networkd-wait-online
...
It polls though, sorry Mathieu!
2016-08-30 15:08:05 +12:00
Michael Hudson-Doyle
fe8f99fbec
an example of how to implement a task as python
2016-08-30 14:15:46 +12:00
Michael Hudson-Doyle
549c00279d
refactor network application code so that it does not assume all steps are subprocesses
2016-08-30 14:14:08 +12:00