Commit Graph

987 Commits

Author SHA1 Message Date
Emil Lundberg
0ea5f8f486
Upgrade ykman 2018-02-01 17:09:47 +01:00
Emil Lundberg
c1129ae3c5
Add logging_setup.py 2018-02-01 17:09:07 +01:00
Emil Lundberg
07fa6c5e61
Move function as_json to new module json_util 2018-02-01 17:08:31 +01:00
Emil Lundberg
d34cacc10b
Upgrade ykman 2018-02-01 15:40:13 +01:00
Emil Lundberg
ba88daae9e
Update ykman 2018-02-01 14:47:42 +01:00
Emil Lundberg
9362571c45
Add --log-file CLI option 2018-01-31 18:58:48 +01:00
Emil Lundberg
66efc7a89e
Ensure logging is initialized before loading yubikey module 2018-01-31 17:47:49 +01:00
Emil Lundberg
f0ccbe736e
Extract function runQueue in YubiKey.qml 2018-01-31 17:47:49 +01:00
Emil Lundberg
13935b64e8
Use module ykman.logging_setup instead of local module 2018-01-31 17:47:48 +01:00
Dag Heyman
4373dec917
Merge branch 'qr-fix' 2018-01-30 11:32:57 +01:00
Dag Heyman
7455a584b0
Merge branch 'travis-el-capitan' 2018-01-30 09:25:44 +01:00
Dag Heyman
9bdf53c82a
Merge branch 'device-busy' 2018-01-30 09:24:32 +01:00
Dag Heyman
b4eeaf51f2
Fix error in QR parsing 2018-01-30 09:11:55 +01:00
Dag Heyman
3ec597e21e
Block UI from refreshing credentials too often
With this fix, no extra refresh credentials calls
can be made while there is already one in progress.
This should help prevent hanging UI on slower systems.
2018-01-29 14:20:26 +01:00
Emil Lundberg
2db1e52f05
Merge pull request #247 from Yubico/issue-template
Remove greeting from GitHub issue template
2018-01-29 13:32:07 +01:00
Dag Heyman
169041f5f2
Update ykman 2018-01-29 13:26:42 +01:00
Dag Heyman
e4726f70fd
Merge branch 'touch-timeout' 2018-01-29 13:14:55 +01:00
Emil Lundberg
7da34b2699
Remove greeting from GitHub issue template 2018-01-29 12:40:21 +01:00
Dag Heyman
82000efc50
Merge branch 'update-win' 2018-01-29 11:52:26 +01:00
Dag Heyman
9041729f8e
Handle timeout on touch credentials better
When the user didn't touch the device on
a touch credential, the code was undefined.
Slot mode already handled this better.
2018-01-29 11:50:07 +01:00
Dag Heyman
2713263c56
Update ykman 2018-01-26 10:38:46 +01:00
Dag Heyman
3803353d8e
Update appveyor and travis library versions 2018-01-26 09:38:46 +01:00
Emil Lundberg
fd465e715b
Merge pull request #242 from Yubico/build-doc
Improve build docs in general and for Debian-based dists in particular
2018-01-25 12:25:27 +01:00
Emil Lundberg
a303c1eef7
Add packaging instructions specific to Debian based distributions 2018-01-24 17:45:07 +01:00
Emil Lundberg
402127cd77
Improve Installation section of build instructions 2018-01-24 17:33:49 +01:00
Emil Lundberg
7965fb444d
Point out that Ubuntu control file can be used as a reference 2018-01-24 17:27:05 +01:00
Dag Heyman
dd1218cf6b
Log non timeout YkpersError 2018-01-24 16:17:47 +01:00
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