Commit Graph

756 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
16a556c0a1
Merge remote-tracking branch 'qubesos/pr/27'
* qubesos/pr/27:
  Add more missing unicode()s around .tr()s
2017-02-20 04:07:13 +01: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
3a011da65d
Add missing unicode() wrapper before .format() on QString
self.tr return QString, which do not support python's str.format().

Fixes QubesOS/qubes-issues#2637
2017-02-19 22:51:09 +01:00
Jean-Philippe Ouellet
3e84b9e2ae
Use app instead of self for .tr() outside QObject
Fixes https://github.com/QubesOS/qubes-issues/issues/2637
2017-02-19 15:49:28 -05:00
Marek Marczykowski-Górecki
ed8f889c92
Merge remote-tracking branch 'qubesos/pr/25'
* qubesos/pr/25:
  Restrict VM search field to valid VM names
  Revert "Fix for UnicodeEncodeError in search"
2017-02-14 21:45:52 +01:00
Jean-Philippe Ouellet
6b3ef1dab2
Restrict VM search field to valid VM names
Properly fixes https://github.com/QubesOS/qubes-issues/issues/2562

This regex is starting to get duplicated in too many places...
Maybe it belongs in core somewhere?
2017-02-13 04:41:18 -05:00
Jean-Philippe Ouellet
b2bcc00e1d
Revert "Fix for UnicodeEncodeError in search"
This reverts commit 4a3240bf1a.

VM names never contain any unicode characters, so this fix only
propagates the possibility of an encoding error to further down
the line, rather than removing it.

A proper fix would involve filtering the input to the search box
as we do with creating & renaming VMs.
2017-02-13 04:34:54 -05:00
Marek Marczykowski-Górecki
d7fbcb8c0e
version 3.2.8 2017-02-06 13:17:46 +01: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
47ac45b9b7
version 3.2.7 2017-02-03 23:53:24 +01:00
Marek Marczykowski-Górecki
4946d7b8d0
Merge branch 'i18n'
* i18n:
  i18n: update translations
  i18n: add configuration for transifex client
  i18n: add 'en' translation file as a source template
  Translated some strings to test the process
  i18n: add skeleton translation file for spanish
  i18n: wrap strings with self.tr
  i18n: add basic support for translations
2017-02-03 17:29:08 +01:00
Marek Marczykowski-Górecki
3884d6836f
i18n: update translations
QubesOS/qubes-issues#2599
2017-02-03 17:22:33 +01:00
Marek Marczykowski-Górecki
c8e237490b
i18n: add configuration for transifex client
QubesOS/qubes-issues#2599
2017-02-03 17:22:02 +01:00
Marek Marczykowski-Górecki
08e32afdb2
i18n: add 'en' translation file as a source template
QubesOS/qubes-issues#2599
2017-02-03 17:21:12 +01:00
Pablo Di Noto
f1f9523bd2 Translated some strings to test the process
"About" dialog and most of "VM Backup" wizard translated
(missing a couple of HTML-embedded strings I am in doubt if valid

Ref: https://github.com/QubesOS/qubes-issues/issues/2599#issuecomment-277070503
2017-02-03 00:57:18 -03:00
Marek Marczykowski-Górecki
cab53b21aa
Merge remote-tracking branch 'qubesos/pr/24'
* qubesos/pr/24:
  Turn on NetVM view in Manager by default. CPU column off.
2017-01-29 13:27:10 +01:00
unman
d9ef229049
Turn on NetVM view in Manager by default. CPU column off. 2017-01-29 01:25:17 +00:00
unman
4b31b206ef
Move network diagram to System menu in Manager 2017-01-28 03:15:58 +00:00
unman
a72003f44b
Add extended information and Network diagram to Manager 2017-01-26 20:36:39 +00:00
Marek Marczykowski-Górecki
519cacc5ce
i18n: add skeleton translation file for spanish
QubesOS/qubes-issues#2599
2017-01-22 13:23:45 +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
cf8b99c763
i18n: add basic support for translations
Handle translations of GUI elements defined in .ui files.
See README.md for details.

Fixes QubesOS/qubes-issues#2599
2017-01-22 13:22:16 +01:00
Marek Marczykowski-Górecki
cbd8afd2c3
version 3.2.6 2017-01-22 01:46:34 +01:00
Marek Marczykowski-Górecki
e1e55c6bea
Merge remote-tracking branch 'qubesos/pr/22'
* qubesos/pr/22:
  Fix for UnicodeEncodeError in search
2017-01-10 02:48:14 +01:00
Marek Marczykowski-Górecki
684abd4a1b
Merge remote-tracking branch 'qubesos/pr/21'
* qubesos/pr/21:
  Sort items in Backup selection dialog
2017-01-10 02:48:01 +01:00
yaqu
4a3240bf1a Fix for UnicodeEncodeError in search
Entering non-ascii characters (e.g. "ą") in search
causes an UnicodeEncodeError. This is a quick fix.

Fixes QubesOS/qubes-issues#2562
2017-01-09 23:31:49 +01:00
unman
0f1e7bb352
Sort items in Backup selection dialog 2017-01-05 02:58:03 +00:00
Marek Marczykowski-Górecki
c214c65589
Merge remote-tracking branch 'qubesos/pr/20'
* qubesos/pr/20:
  Select search box contents on focus
2016-12-20 03:01:02 +01:00
Jean-Philippe Ouellet
9fa8ca5520 Select search box contents on focus
Attempt #2
2016-12-18 18:11:45 -05:00
Marek Marczykowski-Górecki
67bd64018d
Merge remote-tracking branch 'qubesos/pr/17'
* qubesos/pr/17:
  Fix awkward phrasing in backup dialog
2016-12-18 17:42:45 +01:00
Jean-Philippe Ouellet
1e3a60e286 Add Ctrl+F as keyboard shortcut to focus search box 2016-12-18 09:40:34 -05:00
Marek Marczykowski-Górecki
d128ffd133
travis: drop debootstrap workaround
Move to qubes-builder

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
2016-12-14 23:46:44 +01:00
Jean-Philippe Ouellet
f628b7ca19
Fix awkward phrasing in backup dialog 2016-12-14 17:36:09 -05:00
Marek Marczykowski-Górecki
6563f295ae
version 3.2.5 2016-12-04 22:29:45 +01:00
Jean-Philippe Ouellet
d2d29c6865 Re-write to avoid leaking fd if flock(2) fails 2016-11-26 21:00:01 -05:00
Jean-Philippe Ouellet
4c4def2876 Avoid potential deadlock
Could happen if exception thrown in open/write while holding flock.
2016-11-26 20:59:49 -05:00
Jean-Philippe Ouellet
a0bb943af9 Implement "Copy Dom0 clipboard" tray menu item
Ctrl+Shift+C would be preferable, but is quite difficult to do safely,
and this method seems like a reasonable security/UX compromise.

Discussed in:
- https://groups.google.com/forum/#!topic/qubes-devel/4_x7Su21i9o
- https://github.com/QubesOS/qubes-issues/issues/2438#issuecomment-261704575

Fixes https://github.com/QubesOS/qubes-issues/issues/2450
2016-11-26 20:59:24 -05:00
Marek Marczykowski-Górecki
c7c86d12a7
Merge remote-tracking branch 'qubesos/pr/14'
* qubesos/pr/14:
  Make inter-appviewer lock permissions consistent
2016-11-27 02:19:52 +01:00
Jean-Philippe Ouellet
f6e00adebe Make inter-appviewer lock permissions consistent
Currently in gui-daemon/xside.c (only other holder of the lock):
    g->inter_appviewer_lock_fd = open("/var/run/qubes/appviewer.lock",
        O_RDWR | O_CREAT, 0666);
    ...
    /* ignore possible errors */
    fchmod(g->inter_appviewer_lock_fd, 0666);
2016-11-26 14:42:31 -05:00
Marek Marczykowski-Górecki
3302264d33
Merge remote-tracking branch 'qubesos/pr/13'
* qubesos/pr/13:
  Add keyboard shortcuts for manager menu items
2016-11-25 13:03:40 +01:00
Jean-Philippe Ouellet
30efc4aaeb
Improve spacing around search label 2016-11-24 21:38:39 -05:00
Jean-Philippe Ouellet
0ae03697e4
Add "Search:" label to left of search box 2016-11-24 21:25:32 -05:00
Jean-Philippe Ouellet
7aa220d73a
Add keyboard shortcuts for manager menu items 2016-11-24 01:23:39 -05:00
Jean-Philippe Ouellet
4c08f75399
Implement searching for VMs in qubes-manager 2016-11-23 02:49:13 -05:00
Marek Marczykowski-Górecki
88eedc1a43
Merge remote-tracking branch 'qubesos/pr/11'
* qubesos/pr/11:
  Use more idiomatic python in VM filtering
2016-11-23 01:06:59 +01:00
Marek Marczykowski-Górecki
cf0fbcd908
Merge remote-tracking branch 'qubesos/pr/10'
* qubesos/pr/10:
  Require typing name of VM to remove

Fixes QubesOS/qubes-issues#1329
2016-11-23 01:06:39 +01:00
Jean-Philippe Ouellet
99a9f52297
Use more idiomatic python in VM filtering 2016-11-22 03:38:37 -05:00
Jean-Philippe Ouellet
86d5825464
Require typing name of VM to remove
It is too easy to accidentally delete the wrong VM if you use lots
of short-term (but longer than disposable) VMs and have built
muscle memory of just clicking "Ok" in the deletion confirmation box.

This patch requires you to type the full name of the VM, inspired by
repo deletion confirmation on GitHub.
2016-11-22 00:41:32 -05:00
Jean-Philippe Ouellet
a604a3fce2
Refactor "Logs" menu population 2016-11-21 23:37:51 -05:00
Marek Marczykowski-Górecki
b51cd2dd5f
Merge remote-tracking branch 'qubesos/pr/8'
* qubesos/pr/8:
  Gray out "Restart VM" for dispVMs
2016-11-21 15:46:53 +01:00