Commit Graph

1008 Commits

Author SHA1 Message Date
Marta Marczykowska-Górecka
d3bd164e2f
Tiny fix to make pylint stop complaining 2018-05-17 19:58:44 +02:00
Marta Marczykowska-Górecka
744ddfcc80
Fixes unwanted behavior in VM settings
Whenever Enter was pressed, the Settings window
closed and applied changes, which was very unintuitive
especially in case of Services tab.

references QubesOS/qubes-issues#3891
2018-05-17 19:41:20 +02:00
Peter Gerber
031ad02ff6
Settings window: do not crash when there is no firewall rule
When all firewall rules are removed, qubes-vm-settings crashed
trying to check if the last rule accepts or drops all packages.
It is now verifies that there is a last rule.

Also, it is now properly verified that the last rule accept
or drops all packages.

Associated stack trace:

----
line: last_rule = reversed_rules.pop(0)
func: get_firewall_conf
line no.: 227
file: /usr/lib/python3.5/site-packages/qubesmanager/firewall.py
----
line: conf = self.get_firewall_conf(vm)
func: set_vm
line no.: 308
file: /usr/lib/python3.5/site-packages/qubesmanager/firewall.py
----
line: model.set_vm(vm)
func: __init__
line no.: 111
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py
----
line: settings_window = VMSettingsWindow(vm, qapp, args.tab)
func: main
line no.: 1133
file: /usr/lib/python3.5/site-packages/qubesmanager/settings.py
----
line: load_entry_point('qubesmanager==4.0.17', 'console_scripts', 'qubes-vm-settings')()
func: <module>
line no.: 9
file: /usr/bin/qubes-vm-settings
2018-05-11 01:24:22 +00:00
Marta Marczykowska-Górecka
3ec089f827
Added make clean to Makefile 2018-04-12 22:10:37 +02:00
Marta Marczykowska-Górecka
7f4d6e8f77
Improved descriptions in Global Settings window
Makes clear that check_updates_vm is just the default for new VMs and
replaces some more instances of VM with qube. (Note: the size change
is deliberate)

fixes QubesOS/qubes-issues#3732
2018-04-12 22:10:37 +02:00
Marek Marczykowski-Górecki
9f34e058d0
Merge remote-tracking branch 'qubesos/pr/86'
* qubesos/pr/86:
  spec.in: change to 'noarch' rpm package
  spec.in: add changelog placeholder
  Create .spec.in and Source0
2018-04-07 12:38:52 +02:00
Frédéric Pierret
d6c8f7b79f
spec.in: change to 'noarch' rpm package 2018-04-07 04:46:56 -04:00
Marek Marczykowski-Górecki
9aa8f6684f
Merge remote-tracking branch 'qubesos/pr/87'
* qubesos/pr/87:
  Removed useless action Attach Block Device from Qube Manager
2018-04-05 18:23:08 +02:00
Marta Marczykowska-Górecka
1969610150
Removed useless action Attach Block Device from Qube Manager
fixes QubesOS/qubes-issues#3722
2018-04-04 17:57:46 +02:00
Frédéric Pierret
48bcbf43c6
spec.in: add changelog placeholder 2018-04-04 10:09:30 -04:00
Frédéric Pierret
ac83f0a82f
Create .spec.in and Source0 2018-04-04 10:09:30 -04:00
Marta Marczykowska-Górecka
5cfa0bb9c0
Fix bug in Qube Manager
Accidentaly, the fix significantly improves start time (at least on two
of my machines).

fixes QubesOS/qubes-issues#3760
2018-03-30 01:15:23 +02:00
Marek Marczykowski-Górecki
efa3de0171
version 4.0.17 2018-03-28 18:03:56 +02:00
Marek Marczykowski-Górecki
f74783af7e
Merge remote-tracking branch 'qubesos/pr/84'
* qubesos/pr/84:
  Tiny fix for Qube Manager params
2018-03-28 18:02:16 +02:00
Marek Marczykowski-Górecki
fd766dd651
Merge remote-tracking branch 'qubesos/pr/80'
* qubesos/pr/80:
  changes as requested by @marmarek
  Minor textual update for Global Settings

While resolving conflict, reverted global settings window size to sane
value.
2018-03-28 18:00:45 +02:00
Marta Marczykowska-Górecka
a3b56b57fe
changes as requested by @marmarek 2018-03-28 17:46:31 +02:00
Marta Marczykowska-Górecka
674b80613d
Tiny fix for Qube Manager params
Made Qube Manager params consistent with other manager
tools (first Qt, then Qubes).
2018-03-28 17:43:57 +02:00
Marek Marczykowski-Górecki
d4324d4873
Merge remote-tracking branch 'qubesos/pr/83'
* qubesos/pr/83:
  Fix for updates-available in qube-manager
2018-03-28 17:36:20 +02:00
Marek Marczykowski-Górecki
91fbc43b5e
Merge remote-tracking branch 'qubesos/pr/82'
* qubesos/pr/82:
  Check if VM needs killing before murdering it
2018-03-28 16:42:55 +02:00
Marek Marczykowski-Górecki
68b6f2351c
Merge remote-tracking branch 'qubesos/pr/81'
* qubesos/pr/81:
  Less horrible Qube Manager loading
2018-03-28 16:42:15 +02:00
Marta Marczykowska-Górecka
70d139e7f3
Fix for updates-available in qube-manager
After fixing another bug, update status for a VM was not
initialized correctly.

fixes QubesOS/qubes-issues#3745
2018-03-26 18:21:46 +02:00
Marta Marczykowska-Górecka
20cabb5563
Check if VM needs killing before murdering it
In some cases, when the user waited some time before force-killing a VM,
it could be already dead.

fixes QubesOS/qubes-issues#3730
2018-03-25 12:29:05 +02:00
Marek Marczykowski-Górecki
2d6b6488ea
Merge remote-tracking branch 'qubesos/pr/79'
* qubesos/pr/79:
  Fixed GUI Restore tool bug
2018-03-20 01:26:44 +01:00
Marta Marczykowska-Górecka
3ca7520b0e
Less horrible Qube Manager loading
The window should first display itself, and then get gradually filled with VMs
(more user friendly, less annoying than waiting for something, anything
to appear).
Also fixed a dumb bug with double refreshing and a useless variable.

fixes QubesOS/qubes-issues#3719
2018-03-19 22:40:50 +01:00
Marta Marczykowska-Górecka
522a0f9a68
Minor textual update for Global Settings
In lieu of bigger overhaul/processing policy files in
VM Settings, a bit of explanation for updateVM in Global
Settings and a change of name from UpdateVM to Dom0 Update VM
there. This is quick fix solution, pending a better
one when (hopefully) we get some better API for
interacting with policies.

references QubesOS/qubes-issues#3412
2018-03-16 20:32:36 +01:00
Marta Marczykowska-Górecka
7117892f4b
Fixed GUI Restore tool bug
GUI Restore tool was unable to open file selection dialog in dom0.

fixes QubesOS/qubes-issues#3701
2018-03-15 00:18:43 +01:00
Marta Marczykowska-Górecka
7ed386985d
Added default_dispvm to Global Settings
Added "default dispvm" to Global Settings.

references QubesOS/qubes-issues#3688
2018-03-14 22:21:33 +01:00
Marek Marczykowski-Górecki
e1aca0a393
Merge remote-tracking branch 'qubesos/pr/77'
* qubesos/pr/77:
  Don't catch AttributeError for is_outdated() call anymore
  Call is_outdated() on volume object, not name
2018-03-14 21:36:29 +01:00
Marek Marczykowski-Górecki
feeedb5526
Merge remote-tracking branch 'qubesos/pr/76'
* qubesos/pr/76:
  Fixed a bunch of useless asserts
2018-03-14 21:33:57 +01:00
Marek Marczykowski-Górecki
b0ebb76bf3
Merge remote-tracking branch 'qubesos/pr/75' 2018-03-14 21:33:01 +01:00
Marek Marczykowski-Górecki
6fe0668b22
Merge remote-tracking branch 'qubesos/pr/74'
* qubesos/pr/74:
  Apply changes in global settings only when actual changes occurred
  Fix pylint's critique
  Fixed minor error in previous fix
  Replaced single check vm updates checkbox
  Restored check-dom0-updates functionality in Global Settings
  De-uglify kernel selection in Global Settings
  De-uglify default template in Global Settings
  Allow setting default NetVM to None in Global Settings
  Fixed error in setting Clockvm to None in Global Settings
  Fixed error in setting Updatevm to None in Global Settings
2018-03-14 21:32:45 +01:00
Rusty Bird
24dcb4802e
Don't catch AttributeError for is_outdated() call anymore 2018-03-14 00:07:22 +00:00
Rusty Bird
774b3bb2c9
Call is_outdated() on volume object, not name
Note that this is still a no-op, because admin.vm.volume.Info does not
transmit is_outdated, so the qubesadmin wrapper defaults it to False.
2018-03-14 00:07:21 +00:00
Marta Marczykowska-Górecka
fcaca57fc6
Fixed a bunch of useless asserts
Replaced them with a more flexible behavior or removed if they were
not actually necessary (and handled elsewhere).

fixes QubesOS/qubes-issues#3623
2018-03-10 22:31:41 +01:00
Marta Marczykowska-Górecka
bce5c32c96
Added "Exit" option to Qube Manager
fixes QubesOS/issues#3683
2018-03-10 20:04:57 +01:00
Marta Marczykowska-Górecka
91538f1aaf
Apply changes in global settings only when actual changes occurred
Fixed apply methods to check if there is an actual need to apply
changes.
2018-03-02 14:30:56 +01:00
Marta Marczykowska-Górecka
43520331f2
Fix pylint's critique 2018-03-02 01:04:02 +01:00
Marta Marczykowska-Górecka
94c0a45f86
Fixed minor error in previous fix 2018-03-02 00:43:43 +01:00
Marek Marczykowski-Górecki
819f2f45d4
version 4.0.16 2018-02-27 21:06:57 +01:00
Marta Marczykowska-Górecka
b08ce9524f
Replaced single check vm updates checkbox
Now there is a checkbox for the default for new VMs, and two
buttons to either disable checking for updates in all VMs or enable it
in all VMs.
2018-02-22 22:24:34 +01:00
Marta Marczykowska-Górecka
02117b1870
Restored check-dom0-updates functionality in Global Settings
Currently it uses a workaround, manually creating a file in
/var/lib/qubes/updates; once the appropriate attribute will start working
it will be used instead.
2018-02-22 22:22:45 +01:00
Marta Marczykowska-Górecka
0700275586
De-uglify kernel selection in Global Settings
Replaced kernel selection with utils.prepare_kernel; also added option
to utils.prepare_choice to treat empty string as None (applicable to
kernels).
2018-02-22 22:22:42 +01:00
Marta Marczykowska-Górecka
4882013a32
De-uglify default template in Global Settings
Replaced old, manual vm list with a nicer, less disgusting
utils.prepare_vm_choice approach.
2018-02-22 22:21:39 +01:00
Marta Marczykowska-Górecka
84d7e8bf9c
Allow setting default NetVM to None in Global Settings
Replaced old, manual vm list with a nicer, less disgusting
utils.prepare_vm_choice approach.
2018-02-22 22:21:39 +01:00
Marta Marczykowska-Górecka
29a56d9c88
Fixed error in setting Clockvm to None in Global Settings
Replaced old, manual vm list with a nicer, less disgusting
utils.prepare_vm_choice approach.
2018-02-22 22:21:39 +01:00
Marta Marczykowska-Górecka
c1e9074cb9
Fixed error in setting Updatevm to None in Global Settings
Replaced old, manual vm list with a nicer, less disgusting
utils.prepare_vm_choice approach.
2018-02-22 22:21:39 +01:00
Marek Marczykowski-Górecki
fb4870a16b
Merge remote-tracking branch 'qubesos/pr/72'
* qubesos/pr/72:
  Added 'Apply' button to VM Settings
2018-02-22 18:15:23 +01:00
Marek Marczykowski-Górecki
fb8b19af81
Merge remote-tracking branch 'qubesos/pr/71'
* qubesos/pr/71:
  Fixed bug 3594
2018-02-22 18:14:28 +01:00
Marek Marczykowski-Górecki
a141e40e9c
Merge remote-tracking branch 'qubesos/pr/70'
* qubesos/pr/70:
  Allow restarting auto_cleanup=False DispVMs
2018-02-22 18:13:32 +01:00
Marek Marczykowski-Górecki
e5c5fb67c7
Merge remote-tracking branch 'qubesos/pr/69'
* qubesos/pr/69:
  Is this bug finally dead
2018-02-22 18:12:47 +01:00