Commit Graph

3544 Commits

Author SHA1 Message Date
Michael Hudson-Doyle f7c3f04887
Merge pull request #849 from mwhudson/state-management
refactor startup and state management a bit
2020-10-09 13:30:50 +13:00
Michael Hudson-Doyle 673ade7f2a make core interface a little simpler 2020-10-09 13:12:09 +13:00
Michael Hudson-Doyle c03f6580fd move more code that should never have been so generic 2020-10-09 13:08:15 +13:00
Michael Hudson-Doyle 2bf981ebb8 move "last-screen" handling out of generic code 2020-10-09 13:07:04 +13:00
Michael Hudson-Doyle 7d22e299bd do not call setup_autoinstall as part of __init__ 2020-10-09 13:00:14 +13:00
Michael Hudson-Doyle cac81ccd99 update POTFILES.in 2020-10-09 10:49:54 +13:00
Michael Hudson-Doyle 9a8ef486d8
Merge pull request #848 from mwhudson/better-server-subproc-handling
handle automatically run server processes in dry-run mode better
2020-10-06 22:25:39 +13:00
Michael Hudson-Doyle 83f03089aa handle automatically run server processes in dry-run mode better
otherwise, when we start adding server restarts to the mix, it is easy to
end up with multiple server processes running
2020-10-06 17:21:51 +13:00
Michael Hudson-Doyle ed46be6681
Merge pull request #847 from mwhudson/add-missing-init-files
add missing __init__.py to subiquity/server
2020-09-30 11:44:39 +13:00
Michael Hudson-Doyle 31cf346cb2 add missing __init__.py to subiquity/server 2020-09-30 11:37:19 +13:00
Michael Hudson-Doyle 0ae3dde133
Merge pull request #845 from mwhudson/serialization-fixes
make serialization errors clearer and fix a type issue in NetDevInfo
2020-09-25 14:44:16 +12:00
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