Michael Hudson-Doyle
00cfee002f
trivial fixes for console_conf breakage
2020-11-06 09:54:30 +13:00
Michael Hudson-Doyle
f0082c2068
change controller api to return a view, rather than setting it
2020-09-18 11:44:00 +12:00
Michael Hudson-Doyle
edc65dbbfb
make the base controller have no ui, add subclass for one that has ui
2020-08-23 23:18:28 +12:00
Michael Hudson-Doyle
0c9737097a
fix get_device_owner return value
2020-07-09 23:22:20 +12:00
Michael Hudson-Doyle
57cd4c3e4c
changes suggested in review
2020-07-09 10:47:46 +12:00
Michael Hudson-Doyle
164c575f2a
use snapd apis to check for a user and (minimally) handle a managed system with no owner
2020-07-03 15:55:07 +12:00
Dimitri John Ledkov
6de8970560
console_conf: fix showing error messages, when snap create-user fails
2020-05-18 12:42:14 +01:00
Dimitri John Ledkov
760fbaa22f
Review comments
2020-04-16 00:22:52 +01:00
Dimitri John Ledkov
5be2961a62
subiquity: add --ssh option to print ssh login details.
2020-04-16 00:08:56 +01:00
Dimitri John Ledkov
b61a3369a3
Fix login view button focus to done
2020-04-09 12:34:37 +01:00
Michael Hudson-Doyle
00e33ae0e1
include ssh host key details in ssh help
2020-04-06 14:10:26 +12:00
Michael Hudson-Doyle
cb52ab75a2
use the asyncio loop object rather than the urwid loop almost everywhere
2019-12-20 12:04:38 +13:00
Michael Hudson-Doyle
01e5261b3f
kill off other top level signals
2019-12-16 23:09:17 +13:00
Michael Hudson-Doyle
2765e6a773
replace next-screen/prev-screen signals with method calls
2019-12-16 23:02:03 +13:00
Michael Hudson-Doyle
64378cdb95
refactor how controllers are stored a bit
2019-12-12 10:38:03 +13:00
Michael Hudson-Doyle
a2ccb0cd9e
remove all remaining footer-related things
2019-09-30 09:32:23 +13:00
Michael Hudson-Doyle
9a05653150
Tweak Controller API
...
* rename 'default' method to 'start_ui'
* add 'end_ui' hook
* add Application.cur_controller helper
2019-09-04 15:18:45 +12:00
Michael Hudson-Doyle
caf026fb23
fix error logging in host_key_fingerprints
2019-09-03 13:13:58 +12:00
Michael Hudson-Doyle
f85fb6aac7
Merge pull request #525 from mwhudson/outermost-pile
...
Make the outermost widget an instance of Pile rather than Frame
2019-08-16 14:51:32 +12:00
Michael Hudson-Doyle
9e40dcbad6
Make the outermost widget an instance of Pile rather than Frame
...
Current plans involve putting a focusable widget (a help button) in the
footer, and Pile's behaviour is much more what we want than Frame for
this.
2019-08-16 14:31:03 +12:00
Michael Hudson-Doyle
cad6817118
fix console-conf again
2019-08-15 13:34:10 +12:00
Michael Hudson-Doyle
81b9c883f3
do not copy so many things from app to controller in Controller.__init__
2019-08-15 13:34:09 +12:00
Michael Hudson-Doyle
98908e91b2
get rid of silly common dictionary that was passed around a bit everywhere
2019-08-15 13:33:38 +12:00
Dimitri John Ledkov
968fe145e6
consoleconf: Fixup write_login_details_standalone
...
Port to use prober API, stop using removed APIs.
2019-08-14 14:04:29 +01:00
Dimitri John Ledkov
290c26d244
consoleconf: rewrite identity page.
2019-08-07 21:35:35 +01:00
Łukasz 'sil2100' Zemczak
d5413fde2d
Zyga is right - better to check the ID instead of NAME.
2018-06-12 17:14:37 +02:00
Łukasz 'sil2100' Zemczak
75bdbab36b
Whoops, it was a real failure reported by flake8 - fix missing bracket.
2018-06-11 13:22:39 +02:00
Łukasz 'sil2100' Zemczak
32b724e608
Forgot the version string in one template.
2018-06-11 13:17:30 +02:00
Łukasz 'sil2100' Zemczak
17c6358320
console-conf identity: Reuse the login_details_tmpl_no_ip template in standalone, use os-release to determine the Ubuntu Core version as we now support both 16 and 18.
2018-06-08 21:21:02 +02:00
Ryan Harper
8743ff5200
pep8 fixes for console_conf/controllers/identity.py
2018-05-24 16:59:31 -05:00
Ryan Harper
e1a6542d86
run_command returns a CalledProcess object, no 'output' attribute, but 'stdout' instead
2018-05-21 11:29:41 -05:00
Michael Hudson-Doyle
488802fc8b
update users of run_command (i thought there was more than this)
2018-05-18 13:11:15 +12:00
Michael Hudson-Doyle
6f4a87101b
flakes--
2018-03-08 19:05:51 +13:00
Michael Hudson-Doyle
386d44ee14
add ConsoleConf model and some other bits to get to point of starting the UI up
2018-03-08 16:39:03 +13: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
Michael Hudson-Doyle
618c4e6e72
do not crash in final console-conf screen if no host keys are read (mostly dry-run mode)
2017-04-05 14:26:28 +12:00
Michael Hudson-Doyle
435ed77ade
fix crash on startup with no ip address
...
console-conf-write-login-details would crash if it ran before the system
got an ip address. re-jig things a bit so that it displays an nice message
when there is no ip address but still checks for a new address every 5s until
it finds one.
2017-03-28 15:54:50 +13:00
Michael Hudson-Doyle
3facaab59e
more care around how ttyname is displayed
2017-02-17 15:08:12 +13:00
Michael Hudson-Doyle
e5847fb863
rewrite login screen per feedback
2017-02-17 14:43:16 +13:00
Michael Hudson-Doyle
19ec2b5c41
only suggest the user logs in via scope global addresses
2017-02-17 14:21:54 +13:00
Michael Hudson-Doyle
8af0639dd4
cope with probert API changes
2017-02-17 12:37:47 +13:00
Michael Hudson-Doyle
2408dda6c7
remove references to firstboot (an old name for console-conf?)
2017-01-26 11:18:03 +13:00
Michael Hudson-Doyle
5f6be3c094
stop consoleconf's IdentityController inheriting from BaseIdentityController
2017-01-17 11:34:32 +13:00
Michael Hudson-Doyle
d65b4191aa
improve grammar in login-details.txt
2016-12-15 20:50:51 +13:00
Michael Hudson-Doyle
74dc27043b
rewrite login-details.txt a bit
...
for https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1643930
2016-11-23 10:16:12 +13:00
Michael Hudson-Doyle
1862be5ef0
show fingerprints on login view
2016-11-10 13:38:09 +13:00
Michael Hudson-Doyle
7c7fc8218f
shuffle things around so that it works for a user created via an assertion
2016-11-10 11:59:39 +13:00
Michael Hudson-Doyle
e8850b4a74
tweaks
2016-11-10 10:39:03 +13:00
Michael Hudson-Doyle
e8922d82b9
write a much nicer login-details.txt file
2016-11-09 14:57:35 +13:00
Michael Hudson-Doyle
7bef718e18
re-work logic, including having console-conf generate the file to show
2016-11-09 14:33:58 +13:00