Commit Graph

3583 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 5f0f353069
Merge pull request #846 from mwhudson/yaaaaaargl
pin yarl at 1.5.1 to avoid some grotty test failures
2020-09-25 14:40:20 +12:00
Michael Hudson-Doyle a25ef1b933 make a certain kind of test failure clearer 2020-09-25 14:33:53 +12:00
Michael Hudson-Doyle 15ae0bf234 make NetDevInfo.is_connected a bool, as it is supposed to be 2020-09-25 14:33:53 +12:00
Michael Hudson-Doyle e8b73a7ca7 include path to problem when serialization fails 2020-09-25 14:33:53 +12:00
Michael Hudson-Doyle 7bb993a99f pin yarl at 1.5.1 to avoid some grotty test failures 2020-09-25 14:32:49 +12:00
Michael Hudson-Doyle f37f2b08aa
Merge pull request #843 from mwhudson/dead-code
remove some dead code
2020-09-23 16:08:01 +12:00
Michael Hudson-Doyle 8dc97707fe
Merge pull request #841 from mwhudson/skip-confirm
handling skipping controllers and confirmation in client/server comms
2020-09-23 16:07:48 +12:00
Michael Hudson-Doyle c383bf9b2e
Merge pull request #839 from mwhudson/server-snap
add subiquity-server to snap
2020-09-23 16:07:28 +12:00
Michael Hudson-Doyle 49f767449a remove some dead code 2020-09-23 15:44:20 +12:00
Michael Hudson-Doyle 61be9f3fef
Merge pull request #842 from mwhudson/answers-tweak
do not run answers for view that is skipped
2020-09-23 15:44:00 +12:00
Michael Hudson-Doyle e3d6bf9562 do not run answers for view that is skipped 2020-09-23 15:38:43 +12:00
Michael Hudson-Doyle 379b981ce4
Merge pull request #840 from mwhudson/restart-client-on-server-update
restart the client if the server is updated
2020-09-23 15:02:04 +12:00
Michael Hudson-Doyle a78cd1a021 handle skipping controllers and confirmation in client/server calls 2020-09-23 14:56:36 +12:00
Michael Hudson-Doyle 9cb66cdc71 refactor how we tell when to show confirmation a bit 2020-09-23 14:56:36 +12:00
Michael Hudson-Doyle 59364a737e add (trivial) server controller base class 2020-09-23 14:56:27 +12:00
Michael Hudson-Doyle 22836200f1 restart the client if the server is updated 2020-09-23 13:59:11 +12:00
Michael Hudson-Doyle c0f0e3caaa add subiquity-server to snap 2020-09-23 13:29:01 +12:00
Michael Hudson-Doyle 87d193b0ec
Merge pull request #838 from mwhudson/middleware
handle server errors nicely
2020-09-23 13:28:00 +12:00
Michael Hudson-Doyle 6647d88c14 generate the error report for a request failure in the server
this requires a bit of plumbing for the client to be able to show an error report
that has just been created in another process
2020-09-23 11:02:02 +12:00
Michael Hudson-Doyle 3458227e94 have clicking restart in an error view restart the server too 2020-09-23 11:01:56 +12:00
Michael Hudson-Doyle 913a5262a2 create and show an error report when a server request fails 2020-09-23 10:48:39 +12:00
Michael Hudson-Doyle 9ce19db20c add a dry-run only api method that crashes and a key to call it 2020-09-23 10:47:35 +12:00
Michael Hudson-Doyle eea6bb0e27
Merge pull request #837 from mwhudson/serialize-to_json
make serialization api a touch easier to use
2020-09-23 10:47:20 +12:00
Michael Hudson-Doyle 25b9cf4c99 make serialization api a touch easier to use 2020-09-23 10:30:05 +12:00
Michael Hudson-Doyle 0e4d2ea7b8
Merge pull request #836 from mwhudson/minimal-server
add a minimal server process
2020-09-22 14:52:30 +12:00
Michael Hudson-Doyle edc43ff811 add a minimal server process
run it automatically in dry-run mode
2020-09-22 14:43:26 +12:00
Michael Hudson-Doyle 921bcfee70
Merge pull request #835 from mwhudson/refresh-view-changes
make refresh view/controller interface more client/server friendly
2020-09-22 14:42:30 +12:00
Michael Hudson-Doyle 54793283ef make refresh view/controller interface more client/server friendly
maybe. a bit.
2020-09-22 12:09:17 +12:00
Michael Hudson-Doyle ee764da84d
Merge pull request #834 from mwhudson/error-report-ref
add a type to act as a sort of serializable "handle" for an error report
2020-09-22 10:41:11 +12:00
Michael Hudson-Doyle 94de120d16 add a type to act as a sort of serializable "handle" for an error report 2020-09-21 22:25:58 +12:00
Michael Hudson-Doyle 58d1f2f385
Merge pull request #833 from mwhudson/zdev-view-changes
make zdev view/controller interface more client/server friendly
2020-09-21 21:32:36 +12:00
Michael Hudson-Doyle 7d02ee17f6 make zdev view/controller interface more client/server friendly 2020-09-21 21:04:14 +12:00
Michael Hudson-Doyle d92c8e862a
Merge pull request #832 from mwhudson/keyboard-view-changes
make keyboard view/controller interface more client/server friendly
2020-09-21 21:02:35 +12:00
Michael Hudson-Doyle 1ac81c41b5
Merge pull request #831 from mwhudson/welcome-view-changes
make welcome view/controller interface more client/server friendly
2020-09-21 21:01:00 +12:00
Michael Hudson-Doyle c204b4e214
Merge pull request #830 from mwhudson/installprogress-view-changes
tidy up interface between progress view and controller
2020-09-21 21:00:03 +12:00
Michael Hudson-Doyle 308bbd1042 update POTFILES.in 2020-09-21 16:07:09 +12:00
Michael Hudson-Doyle 70fc2e64cd make keyboard view/controller interface more client/server friendly 2020-09-21 14:56:47 +12:00
Michael Hudson-Doyle cfa56ff821 make welcome view/controller interface more client/server friendly 2020-09-21 14:28:13 +12:00
Michael Hudson-Doyle a8a56e908f tidy up interface between progress view and controller 2020-09-21 14:13:07 +12:00
Michael Hudson-Doyle bc6c66efbb give contexts an id and have progressview track them by id not identity 2020-09-21 14:01:40 +12:00
Michael Hudson-Doyle 219360d12d fixes for how install failures are presented
some of these have been around for a while :/
2020-09-21 14:01:23 +12:00
Michael Hudson-Doyle 8f8a87ad1c
Merge pull request #829 from mwhudson/simpler-snaplist-types
make interface between snaplist view and controller client-server friendly
2020-09-21 12:19:13 +12:00
Michael Hudson-Doyle 0a8c6b506e small refactor 2020-09-21 11:39:34 +12:00
Michael Hudson-Doyle e43e3cca14 make the interface between snaplist view and controller client-server friendly 2020-09-21 11:21:42 +12:00
Michael Hudson-Doyle 22fbfdcbdd
Merge pull request #827 from mwhudson/asyncify-make_ui
allow make_ui to be async
2020-09-21 10:42:03 +12:00
Michael Hudson-Doyle 10fbd73d9c
Merge pull request #828 from mwhudson/simple-view-types
convert proxy, mirror, identity, ssh views to only refer to simple types
2020-09-19 23:06:34 +12:00
Michael Hudson-Doyle aaa0b9a48d stop proxy and mirror views referring directly to model
nearly trivial, this one
2020-09-18 22:39:52 +12:00
Michael Hudson-Doyle 084b3c2396 make sshview refer to a simple type 2020-09-18 22:37:35 +12:00
Michael Hudson-Doyle d0667e7f12 make identityview refer to a simple type 2020-09-18 22:25:24 +12:00
Michael Hudson-Doyle 7545b9108d
Merge pull request #826 from mwhudson/separate-answers-handling
change controller api to return a view, rather than setting it
2020-09-18 22:10:14 +12:00