Commit Graph

352 Commits

Author SHA1 Message Date
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