Commit Graph

1987 Commits

Author SHA1 Message Date
Michael Hudson-Doyle e1488d9774 reintroduce filtering out of small devices
at a somewhat more fundamental level this time
2018-06-19 23:14:23 +12:00
Michael Hudson-Doyle d1f57b54d2
Merge pull request #363 from mwhudson/rework-fs-views
modernize filesystem views
2018-06-19 11:48:42 +12:00
Michael Hudson-Doyle 2f320f691a show format and mount of partition being deleted 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 149df0de2a answers support for not submitting a form, deleting things 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 650b185920 add an answers file that creates a swap partition 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 1cdfea174d add some validation of curtin config generated from answers 2018-06-19 11:43:59 +12:00
Michael Hudson-Doyle 4f55f803d6 add support for driving the filesystem UI via answers 2018-06-19 11:43:59 +12:00
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