Commit Graph

1211 Commits

Author SHA1 Message Date
donoban
d86c254031
Merge branch 'master' of https://github.com/QubesOS/qubes-manager into cascade 2021-05-22 11:39:27 +02:00
donoban
f5c025216a
Tests suite fixes 2021-02-27 13:19:09 +01:00
Marek Marczykowski-Górecki
465d66189a
tests: changing netvm and template via right click 2021-02-25 02:30:47 +01:00
Marek Marczykowski-Górecki
66e478d968
tests: add a decorator for keeping event listener alive
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.
2021-02-25 02:28:38 +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
4e6cf91f63
Fix too long line 2021-02-03 00:07:41 +01:00
donoban
1edc4effd8
Add warning if trying to change template VM 2021-02-03 00:05:37 +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
Marek Marczykowski-Górecki
96612fa355
tests: update for recent changes
- create_new_vm rework - especially new VM type selection
- minor changes in the main manager table
- rework of logs dialog (the test for the actual dialog is still
  missing, the current one only checks if it's called with proper
  arguments)
2021-01-09 06:01:59 +01:00
Marek Marczykowski-Górecki
2f48fb33a3
create_new_vm: enable/disable "install system" option on template change
When choosing StandaloneVM type, the option to install a system should
be enabled when empty source template is set. Fix this when choosing VM
type first and only then changing template to empty.
2021-01-09 05:53:53 +01:00
donoban
9f44f7413d
Added default option for network change 2021-01-09 00:42:47 +01:00
Marek Marczykowski-Górecki
81c0872f2b
Merge remote-tracking branch 'origin/pr/278'
* origin/pr/278:
  fixed trailing spaces
  Added TemplateVM and disposableVM to Create New Qube
2021-01-05 21:17:35 +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
ctrlaltf24
1f26067a1d
fixed trailing spaces 2020-12-13 09:23:39 -08: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
78d76eb70f
Fix Spanglish accident 2020-12-10 23:46:44 +01:00
donoban
a49463a30b
Merge branch 'log_dialog' of https://github.com/donob4n/qubes-manager into log_dialog 2020-12-10 23:43:49 +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
donob4n
b5e092fa8b
Update qubesmanager/log_dialog.py
Co-authored-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2020-12-10 09:49:41 +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
ctrlaltf24
c7b28ca6c8
Added TemplateVM and disposableVM to Create New Qube 2020-12-09 13:55:22 -08:00