Michael Hudson-Doyle
d7add31d77
future proofing
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
f115a32edd
create mounts for swap when the fs gets created
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
3eff761284
add a "Make boot device" action
...
also future proof against adding the boot partition to e.g. RAID
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
1cae2592e0
reimplement device actions in a less boilerplatey fashion
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
de3ae13592
fix obscure focus bug
...
there was a sequence of events that left focus on a non-selectable widget
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
6f7bbf9f15
use screen() helper
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
53db9bf729
remove dead view
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
68c49e5135
add some super basic filesystem tests, fix partition tests
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
e2dadb4da2
enable/disable done button as needed
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
48efa764b9
remove delete partition button from edit partition dialog
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
2459f585a8
implementing deleting a partition via the context menu
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
e11e02f89d
refactor action callbacks a bit
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
e9e4d3e5c9
add and use FormatEntireStretchy
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
da17180708
move adding/editing a partition to a dialog
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
b464323606
move disk info into dialog
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
3051252103
move device lists to separate class too
2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle
24788c5c9a
move filesystem summary to separate view
2018-06-19 11:43:58 +12:00
Michael Hudson-Doyle
de80a06f47
add actionmenu widget
2018-06-18 21:36:35 +12:00
Michael Hudson-Doyle
77a693c4fc
introduce DeviceAction enum and supports_action methods
2018-06-18 21:36:35 +12:00
Michael Hudson-Doyle
adceae61f9
create, use controller wrappers around model methods
2018-06-18 21:36:35 +12:00
Michael Hudson-Doyle
cfda052923
refactor fs objects a bit and add remove_XXX model methods
2018-06-18 21:36:35 +12:00
Michael Hudson-Doyle
c0d66f5540
make scrollbar less intrusive
...
also pretty up its implementation a bit while I am here
2018-06-18 21:24:23 +12:00
Michael Hudson-Doyle
0d95adb89e
Merge pull request #360 from sil2100/console-conf-core-version
...
console-conf identity: do not hard-code the core version
2018-06-15 14:18:52 +12:00
Michael Hudson-Doyle
14ad092b9d
implement _select_first/last_selectable on our Columns
2018-06-15 12:26:02 +12:00
Michael Hudson-Doyle
547a04bb28
Merge pull request #362 from mwhudson/add-table-widget
...
Add table widget
2018-06-15 12:18:59 +12:00
Michael Hudson-Doyle
3a59925265
work around a strange behaviour of Pile when contents is changed
2018-06-15 11:51:40 +12:00
Michael Hudson-Doyle
66578aff79
account for colspan>1 cells in width computations
...
I ran into that gotcha pretty quickly.
2018-06-15 11:48:19 +12:00
Michael Hudson-Doyle
a59cce8b67
use table widget in snap list views
2018-06-15 11:48:19 +12:00
Michael Hudson-Doyle
b34ca65aba
a slightly over-engineered table widget
...
that takes column widths from the contens of the cells, unlike
most things in urwid
2018-06-15 11:48:19 +12:00
Michael Hudson-Doyle
ad9d08776a
Merge pull request #365 from mwhudson/lp-1769478
...
filter out disks with the ID_CDROM udev property
2018-06-15 10:49:08 +12:00
Michael Hudson-Doyle
9a0a50e032
review feedback
2018-06-15 10:11:33 +12:00
Michael Hudson-Doyle
b584345055
Merge pull request #364 from mwhudson/lp-1775228
...
only add the user to groups that exist in the target system
2018-06-15 09:58:30 +12:00
Michael Hudson-Doyle
19777c8870
add comment
2018-06-15 09:58:17 +12:00
Michael Hudson-Doyle
cbe2ea2ffb
filter out device major 11 too
...
this is probably actually the same as filtering out on ID_CDROM in reality but well
2018-06-15 09:57:47 +12:00
Michael Hudson-Doyle
4d331dd200
filter out disks with the ID_CDROM udev property
2018-06-15 09:52:30 +12:00
Michael Hudson-Doyle
5e58068b2e
lint
2018-06-15 09:48:17 +12:00
Michael Hudson-Doyle
895d5aa2ef
fix dry run mode
2018-06-15 09:39:27 +12:00
Michael Hudson-Doyle
4906fd2e79
fix hardcoded paths in installpath model
2018-06-15 09:39:21 +12:00
Michael Hudson-Doyle
56c637fed7
less hardcoding of /target
2018-06-15 08:35:20 +12:00
Michael Hudson-Doyle
ad17c530b0
only add the user to groups that exist in the target system
...
for https://bugs.launchpad.net/subiquity/+bug/1775228
("user is in debian-tor group on fresh install")
2018-06-14 15:27:06 +12:00
Michael Hudson-Doyle
2f184ce9a6
fix display of install progress in footer
2018-06-13 14:02:40 +12:00
Michael Hudson-Doyle
1ab495c0a8
fix refreshing network view on network changes
2018-06-13 13:38:03 +12:00
Michael Hudson-Doyle
9ef56239f8
fix snap build
...
* use a different way to avoid depending on i18n in tox
* add __init__.py files to new packages
2018-06-13 13:21:20 +12:00
Łukasz 'sil2100' Zemczak
d5413fde2d
Zyga is right - better to check the ID instead of NAME.
2018-06-12 17:14:37 +02:00
Michael Hudson-Doyle
c9e87438ae
Merge pull request #361 from mwhudson/better-WidgetWrap
...
add our own version of WidgetWrap
2018-06-12 09:04:06 +12: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
Michael Hudson-Doyle
d315751d60
add our own version of WidgetWrap
...
urwid doesn't know about the _select_first/last_selectable methods our
containers use to make tab-cycling work so its WidgetWrap doesn't
forward them along. So add a WidgetWrap that does, and use it in the one
place that it matters so far (more coming soon!).
2018-06-11 14:13:44 +12:00
Michael Hudson-Doyle
29d21c2a57
Merge pull request #359 from smoser/fix/spaces-in-events-json
...
Fix curtin block comments in example events.
2018-06-11 12:26:26 +12: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