* origin/pr/220:
Use events instead of pulling for updates-available status
settings: wrap direct network access warning
tests: fix startup timeout and looking for logs
On OpenQA 20 isn't enough to start a VM. Also make sure previous
shutdown has finished by using qvm-shutdown --wait.
VM needs to be started at least once to have active "logs" submenu. For
this reason, choose a running VM.
* origin/pr/210:
Fixed translation for application names
Added translation support to all untranslated qubesmanager files
Re-enabled translation support for Qt5
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)
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
On the client side it should use only 'qubesadmin'. In practice, those
few are trivial to replace:
- get_disk_usage() is also available in shutil (as disk_usage())
- BackupCancelledError should be used from qubesadmin.exc anyway (there
was also a typo)
Remove also test-packages/qubes to let pylint detect such issues in the
future.
QubesOS/qubes-issues#5403
* origin/pr/205:
Added better exception handling on Backup Cancel
Tests fixed for new features and bugfixes
Removed not needed workaround for check-updates on dom0
Fixed default install_system state for Create New VM
Fixed manager tests to use Qt5
File selection dialog in GUI backup was using an obsolete
(and possibly never working as intented) setReadOnly method.
Removed it, because it neither works nor is needed.
fixesQubesOS/qubes-issues#5348
* origin/pr/172:
Say which repository caused the error in warnings
Only make qrexec calls when necessary
Squash more PyLint warnings
Decode stderr in repo qrexec calls
Fix error handling
Fix `self` being undefined when showing warnings
Only apply repo preferences when "OK" is clicked
Don't use asserts for error handling
Check that repo management succeeded
Remove unnecessary assert
Squash some PyLint warnings
Add UI for managing Qubes update repositories
Fix typo
FixesQubesOS/qubes-issues#4550
Qubes Manager seems to try to guarantee that 10*init_mem is at
least max_mem by automatically adjusting init_mem to max_mem/10 if
inappropriate values are set. However, this may not guarantee that
10*init_mem >= max_mem due to rounding errors. This change fixes
these edge cases by basically rounding up the result of division
by 10.
Now port will be displayed as port_number [(service name)]
, and not just service name. Also added a tooltip with explanation
of what can be put in the 'port/service' field, renamed
the field to 'Port/service' and added some examples of pure port
numbers to the drop down.
fixesQubesOS/qubes-issues#5211
Now, when selecting a file fails for some reason
(lack of installed file manager, VM crashed on start,
anything), the user will get an error message.
references QubesOS/qubes-issues#5202
This helps in situations where the qrexec calls are forbidden; it also
prevents settings from being unintentionally changed and gives a
noticeable performance boost when the "OK" button is clicked.
Before this change, "foobar\n" on stderr would be rendered (in the
warning dialog) as "b'foobar\n'", which is ugly. Now it'll be rendered
just as "foobar", followed by an actual newline character.
Apparently Python exceptions don't take **kwargs, so we just pass a
dictionary as the second (regular) argument. While we're at it, we
pretty-print said dictionary when displaying error messages.
First of all, the method that was being called has asserts of its own,
so it's guaranteed to either succeed or crash the program with
AssertionError. Second, asserts are optimized out by the interpreter
when -O is passed. Therefore, this code is buggy because it sometimes
wouldn't be run, but we need the side effects.
Kernels are sorted with a rough algorithm, comparing groups of numbers
numerically, and names consisting of strings alphabetically.
fixesQubesOS/qubes-issues#5084
A simple checkbox in the 'Advanced' tab. Does not allow disabling
'provides_network' if the VM is in use as NetVM; instead, a tooltip
informs the user which VMs use it.
fixesQubesOS/qubes-issues#5079
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.
* qubesos/pr/175:
More fixes to force tests to work
Tests for Create New VM
Tests for VM settings
Fixed spec
Tests for backup_utils file
Tests for Qubes Backup
Test changes related to fixes in https://github.com/QubesOS/qubes-manager/pull/176
Tests for qube manager
Tests for global settings
* origin/pr/176:
Fixed logs display in Qube Manager
Protected loading manager settings from malformed config files
Fixed bug with hiding last visible column
Added additional check for cloning a VM
Fixed unnecessary property set in Global Settings
Fixed bug in Global Settings