Commit Graph

138 Commits

Author SHA1 Message Date
Dain Nilsson
4efc8d969e
Don't apply window size on Linux. 2022-02-24 14:35:26 +01:00
Dain Nilsson
298157114e
Store window size in shared preferences. 2022-02-24 14:20:25 +01:00
Dain Nilsson
ee48fa5c23
Lookup ScaffoldMessenger before await. 2022-02-24 12:49:28 +01:00
Dain Nilsson
49b7041b3f
Improve OATH activation via click for HOTP. 2022-02-24 11:34:39 +01:00
Dain Nilsson
829649695c
Prevent triggering copy/calculate on repeated clicks.
This disables the activation of an OATH credential while the snackbar of
a previous such action is shown.
2022-02-24 09:52:42 +01:00
Dain Nilsson
08f4c696e1
Add subtitle to "remember" checkbox. 2022-02-23 12:37:19 +01:00
Dain Nilsson
77142a8d1d
Keychain improvements.
* Add state for failure.
* Once failed/denied, don't ask again.
2022-02-23 12:17:06 +01:00
Dain Nilsson
c3c0d0fcde
Better logging of non-json errors. 2022-02-23 12:17:05 +01:00
Dain Nilsson
4fac11fc1d
Fix counting of devices with same PID. 2022-02-23 12:17:02 +01:00
Dain Nilsson
c048c6f137
Set minimum window width. 2022-02-23 12:07:38 +01:00
Dain Nilsson
affda87841
Fix typos. 2022-02-23 12:07:36 +01:00
Dain Nilsson
2f03d64e3d
Adapt no_device_screen after device type. 2022-02-22 11:41:46 +01:00
Dain Nilsson
0a02d658e6
Use "wifi" icon instead of "nfc". 2022-02-22 11:32:23 +01:00
Dain Nilsson
ab2a63fd2b
Add placeholders in main drawer, move theme and logging to settings. 2022-02-22 11:15:15 +01:00
Dain Nilsson
27176f5c18
Quick stab at some colors. 2022-02-22 10:56:52 +01:00
Dain Nilsson
4b716d311a
Set main green color for more widgets. 2022-02-21 17:07:52 +01:00
Dain Nilsson
06c348cf50
Avoid RPC getting "stuck" on responses that are not valid JSON. 2022-02-21 15:47:37 +01:00
Dain Nilsson
aed03e5fc3
Merge PR #40. 2022-02-21 13:22:38 +01:00
Dain Nilsson
7082e1839b
Use SEVERE instead of WARNING for unparsable log lines. 2022-02-21 13:21:12 +01:00
Dain Nilsson
deec472ee4
Fix inverted 'enabled' and case-sensitive 'algorithm'. 2022-02-21 12:38:13 +01:00
Dain Nilsson
0884a92b84
Use platform-specific logging initialization. 2022-02-21 10:47:34 +01:00
Dain Nilsson
b7f1ec63f4
Move QR scan button to add_account_page, and have it populate the form. 2022-02-11 14:58:17 +01:00
Dain Nilsson
6d62ffb730
Change account trigger behavior.
This is closer to how the existing app behaves.
2022-02-11 11:44:08 +01:00
Dain Nilsson
0e31e4c9ea
Remove debugLabel. 2022-02-11 11:43:57 +01:00
Dain Nilsson
0b17f8b126
OATH focus item order for up/down arrows. 2022-02-11 10:35:31 +01:00
Dain Nilsson
a6ffe45651
Search field: Jump to first result on Enter/Down. 2022-02-11 10:35:30 +01:00
Dain Nilsson
ea5c0ea363
Merge PR #36. 2022-02-11 10:34:10 +01:00
Dain Nilsson
d41a300d48
Add QrScanner via provider. 2022-02-10 15:24:28 +01:00
Dain Nilsson
bfbfc51a00
Use ykman-rpc from Flutter. 2022-02-10 13:47:58 +01:00
Dain Nilsson
3af44ea19d
Make drawer scrollview non-primary.
This prevents an exception when both the main view and drawer is
visible, if both views are scrollable. It does not seem to impact
behavior at all.
2022-02-09 12:34:38 +01:00
Dain Nilsson
939f590b09
Pass in BuildContext to MenuItem.action.
Instead of when constructing the MenuItem itself.
2022-02-09 10:42:08 +01:00
Dain Nilsson
9eda277af9
Replace List<String> with DevicePath for device paths.
This prevents equality checks from treating devices with the same path
as different.
2022-02-08 13:44:35 +01:00
Dain Nilsson
05e82c6bec
Use RPC to remember passwords. 2022-02-08 12:34:48 +01:00
Dain Nilsson
f16f690fe4
Fix regression. Log level not correctly updating. 2022-02-08 12:23:11 +01:00
Dain Nilsson
330d64eba2
Make highlight of device menu button circular. 2022-02-01 16:36:19 +01:00
Dain Nilsson
16b492638f
Clean up device picker and avatar. 2022-02-01 13:30:03 +01:00
Dain Nilsson
6963b69c10
Improve add OATH account.
- Add padding to match Period with Digits.
- Validate secret length on submit.
2022-02-01 08:24:29 +01:00
Dain Nilsson
40335e66da
Refactor common code between add and rename accounts. 2022-01-31 15:48:34 +01:00
Dain Nilsson
a5f73f7d94
OATH: Add advanced options to add dialog. 2022-01-28 17:17:16 +01:00
Dain Nilsson
85458f4f5a
Move desktop-specific implementation into desktop/ 2022-01-27 12:47:17 +01:00
Dain Nilsson
e884a1be3a
Add some comments to clarify code. 2022-01-25 15:00:42 +01:00
Dain Nilsson
a527e71818
OATH rename: Add length validation. 2022-01-25 14:50:00 +01:00
Dain Nilsson
8c139adf84
Add OATH rename dialog. 2022-01-25 12:48:20 +01:00
Dain Nilsson
ccc32903cf
Enable lint check for unawaited_futures. 2022-01-25 12:46:51 +01:00
Dain Nilsson
8160b30aed
Add OATH delete dialog. 2022-01-21 15:45:04 +01:00
Dain Nilsson
ac8cf7a461
Remove leftover logging from debugging. 2022-01-21 11:30:23 +01:00
Dain Nilsson
276005b868
Add OATH reset dialog. 2022-01-21 11:30:14 +01:00
Dain Nilsson
af1a2dad05
Replace socket approach with native Windows mutex. 2022-01-21 11:17:02 +01:00
Dain Nilsson
71b66f53b0
Only enable "single-instance" for Windows. 2022-01-21 11:12:01 +01:00
Dain Nilsson
589b9fecc4
Check for existing instance on startup using sockets. 2022-01-21 11:12:00 +01:00
Dain Nilsson
d7c04f5103
Address review comments. 2022-01-19 11:00:37 +01:00
Dain Nilsson
01a9628b81
Remove unused imports. 2022-01-18 12:32:19 +01:00
Dain Nilsson
7d88c5c6a5
Add basic NFC support. 2022-01-18 12:26:31 +01:00
Dain Nilsson
656addf614
Disable "save" when current password is empty. 2021-12-08 14:15:46 +01:00
Dain Nilsson
65560e728d
Add "Manage password" dialog. 2021-12-08 11:20:04 +01:00
Dain Nilsson
ffc7f5d4c2
More visual tweaks. 2021-12-07 14:22:28 +01:00
Dain Nilsson
da14b36364
Small visual changes. 2021-12-07 12:53:05 +01:00
Dain Nilsson
a14e6e8928
Merge PR #14. 2021-12-06 15:47:36 +01:00
Dain Nilsson
e6db6df8ff
Don't replace newer codes with older. 2021-12-06 12:31:22 +01:00
Dennis Fokin
e735990df5
Merge pull request #13 from Yubico/add-cred
Add account
2021-12-06 12:04:26 +01:00
Dennis Fokin
8a9a7797eb
Implement basic add account view 2021-12-06 11:09:52 +01:00
Dain Nilsson
81c33a0e36
Improve RPC error recovery. 2021-12-06 10:28:19 +01:00
Dain Nilsson
034e2794f8
Update OATH list view. 2021-12-03 17:49:16 +01:00
Dain Nilsson
4c5b0bcf20
Add window focus/visibility detection to release YubiKeys when idle. 2021-12-03 10:27:29 +01:00
Dain Nilsson
4b6a6a3a0e
Remove commented code. 2021-12-02 20:29:40 +01:00
Dain Nilsson
9236701f02
Implement theming and re-arrange views. 2021-12-02 11:44:17 +01:00
Dain Nilsson
4c875865a8
Add OATH password unlock.
Currently stores the derived key in memory.
2021-11-29 14:11:16 +01:00
Dennis Fokin
b9a9850155
Snackbar prompting the user for touch when touch cred 2021-11-26 09:49:07 +01:00
Dain Nilsson
f69d22a9a8
Adds the "diagnose" command to the about page. 2021-11-25 11:56:25 +01:00
Dain Nilsson
ad6c9ce76b
Fix expired circle timer. 2021-11-25 11:53:19 +01:00
Dain Nilsson
55372539f0
Fix logging tracebacks from RPC. 2021-11-25 11:35:31 +01:00
Dain Nilsson
82a1398f72
Add product images. 2021-11-24 13:28:38 +01:00
Dain Nilsson
94687f37f8
Add basic device picker. 2021-11-24 13:09:29 +01:00
Dain Nilsson
2cd9ff2283
Break up large files into smaller. 2021-11-24 12:49:12 +01:00
Dain Nilsson
cc1426caf1
Add some version into to about page, and log level changer. 2021-11-24 11:42:46 +01:00
Dain Nilsson
e439acdce6
Support changing log level. 2021-11-24 11:42:24 +01:00
Dain Nilsson
064fb038e6
Use the logging package, and log from RPC. 2021-11-23 13:02:05 +01:00
Dain Nilsson
6f4f5c6245
Fix linting errors. 2021-11-22 14:00:25 +01:00
Dain Nilsson
b153c09015
Break up OATH widgets into separate files. 2021-11-22 14:00:24 +01:00
Dain Nilsson
8c6f36ae3c
Add start of navigation structure. 2021-11-22 14:00:23 +01:00
Dain Nilsson
10c3ff62f6
Clean up StreamControllers. 2021-11-22 13:59:52 +01:00
Dain Nilsson
2d71fab3b6
Handle signals while request in queue. 2021-11-22 12:49:23 +01:00
Dain Nilsson
8d965c7e52
Clean up RPC with async. 2021-11-22 12:01:51 +01:00
Dain Nilsson
dfc4072478
Initialize rpc on startup. 2021-11-19 13:02:25 +01:00
Dain Nilsson
9817220256
Prefer single quotes (as per Flutter style guide). 2021-11-19 11:20:57 +01:00
Dain Nilsson
dd6a3e84c8
Add core models and state. 2021-11-19 11:14:09 +01:00
Dain Nilsson
9606f9d30f
Remove executable permission from files. 2021-11-19 09:19:16 +01:00
Dain Nilsson
f9159e0096
Add template project. 2021-11-19 08:50:09 +01:00