Commit Graph

204 Commits

Author SHA1 Message Date
Dag Heyman
78ae0f8c59
Add error message for too large keys in slot mode
Closes #171
2017-08-03 12:24:32 +02:00
Dag Heyman
0044c5b259
Try initialise credentials as empty list 2017-08-02 14:54:54 +02:00
Dag Heyman
49253d6f40
Try to fix issue where UI stuck on reading credentials 2017-08-02 14:09:10 +02:00
Dag Heyman
205fac48da
Small refactor in MenuBar 2017-08-02 10:58:37 +02:00
Dag Heyman
78c347f525
Enter to copy/generate
Enter now copies/generates the selected credential.
Escape clears the search field.
2017-08-01 16:29:31 +02:00
Dag Heyman
a4a7b63f21
Only double-click copies, not all generate
Change behaviour so that only double-click
copies touch credentials, and manual generate
action only generates them.
2017-07-31 13:52:06 +02:00
Dag Heyman
e32a58914b
Limit credential name to 64 chars
Should fix #170
2017-07-31 12:43:50 +02:00
Dag Heyman
52f5f4a583
fix bug from renaming 2017-07-07 13:52:39 +02:00
Dag Heyman
397defaeed
feature: double click to copy/generate
Double-click on a credential now copies
the code to the clipboard. If it is a touch or
HOTP credential a code is generated as well.

The generate code action also copies the code to
the clipboard.

Should resolve #146
2017-07-07 10:03:50 +02:00
Dag Heyman
a1e2c449e0
rename single click handler 2017-07-07 10:02:58 +02:00
Dag Heyman
90a0319daf
rename updateCredential function 2017-07-07 09:46:26 +02:00
Dag Heyman
2015c5fd77
ui: don't show timer if no credentials 2017-07-07 08:48:34 +02:00
Dag Heyman
96898834a6
click outside search should remove focus from it 2017-07-06 07:39:18 +02:00
Dag Heyman
7894af2be6
add a separator between generate and delete
as suggested in #146
2017-07-05 14:34:18 +02:00
Dag Heyman
f0bb5ff50f
text: copy > copy to clipboard 2017-07-05 14:32:56 +02:00
Steven Noonan
a288d7339b
qml/YubiKey.qml: refresh *at* deadline instead of 1 second *after* deadline
The wrong operator was used when comparing "now" to the "next refresh"
time.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2017-07-05 13:50:16 +02:00
Dag Heyman
7be3c861be
Slot mode is always validated
Fix issue where time bar was not shown
in slot mode.
2017-07-05 13:46:08 +02:00
Dag Heyman
2ce685ef88
let the add credential btn be default 2017-07-05 13:45:19 +02:00
Steven Noonan
e421a125ca
PasswordPrompt: make "OK" button the default button when pressing 'Enter'
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2017-07-05 12:58:45 +02:00
Steven Noonan
606b603d5c
MainMenuBar: use Alt-F + 'x' for exit rather than Alt-F + 'e'
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2017-07-05 12:53:54 +02:00
Dag Heyman
030484910c
Show error message when no space left
Should fix #153
2017-07-05 11:01:58 +02:00
Dag Heyman
ba554eca09
Update selected credential on update.
Should fix #167
2017-07-05 10:15:57 +02:00
Dag Heyman
e142a54c3e
don't parse empty saved pws 2017-07-05 10:14:03 +02:00
Dag Heyman
ec41083314
Rename valid window function 2017-05-12 10:02:13 +02:00
Dag Heyman
1c845cc788
Don't spawn window outside desktop area
On Windows, the main window could be spawned outside
the visible desktop, if the application was previously
used with multiple monitors.

Fixes #154
2017-05-11 15:25:50 +02:00
Dag Heyman
55ef30e912
More strict check when setting password 2017-05-11 08:53:48 +02:00
Dag Heyman
cc86c37adf
Workaround for segfault on Ubuntu 17.04 2017-05-10 09:50:22 +02:00
Dag Heyman
ac99a792b9
Don't try to check name if selected is undefined 2017-04-25 10:18:29 +02:00
Dag Heyman
e508269ff3
Update the selected credential on new code
After a credential has got a code from
a touch event on the YubiKey, update
the selected credential so that the code
may be copied to the clipboard.

Should fix #158
2017-04-25 10:16:58 +02:00
Dag Heyman
c345bad1ae
Fix spelling in comment 2017-04-25 10:16:13 +02:00
Dag Heyman
9531c3bfe4
Overwrite saved pw if already saved on system
Switch to JSON for stored passwords.
2017-04-10 10:26:37 +02:00
Dag Heyman
29ec5db8af
Don't clear password prompt before remembering 2017-04-10 09:16:49 +02:00
Dag Heyman
7fef2be38d
Update colors
- Progressbar has no custom styling
- Selected credential uses highlight color
- Credentials are colored "window" or "midlight"
- No font specified

Closes #129
2017-04-07 14:24:58 +02:00
Dag Heyman
b39343f1e4
Formatting from Qt Creator 2017-04-07 12:32:51 +02:00
Dag Heyman
af80945b23
Fix issue where password was set to none
All set passwords attempts cleared the password
because the dialog was cleared before accepted.
2017-04-07 12:31:39 +02:00
Dag Heyman
e0e59ddf64
Different wording in settings 2017-03-31 15:37:42 +02:00
Dag Heyman
8beda56cb2
Update tray functionality
When the tray option is enabled
closing the last window doesn't
close the application.
2017-03-31 11:14:22 +02:00
Dag Heyman
62bca0fc57
Add a menu to the tray icon 2017-03-30 14:52:13 +02:00
Dag Heyman
01adff59ef
Add basic systray icon toggled from settings 2017-03-30 13:14:24 +02:00
Dag Heyman
7aa692ee1c
Only reset selected on empty searches
Should resolve #142
2017-03-30 10:24:59 +02:00
Dag Heyman
ffb55773f3
Refactor out selected
The variables for selected credentials
was treated as global variables,
so it makes more sense to bind it to appWindow.
2017-03-30 10:23:04 +02:00
Dag Heyman
d1b2ad0580
Rename method 2017-03-30 10:00:07 +02:00
Dag Heyman
db125d0e61
Fix scroll state for touch/hotp credentials 2017-03-30 09:48:59 +02:00
Dag Heyman
f3b3916669
Minor fix. 2017-03-29 13:29:32 +02:00
Dag Heyman
b53a1d548c
Keep scroll position when creds change
Small hack to save the position of the
scrollbar before refreshing the credentials.
2017-03-29 12:08:19 +02:00
Dag Heyman
f33b57b866
Always flick on arrow press 2017-03-28 15:50:28 +02:00
Dag Heyman
e321bca972
Use flickable for scrolling
Flick when arrow keys are pressed.
2017-03-28 14:27:49 +02:00
Dag Heyman
2c6bba3add
Sort credentials based on name
Use the full name for sorting,
including issuer prefixes.

Fixes #136
2017-03-28 11:02:27 +02:00
Dag Heyman
42477bb740
Better error logging 2017-03-27 13:36:40 +02:00
Dag Heyman
f873e52adb
Add Edit menu for the credential actions 2017-03-22 14:45:33 +01:00