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
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
afad888343
Fixed error in selecting backup directory in GUI backup
...
Also removed unused settings.
fixes QubesOS/qubes-issues#5430
2019-10-29 00:30:09 +01:00
Marek Marczykowski-Górecki
12481fd561
Merge remote-tracking branch 'origin/pr/202'
...
* origin/pr/202:
Fixed change in QFileDialog behavior in PyQt5
2019-09-30 03:51:46 +02:00
Marta Marczykowska-Górecka
442066d96c
Fixed change in QFileDialog behavior in PyQt5
...
Return type of QFileDialog changed between PyQt4 and PyQt5.
fixes QubesOS/qubes-issues#5353
2019-09-28 22:06:29 +02:00
Marta Marczykowska-Górecka
8a3653723d
Removed unused line in GUI Backup
...
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.
fixes QubesOS/qubes-issues#5348
2019-09-26 21: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
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
bb8abff988
Suggested changes
...
included changes as suggested by @marmarek.
2018-01-06 02:21:07 +01:00
Marta Marczykowska-Górecka
67a32b5748
Added 'compression' checkbox to backup GUI
...
Added 'compress the backup' checkbox to the backup GUI.
fixes QubesOS/qubes-issues#943
2017-12-11 02:37:50 +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
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
7bcde2158e
Added optional saving of default backup profile
...
Added checkbox for saving default backup profile. Removed useless "should I encrypt" checkbox (yes, you have to encrypt).
2017-12-10 23:19:16 +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
Wojtek Porczyk
f5d83d31dd
spring cleaning part 4
...
remove old imports
2017-07-12 14:54:13 +02: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
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
Wojciech Zygmunt Porczyk
fe954632c0
regexp fixes and validation ( #829 )
2014-05-19 15:41:37 +02:00
Marek Marczykowski-Górecki
b109f8ce7c
backups: fix in VM path dialog handling
2014-02-20 01:05:37 +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
89280d0283
backups: start dom0 file browser with '/' as default
...
Do not suggest home directory as right place for backups. If the user
chosen some block device, it will be used as default.
2014-02-05 06:54:11 +01:00
Marek Marczykowski-Górecki
7757e343e1
backups/restore: implement selecting the backup even in VM
...
Using new qubes.SelectFile RPC service, qubes manager can show the file
select dialog from within VM.
The user still can enter the path (or command) manually.
2014-01-13 05:20:54 +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
9214fb1488
backups: update imports
2014-01-13 05:19:06 +01:00
Marek Marczykowski-Górecki
c5ed749c22
backups: make released block device visible to the block manager
...
Devices used as part of other device (e.g. LUKS) are marked as
unavailable. So after releasing the device it need to be discovered
again. Unfortunately udev event isn't triggered on such occasion (only
"remove" event for device-mapper dev). This patch triggers this event
manually.
2014-01-13 05:09:07 +01:00
Marek Marczykowski-Górecki
02ac37c316
backups: default path on block device only on backup, not restore
...
On restore the user must point which backup want to use.
2014-01-12 05:43:15 +01:00
Marek Marczykowski-Górecki
26d4f67963
backups: detach block device when finished or error occurred
2014-01-12 05:42:19 +01:00
Marek Marczykowski-Górecki
5f7113e11e
backups: allow only one of "block device" and "VM"
...
Block device can be pointed only when source VM is "dom0".
2014-01-12 05:20:48 +01:00
Marek Marczykowski-Górecki
92a6a85a4b
backups: kill self.backup_location variable
...
This is copy of dir_line_edit content and its easy to desynchronize its
value, so just use the later directly.
2014-01-11 22:57:34 +01:00
Marek Marczykowski-Górecki
0b0297f129
backups: default file select state to previously selected directory
2014-01-10 03:37:28 +01:00
Marek Marczykowski-Górecki
e1e60f692c
backups: allow to select backup in old format (directory instead of file)
...
New backup is store in one file, but old one in a whole directory. While
selecting old backup, the user need to point 'qubes.xml' file.
2013-12-29 04:56:27 +01:00
Marek Marczykowski-Górecki
21d72cdc6c
backups: UI improvements
...
Prompt for retype the backup password, more thoroughly test if the user
entered all required informations, use "dom0" instead of "None" for local
backup indication.
2013-11-28 03:52:02 +01:00
Marek Marczykowski-Górecki
ced6fc672b
backups: Update for new API - backup code moved to qubes.backup module
...
Also some improvements/fixes for handling new backup format
2013-11-28 03:50:17 +01:00
Marek Marczykowski-Górecki
6ad6e7c661
Whitespace fixes.
2013-11-28 03:45:22 +01:00
Olivier MEDOC
e8cec85874
backup: implemented restore functions using the new backup model
2013-09-27 09:19:38 +02:00
Marek Marczykowski
69a2ac62fb
use any python2, not explicit python2.6
...
Especially allow python2.7.
2013-01-23 15:55:14 +01:00
Bruce A Downs
a64aab0acf
qubes-manager: Bug fixes for backup/restore dialog around pumount usage
...
* pumount was not being called with sudo
* pumount cleans up mount_dir, therefore rmdir removed
* check for NoneType when setting dir_line_edit to avoid exception
2012-10-16 01:01:27 +02:00
Marek Marczykowski
4da2e33bf1
initialize backup_dir after mounting backup device ( #587 )
2012-06-19 00:52:16 +02:00
Marek Marczykowski
0801ee3c9c
remove backup mount dir after unmounting ( #587 )
2012-06-19 00:45:27 +02:00
Marek Marczykowski
7639ba67d6
backup: automatically fill in target directory ( #587 )
2012-06-11 16:46:44 +02:00
Marek Marczykowski
1034bcedd9
backup: refresh dev list after attaching backup device to dom0
2012-06-11 16:46:18 +02:00
Agnieszka Kostrzewa
be0d4be5c1
Option to retry pumount if failed.
2012-04-22 17:13:42 +02:00