Commit Graph

228 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
340a28f108
Merge remote-tracking branch 'origin/pr/291'
* origin/pr/291:
  mock QubesVMNotFoundError
  manager: Handle removal of VM during on_shutdown.
2021-05-30 00:56:24 +02:00
Marek Marczykowski-Górecki
4420e52d0d
Merge remote-tracking branch 'origin/pr/288'
* origin/pr/288:
  Add check before launch qvm_start()
  Fix main()
  Fix pylint warning
  Added parent to all __init__()
  Retored reject() connect
  Revert "Restored reject() call with ui"
  Restored reject() call with ui
  Close dialog after finish qvm_start()
  Fix pylint warning
  Fix 'Line too long'
  Added bootfromdevice dialog to create_new_vm (instead subprocess.call)
  Removed unneeded reject() definition
  Use vm.name instead vm object
  Removed unneded reject() definition
  Removed qvm_start call from bootfromdevice
  Improved window size and margins
2021-05-30 00:56:15 +02:00
donoban
d86c254031
Merge branch 'master' of https://github.com/QubesOS/qubes-manager into cascade 2021-05-22 11:39:27 +02:00
3hhh
72cbec7645
manager: Handle removal of VM during on_shutdown.
Fixes QubesOS/qubes-issues#5105
2021-04-09 17:55:57 +02:00
donoban
f1f80556dc
Fix pylint warning 2021-03-15 21:12:59 +01:00
donoban
a90642712b
Added parent to all __init__() 2021-03-15 15:13:59 +01:00
donoban
f5c025216a
Tests suite fixes 2021-02-27 13:19:09 +01:00
donoban
aa0ec0e45d
Use internal vm.shutdown_timeout 2021-02-24 16:18:31 +01:00
Marek Marczykowski-Górecki
1e36eb9d30
Restore checkboxes to show/hide columns 2021-02-24 03:59:02 +01:00
Marek Marczykowski-Górecki
d253b50545
Merge remote-tracking branch 'origin/pr/273'
* 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
  ...
2021-02-24 02:29:13 +01:00
donoban
47b0bef3e2
Fix pylint warning 2021-02-17 10:56:29 +01:00
donoban
6276373fff
Show all non halted vm's as running 2021-02-17 10:55:20 +01:00
donoban
60dbeabfb4
use force=True when restarting a netvm with connected vms 2021-02-16 22:08:51 +01:00
donoban
7a0bc9b863
Join all connected VM's in same warning 2021-02-16 21:28:32 +01:00
donoban
8034060896
Fix coherence in network menu when adding/removing domains 2021-02-09 21:11:35 +01:00
donoban
37513dec7e
Disable network menu for templates 2021-02-03 00:04:30 +01:00
donoban
c4da25c6b7
Just warning message improve 2021-01-28 21:08:11 +01:00
donoban
28120f3a8f
Rewrite without cascade var 2021-01-27 09:30:21 +01:00
donoban
c943e2dd84
Don't wait! 2021-01-26 23:47:14 +01:00
donoban
696a668bbe
First initiate shutdown for all vm's, then wait 2021-01-25 22:40:10 +01:00
donoban
94ede98007
Display default netvm 2021-01-25 21:27:50 +01:00
donoban
a02aeb4c25
Fix possible 'None' default error 2021-01-10 23:39:33 +01:00
donoban
9a36089ee6
Fix wrong identation (thanks pylint) 2021-01-10 21:17:49 +01:00
donoban
4d68b64a3a
Avoid infite loop while waiting vm to shutdown 2021-01-10 20:54:03 +01:00
donoban
4bb156e061
Fix pylint warnings 2021-01-10 20:43:26 +01:00
donoban
ef8be34622
Cascade shutdown
https://github.com/QubesOS/qubes-issues/issues/6109
2021-01-10 19:10:36 +01:00
donoban
9f44f7413d
Added default option for network change 2021-01-09 00:42:47 +01:00
Marek Marczykowski-Górecki
7f257b1c8e
Merge remote-tracking branch 'origin/pr/275'
* origin/pr/275:
  Replace '2' with Qt.Checked
  Rename 'Include in backups' to 'Backup'
  flags() rewrite
  Fix empty lines
  Include in backups changed to 'CheckStateRole'
2021-01-05 21:17:12 +01:00
donoban
b72cc34a83
Wrap warnings message in self.tr() 2020-12-16 11:30:39 +01:00
donoban
c666357625
Replace '2' with Qt.Checked 2020-12-12 14:22:15 +01:00
donoban
1812989ecd
Rename 'Include in backups' to 'Backup' 2020-12-12 14:18:34 +01:00
donoban
9152218921
Merge branch 'master' of https://github.com/QubesOS/qubes-manager into template_menu
# Conflicts:
#	qubesmanager/qube_manager.py
#	ui/qubemanager.ui
2020-12-12 14:08:41 +01:00
donoban
f95bcbb1bc
Added wait argument to start_vm
Easier error handling for start vm's from other places
2020-12-12 00:34:41 +01:00
donoban
4343691b92
Better dialog creation 2020-12-12 00:19:30 +01:00
donoban
81d95f3de9
Added try/except for starting netvm 2020-12-12 00:08:49 +01:00
donoban
b29934b898
Added error message to dialogs 2020-12-11 23:48:16 +01:00
donoban
2164b82c34
Changed filter to list comprehension (avoids pylint warning) 2020-12-11 01:01:21 +01:00
donoban
df0e4699a0
File checking and error dialog moved to qube_manager 2020-12-11 00:53:57 +01:00
donoban
0cb89e611a
Added proper error handling and Check netvm_name is not None 2020-12-11 00:38:06 +01:00
donoban
f90ab86a73
Merge branch 'master' of https://github.com/QubesOS/qubes-manager into template_menu
# Conflicts:
#	qubesmanager/qube_manager.py
2020-12-11 00:07:51 +01:00
donoban
ebe777c5a1
Merge branch 'master' of https://github.com/QubesOS/qubes-manager into log_dialog
# Conflicts:
#	qubesmanager/qube_manager.py
#	ui/qubemanager.ui
2020-12-10 23:39:34 +01:00
Marek Marczykowski-Górecki
3d1ff3e58d
Merge remote-tracking branch 'origin/pr/272'
* origin/pr/272:
  Save 'compactview' state
  Added 'Compact View' Action
2020-12-10 05:17:52 +01:00
Marek Marczykowski-Górecki
c44880f9f5
Merge remote-tracking branch 'origin/pr/270'
* origin/pr/270:
  Restored removed lines by accident (although I think that are useless at this moment)
  Fix pylint warnings
  Added saving and restore settings for showing checkboxes
  Removed unused import
  Enable 'Show' checkboxes by default
  Added filterAcceptsRow() to QubesProxyModel
  Added 'Show' Checkboxes to .ui
  Fix SelectionMode on ui file
2020-12-10 05:07:27 +01:00
donoban
4fa13d3295
Pylint fixes 2020-12-05 12:41:20 +01:00
donoban
dc0ee97b27
Multiple file log dialog 2020-12-05 12:28:36 +01:00
donoban
9dd9ba17ce
Changed checkboxes to icons 2020-11-26 00:04:10 +01:00
donoban
54d523de6c
Added change network confirmation 2020-11-18 12:27:59 +01:00
donoban
3e5893e6cf
Added Template Change Confirmation 2020-11-18 12:22:48 +01:00
donoban
d74b52c00b
flags() rewrite 2020-11-15 19:08:22 +01:00
donoban
409bcd27fc
Fix empty lines 2020-11-14 16:12:11 +01:00