Commit Graph

1110 Commits

Author SHA1 Message Date
Dag Heyman
c94e659ee3
travis: build on osx el capitan 2018-01-24 09:19:39 +01:00
Dag Heyman
7649b0fdfe
Refactor away duplicate code 2018-01-23 14:50:21 +01:00
Dag Heyman
e71bebd734
Remove dead code 2018-01-23 10:47:40 +01:00
Dag Heyman
ba461fb868
Log timeout better. 2018-01-23 10:47:17 +01:00
Emil Lundberg
a08dd45e63
Merge pull request #239 from Yubico/multi-monitor-screenshot
Fix QR code scanning on multi-monitor setups
2018-01-22 17:20:53 +01:00
Emil Lundberg
ad28c0f9bf
Use std::vector instead of dynamic-length array 2018-01-22 14:09:00 +01:00
Emil Lundberg
d9cdd5e12f
Add compiler option -pedantic-errors 2018-01-22 14:08:24 +01:00
Emil Lundberg
91495df002
Make QR scanning work in both Mac and Linux 2018-01-22 13:45:09 +01:00
Emil Lundberg
10f255e409
Use x() and y() methods to find top right corner for screenshots 2018-01-22 11:02:58 +01:00
Dag Heyman
76f9919b9b
Merge branch 'master' into multi-monitor-screenshot 2018-01-22 08:22:47 +01:00
Dag Heyman
98334c29ef
Update yubikey-manaager 2018-01-19 11:04:52 +01:00
Emil Lundberg
8584c8b3a5
Include above-and-left-of-primary pixels in QR screenshots
`QGuiApplication::primaryScreen()->grabWindow(...)` only includes pixels
below and to the right of the top left corner of the primary screen (at
least in Linux). Consider a screen arrangement like:

                          +-------------+
    +---------++---------+|             |
    +         ||         ||             |
    +    3    || PRIMARY ||      2      |
    +---------++---------++-------------+

With this screen arrangement, the top of screen 2 and all of screen 3
would be left out of the screenshot.

Combining the results of calling `grabWindow(...)` on each `QScreen`
resolves the issue.
2018-01-16 15:48:17 +01:00
Emil Lundberg
c219b26cf2
Fix indentation in screenshot.h 2018-01-16 15:48:16 +01:00
Dag Heyman
b183182ecc
No hard coded OpenGL or scaling preferences
Drop hard coded settings for high dpi support
and OpenGL rendering.
2018-01-16 09:12:25 +01:00
Emil Lundberg
975a2b09df
Merge pull request #234 from Yubico/merge-utils
Merge Util.qml into utils.js
2018-01-15 10:58:00 +01:00
Dag Heyman
f39d0d3fb7
Autoformat utils.js 2018-01-15 10:42:58 +01:00
Emil Lundberg
8c2c33d1df
Update new reference to deleted Util.qml 2018-01-15 10:28:02 +01:00
Emil Lundberg
0e3c3748a1
Merge branch 'master' into merge-utils 2018-01-15 10:26:41 +01:00
Dag Heyman
c1fbd93b78
Merge branch 'hide-timer' 2018-01-15 10:22:36 +01:00
Emil Lundberg
3f679d4f69
Merge Util.qml into utils.js 2018-01-15 10:12:50 +01:00
Dag Heyman
6f6fd2bd8f
Hide global progress bar
When no non-touch TOTP credential
is present, there is no need to show
the global progress bar.
2018-01-15 10:10:12 +01:00
Dag Heyman
831e8db20a
Obey auto-format
http://doc.qt.io/qtcreator/creator-checking-code-syntax.html#automatically-formatting-qml-js-files
2018-01-15 09:43:02 +01:00
Dag Heyman
0fb90de657
Update the year in the About dialog 2018-01-15 09:24:25 +01:00
Dag Heyman
8ed36faf62
Merge branch '222'
Fixes #222 and #226
2018-01-11 09:08:33 +01:00
Emil Lundberg
8c42005463
Merge pull request #228 from Yubico/cleanup-removed-device
Improve cleanup on removed device
2018-01-10 14:59:13 +01:00
Dag Heyman
0c214560d4
Merge branch 'slot-mode-errors' 2018-01-10 07:31:05 +01:00
Emil Lundberg
b5f0b448b2
Close touch prompt if code generation fails 2018-01-08 18:26:55 +01:00
Emil Lundberg
7168aa9799
Log slot mode code calculation failure 2018-01-08 18:24:13 +01:00
Dag Heyman
ab9a1c4bb6
Merge branch 'version-fix' 2018-01-04 14:05:17 +01:00
Dag Heyman
97645aea01
Merge branch 'master' into version-fix 2018-01-04 14:04:51 +01:00
Dag Heyman
24825ed5bf
Handle undefined version string 2018-01-04 08:39:58 +01:00
Dag Heyman
cd2ff90e80
Revert "Update pyotherside"
This reverts commit e182f0b27b.
2018-01-03 11:09:36 +01:00
Dag Heyman
43c7ae6e0d
Update yubikey-manager 2018-01-03 10:58:08 +01:00
Dag Heyman
e182f0b27b
Update pyotherside 2018-01-03 10:57:54 +01:00
Dag Heyman
517d07f5d2
Slot mode: handle errors when updating cred
If the calculation in slot mode fails,
don't do anything.
2018-01-03 10:46:47 +01:00
Dag Heyman
773e12b6c4
Improve cleanup on removed device
This makes the UI behave better
when removing and re-inserting a device.
2018-01-03 10:44:47 +01:00
Dag Heyman
19ca9312f6
Merge branch 'master' into 222 2018-01-02 15:57:21 +01:00
Dag Heyman
8b9afefd8c
Fix travis 2018-01-02 15:26:19 +01:00
Dag Heyman
60a96f190a
Override copy action from search
Since the search field already have
an action on Ctrl/Cmd + C, we need to
override it to copy the credential code
to the clipboard from search.
2018-01-02 11:31:15 +01:00
Dag Heyman
6c4d17e872
Fix clear search on ESC pressed
Pressing escape now clears the
search field and removes the focus.
2018-01-02 09:25:26 +01:00
Dag Heyman
fc45b7ec99
Fix de-focus for searchfield
Clicking on the credential list or
on a credential should de-focus the
search field.
2018-01-02 09:21:36 +01:00
Emil Lundberg
8f9020cf61
Fix swapped link texts in Building from Source doc 2017-12-20 20:33:04 +01:00
Emil Lundberg
96d11c2f90
Add Mac re-releases to NEWS 2017-12-20 13:36:44 +01:00
Emil Lundberg
8bf15a04bc
Improve user feedback in release-mac.sh 2017-12-20 12:56:06 +01:00
Emil Lundberg
aab64e1d13
Add dev-util/release-mac.sh 2017-12-19 17:57:30 +01:00
Emil Lundberg
9a1de44c63
Add release dates to last three releases in NEWS 2017-12-19 17:14:15 +01:00
Emil Lundberg
8f3939ad45
Release 4.3.2
Bug fixes:

- Fixed crash on attempt to generate code for touch credential in
  YubiKey Slots mode
- Fixed crash in QR scan
2017-12-19 16:26:43 +01:00
Emil Lundberg
67a079e540
Update Debian changelog 2017-12-19 16:25:59 +01:00
Emil Lundberg
bb0f48a5ae
Update NEWS 2017-12-19 16:25:02 +01:00
Emil Lundberg
c0661839ca
Fix QR scan broken in 57f18ca
QR code scan feature was broken by `Controller.parse_qr` returning a
`CredentialData` object instead of a plain dict.
2017-12-19 15:27:01 +01:00