* origin/pr/281:
Tests suite fixes
Use internal vm.shutdown_timeout
Fix pylint warning
Show all non halted vm's as running
use force=True when restarting a netvm with connected vms
Join all connected VM's in same warning
Rewrite without cascade var
Don't wait!
First initiate shutdown for all vm's, then wait
Fix wrong identation (thanks pylint)
Avoid infite loop while waiting vm to shutdown
Fix pylint warnings
Cascade shutdown
Qube Manager currently shows a security warning when changing the NetVM of TemplateVMs.
This warning is generally useful, but not when disabling networking;
for example changing the NetVM from from "default" to "none".
In this chnage I suppress the warning when the NetVM for a TemplateVM is changed to "none".
* origin/pr/258:
qvm-template-gui: auto resize columns to the content
qvm-template-gui: change date format to '%d %b %Y'
qvm-template-gui: UX improvements
Make pylint happy
qvm-template-gui: improve displaying progress
qvm-template-gui: UI improvements
qvm-template: Include files in deb/rpm package
qvm-template: Change size unit from kB to MB.
qvm-template: Disable multi-selection for simplicity.
qvm-template: Port initial code to PyQt.
qvm-template: Initial GUI implementation.
- hide license, URL and summary - those are the same for all the templates, and
not really useful for the user
- remove repeated "Time" word from column headers
- use full "Repository" word as the column header
instead of only the first one. That caused argv[1] to be iterated over,
meaning that LogDialog would see it as a list of one-character
filenames. Hilarity ensued.
The final version of qvm-template does not display untrusted data, so it
is safe to decode UTF-8. Specifically, this shows download progress bar
done using tqdm library.
For this to work, \r needs to be properly handled, as tqdm uses it to
erase the current line to update progress status. Since QTextEdit does
not support it natively, add a simple wrapper for this job.
Alternatively, qvm-template could be modified to display
machine-readable progress info that would be passed through QT progress
widget, but it would basically duplicate the work already done by tqdm
library. We might do this at some point, though.
And also enlarge progress window default size, to avoid wrapping.
- rename "install" button to "apply" - it also does remove and
reinstall
- show button descriptions always
- show help text always, not only before selecting anything
- make the window a bit wider
This is useful for tests causing events in qube manager itsef (not just
external qvm-prefs calls). If event listener isn't connected at this
time, qube manager won't receive them and also qubesadmin internal cache
won't be refreshed.
* origin/pr/273: (24 commits)
Fix coherence in network menu when adding/removing domains
Fix too long line
Add warning if trying to change template VM
Disable network menu for templates
Display default netvm
Fix possible 'None' default error
Added default option for network change
Wrap warnings message in self.tr()
Added wait argument to start_vm
Better dialog creation
Added try/except for starting netvm
Added error message to dialogs
Added proper error handling and Check netvm_name is not None
Changed checkboxes to icons
Added change network confirmation
Added Template Change Confirmation
Moved change_* funcs after __init__()
Added QMessageBox if netvm is halted and user wants to start it
Added network_menu updates
Added try/except for change_network
...