Add support for automatic fwupd report uploading
fwupd 1.3.3 has support to automatically upload reports back to a remote when a user has opted into the feature.
This MR adds support for gnome-software to recognize that a user opted into that feature and upload reports of firmware upgrades performed in gnome-software as well.
This is mostly a port of the fwupdmgr
implementation, but notably the following are missing and probably need wider discussion in a follow up:
- A UX method for user to opt in, timing to show that messaging, etc. (If not already opted in, this code is no-op)
- An error dialog should be shown if the server sends back a known issue
- An error dialog when failing to upload reports (maybe?)