Commit Graph

645 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
55d5bf0262 Split QubesBlockDevicesManager and table widgets into separate files
The main.py was ridiculously large - almost half of all Qubes Manager
code in one file.
2014-03-31 01:17:27 +02:00
Marek Marczykowski-Górecki
41bf7b448e firewall: add an option to temporary allow full network access (#760)
Add rule "*" with expire time set.
2014-03-28 06:41:35 +01:00
Marek Marczykowski-Górecki
3b3846eeb5 firewall: simplify rules handling code
Use directly rule provided by qubes core, not intermediate class
QubesFirewallRuleItem. This also will improve compatibility - if no
firewall changes made (but still "OK" clicked instead of "Cancel")
really the same settings are saved, even if rules contains some not
supported by Qubes Manager attributes.
2014-03-28 05:15:52 +01:00
Marek Marczykowski-Górecki
f79a1ed42e Clear startup errors when VM finally is running (#799) 2014-03-24 03:45:55 +01:00
Marek Marczykowski-Górecki
4f77108c5f settings: add an option to resize root.img (#699) 2014-03-21 18:40:23 +01:00
Marek Marczykowski-Górecki
9cc18228a0 Tell the KDE that clipboard notify uses HTML (#797)
Apparently KDE parses HTML tags in tray notifications only when some of
them appears on the first line of the message. So add some there.
This doesn't affect Xfce, which always parses HTML tags.
2014-03-11 02:10:11 +01:00
Marek Marczykowski-Górecki
ef90176747 Add VM name to block attach/detach notify (#797) 2014-03-10 05:21:22 +01:00
Marek Marczykowski-Górecki
e17e69dff3 Add Last backup date column (#798) 2014-03-10 04:28:30 +01:00
Marek Marczykowski-Górecki
55a965e5bd Add IP and included in backups columns (#735, #798) 2014-03-10 04:27:52 +01: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
538b358df0 Add "HVM Template" VM type to create VM dialog (#758) 2014-03-08 01:38:22 +01:00
Marek Marczykowski-Górecki
2883c76740 Remove unused code in New VM dialog 2014-02-23 15:07:53 +01:00
Marek Marczykowski-Górecki
b536df4a79 Add option to start HVM with Qubes Tools installation iso attached (#744) 2014-02-23 01:32:50 +01:00
Marek Marczykowski-Górecki
0381a54156 Remove VM files when clone failed 2014-02-23 00:49:28 +01:00
Marek Marczykowski-Górecki
c0718a484d First remove VM from qubes.xml (#765)
So it will be removed regardless whether removing the files failed or
not.
2014-02-23 00:49:07 +01:00
Marek Marczykowski-Górecki
cc1ce3961d Rollback changes when VM creation failed
Do not only remove files, also remove VM from qubes.xml.
2014-02-23 00:46:33 +01:00
Marek Marczykowski-Górecki
3d67863727 appmenus: rely on core to recreate appmenus
Do not call all the steps manually.
2014-02-23 00:44:51 +01:00
Marek Marczykowski-Górecki
3ea49b5192 Remove trailing semicolons 2014-02-23 00:44:08 +01:00
Marek Marczykowski-Górecki
17107a7012 settings: add 'drive' setting to advanced tab (#712) 2014-02-20 01:05:38 +01:00
Marek Marczykowski-Górecki
8e0a441dfe settings: do not assume that kernel is the last setting 2014-02-20 01:05:38 +01:00
Marek Marczykowski-Górecki
95e9680e96 Whitespace fixes 2014-02-20 01:05:37 +01: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
7f6700bbe5 Fix global settings save 2014-02-16 21:56:55 +01:00
Marek Marczykowski-Górecki
ede9d362a7 Merge branch 'appicons' 2014-02-07 05:55:29 +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
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
0454524d93 Update audio-input availability after VM startup
The pulseaudio agent register itself when it connects to the VM, so
after VM reports "Running" state.
2014-01-23 16:41:01 +01:00
Marek Marczykowski-Górecki
926f61b86c backups: clarify messages after finishing the backup process 2014-01-22 01:36:52 +01:00
Marek Marczykowski-Górecki
9b3fcc0855 Stabilize sorting order
In case of equal value in column, resolve order using QID. This ensures
preserving rows order across reload, data update etc.
2014-01-22 01:23:10 +01:00
Marek Marczykowski-Górecki
3c15702286 Merge remote-tracking branch 'woju/master' into appicons 2014-01-16 04:57:57 +01:00
Marek Marczykowski-Górecki
11aff876a5 backups: restore default SIGCHLD handler for the backup time
The same as for restore.
2014-01-15 06:00:02 +01:00
Marek Marczykowski-Górecki
f7db4725a2 backups: minor fixes 2014-01-15 05:59:45 +01:00
Marek Marczykowski-Górecki
5527609c92 backups: update backup_do parameters. 2014-01-15 05:59:16 +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
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
745b5d479f backups: update for simplified restore API calls 2014-01-13 05:18:03 +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
d8a6e4a4b1 backups: simplify getting dom0 object 2014-01-12 05:18:56 +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
Wojciech Porczyk
d4228bc741
appmenus: appicons recreation upon appmenu change 2014-01-11 00:08:48 +01:00
Marek Marczykowski-Górecki
004893d8de backups: enable back error reporting
The final error message wasn't shown (only the fact that backup failed).
2014-01-10 03:40:11 +01:00
Marek Marczykowski-Górecki
1e7eaf3776 backups: disable SIGCHLD handler for the time of running backup
Otherwise some syscalls would return EINTR. This is much easier (and
more readable!) solution than wrapping each syscall with try:except and
some loop.
2014-01-10 03:38:38 +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
589f2e7eb7 backups: allow to enter custom backup location (restore)
If "dom0" chosen, verify if the location exists.
2013-12-29 04:59:59 +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
386c155dd5 Fix clone action 2013-12-14 02:55:41 +01:00
Marek Marczykowski-Górecki
f604f8a1dd appmenus select: fix listing HVM "Start" entry
Do list entries even if no exec line recognised.
2013-12-14 02:38:35 +01:00
Marek Marczykowski-Górecki
4fdfe44b11 Force refresh on manager show (#759)
But still collecting all the data takes some time...
2013-12-03 00:36:48 +01:00
Marek Marczykowski-Górecki
f587ac2d43 Adjust for new QubesVmCollection.save() implementation
Watch for MOVED_TO events in /var/lib/qubes directory to reload
qubes.xml.
2013-12-02 04:03:05 +01:00
Marek Marczykowski-Górecki
568ce68ca5 backups: improve error reporting during restore 2013-11-29 03:33:17 +01:00
Marek Marczykowski-Górecki
668bb1fdf6 backups: deal with multithread restore process
Only GUI thread can interact with GUI widgets, so queue the requests and
process from GUI thread. This applies to backup progress reports.
2013-11-29 03:26:51 +01:00
Marek Marczykowski-Górecki
9c2db2f87c backups: updates in backup progress information and cancel code 2013-11-28 04:07:39 +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
Marek Marczykowski-Górecki
fa9d29075b Merge remote-tracking branch 'oliv/master' into new-backups 2013-11-25 05:05:43 +01:00
Marek Marczykowski-Górecki
77cc22824b Use Standalone/AppVM icon for HVM
Instead of separate HVM icon.
2013-11-22 16:39:19 +01:00
Marek Marczykowski-Górecki
80066c3f72 One more update for the new API 2013-11-21 04:21:47 +01:00
Marek Marczykowski-Górecki
c40beed213 Add warning about potential license issues with template HVM 2013-11-21 04:19:41 +01:00
Marek Marczykowski-Górecki
0d41abad90 Add support for template-based HVM 2013-11-21 04:19:30 +01:00
Marek Marczykowski-Górecki
9c1e2f496c List only compatible templates 2013-11-21 04:17:59 +01:00
Marek Marczykowski-Górecki
4a7f3caee9 Update VM adding code for new API
No longer separate functions for each VM type.
2013-11-21 04:16:26 +01:00
Marek Marczykowski-Górecki
c11c42e2f7 Show the correct icon for HVM
Not standalone/template one.
2013-11-21 02:25:27 +01:00
Marek Marczykowski-Górecki
a2350481b9 Fix 'dont-use-shm' flagfile path in global settings window. 2013-11-09 00:24:45 +01:00
Marek Marczykowski-Górecki
8d38a948e5 settings: indentation fix 2013-10-29 13:41:46 +01:00
Marek Marczykowski-Górecki
56d7807fec settings: gray out maxmem when qmemman is disabled
'Max memory' setting only makes sense for dynamic memory management.
2013-10-29 13:40:49 +01:00
Marek Marczykowski-Górecki
6e3e475bc2 Add tooltip with application command line in appmenu select window (#747)
Otherwise some entries are undistinguishable.
2013-10-19 06:14:58 +02:00
Marek Marczykowski-Górecki
0f28fc7855 Preserve VM selection during table update 2013-10-18 04:20:19 +02:00
Marek Marczykowski-Górecki
b1ad497579 Update log filenames - now qrexec and guid have VM name instead of XID 2013-10-18 03:40:21 +02:00
Marek Marczykowski-Górecki
dcec8b566f Remove some debugging code 2013-10-18 03:37:22 +02:00
Marek Marczykowski-Górecki
fa61fceddd Fix watching clipboard change when the file initially doesn't exists (#749)
When the file doesn't exists, adding a watch fails. So monitor directory
for IN_CREATE event and when file is created - add the modify watch.
This watch will miss the first update (rather: create), so fire it
in IN_CREATE handler.
2013-10-18 03:33:56 +02:00
Marek Marczykowski-Górecki
19b9ffefda Catch the exception on device attach/detach
Take care to release lock before anything else, otherwise GUI will
be frozen...
2013-10-02 01:10:58 +02:00
Olivier MEDOC
baa3c6362c backup: implemented backup functions using the new backup model 2013-09-28 12:33:56 +02:00
Olivier MEDOC
e8cec85874 backup: implemented restore functions using the new backup model 2013-09-27 09:19:38 +02:00
Marek Marczykowski
da0d0c29b8 Get current release from /etc/qubes-release for about window 2013-04-25 16:09:03 +02:00
Marek Marczykowski
0f175b5c92 Fix showing inactive VMs
Previously if Qubes Manager was started with inactive VMs hidden,
toggling "show inactive VMs" option wasn't enough to show them. This is
because we set RowHidden to False only when both show_inactive and
show_internal are set.
This commit fixes the issue.
2013-04-13 04:14:00 +02:00
Marek Marczykowski
3994038d76 Store various VM state in one dict, not random attributes
Storing some Qubes Manager specific properties in QubesVm object isn't
completely right, but if do so, try to keep them in one dict, not bunch
of attributes. Index this dict with named "enum" (implemented as class)
entries.
2013-04-13 04:10:13 +02:00
Marek Marczykowski
009782189c Update button: expire cache before checking for updates 2013-04-13 03:13:37 +02:00
Marek Marczykowski
47669aac4e Replace direct xl calls with proper QubesVM methods 2013-04-13 03:12:58 +02:00
Marek Marczykowski
e0a15c12d4 Replace dbus-python with QtDBus
dbus-python seems to be not thread safe. After "881ee76 Merge qclipd
into qubes-manager" this occasionally triggers SEGV.
QtDBus seems to be somehow less robust:
 - doesn't automatically convert methods arguments to proper types based
 on introspection data
 - property access isn't working so must call
 org.freedesktop.DBus.Properties methods manually

But besides those problems seems to work stable.
2013-04-13 02:54:24 +02:00
Marek Marczykowski
11bfea1118 Update function names for appmenus handling 2013-04-12 01:31:33 +02:00
Marek Marczykowski
59dcefefe1 The Underscores Revolution: qubes-clipboard filename 2013-03-19 13:22:31 +01:00
Marek Marczykowski
bc485d2928 Update imports to match new qubes global settings layout 2013-03-16 21:07:53 +01:00
Marek Marczykowski
ff15208e8f Do not import qubes_guid_path (not used anywhere) 2013-03-16 20:53:47 +01:00
Marek Marczykowski
881ee76709 Merge qclipd into qubes-manager
Have all gui-notification code in one place.

TODO: Change python-dbus to QtDBus, which should better support threads
(current version occasionally gets SEGV...).
2013-03-12 15:56:40 +01:00
Olivier Medoc
cff51fdabd mainui: Changed the showhide algorithm to handle internal VMs
Additionnally, the windows resizing algorithm has been changed to use the count of displayed internal VMs.
2013-03-09 00:07:48 +01:00
Olivier Medoc
268c9a9d94 mainui: implemented show/hide internal VMs 2013-03-09 00:07:48 +01:00
Olivier Medoc
70e0a2b97a mainui: Added show/hide internal VMs in the view menu 2013-03-09 00:07:47 +01:00
Olivier Medoc
dded0ba510 mainui: hide the Internal column by default 2013-03-09 00:07:47 +01:00
Olivier Medoc
effe24b20e mainui: added the Internal column to show if the VM is internal 2013-03-09 00:07:47 +01:00
Marek Marczykowski
987bdfc50d Fix signal handling in backup window
The same issue as in multiselect widget.
2013-03-01 20:45:33 +01:00
Marek Marczykowski
7681864d81 Fix multiselect widget signal handling.
Apparently list isn't allowed type of argument.
Documentation says:
"It is possible to pass any Python object as a signal argument by specifying
PyQt_PyObject as the type of the argument in the signature."
"While this would normally be used for passing objects like lists and
dictionaries as signal arguments, it can be used for any Python type."

So do it.
2013-02-28 02:15:06 +01:00
Marek Marczykowski
d48ed3ca57 Use local time in shutdown monitor
vm.get_start_time() is in local time, so compare it also with local time, not
the UTC one.
2013-02-23 16:18:43 +01:00
Marek Marczykowski
4d9e30784e settings apply: fix error message 2013-02-23 06:46:56 +01:00
Marek Marczykowski
34ea444a42 settings apply: catch exceptions and show them to the user
Settings are applied in separate thread, so when any exception occured there,
the user had no way to know it (besides hanging "applying settings" window).
2013-02-23 06:44:06 +01:00
Marek Marczykowski
74f9bcd6f7 Mark paused VMs with grey icon (#707) 2013-02-20 23:08:18 +01:00
Marek Marczykowski
ab5fca6e19 Dot allow to run command in paused VM 2013-02-19 03:33:01 +01:00
Marek Marczykowski
de27483948 Allow killing paused VM 2013-02-19 03:32:49 +01:00
Marek Marczykowski
1477c8e90c Display memory size even if VM isn't running.
This covers the case of paused and halting VMs.
2013-02-19 03:32:03 +01:00
Marek Marczykowski
fd330c283d Add menubar/toolbar context menu explicitly
Previously it was somehow automatically generated. Unfortunately it
caused SEGV in libQtCore (4.8).
2013-02-15 16:06:54 +01:00
Marek Marczykowski
6b03b6dd1b Fix SIGHUP handler 2013-02-15 00:49:52 +01:00
Marek Marczykowski
73598b0344 Do not strictly depend on kdialog
Use QInputDialog where possible, fallback to zenity where not.
2013-02-12 01:57:17 +01:00
Marek Marczykowski
05de91293e reconnect to notification daemon when it restarts
Notification daemon isn't running all the time (at least in xfce), it is
dbus-activated. So do not stick to one detected at program startup.
2013-02-07 12:46:39 +01:00
Marek Marczykowski
950fe9253c fix race condition in get_selected_vm
Reported-by: Hakisho Nukama <nukama@gmail.com>
2013-02-06 14:57:09 +01:00
Marek Marczykowski
69a2ac62fb use any python2, not explicit python2.6
Especially allow python2.7.
2013-01-23 15:55:14 +01:00
Marek Marczykowski
3b223aacd0 settings: disable dynamic memory management setting for HVM (#690) 2012-12-12 16:33:10 +01:00
Marek Marczykowski
8e333a7653 Display correct gateway IP (#685) 2012-12-10 16:13:14 +01:00
Marek Marczykowski
82c26dc91f enable audio enable/disable switch only for VMs which have such feature (#682)
Check as realiable as possible: existence of dbus connection.
2012-12-06 06:27:59 +01:00
Marek Marczykowski
273cb9257f use dbus object path without VM name (#681)
VM name can contain characters forbidden in object path (like dash), so
pulseaudio client will use path without VM name.
2012-12-06 06:25:54 +01:00
Marek Marczykowski
62365b6da2 Show only really installed appmenus as "selected" (#678) 2012-11-27 02:35:39 +01:00
Marek Marczykowski
497f93ca70 Follow vm.run() API change, remove opencoded "user" name (#577) 2012-11-13 04:44:25 +01:00
Marek Marczykowski
e756d31bb5 Allow to create Standalone VM (#669) 2012-11-09 21:11:27 +01:00
Marek Marczykowski
85f240d887 Improve creating network-isolated VMs
Instead of blocking on firewall, do not connect to netvm.
2012-11-09 21:11:17 +01:00
Marek Marczykowski
0d2a5d059a Fix audio-input status handling 2012-11-09 21:01:38 +01:00
Marek Marczykowski
6499ec315a audio-input setting and status 2012-11-06 06:50:14 +01:00
Bruce A Downs
3f8cd88ec0 qubes-manager: Added call to lock.remove_pidfile() on successful exit
* Adding remove_pidfile on exit
* prevents the incorrect 'crash' message on startup
* Added proper call to main
2012-10-19 02:22:30 +02: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
1026d19340 settings: allow application list modifications for NetVM/ProxyVM 2012-10-03 22:08:42 +02:00
Marek Marczykowski
d2a753c289 indent fix 2012-10-03 22:08:37 +02:00
Marek Marczykowski
d0eb5a2fd5 validate VM name also at GUI level (#656) 2012-08-23 03:57:19 +02:00
Marek Marczykowski
8d7ae00b2a fix HVM presence test 2012-08-23 03:57:01 +02:00
Marek Marczykowski
4a9c0d1ebe typo fix 2012-08-10 23:53:32 +02:00
Marek Marczykowski
7ad8330946 fix sorting firewall rules (#652) 2012-08-07 15:03:04 +02:00
Marek Marczykowski
1e12936ea4 allow clone default template
Reported-by: Jan Beerden <jan@janbeerden.be>
2012-08-07 02:02:40 +02:00
Marek Marczykowski
70204bb8a1 Save view settings and restore at startup
Like selected columns, sorting etc.
2012-08-04 04:13:16 +02:00
Marek Marczykowski
a11b68ef5e simplify data sorting code 2012-08-04 04:12:39 +02:00
Marek Marczykowski
055912710a appmenus: use generic method to refresh appmenus
Do not hardcode core script with args in qubes-manager. Actually arguments were
wrong...
2012-08-04 00:32:31 +02:00
Marek Marczykowski
e5b070646b Show running instance when started the second time (#632)
Running instance notified by dbus.
2012-07-24 23:46:03 +02:00
Marek Marczykowski
109907a9fd Merge commit 'v1.2.28' 2012-07-24 22:35:01 +02:00
Marek Marczykowski
2a8afab83e include VM name in settings window title (#642) 2012-07-22 01:47:36 +02:00
Marek Marczykowski
1511dbca6d vm-update: force recheck of updates availability after gpk-update-viewer terminated (#634) 2012-07-22 01:18:21 +02:00
Joanna Rutkowska
2bcd02b313 show manager's main window on start (#632) 2012-07-19 23:20:21 +02:00
Joanna Rutkowska
4dc978a048 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/qubes-manager 2012-07-16 19:40:37 +02:00
Marek Marczykowski
b650a3a276 Hide partitions from "block attach" submenu (#623)
Still allow to detach partition if attached manually.
2012-07-13 01:42:48 +02:00
Joanna Rutkowska
62f230fc9d Rearange items in contect menu into more logical groups 2012-07-12 16:24:40 +02:00
Marek Marczykowski
e8a0461bac Add "Clone VM" action (#613) 2012-07-12 13:32:45 +02:00
Marek Marczykowski
7472c3a98b Remove "you have just modified template" message (#557) 2012-07-09 22:19:22 +02:00
Marek Marczykowski
2c562ee3c7 Unify calling processes in VM 2012-07-05 01:13:53 +02:00
Marek Marczykowski
d02fed6fef Fix potential race condition in remove_vm
Ensure current "vm" object.
2012-07-05 01:11:39 +02:00
Marek Marczykowski
8fbea00975 dbus interface for error icon notify (#615) 2012-07-05 01:11:23 +02:00
Marek Marczykowski
3f7fd7ceb7 New status icon: some error occured (#615) 2012-07-05 01:11:15 +02:00
Marek Marczykowski
d4bf34bc1b No need to start guid manually
It is started by vm.start()
2012-07-05 01:06:52 +02:00
Marek Marczykowski
9579c670be allow VmIconWidget to have tooltip 2012-07-05 01:06:52 +02:00
Marek Marczykowski
175e78d2c2 place notification title in one place 2012-07-05 01:06:51 +02:00
Marek Marczykowski
186749a911 remove trailing spaces 2012-07-05 01:06:51 +02:00
Marek Marczykowski
cfb7aafd4d gitignore 2012-07-05 00:47:05 +02:00
Marek Marczykowski
1177a1d124 clean yum cache on update action (#540) 2012-06-19 22:58:49 +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
29e386c6bf disable settings action for dom0 (#597) 2012-06-19 00:24:13 +02:00
Marek Marczykowski
f38ee18729 force redraw table after add/remove VM (#598) 2012-06-19 00:17:22 +02:00
Marek Marczykowski
24432ea1bc fix indenting 2012-06-19 00:15:46 +02:00
Marek Marczykowski
2fb2f6478e fix firewall apply (#600)
Inhibit infinite loop.
2012-06-19 00:15:46 +02:00
Marek Marczykowski
1368126a74 spec: remove old entries for ui_editfwrulesdlg 2012-06-12 13:30:23 +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
Marek Marczykowski
5c73cc9dbf force repaint window right after show (#565) 2012-06-10 01:55:01 +02:00
Marek Marczykowski
bb3b8be82e Reload firewall setting only there where needed 2012-06-05 20:54:50 +02:00
Marek Marczykowski
da09aa79fc Add "Allow connections to Updates Proxy" firewall setting (#582) 2012-06-05 20:29:57 +02:00
Agnieszka Kostrzewa
0a03903b1d QTableWidget items not editable any more 2012-05-30 14:24:46 +02:00
Agnieszka Kostrzewa
f98107d0ed Table updates improvements 2012-05-30 13:54:19 +02:00
Agnieszka Kostrzewa
196dd9572f Typo fix 2012-05-29 19:00:21 +02:00
Agnieszka Kostrzewa
db03e5fdd2 Switching between show all/show active only faster (#565) 2012-05-29 17:05:34 +02:00
Agnieszka Kostrzewa
128f380641 Cannot start VM message changed to tray balloon (#574) 2012-05-25 15:48:12 +02:00
Agnieszka Kostrzewa
d2a75bae4c Warning on shutting down a VM that attached blk devices to other VMs 2012-05-25 13:59:58 +02:00
Agnieszka Kostrzewa
42828835cc Bind init_mem and maxmem setting (#572) 2012-05-19 09:33:29 +02:00
Agnieszka Kostrzewa
9d509917d6 Always bring manager to front on icon click.(#565) 2012-05-19 07:42:57 +02:00
Agnieszka Kostrzewa
201783badd Display 'updates pending' icon for Dom0 correctly. 2012-05-15 12:26:10 +02:00
Agnieszka Kostrzewa
a974f10435 Restart manager after installing update 2012-05-15 09:11:25 +02:00
Agnieszka Kostrzewa
b116ce96f8 Increase timeout for VM shutdown when prep'ing for backup (#566) 2012-05-13 16:56:27 +02:00
Agnieszka Kostrzewa
d4673d540e Allow to specify type of the VM being created (#559) 2012-05-11 22:52:27 +02:00
Agnieszka Kostrzewa
c809896b52 Run command in VM (#544) 2012-05-11 12:50:45 +02:00
Agnieszka Kostrzewa
fb3ac12aa6 No more 'copy-clipboard-to-qubes-clipboard' button in main window. 2012-05-10 13:46:55 +02:00
Agnieszka Kostrzewa
c78d382f26 One click copy logs to Qubes clipboard (#543) 2012-05-10 13:40:27 +02:00
Agnieszka Kostrzewa
7890aac8e8 Log dialog with 'copy-clipboard-to-qubes-clipboard'(#543) 2012-05-10 13:17:24 +02:00
Agnieszka Kostrzewa
35733452ce Updates pending icon for VMs (NOT dom0) displayed correctly (#475) 2012-05-08 18:57:30 +02:00
Agnieszka Kostrzewa
77e3d2feb0 Silly fix to copy clipboard to Qubes clipboard.(#543) 2012-05-06 21:26:50 +02:00
Agnieszka Kostrzewa
b0d32f550d Copy clipboard to Qubes clipboard.(#543) 2012-05-06 20:55:52 +02:00
Agnieszka Kostrzewa
3d46ae7997 No more green flag (#475). 2012-04-30 17:56:07 +02:00
Agnieszka Kostrzewa
fab3190798 Text columns aligned left (#555) 2012-04-30 17:40:19 +02:00
Agnieszka Kostrzewa
e59d9b72f4 Size on disk column (#552) 2012-04-27 17:04:35 +02:00
Agnieszka Kostrzewa
8a296820ff Unified tray baloons (#526) 2012-04-27 12:55:54 +02:00
Agnieszka Kostrzewa
b140d0e2cf No Dom0 label in settings 2012-04-27 11:54:53 +02:00
Agnieszka Kostrzewa
b8733f2b70 No label icon for Dom0 (#545) 2012-04-27 10:58:10 +02:00
Agnieszka Kostrzewa
9d4e58c8d4 Menu revolution (#549) 2012-04-26 17:46:41 +02:00
Agnieszka Kostrzewa
6fd5de674f All collumns enabled to show/hide (# 541) 2012-04-26 16:32:40 +02:00
Agnieszka Kostrzewa
fb31ae041a Progress bar while waiting for updater to launch 2012-04-26 00:16:54 +02:00
Agnieszka Kostrzewa
f29983c396 Fix 'vm-outdated' icon updating 2012-04-25 17:13:54 +02:00
Agnieszka Kostrzewa
e890a61a49 Fix to tab option to settings run as a standalone app 2012-04-25 15:08:21 +02:00
Agnieszka Kostrzewa
51a6edd5cd Tab option to settings run as a standalone app 2012-04-25 14:25:26 +02:00
Agnieszka Kostrzewa
26b958e1d9 Merge branch 'master' of git.qubes-os.org:/var/lib/qubes/git/marmarek/qubes-manager 2012-04-25 13:15:29 +02:00
Agnieszka Kostrzewa
f0a17e23f5 Icon revolution continues (proxyvm) 2012-04-25 13:11:33 +02:00
Agnieszka Kostrzewa
db5d677c7e Icon revolution. 2012-04-24 20:52:55 +02:00
Marek Marczykowski
52df84877f fix dom0 updates 2012-04-24 19:35:26 +02:00
Marek Marczykowski
1e8f4b1569 settings: print root_img path for StandaloneVMs 2012-04-24 19:14:12 +02:00
Marek Marczykowski
e97c2f89bd settings: check if volatile_img has value before showing it 2012-04-24 19:05:15 +02:00
Agnieszka Kostrzewa
dcb6c17e83 Resize VM-type icons. Add appvm icon. 2012-04-24 18:30:19 +02:00
Agnieszka Kostrzewa
c2179d9234 Change per VM keyboard layout from manager. 2012-04-24 17:48:10 +02:00
Agnieszka Kostrzewa
2f81711fc2 Adjusting to #488 (kernel settings available for appVMs) 2012-04-24 15:02:19 +02:00
Agnieszka Kostrzewa
6b22eb5a0f Introducing 'Run in debug mode' option. (#537) 2012-04-24 14:27:28 +02:00
Agnieszka Kostrzewa
a5a6e90e41 fix to checking whether vm has kernel attributes 2012-04-24 12:52:47 +02:00
Agnieszka Kostrzewa
4d620b0904 Logs available for non-running VMs 2012-04-24 12:06:08 +02:00
Agnieszka Kostrzewa
a633090593 Read logs with user permissions 2012-04-23 20:03:37 +02:00
Agnieszka Kostrzewa
7a1c4f967c Follow api change "Starting" -> "Transient" 2012-04-23 19:55:16 +02:00
Agnieszka Kostrzewa
d46b81bbec Added BLK menu icon to context menu 2012-04-23 19:04:31 +02:00
Agnieszka Kostrzewa
b27491d2be Introducing one-click logs. 2012-04-23 19:01:22 +02:00
Agnieszka Kostrzewa
222c1de45d No update flags for HVM 2012-04-23 11:24:48 +02:00
Agnieszka Kostrzewa
0adf26b2f7 Introducing separate VM-Type column (#524) 2012-04-23 10:58:26 +02:00
Agnieszka Kostrzewa
e3b8f50fee Kill VM option. 2012-04-22 18:32:50 +02:00
Agnieszka Kostrzewa
be0d4be5c1 Option to retry pumount if failed. 2012-04-22 17:13:42 +02:00
Agnieszka Kostrzewa
0e206d9f05 More user friendly pmount/pumount fails. 2012-04-21 21:03:26 +02:00
Agnieszka Kostrzewa
a6f9619d60 Indicating transient power states (ticket #520) 2012-04-20 16:56:51 +02:00
Agnieszka Kostrzewa
4184e49853 Settings checking whether VM has 'kernel' attribute. 2012-04-18 19:33:53 +02:00
Agnieszka Kostrzewa
5b09bf0bb1 Not allowing to modify devices of a running VM (ticket #523) 2012-04-17 13:15:18 +02:00
Agnieszka Kostrzewa
f928dab468 Global settings handle qmemman.conf 2012-04-14 17:58:29 +02:00
Agnieszka Kostrzewa
9470f69be8 Used Watch API for block devices 2012-04-13 01:08:36 +02:00
Agnieszka Kostrzewa
4d9b848895 Changed SIGKILL to SIGTERM 2012-04-11 21:48:53 +02:00
Agnieszka Kostrzewa
22fc1167ef Cancell backup in progress. (ticket #511) 2012-04-11 18:47:43 +02:00
Agnieszka Kostrzewa
63a40e73c0 Backup progress bar more alive 2012-04-07 23:09:06 +02:00
Agnieszka Kostrzewa
07c0727b38 Backup partial and total sizes in vms list (ticket #485) 2012-04-04 01:40:13 +02:00
Agnieszka Kostrzewa
464b73a23f Indent fix 2012-04-01 19:50:55 +02:00
Agnieszka Kostrzewa
2ab9570045 'Include in memory balancing' heckbox issue fixed (#498). 2012-03-30 21:46:23 +02:00
Agnieszka Kostrzewa
81bb0f75a6 All VMs available on backup list. One click 'shutdown running' 2012-03-29 23:26:16 +02:00
Agnieszka Kostrzewa
b616a8f536 Sizing uses xprop to read frame size. 2012-03-28 21:36:59 +02:00
Agnieszka Kostrzewa
0833f773a7 Sizing. 2012-03-28 12:45:31 +02:00
Agnieszka Kostrzewa
2962e9bc81 Fix to sorting by state after table reload. 2012-03-27 10:36:58 +02:00
Agnieszka Kostrzewa
341d733e4d Fixed resizing on add/remove columns. 2012-03-26 11:48:49 +02:00
Agnieszka Kostrzewa
96b04cc4b8 Alignment fix to #506 2012-03-23 09:13:40 +01:00
Agnieszka Kostrzewa
64770213c4 Sorting by on/off and upd state (ticket #505) 2012-03-23 09:12:30 +01:00
Agnieszka Kostrzewa
0e118a95f9 No more gray not-running icon (ticket #506) 2012-03-22 22:42:04 +01:00
Agnieszka Kostrzewa
8ccd74d3b1 Sorting State olumn takes on/off state into consideration. 2012-03-21 14:30:08 +01:00
Agnieszka Kostrzewa
58e30b6875 Separate VM label and name columns. (#ticket 484) 2012-03-21 13:27:10 +01:00
Agnieszka Kostrzewa
a6f1ec8dda Vm state column with on/off, update state, blk icons 2012-03-20 22:59:48 +01:00
Agnieszka Kostrzewa
7f69338992 Show menu/tool bar options in context menu when menu/tool bar hidden. ( part of #455) 2012-03-20 18:36:48 +01:00
Agnieszka Kostrzewa
de8028b268 Dynamic mem balancing - pci devs warnings. 2012-03-19 21:07:27 +01:00
Agnieszka Kostrzewa
68560f9151 Include in memory balancing enabled where it applies (ticket #498) 2012-03-19 16:02:05 +01:00
Agnieszka Kostrzewa
7cf25ccffd Support for LUKS devices in backup/restore ( ticket #487) 2012-03-19 14:22:51 +01:00
Agnieszka Kostrzewa
4c182080a9 Global settings dialog. 2012-03-15 00:22:06 +01:00
Agnieszka Kostrzewa
1d06bd12fa Fix to kernel setting. 2012-03-15 00:19:47 +01:00
Agnieszka Kostrzewa
7e0995ca25 Added stacktrace to critical exception message box. 2012-03-14 14:00:49 +01:00
Agnieszka Kostrzewa
9964ff133c Fixed private storage and initial memory resizing. 2012-03-14 12:51:11 +01:00
Agnieszka Kostrzewa
b3dbbe5fa3 Services tab 2012-03-14 11:54:50 +01:00
Agnieszka Kostrzewa
2987320b2f Advanced tab (mem/cpu) 2012-03-13 22:05:50 +01:00
Agnieszka Kostrzewa
b9e361d468 Devices tab. 2012-03-13 20:06:41 +01:00
Agnieszka Kostrzewa
f155ef5780 Simplified vm name setting. 2012-03-12 22:12:00 +01:00
Agnieszka Kostrzewa
b77cc2ca89 Fixed 'uses_default_netvm' for netvm settings 2012-03-12 22:06:43 +01:00
Agnieszka Kostrzewa
6857c0e6f4 settings advanced tab (kernel, paths) 2012-03-12 21:08:32 +01:00
Agnieszka Kostrzewa
27226171aa Apply settings only if something was changed. 2012-03-12 15:54:16 +01:00
Agnieszka Kostrzewa
7fe79ba9f2 Fix to follow API change: template_vm -> template 2012-03-12 13:52:42 +01:00
Agnieszka Kostrzewa
e63813d519 Follow API change: template_vm -> template 2012-03-12 12:53:07 +01:00
Agnieszka Kostrzewa
7d4c74b85e Changed private image setting step to 256 MB 2012-03-11 23:30:57 +01:00
Agnieszka Kostrzewa
12b2dde943 Networking info displayed in settings basic tab (ticket #463). 2012-03-09 08:43:42 +01:00
Agnieszka Kostrzewa
969e0807b4 Fixed backup list remembering previous state. 2012-03-08 19:09:58 +01:00
Agnieszka Kostrzewa
7881fc28c9 Disabled firewall and apps tabs for netvms, enabled netvm selection for proxyvms (ticket #471), added none netvm. 2012-03-08 15:40:02 +01:00
Agnieszka Kostrzewa
98a801e00b Vm private storage size editable in settings. 2012-03-07 21:21:14 +01:00
Agnieszka Kostrzewa
4168cc11fc Include in backups working and editable. Type and installed_by_rpm displayed. 2012-03-07 20:42:18 +01:00
Agnieszka Kostrzewa
bb00821124 DisposableVM icon 2012-03-07 20:08:10 +01:00
Agnieszka Kostrzewa
77f5c801be Vm netvm edition. 2012-03-07 18:15:59 +01:00
Agnieszka Kostrzewa
5dee876393 Vm template edition. 2012-03-07 17:03:19 +01:00
Agnieszka Kostrzewa
ee19c96be5 Enabled stop buttons for netvms (ticket #457) 2012-03-07 16:18:35 +01:00
Agnieszka Kostrzewa
073a3f43f7 Sorting by CPU and MEM constantly (ticket #453) 2012-03-06 20:05:35 +01:00
Agnieszka Kostrzewa
2f760f9a1a Option to hide (show) menubar (ticket #455) 2012-03-06 18:45:47 +01:00
Agnieszka Kostrzewa
f5d0104025 Narrowed Upd column in main window. Fixed horizontal header size. 2012-03-06 10:45:59 +01:00
Agnieszka Kostrzewa
f047b91e47 Merge branch 'marek-master' 2012-03-05 17:26:05 +01:00
Marek Marczykowski
72fea97066 follow API change: netvm_vm -> netvm 2012-03-04 22:02:27 +01:00
Agnieszka Kostrzewa
b32be23d39 Firewall tab accepts protocols (ticket #447). 2012-03-04 17:36:25 +01:00
Agnieszka Kostrzewa
a78db0f51d Fixed template and netVM alignment (ticket #454) 2012-03-02 02:57:54 +01:00
Agnieszka Kostrzewa
b915d725bc Enabled selecting paths for backup/restore without mounting a device. 2012-03-02 02:50:12 +01:00
Agnieszka Kostrzewa
41ba80d5c9 Fixed removing netvms and templates (ticket #456) 2012-03-02 00:16:12 +01:00
Agnieszka Kostrzewa
dc38fd72cd Allow to change f/w rules and appmenus of a running VM (ticket #452) 2012-03-01 22:50:32 +01:00
Agnieszka Kostrzewa
82001fe51f Extended firewall tab gui - not implemented. 2012-02-29 10:42:57 +01:00
Agnieszka Kostrzewa
08035bf0bd Fixed action icons updating 2012-02-28 07:45:08 +01:00
Marek Marczykowski
6213fab474 Merge branch 'master' of git://git.qubes-os.org/aga/qubes-manager 2012-02-23 00:03:09 +01:00
Agnieszka Kostrzewa
68d73dd014 Fixed netvm column. 2012-02-22 06:15:11 +01:00
Agnieszka Kostrzewa
6d0a247997 Restore dialog 2012-02-22 06:09:25 +01:00
Agnieszka Kostrzewa
df02ed2aa4 Backup dialog. 2012-02-20 07:56:38 +01:00
Agnieszka Kostrzewa
30bae277a1 Block devices attached/detached to/from VMs via context menu. Column Block Devices removed from Qubes manager. 2012-02-14 19:00:50 +01:00
Agnieszka Kostrzewa
4933f9f3d4 cpu/mem usage bar widgets in colors corresponding with cpu/mem graphs, with labels. 2012-02-13 18:19:54 +01:00
Agnieszka Kostrzewa
0ca4f10731 Removed Update Info column from Qubes Manager (Upd. left). 2012-02-13 17:55:40 +01:00
Agnieszka Kostrzewa
2687d9f5fd Red firewall icon 2012-02-13 17:47:12 +01:00
Agnieszka Kostrzewa
f14f7c3bba Settings basic tab vmname, label, template and netvm loaded according to the vm data, vmname & label editable. 2012-02-13 13:50:30 +01:00
Marek Marczykowski
df8300f54b Use vm.run instead of deprecated run_in_vm(vm, ...) (#421) 2012-02-10 20:49:16 +01:00
Agnieszka Kostrzewa
7b5f383f13 Firewall rules window moved to settings tab. 2012-02-10 00:30:45 +01:00
Agnieszka Kostrzewa
8286a0b929 Appselect window moved to settings tab. 2012-02-09 19:47:21 +01:00
Agnieszka Kostrzewa
6aac5d8148 tiny fix to QubesBlockDeviceManager 2012-02-09 08:33:28 +01:00
Agnieszka Kostrzewa
43d479375a Conext menu and shifted View menu in the main window. 2012-02-08 19:02:35 +01:00
Agnieszka Kostrzewa
7113d74793 Block devices attached and detached to/from VMs via combobox in Qubes Manager 2012-02-08 18:21:15 +01:00
Agnieszka Kostrzewa
59081c132b Fixed get_selected_vm mismatch after sorting. 2012-02-07 12:48:53 +01:00
Agnieszka Kostrzewa
ce30f9a83f Cpu_load >100 workaround in the generic chart widget. 2012-02-06 22:32:36 +01:00
Agnieszka Kostrzewa
5e6530d0c9 Manager table columns sortable. 2012-02-06 20:22:11 +01:00
Agnieszka Kostrzewa
e525bc7583 After meeting changes to the whole gui. 2012-02-05 18:41:41 +01:00
Agnieszka Kostrzewa
49495d6444 Global settings dialog 2012-01-31 17:29:00 +01:00
Agnieszka Kostrzewa
e38f4df7fe Backup dialog.
Plus an extra page in the backup restore dialog, so that it resembles
the backup dialog.
2012-01-31 14:29:13 +01:00
Agnieszka Kostrzewa
6481a551de Backup restore dialog. 2012-01-31 11:17:09 +01:00