Commit Graph

551 Commits

Author SHA1 Message Date
Dain Nilsson
d174cba94a
FAB fixes. 2022-04-05 16:38:22 +02:00
Dain Nilsson
daba41bbfd
Animate OATH code view resizes. 2022-04-05 15:23:51 +02:00
Dain Nilsson
ba2e5be021
OATH code view updates.
- Don't show "refresh" for HOTP when code is available.
- Trigger "calculate" on open of account dialog if needed.
2022-04-05 14:53:18 +02:00
Dain Nilsson
c0fe67feb0
Don't redraw entire OATH view on code update. 2022-04-05 13:45:11 +02:00
Dain Nilsson
30605fe7ba
Consistently use outlines icons. 2022-04-05 13:20:22 +02:00
Dain Nilsson
2efbad0501
Show message on OATH add account failure. 2022-04-05 13:02:11 +02:00
Dain Nilsson
d47ac01108
Support QR codes with non-standard period and digits. 2022-04-05 12:28:31 +02:00
Dain Nilsson
2abe801cba
Add MessagePage.
This new page shows a centered message and is used for a lot of
"empty" pages, such as "no fingerprints", "no accounts", "app disabled",
etc.
2022-04-05 11:46:22 +02:00
Dain Nilsson
7195a26f76
Various UI tweaks. 2022-04-04 19:59:49 +02:00
Dain Nilsson
815be808b1
Replace OATH code chip with rounded rectangle. 2022-04-04 19:14:34 +02:00
Dain Nilsson
5991efc2b9
Set opacity for expired OATH codes to 0.5. 2022-04-04 19:11:22 +02:00
Dain Nilsson
64e08f3060
Merge PR #79. 2022-04-04 15:18:00 +02:00
Dennis Fokin
addd28b788
Rename variable and secret is hidden when scanning 2022-04-04 14:57:50 +02:00
Dennis Fokin
6b84c2a6dc
Make sure you can show secret if you scanned 2022-04-04 12:17:14 +02:00
Dennis Fokin
7219ddb9c4
Add hide/show secret 2022-04-04 12:09:34 +02:00
Dain Nilsson
52df600ebf
Code cleanups. 2022-04-04 10:24:29 +02:00
Dain Nilsson
750f182bab
Update OATH views for new AppPage changes. 2022-04-03 11:06:22 +02:00
Dennis Fokin
4c39e793cd
Add account: check length of issuer and name 2022-04-01 15:05:26 +02:00
Dain Nilsson
5a13389895
Use OATH code chips. 2022-03-31 12:25:14 +02:00
Dain Nilsson
f944c9cf86
Cancel ResponsiveDialog on tap outside.
Also moved the class to lib/widgets/
2022-03-31 11:50:40 +02:00
Dain Nilsson
dd3fef721a
Replace menu actions with FAB. 2022-03-31 11:41:28 +02:00
Dennis Fokin
e10edc3238
Merge branch 'main' into drag-n-drop 2022-03-29 14:33:55 +02:00
Dennis Fokin
af3e188fee
Smaller cleanup 2022-03-29 13:57:08 +02:00
Dain Nilsson
1cf9ceab9b
Don't pass DeviceNode when DevicePath is sufficient. 2022-03-28 13:00:13 +02:00
Dain Nilsson
20d66ae924
Let Application pages control their AppBar. 2022-03-25 17:43:57 +01:00
Dain Nilsson
4b5ea2fdd7
Add and use showMessage for SnackBars. 2022-03-25 15:43:32 +01:00
Dain Nilsson
53699612f4
Remove empty constructor. 2022-03-25 15:14:36 +01:00
Dain Nilsson
9ace895fd1
Use dialog-button for manage password. 2022-03-25 14:40:45 +01:00
Dain Nilsson
6b3bd585ba
Use AsyncValue instead of custom classes. 2022-03-24 12:39:18 +01:00
Dain Nilsson
a91ca87af6
Extract more generic FileDropTarget. 2022-03-23 10:46:35 +01:00
Dennis Fokin
5331f199c3
Use provider 2022-03-22 18:10:57 +01:00
Dennis Fokin
1b6cec92e0
Draft for drag n dropping files 2022-03-22 15:16:52 +01:00
Adam Velebil
e45fdb695d
show CircleTimer for TOTP only creds 2022-03-21 16:25:32 +01:00
Dain Nilsson
0221062fea
Handle cancelled "delete dialog" return value. 2022-03-16 09:33:10 +01:00
Dain Nilsson
3c712fef3a
Use ResponsiveDialog for OATH factory reset. 2022-03-16 09:33:09 +01:00
Dain Nilsson
21d5e76dcc
Use ResponsiveDialog for 'Delete account'. 2022-03-16 09:33:08 +01:00
Dain Nilsson
c945fb401f
Remove unused parameter. 2022-03-16 09:33:07 +01:00
Dain Nilsson
921190ba40
Introduce responsive dialogs. 2022-03-16 09:33:06 +01:00
Dain Nilsson
aecd406bad
Add base for FIDO support. 2022-03-15 17:26:14 +01:00
Dain Nilsson
a48079864c
Cleanups. 2022-03-11 14:20:53 +01:00
Dain Nilsson
5b14a19001
Introduce "failed" state for apps. 2022-03-11 13:31:23 +01:00
Dain Nilsson
42a7a467b3
Change text "Unpin account" 2022-03-03 14:23:51 +01:00
Dain Nilsson
e77163dac2
Use "pinned" instead of "favorite". 2022-03-03 13:55:07 +01:00
Dain Nilsson
df689945a4
Visual tweaks to OATH popup.
- Smaller text, less padding.
- Fix popup position.
2022-03-03 11:20:47 +01:00
Dain Nilsson
06ec0b3887
Add right-click meny to accounts.
This also moves common Account view related code into a reusable Mixin
class.
2022-03-03 10:01:36 +01:00
Dain Nilsson
3931ae86fb
Fix rename credential.
* Update credential in dialog.
* Only show rename button for >= 5.3.
* Don't throw exception in Code lookup for renamed credential.
2022-03-02 15:34:23 +01:00
Dain Nilsson
af27c5ef0f
Better handling of window resizing. 2022-03-02 11:08:07 +01:00
Dain Nilsson
5e9cd7d0d4
Blur background and set max width. 2022-03-02 10:47:00 +01:00
Dain Nilsson
d751c1a345
Make OATH accounts selectable. 2022-03-02 08:23:29 +01:00
Dain Nilsson
a92dd12818
Fade out too long account names. 2022-02-24 15:19:18 +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
affda87841
Fix typos. 2022-02-23 12:07:36 +01:00
Dain Nilsson
27176f5c18
Quick stab at some colors. 2022-02-22 10:56:52 +01:00
Dain Nilsson
aed03e5fc3
Merge PR #40. 2022-02-21 13:22:38 +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
d41a300d48
Add QrScanner via provider. 2022-02-10 15:24:28 +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
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
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
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