Commit Graph

408 Commits

Author SHA1 Message Date
Rikard Braathen
66b2ee6d1e Fixed height of StyledTextField 2019-10-03 09:06:50 +02:00
Dag Heyman
61e530e95f fonts: adjust sizes a bit 2019-10-03 09:06:50 +02:00
Rikard Braathen
81d72b169f Increased some font sizes for better visibility 2019-10-03 09:06:50 +02:00
Dag Heyman
b5b2bbd102 fonts: load italic and bold versions 2019-10-02 13:22:46 +02:00
Dag Heyman
6d1554e4d1 fonts: don't override font names 2019-10-02 13:22:46 +02:00
Dag Heyman
908b7f3f83 fonts: include all roboto variants 2019-10-02 13:22:46 +02:00
Dag Heyman
5cc2bc04c8 fonts: load roboto-medium and roboto-light 2019-10-02 13:22:46 +02:00
Dag Heyman
d5acbfe9f5 fonts: add roboto font 2019-10-02 13:22:46 +02:00
Rikard Braathen
dab98bd913 changing colors of credential cards 2019-10-01 13:47:48 +02:00
Dag Heyman
77fb635608 make sure validated flag is set to false correctly
prevent glitch when inserting device
2019-09-26 13:50:57 +02:00
Dag Heyman
65d755cb5e
tray: update wording around show app 2019-09-23 09:31:29 +02:00
Dag Heyman
95b7f4b66a
logging: fix logging to file 2019-09-23 09:02:20 +02:00
Dag Heyman
b5858a46d6 add cred: prompt for overwrite 2019-09-18 14:52:49 +02:00
Rikard Braathen
de58c4b8ab ignoring letter icon for screen reading 2019-09-17 15:12:38 +02:00
Rikard Braathen
87788aab1e made some changes to accessibility awareness 2019-09-17 15:12:38 +02:00
Rikard Braathen
6790f86db0 Moved custom reader details to the bottom 2019-09-11 10:30:37 +02:00
Dag Heyman
f6355de112 update ui after modifying password 2019-09-11 10:30:37 +02:00
Rikard Braathen
3ee48e9dcb initial support for accessibility 2019-09-11 10:30:37 +02:00
Dag Heyman
c0a5ae4057 add qsTr() to a lot of user facing strings 2019-09-11 10:30:37 +02:00
Dag Heyman
efe7cf6cf0 OTP mode: validate length of secret key 2019-09-11 10:30:37 +02:00
Dag Heyman
3547c08193 new cred: hide sha512 for FIPS keys 2019-09-11 10:30:37 +02:00
Dag Heyman
94edf799b6 New UI based on Quick Controls 2
- New design based on Material Style
- Light mode and Dark mode
- Add support for custom CCID readers
- New tray functionality
- Support for favorite credentials

Co-authored-by: Rikard <rikard@yubico.com>
2019-09-11 10:30:37 +02:00
Dag Heyman
10cdb4f072
aboutpage: update year 2019-01-02 12:08:39 +01:00
Dag Heyman
c3aafb33d3
bugfix: wrong mode messages was never shown
because device.enabled variable have been renamed
2018-12-11 08:51:56 +01:00
Dag Heyman
c648356d17
Merge pull request #314 from Yubico/add-slot-cred-errror
slot mode: improve error handling
2018-11-08 12:10:45 +01:00
Dag Heyman
5ec1721b5a
add slot cred: move some error handling 2018-11-08 09:17:08 +01:00
Josh Soref
4352b0d37f spelling: visibility 2018-11-07 17:25:03 -05:00
Josh Soref
d77db4146a spelling: selected 2018-11-07 17:24:30 -05:00
Dag Heyman
4b9feda3c5
slot mode: improve error handling 2018-11-06 10:33:42 +01:00
Dag Heyman
26edbfc5ca
fix layout warnings 2018-11-06 09:32:24 +01:00
Emil Lundberg
4c1f6843c2
Allow all three text fields in AddCredential to post form on <Enter> keypress 2018-05-29 12:50:26 +02:00
Emil Lundberg
3d4a9d7ff8
Don't execute tryAddCredential if not acceptableInput() 2018-05-29 12:50:26 +02:00
Dag Heyman
98b8ea5cd4
forget password on changed device 2018-05-03 10:44:43 +02:00
Dag Heyman
67b9c1e70b
support yk preview 2018-04-26 15:02:27 +02:00
Emil Lundberg
2ccefafcbd
Re-add an ! lost in 636813d 2018-04-24 17:28:31 +02:00
Emil Lundberg
f068c6b5ab
Make hasOTP and hasCCID readonly properties 2018-04-24 17:18:59 +02:00
Emil Lundberg
636813d56a
Don't display mode mismatch messages unless known to be accurate 2018-04-24 17:17:44 +02:00
Emil Lundberg
30eae108b7
Remove redundant condition 2018-04-24 17:08:10 +02:00
Emil Lundberg
fb5d06d513
Fix #283: Displays "No credentials found" briefly [...] 2018-04-24 17:06:47 +02:00
Dag Heyman
ec21ae0719
Add credential: allow space in secret key
Some services provide the OATH secret with spaces.
Allow this in the add credential dialogs,
to allow users to copy and paste frome these
services.
2018-02-19 10:13:36 +01:00
Emil Lundberg
d706ace196
Revert "Add function contains(items, sought) to utils.js"
This reverts commit 7f92462f5d.
2018-02-14 15:57:07 +01:00
Emil Lundberg
0097352746
Remove unused import 2018-02-14 15:55:28 +01:00
Emil Lundberg
a137b5ab9f
Remove special case for U2F security key 2018-02-14 15:51:36 +01:00
Emil Lundberg
e08d1f6dda
Detect and report unusable device to user 2018-02-14 15:09:26 +01:00
Emil Lundberg
b3a00814fb
Reset hasDevice and friends even if hasDevice is false 2018-02-14 15:09:23 +01:00
Emil Lundberg
7f92462f5d
Add function contains(items, sought) to utils.js 2018-02-14 15:09:22 +01:00
Emil Lundberg
74d4396904
Autoformat code 2018-02-14 15:09:21 +01:00
Dag Heyman
5cac515122
Add shim for String.prototype.startsWith
Added in Qt 5.8.
2018-02-13 09:27:30 +01:00
Emil Lundberg
5a592f35a3
Fix some snake_case/camelCase confusion 2018-02-07 18:24:51 +01:00
Emil Lundberg
75d63e39d2
Add missing onYubikeyReadyChanged signal handler 2018-02-07 16:42:07 +01:00
Emil Lundberg
79104f430e
Merge logging_setup.py into yubikey.py 2018-02-07 16:15:53 +01:00
Dag Heyman
b4a269276b
Merge branch 'custom-period-timeleft' 2018-02-07 14:34:52 +01:00
Dag Heyman
d4c6ef801b
Deselect credentials after deletion
Arrow navigation was broken after deleting
a credential.
2018-02-07 10:08:04 +01:00
Dag Heyman
4c43c0e5c8
Fix autorefresh for TOTPs with custom period
TOTP credentials with a custom period
did not autorefresh until global timer reached 0.
2018-02-07 09:39:54 +01:00
Emil Lundberg
0577c6655d
Merge pull request #251 from Yubico/touch-expired-alt
Fix expiration on single touch credential, alternative solution
2018-02-06 14:19:10 +01:00
Emil Lundberg
37b5d1ae79
Replace <= with < in isExpired computation 2018-02-05 15:20:05 +01:00
Emil Lundberg
2b5e205074
Re-arrange Python module loading code to make it easier to follow 2018-02-02 14:32:14 +01:00
Emil Lundberg
58787db360
Un-duplicate Python site path manipulation
Python on Windows did not seem to like this.
2018-02-02 14:31:42 +01:00
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
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
Emil Lundberg
280bc3619e
Fix CredentialItem custom time bar getting stuck at 100% 2018-01-30 14:03:48 +01:00
Emil Lundberg
a19c199405
Split property showCustomTimeBar out from hasCustomTimeBar 2018-01-30 14:03:33 +01:00
Emil Lundberg
b636fbc8d9
Replace < with <= in isExpired: timeLeft < 0 2018-01-30 14:03:00 +01:00
Emil Lundberg
ab5219d41d
Compute isExpired internally in CredentialItem 2018-01-30 13:22:11 +01:00
Emil Lundberg
39b9f4801a
Promote timeLeft variable to a property of CredentialItem 2018-01-30 13:22:11 +01:00
Dag Heyman
4373dec917
Merge branch 'qr-fix' 2018-01-30 11:32:57 +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
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
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
Dag Heyman
24825ed5bf
Handle undefined version string 2018-01-04 08:39:58 +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
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
99a6226f4c
Fix 1f6cefea for Slot credentials
This fixes commit 1f6cefea4f for Slot
credentials.
2017-12-19 13:02:32 +01:00
Emil Lundberg
925b011cda
Fix zero-impact null dereference bug in ArrowKeysSelecter 2017-12-17 00:25:52 +01:00
Emil Lundberg
d0d3fde9b2
Shim Array methods added after current Qt version in Ubuntu 2017-12-17 00:17:51 +01:00
Emil Lundberg
9e27de2d54
Add --log-level CLI option 2017-12-01 15:54:33 +01:00
Emil Lundberg
7a223dabb9
Enable setting up Python logging 2017-12-01 15:54:30 +01:00
Emil Lundberg
0eaff9c2ae
Decouple ArrowKeysSelecter from Repeater 2017-11-30 11:15:36 +01:00
Emil Lundberg
25c251788f
Whitespace: Fix indentation 2017-11-30 11:15:35 +01:00
Emil Lundberg
1be4433fef
Scroll view on arrow keys only if selection moves 2017-11-30 11:15:34 +01:00
Emil Lundberg
4e593d27cb
Use TextField.clear() instead of .text = '' 2017-11-30 11:15:33 +01:00