Marta Marczykowska-Górecka
12764595cf
Added show password button to Backup/Restore
...
The button shows the password while pressed
(emulating common password practices).
fixes QubesOS/qubes-issues#6076
2020-09-24 22:26:07 +02:00
Marta Marczykowska-Górecka
53d17d6cb2
Fixed missing verbose error logging in Restore Backup
...
fixes QubesOS/qubes-issues#6035
2020-09-10 17:35:39 +02: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
b4cb9303bc
Fixed translation for application names
2019-11-09 00:50:44 +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
Marek Marczykowski-Górecki
7bdcb23fb8
Fix erroneous usage of 'qubes' module
...
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
2019-10-24 05:47:26 +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
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
0347eb6b1a
Added info to Restore Backup widget about dom0 restore
...
Added a label that makes it a bit more clear where the dom0 restore
backup data went.
references QubesOS/qubes-issues#3975
2019-01-16 21:11:43 +01:00
donoban
cbc5d364bf
Removed sigchld_handler old code
2018-11-04 18:19:16 +01:00
donoban
5c8f19b598
Fix pylint
2018-10-27 13:21:33 +02:00
donoban
c42203098f
Do not terminate the thread
...
self.back_restore.canceled will do the abort
2018-10-27 13:00:19 +02:00
donoban
988b7a6479
Fix error/success message on dialog
2018-10-27 12:58:58 +02:00
donoban
9102d200bd
restart wizzard when wrong password or backup corrupted
...
fix: https://github.com/QubesOS/qubes-issues/issues/1589
2018-10-22 23:47:51 +02:00
donoban
edb13aec17
Thread.error renamed to Thread.msg
...
Since it could be used for both error or sucess
messages, I think msg is a better name
2018-10-22 20:00:37 +02:00
donoban
60af90ec5f
Adding # pylint: disable=too-few-public-methods
2018-10-22 10:14:26 +02:00
donoban
831769d2dd
Fix travis build
2018-10-20 23:01:35 +02:00
donoban
29ca4eb3a8
Migration from python threads and to QThread obj
...
Simple design and better performance, just start() thread and finished
call back will show any error or msg, stop progress dialog and do cleanup.
Full remove of QT process_events() calls.
2018-10-20 18:34:15 +02:00
Marta Marczykowska-Górecka
027abd8ac3
Pylint corrections
...
Pylint 2.0 was complaining. Cosmetic fixes to make it stop.
2018-07-20 00:25:27 +02:00
Marta Marczykowska-Górecka
bb8abff988
Suggested changes
...
included changes as suggested by @marmarek.
2018-01-06 02:21:07 +01:00
Marta Marczykowska-Górecka
df31207028
Final tiny fix of unused import
...
Threw out unused import of shutil.
2017-12-11 02:41:50 +01:00
Marta Marczykowska-Górecka
7fd0c58303
Restored 'cancel' functionality
...
Now user can actually cancel a backup/restore.
2017-12-11 02:28:15 +01:00
Marta Marczykowska-Górecka
14ebf9dc6d
Fixed opening file dialog at the end
...
Now, when "open file dialog to unmount" option is enabled, a fie dialog
actually opens.
2017-12-11 02:07:10 +01:00
Marta Marczykowska-Górecka
a4a58cc527
Fixed progress bars
...
Partial fix - the progress bars now move, although they do not really
indicate progress (just dance back and forth). Future fix would include
making a tray icon to signal backup progress instead.
2017-12-11 01:32:26 +01:00
Marta Marczykowska-Górecka
78b4747e81
Second pylint pass
...
Fixed errors pointed out by pylint on server.
2017-12-11 01:15:07 +01:00
Marta Marczykowska-Górecka
a1c6e72569
First pylint pass
...
Fixed errors pointed out by pylint.
2017-12-11 00:56:27 +01:00
Marta Marczykowska-Górecka
4e2835531e
Usability fixes
...
Added label to inform the user only running VMs are listed in backup
GUI; made "ignore missing" label clearer.
2017-12-11 00:13:15 +01:00
Marta Marczykowska-Górecka
7848b6b2c3
Fixed inability to select which VMs to restore
...
Fixed bug that caused all VMs to be restored, regardless of what the
user selected.
2017-12-10 23:56:22 +01:00
Marta Marczykowska-Górecka
9d73ceb99d
Fixed imports
...
Fixed import * and unused imports.
2017-12-10 22:11:07 +01:00
Marta Marczykowska-Górecka
7a4e4b35d5
Initial backup-and-restore GUI restoration
...
Initial restoration: basic backup-and-restore works, but
- progress bar in backup does not work
- selecting only some VMs to restore does not work
- various miscellaneous enhancements are not yet in place
2017-12-10 21:14:14 +01:00
Marta Marczykowska-Górecka
3009610a62
Fixed GPL license
...
Replaced old, address-having, too-many-characters-in-a-line version with
the new one with URL.
2017-11-06 21:06:30 +01:00
Marta Marczykowska-Górecka
41b602ec48
Initial setup
...
Initialize .pylintrc, put ignore in used files' headers.
2017-11-06 20:36:09 +01:00
Wojtek Porczyk
2c3df7bd67
spring cleaning part 5: more python3 fixes
2017-07-12 14:54:14 +02:00
Marta Marczykowska-Górecka
fb3dc6ecf7
update qubesmanager to compile under python3.
...
note: qvm-net.py has changed location to a weird one.
2017-06-25 17:53:23 +02:00
Jean-Philippe Ouellet
2f72aaf05f
Add more missing unicode()s around .tr()s
...
Fixes https://github.com/QubesOS/qubes-issues/issues/2637
2017-02-19 21:49:03 -05:00
Marek Marczykowski-Górecki
d073b3582d
i18n: wrap self.tf in unicode() where 'format' function is used
...
Qstring (returned by self.tr) does not have 'format' method.
Fixes QubesOS/qubes-issues#2599
2017-02-06 04:20:13 +01:00
Marek Marczykowski-Górecki
7c602bf7d2
i18n: wrap strings with self.tr
...
Allow translations to handle strings defined in code.
Fixes QubesOS/qubes-issues#2599
2017-01-22 13:22:26 +01:00
Marek Marczykowski-Górecki
5e925b23d4
backup+restore: remove an option to attach disk from a VM to dom0
...
This is (intentionally) not possible in R3. The user can choose to
backup directly to the VM, encrypting the backup in dom0 first.
2015-03-31 05:40:53 +02:00
Marek Marczykowski-Górecki
470e1c0879
backups/restore: always allow an option to manually unmount storage device
2014-09-26 15:01:37 +02:00
Marek Marczykowski-Górecki
1ff9ce8a46
backups/restore: add support for 'verify-only' option
2014-09-17 23:07:32 +02:00
Marek Marczykowski-Górecki
c2ae785c5d
backups/restore: fix handling of unicode messages, improve indentation
2014-09-17 23:06:41 +02:00
Wojciech Zygmunt Porczyk
e9f1bb3880
*.py: Use full paths when calling subprocess.Popen().
...
Also removed unneeded imports of subprocess.
2014-05-22 15:07:35 +02:00
Marek Marczykowski-Górecki
c2038ec20b
backups: open file selection dialog at the end for unmounting the disk ( #831 )
2014-05-15 03:06:51 +02:00
Marek Marczykowski-Górecki
3016c06d91
backups: use backup_cancel() to interrupt backup/restore operation ( #793 )
2014-03-08 03:58:59 +01:00
Marek Marczykowski-Górecki
53433bc47d
backups: fix unicode handling in passphrase and backup path
...
Convert from QString to unicode, not str object.
2014-02-05 06:54:22 +01:00
Marek Marczykowski-Górecki
4f7d3451b2
backups: remove "skip dom0" option ( #791 )
...
User always can choose (or not) dom0 on the VMs selection page.
2014-02-05 04:31:37 +01:00
Marek Marczykowski-Górecki
89f7c30a7e
backups/restore: improve handling "Back" button
...
Do not reset entered data, but recheck selected VMs dependencies.
2014-01-13 05:22:52 +01:00
Marek Marczykowski-Górecki
07068be8ed
backups: improve handling of dom0 devices
...
Do not use blk_manager if the device is already in dom0, try to detach
device only when it was mounted (otherwise it was detached already in
error handling code).
2014-01-13 05:19:43 +01:00
Marek Marczykowski-Górecki
745b5d479f
backups: update for simplified restore API calls
2014-01-13 05:18:03 +01:00