Marek Marczykowski-Górecki
b4d6080f7b
Fix asyncio.all_tasks() call
2020-12-03 00:59:13 +01:00
Marek Marczykowski-Górecki
6f465fc674
Make pylint happy
...
- fix super-with-arguments
- fix various other issues
- review broad-except and ignore where appropriate
2020-08-23 03:16:19 +02:00
Marta Marczykowska-Górecka
ee5625b65c
Use the new QubesDaemonAccessError
...
Replaces the old, unified approach.
2020-08-11 01:08:48 +02:00
Marta Marczykowska-Górecka
8eb61b11ae
Fixed VM settings to be more tolerant of missing permissions
...
Settings unavailable due to permissions will be unavailable in the tool,
but the tool will start and attempt to show as much as possible.
2020-08-08 15:37:09 +02:00
Marta Marczykowska-Górecka
39129bd804
Misc qubesmanager tools modified to be more resilient to insufficient permissions
...
Create New Qubes, Backup and Restore, Boot from Device and Template Manager
are now more resilient to insufficient permissions.
2020-08-07 22:11:14 +02:00
Marta Marczykowska-Górecka
7cbc7d9db1
Global Settings now can function with partial permissions
...
Unreadable properties/features will be disabled, the tool will start
even if it can access nothing or almost nothing, and errors on settings
features/properties will now be communicated to the user.
2020-08-07 22:11:14 +02:00
Marek Marczykowski-Górecki
9a2daa4039
Replace quamash with qasync
...
Fixes QubesOS/qubes-issues#5873
2020-07-30 03:05:39 +02:00
Marta Marczykowska-Górecka
77b42e7c5a
Final improvements and cleanup to list widgets handling in manager
...
Also removed old opaque prepare_choice functions and added
extensive docstrings.
2020-07-14 22:19:43 +02:00
Marta Marczykowska-Górecka
2ae92dffc0
Refactored Create New VM for more readability
2020-07-09 21:38:23 +02:00
Marta Marczykowska-Górecka
f0a8241e0d
Refactored VM Settings for less ugliness
2020-07-09 19:26:31 +02:00
Marta Marczykowska-Górecka
ab5e3dcfea
Improved Global Settings with more readable widget handling
2020-07-08 22:31:50 +02:00
Marta Marczykowska-Górecka
a41908f92f
Added gui daemon options to VM settings
...
Added allow-fullscreen and allow-utf8-titles as options to VM settings
references QubesOS/qubes-issues#2304
2020-07-07 21:47:13 +02:00
Marta Marczykowska-Górecka
bd8fc05725
Changed display of image sizes in VM settings to GB when sensible
...
For sizes above 1 GB, the sizes of private image and root image will be displayed
as %.1f GB; smaller sizes will be displayed as %d MB.
fixes QubesOS/qubes-issues#5592
2020-02-09 17:17:48 +01:00
Marta Marczykowska-Górecka
f4f76110f0
Fixed Apply behavior for VM Settings
...
VM Setting will now update (current) markers correctly after Apply.
fixes QubesOS/qubes-issues#5531
2020-01-08 21:20:27 +01:00
Frédéric Pierret (fepitre)
2c132d9b83
utils: make PEP8 happy
2019-11-10 10:16:47 +01:00
Frédéric Pierret (fepitre)
044d91d73e
utils: get linux-kernels from storage API
2019-11-10 10:16:08 +01:00
Marek Marczykowski-Górecki
283ed2540c
Merge remote-tracking branch 'origin/pr/210'
...
* origin/pr/210:
Fixed translation for application names
Added translation support to all untranslated qubesmanager files
Re-enabled translation support for Qt5
2019-11-09 15:32:18 +01:00
Marta Marczykowska-Górecka
b4cb9303bc
Fixed translation for application names
2019-11-09 00:50:44 +01:00
Malte Leip
5ba012b7d3
Fix KernelVersion comparisons
...
In the __lt__ function for the class KernelVersions, if
self.groups != other.groups, but self.groups == other.groups[0:n] or
self.groups[0:n] == other.groups for some n, then at some point, one of
the two pieces to be compared will be None, which resulted in an
Exception when calling isdigit.
Hence check whether one of the pieces to be compared is None and handle
this as a special case.
(cherry picked from commit b901203390b4994a8169021d7dc47928561dad24)
2019-11-07 04:18:37 +01:00
Marta Marczykowska-Górecka
46952ebad2
Added translation support to all untranslated qubesmanager files
...
references QubesOS/qubes-issues#5410
2019-10-29 12:28:22 +01:00
Marta Marczykowska-Górecka
245534d886
Re-enabled translation support for Qt5
...
Fixed obsolete source files, regenerated translation sources,
re-enabled translation loading in the programs themselves.
Also removed the completely obsolete block.py file. (It was not used anywhere)
references QubesOS/qubes-issues#5410
2019-10-29 00:49:22 +01:00
Marta Marczykowska-Górecka
0c10723205
Fixed incorrect QApplication start that led to missing icons
...
Using QIcon object before initializing QApplication leads to
missing theme icons.
fixes QubesOS/qubes-issues#5354
2019-10-06 21:55:11 +02:00
Marta Marczykowska-Górecka
5d88e5f851
Pylint fixes
...
Several minor fixes for updated pylint checker.
2019-09-26 22:44:05 +02:00
Marta Marczykowska-Górecka
32078242c9
Code deduplication and cleanup
...
Moved loop handling, exception handling and program
running methods of the gui tools to the utils file.
fixes QubesOS/qubes-issues#5342
2019-09-26 22:31:39 +02:00
Marek Marczykowski-Górecki
990e4abbbf
Merge remote-tracking branch 'origin/pr/178'
...
* origin/pr/178:
Update Qt version used in qubesmanager to Qt5
2019-08-28 15:19:26 +02:00
Marta Marczykowska-Górecka
31e3f72ae0
Kernel sorting fix
...
Fixed bug with kernel versions ending with a letter,
hopefully now the sorting is even more robust and sensible.
fixes QubesOS/qubes-issues#5208
2019-07-31 23:00:00 +02:00
Marta Marczykowska-Górecka
65d07eca0d
Sorted kernels in VM settings
...
Kernels are sorted with a rough algorithm, comparing groups of numbers
numerically, and names consisting of strings alphabetically.
fixes QubesOS/qubes-issues#5084
2019-06-10 00:37:32 +02:00
Marta Marczykowska-Górecka
e79724f9db
Update Qt version used in qubesmanager to Qt5
...
Fixed dependencies, places where obsolete functions stopped working,
code fragments that started throwing warnings and an .ui file that
stopped being readable after the update.
2019-05-30 21:33:49 +02:00
Marta Marczykowska-Górecka
8fbf3fd2a6
Fixed minor error in Qubes Backup
...
Possibly due to changes in how services work,
the run_service_for_stdio was returning path with trailing
whitespace.
fixes QubesOS/qubes-issues#4921
2019-03-27 18:31:26 +01:00
Marek Marczykowski-Górecki
f6c8103f46
Fix boot CD image path validation
...
re.match checks only beginning of the path. There should be
re.fullmatch.
Fixes QubesOS/qubes-issues#4860
2019-03-07 02:54:10 +01:00
Christopher Laprise
b2fdbb950a
Handling VM dependencies in GUI tools
...
Added the following reactions ot VM dependencies in GUI tools:
- Qube Manager will inform the user why they cannot delete a VM (which
properties of which VMS [or global] are using the VM)
- Settings window will try to intelligently rename VMs (change
properties to the new name, if possible, and inform the user what went
wrong if not)
- Settings window will inform the user why they cannot delete a VM
Also, renaming VM from Settings launched from Qube Manager will
refresh the VM list through a horrible hack, to be replaced by a neater
Admin API solution in some near future.
depends on ca848ca7bd
fixes QubesOS/qubes-issues#3992
fixes QubesOS/qubes-issues#3993
fixes QubesOS/qubes-issues#3892
fixes QubesOS/qubes-issues#3499
2018-07-20 00:03:37 +02:00
Marek Marczykowski-Górecki
9bb6a8cc94
Merge remote-tracking branch 'qubesos/pr/118'
...
* qubesos/pr/118:
Fixed incorrect kernel display in VM settings
2018-07-17 15:56:09 +02:00
Marta Marczykowska-Górecka
af5aa233bb
Fixed incorrect kernel display in VM settings
...
Kernel set to 'None' was incorrectly displayed as 'default'.
fixes QubesOS/qubes-issues#4043
2018-07-16 17:35:35 +02:00
Marta Marczykowska-Górecka
6f4870bc8d
Changes to for pylint 2.0
...
Fixes to make pylint 2.0 stop complaining.
2018-07-16 02:17:48 +02:00
Marta Marczykowska-Górecka
2be8f8bcea
Fixed errors with virt mode choice
...
Current virtualization mode wasn't displayed correctly. It should work now.
fixes QubesOS/qubes-issues#3517
2018-02-06 15:31:17 +01:00
Marta Marczykowska-Górecka
1b9737c1a7
Fixed according to @marmarek request
2018-01-19 01:48:46 +01:00
Marta Marczykowska-Górecka
f1964f0c5b
Merge branch 'master' into virt-mode-select-fixes
2018-01-19 00:36:38 +01:00
Marta Marczykowska-Górecka
2cffffdcff
Fixed error in qubesmanager utils
...
Fix in app.labels caused an old workaround to malfunction.
fixes QubesOS/qubes-issues#3475
2018-01-18 23:49:17 +01:00
Marta Marczykowska-Górecka
48c3bfa798
Merge branch 'master' into virt-mode-select-fixes
2018-01-16 20:04:16 +01:00
Marta Marczykowska-Górecka
1a5a1fa7ee
Minor fixes to virt_mode select pull request
...
Changes:
- added hints about "which virt mode should I use"
- changed displayed virt modes to show modes in all caps
closes #44
2018-01-16 19:56:45 +01:00
Marta Marczykowska-Górecka
135060dfe7
Final corrections
...
Errors that my local pylint ignored and travis' pylint didn't.
2017-11-14 15:44:43 +01:00
Marta Marczykowska-Górecka
59a9b7da40
Redefined variable type
...
Marked places where redefining variable type was actually sensible as
such.
2017-11-09 17:41:09 +01:00
Marta Marczykowska-Górecka
695303f16a
Fixed unused variables
...
When possible removed, otherwise renamed to start with an underscore.
2017-11-09 16:26:05 +01:00
Marta Marczykowska-Górecka
eaccc323fb
Fixed unused imports
...
Fixed all unused imports errors.
2017-11-06 23:20:09 +01:00
Marek Marczykowski-Górecki
4d3a992ac6
Fix setting kernel property
...
Fixes QubesOS/qubes-issues#3145
2017-10-07 00:23:37 +02:00
Marek Marczykowski-Górecki
07162ba089
use 'klass' property instead of actual VM object class
...
The later is going to be generic QubesVM class, to save admin.vm.List
calls.
2017-10-07 00:22:41 +02:00
Marek Marczykowski-Górecki
3c906f9a5f
Merge remote-tracking branch 'qubesos/pr/40'
...
* qubesos/pr/40:
Added gui for booting VM from CDROM/block device.
Remove obsolete sections from VM Settings: - drive image - paths
2017-09-13 23:50:53 +02:00
Marta Marczykowska-Górecka
2ac9b1d182
Added gui for booting VM from CDROM/block device.
...
Available via command line (qubes-vm-boot-from-device) and
from a button in VM Settings/Advanced.
2017-09-13 23:30:45 +02:00
Marta Marczykowska-Górecka
9c85dc34ec
Rename NetVM to Networking in vm-settings
...
Renamed "NetVM" to "Networking" and to clear up any possible
misunderstanding, renamed "none" to "(none)" in the appropriate dropdown.
Fixes QubesOS/qubes-issues#1763
2017-09-05 00:51:25 +02:00
Wojtek Porczyk
6462ae88b7
qubesmanager/utils
2017-07-12 15:05:05 +02:00