Commit Graph

481 Commits

Author SHA1 Message Date
Rikard Braathen
e2459363ea
styling for elevatedButton 2022-06-08 16:11:32 +02:00
Dain Nilsson
d622c1b60a
Clean up logic for showing USB entry. 2022-06-08 11:08:46 +02:00
Dain Nilsson
cadade0139
Remove redundant USB/NFC icon. 2022-06-07 16:33:55 +02:00
Dain Nilsson
b76e4101c7
Use USB icon for no device when in USB mode. 2022-06-07 16:15:33 +02:00
Dain Nilsson
67746ab7fe
Allow de-selecting an NFC reader to again scan for USB devices. 2022-06-07 15:13:11 +02:00
Dain Nilsson
ad8a7aca1c
Don't highlight "Set PIN" for non-bio. 2022-06-07 14:09:41 +02:00
Dain Nilsson
b4b676319a
Improve behavior for FIDO when credMan isn't supported. 2022-06-07 13:54:09 +02:00
Dain Nilsson
838de1599a
Merge PR #193 2022-06-07 13:53:27 +02:00
Adam Velebil
30f3c4c1db
throw on user cancellation (back button) 2022-06-07 10:37:49 +02:00
Dain Nilsson
9b2d513519
Add Python dependency licenses.
build-helper now also generates assets/licenses/helper.json which are
added to the license view.
2022-06-05 19:44:00 +02:00
Dain Nilsson
8b476016cb
About page fixes.
- Use TextButton instead of text links
- Add "Open source licenses"
- Remove unneeded information that is already in diagnostics output.
2022-06-05 16:35:12 +02:00
Dain Nilsson
ef4af0ad52
Add custom NFC icon. 2022-06-05 16:35:10 +02:00
Dain Nilsson
1897f79f65
Add url_launcher for opening URLs. 2022-06-05 12:26:40 +02:00
Dain Nilsson
a59dc4318c
Add actual links to the about page (feedback still missing). 2022-06-03 16:45:02 +02:00
Adam Velebil
d5ad8ed9c0
YADESK-684 avoid null result value on back btn 2022-06-03 15:06:44 +02:00
Dain Nilsson
ce3a942412
Don't show serial number when not available. 2022-06-03 10:36:50 +02:00
Dain Nilsson
3433972023
Use FilterQuality.medium for device images. 2022-06-03 10:15:31 +02:00
Dain Nilsson
4a4580cd6a
Color tweaks to OATH code dialog. 2022-06-02 17:02:15 +02:00
Dain Nilsson
b8a7276313
Restyle settings page. 2022-06-02 15:49:52 +02:00
Dain Nilsson
1ed3ee27c3
Fix lint warnings. 2022-06-02 15:37:18 +02:00
Dain Nilsson
2f12705500
UI adjustments for ResponsiveDialog. 2022-06-02 15:36:50 +02:00
Dain Nilsson
7f82d9ddbc
Restyle about page. 2022-06-02 15:03:17 +02:00
Dain Nilsson
d016d741a4
Use more consistent styles for lists and adjust alignment. 2022-06-02 14:52:00 +02:00
Dain Nilsson
0f9034071f
Use different sizes for DeviceAvatar. 2022-06-02 14:49:38 +02:00
Adam Velebil
fa5ebe46e6
Merge branch 'main' into fix/YADESK-688-SKY-crashes 2022-06-02 14:11:14 +02:00
Dain Nilsson
4c34b69c8d
Add asserts for Version parameter ranges. 2022-06-02 09:45:48 +02:00
Dain Nilsson
627e6bdadd
Add timestamp to log entries. 2022-06-02 09:07:17 +02:00
Dain Nilsson
fbe20b7049
OATH: Version check for touch and algorithm. 2022-06-02 09:07:15 +02:00
Dain Nilsson
92ff8b7ac1
Add OathState.version and rebuild models. 2022-06-02 09:07:15 +02:00
Dain Nilsson
579c71d910
Fix logging levels for Helper. 2022-06-02 09:07:14 +02:00
Dain Nilsson
3e9338395a
FIDO: Show loading-spinner until all data is ready. 2022-06-02 09:07:14 +02:00
Dain Nilsson
9ed190cb53
Fix MacOS ARM helper check. 2022-06-02 09:07:10 +02:00
Dain Nilsson
00b55d954a
Bump version number. 2022-05-24 09:57:31 +02:00
Dain Nilsson
a806a3602f
Merge PR #132. 2022-05-24 09:55:02 +02:00
Dain Nilsson
34438d8cca
Decouple separator from "Toggle applications". 2022-05-24 09:01:19 +02:00
Dain Nilsson
01e88897f3
Merge PR #130. 2022-05-23 13:54:08 +02:00
Dain Nilsson
a1442e6851
Add missing OATH actions to locked screen. 2022-05-23 11:02:56 +02:00
Dain Nilsson
7dbdc03f39
Fix fingerprint status not always updating. 2022-05-23 10:59:51 +02:00
Dain Nilsson
9cce216e9f
Refactor AppFailurePage. 2022-05-20 17:21:04 +02:00
Dain Nilsson
f33087fd0f
Customize error messages for connection failures. 2022-05-20 16:41:03 +02:00
Dain Nilsson
b0e17cf5c8
Styling for Toggle Applications. 2022-05-20 15:11:05 +02:00
Dain Nilsson
e5efa332cb
Avoid closing drawer on resize. 2022-05-20 15:11:04 +02:00
Dain Nilsson
98f5d811dd
Color adjustments. 2022-05-20 15:11:03 +02:00
Dain Nilsson
f76e6799af
Add primary buttons. 2022-05-20 15:11:03 +02:00
Dain Nilsson
a839b4952d
Replace FABs with chips. 2022-05-20 15:11:02 +02:00
Dain Nilsson
a8dec0aa30
Icon/chip styling. 2022-05-20 15:11:01 +02:00
Dain Nilsson
b34f38796c
OATH dialog: Use better theme colors. 2022-05-20 15:11:01 +02:00
Dain Nilsson
f159cf45cc
Add no permission graphic. 2022-05-20 15:11:00 +02:00
Dain Nilsson
388d69687a
Fix lack of margin for responsive dialogs. 2022-05-20 15:10:57 +02:00
Dain Nilsson
92d2d422ad
Remove some hardcoded colors and fix light theme. 2022-05-20 15:10:56 +02:00
Dain Nilsson
0fde22f52a
Style OATH code views. 2022-05-20 15:10:56 +02:00
Dain Nilsson
9b589bc1e6
Style OATH account dialog action buttons. 2022-05-20 15:10:54 +02:00
Dain Nilsson
110993bf8a
OATH list: Hide Avatars when narrow, rounded highlight. 2022-05-20 15:10:54 +02:00
Dain Nilsson
dd52672f0f
Add graphics to pages. 2022-05-20 15:10:53 +02:00
Dain Nilsson
ba8ae011da
Style AppBar. 2022-05-20 15:10:53 +02:00
Dain Nilsson
70b493f92f
Style drawer. 2022-05-20 15:10:52 +02:00
Dain Nilsson
209ced3402
Minor icon/text tweaks. 2022-05-20 15:10:51 +02:00
Dain Nilsson
b31fb0b89d
Use Material text theme names. 2022-05-20 15:10:50 +02:00
Dain Nilsson
9ce546074f
Fix submit button state issue introduced by child_element_last. 2022-05-17 14:02:43 +02:00
Dain Nilsson
bfa1a5ff93
Use helper-arm64 on ARM Mac. 2022-05-17 09:13:26 +02:00
Dain Nilsson
5cd0ef9ee4
Add app version to log/diagnostics output. 2022-05-17 09:10:23 +02:00
Adam Velebil
8b8cdf40bb
prevent crashes by catching exceptions 2022-05-13 16:46:50 +02:00
Dain Nilsson
0132cad725
Specify version with set-version.py. 2022-05-13 15:59:25 +02:00
Adam Velebil
8e7344f6a3
add refresh debug logs 2022-05-12 14:04:26 +02:00
Adam Velebil
bddf5d9074
fix refresh after addCredential 2022-05-12 14:04:07 +02:00
Adam Velebil
a644ce9804
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 13:23:03 +02:00
Dain Nilsson
168429e29e
Use enhanced enums to replace enum extensions. 2022-05-12 12:05:20 +02:00
Dain Nilsson
af92068a75
Enable use_super_parameters lint rule. 2022-05-12 12:05:18 +02:00
Adam Velebil
24615275f6
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 12:03:50 +02:00
Adam Velebil
7c30aeb41c
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 11:44:19 +02:00
Adam Velebil
14bd9b6182
regenerate pigeon 2022-05-12 11:06:51 +02:00
Adam Velebil
3f2a116526
regenerate freezed 2022-05-12 11:06:28 +02:00
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +02:00
Adam Velebil
64bf0bc6d4
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-11 16:12:17 +02:00
Adam Velebil
89d632390a
implemented getLogs on Android 2022-05-11 15:47:35 +02:00
Adam Velebil
87ad07fe7c
adds windowStateProvider implementation 2022-05-11 14:53:41 +02:00
Dain Nilsson
1c9d585b27
Merge PR #120. 2022-05-11 14:04:31 +02:00
Adam Velebil
a5cfc96d6f
separate Flutter and Android logging 2022-05-11 14:02:31 +02:00
Adam Velebil
f52e47d249
Merge PR #121. 2022-05-11 08:32:10 +02:00
Dain Nilsson
715229c5ac
Desktop: Add 10s to time for manually calculated codes.
This ensures the newly calculated code doesn't immediately expire when
manually triggering calculate (for require touch).
2022-05-10 12:37:58 +02:00
Adam Velebil
54d6c96e50
YADESK-687 update model properly 2022-05-10 08:42:35 +02:00
Adam Velebil
7561fbfe89
log error when log level is not recognized 2022-05-09 18:15:37 +02:00
Adam Velebil
8fa411dca5
Merge 'main' into fix/adapt-android-log-levels 2022-05-09 17:25:18 +02:00
Adam Velebil
66816367f4
remove await from logger calls 2022-05-09 15:36:51 +02:00
Adam Velebil
b0a1d16012
avoid depending on flutter log level value 2022-05-09 15:31:13 +02:00
Adam Velebil
186b1b2811
revert unrelated changes 2022-05-09 08:59:00 +02:00
Adam Velebil
9be38a1b23
redirect logging to native logger 2022-05-09 08:32:44 +02:00
Adam Velebil
8328f76b46
Use custom flutter LogLevels from Android 2022-05-06 17:45:34 +02:00
Dain Nilsson
3dc699c391
Rename RPC to Yubico Authenticator Helper. 2022-05-06 15:48:52 +02:00
Dain Nilsson
977f509982
Add NFC support for set_mode. 2022-05-06 15:40:52 +02:00
Dain Nilsson
338d8773c3
Implement set_mode for YK<=4. 2022-05-06 15:40:52 +02:00
Adam Velebil
6cfae1e73f
Merge PR #115. 2022-05-06 15:11:10 +02:00
Adam Velebil
0a65ad6a73
serialize model credentials as List 2022-05-06 14:27:33 +02:00
Adam Velebil
1d65334072
use kotlinx-serialization with OATH Model 2022-05-05 13:56:08 +02:00
Adam Velebil
ec869e46bc
YADESK-640 clear oath on yk change 2022-05-04 10:41:43 +02:00
Dain Nilsson
8690d10921
Fix lint. 2022-05-03 11:31:43 +02:00
Dain Nilsson
488b1189ad
Use "standard" log level names. 2022-05-03 11:24:25 +02:00
Dain Nilsson
51a76f686d
Fix "--log-level" argument which wasn't working correctly. 2022-05-02 11:25:37 +02:00
Dain Nilsson
10f46ec478
Refactor logging and add LogWarningOverlay. 2022-05-02 11:25:34 +02:00
Adam Velebil
35668a1e18
Merge PR #107. 2022-04-29 10:44:29 +02:00
Dain Nilsson
c0e5438d15
Remove global variable for BuildContext. 2022-04-29 09:43:08 +02:00
Dain Nilsson
9850b4ba29
Simplify the provider used to get WithContext. 2022-04-29 09:38:08 +02:00
Dain Nilsson
13ad504808
Remove unused import. 2022-04-29 09:38:07 +02:00
Dain Nilsson
6ced805552
Add some doc comments. 2022-04-29 09:38:07 +02:00
Dain Nilsson
2eb384c314
Use promptUserInteraction from Android. 2022-04-29 09:38:06 +02:00
Dain Nilsson
e71ede8f2f
Replace OATH touch Snackbar with modal prompt. 2022-04-29 09:38:05 +02:00
Dain Nilsson
0b9fc1b70b
Provide BuildContext of attached Widget via Riverpod. 2022-04-29 09:38:01 +02:00
Adam Velebil
8e990b7ac2
Merge PR #102. 2022-04-27 14:28:09 +02:00
Adam Velebil
7a115b812c
Merge PR #105. 2022-04-27 14:10:40 +02:00
Adam Velebil
00103fb680
replace MediaQuery.of 2022-04-27 13:09:55 +02:00
Adam Velebil
6dd0259c8a
Merge branch 'main' into feature/integration_tests 2022-04-27 11:09:18 +02:00
Adam Velebil
d8e6660161
YADESK-618 workaround for android 2022-04-27 10:36:00 +02:00
Adam Velebil
6d57c3af34
YADESK-663 open QR Scanner directly on Android 2022-04-26 16:05:59 +02:00
Adam Velebil
55856850d0
updates QR code scanner 2022-04-26 15:07:36 +02:00
Adam Velebil
9a1bc90d79
remove transitions when opening/closing qr scanner 2022-04-26 10:16:44 +02:00
Adam Velebil
9dae174b3c
typo fix 2022-04-22 15:30:02 +02:00
Adam Velebil
be611d5f97
rename to zxing 2022-04-22 15:28:08 +02:00
Adam Velebil
cf212de322
new plugin replacing mobile_scanner 2022-04-22 11:22:59 +02:00
Adam Velebil
4bbe996e8e
add account test 2022-04-14 09:08:33 +02:00
Adam Velebil
041f9c49a0
logger example 2022-04-13 15:26:32 +02:00
Adam Velebil
ca86f784e1
use refresh 2022-04-08 09:42:52 +02:00
Adam Velebil
82f77d7f28
YADESK-628 2022-04-08 08:54:12 +02:00
Adam Velebil
d94bba110e
YADESK-635 remove oath data on key disconnect 2022-04-07 16:41:57 +02:00
Adam Velebil
028ee31ac5
YADESK-636 reset OATH sets correct hasKey property 2022-04-07 15:44:46 +02:00
Adam Velebil
8734793e5e
Merge branch 'main' into fix/android-a2-2 2022-04-07 13:29:48 +02:00
Dain Nilsson
1fdf62c500
Set version string. 2022-04-07 13:12:27 +02:00
Adam Velebil
5eff51645d
don't add duplicated credentials 2022-04-07 12:28:38 +02:00
Adam Velebil
b3403a2d17
YADESK-633 tap dialog icon 2022-04-07 11:03:26 +02:00
Adam Velebil
1c80e9ceac
YADESK-632 never calculate in build() on Android 2022-04-07 10:48:59 +02:00
Adam Velebil
411d744537
YADESK-630 add account 2022-04-07 10:41:38 +02:00
Dain Nilsson
83824b4609
Fix OATH code dialog for narrow screens. 2022-04-07 10:25:28 +02:00
Dain Nilsson
39c7252ea1
Submit fingerprint renmae form on enter. 2022-04-07 10:06:18 +02:00
Dain Nilsson
c0fb56b628
Use same label for actions and buttons. 2022-04-07 10:06:17 +02:00
Adam Velebil
52123644a7
YADESK-624 refresh on OATH session reset 2022-04-07 08:57:32 +02:00
Adam Velebil
4a0014292d
YADESK-623 update state on password operations 2022-04-07 08:32:11 +02:00
Dain Nilsson
c2d726d8ce
Add SafeArea to AppPage to account for Android UI. 2022-04-06 12:49:18 +02:00
Dain Nilsson
0ccb67fae6
Fix scheduling of newly added OATH accounts. 2022-04-06 11:53:50 +02:00
Dain Nilsson
82db5d9969
OATH: Submit form on enter in "Confirm Password" field. 2022-04-06 11:52:57 +02:00
Dain Nilsson
64629e1c02
Merge PR #87. 2022-04-05 17:22:33 +02:00
Dain Nilsson
8af8f4c995
Remove unused imports. 2022-04-05 17:22:09 +02:00
Dain Nilsson
c4a0ae3bf7
De-duplicate code. 2022-04-05 17:12:11 +02:00
Dain Nilsson
58043545da
OATH code view tweaks. 2022-04-05 16:57:16 +02:00
Adam Velebil
c2b96806a6
revert not needed addition 2022-04-05 16:42:14 +02:00
Dain Nilsson
d174cba94a
FAB fixes. 2022-04-05 16:38:22 +02:00
Adam Velebil
4d30727c79
review updates 2022-04-05 16:11:01 +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
b9729f7b5c
Better error page for FIDO2 disabled (but supported). 2022-04-05 13:56:56 +02:00
Dain Nilsson
c0fe67feb0
Don't redraw entire OATH view on code update. 2022-04-05 13:45:11 +02:00
Adam Velebil
5ce2f53fe6
Merge branch 'main' into fix/android-prealpha 2022-04-05 13:42:30 +02:00