Commit Graph

598 Commits

Author SHA1 Message Date
Adam Velebil
89d9a64941
regenerate freezed files 2022-07-21 16:38:45 +02:00
Adam Velebil
56da20b442
regenerate pigeon files 2022-07-21 16:38:20 +02:00
Adam Velebil
466bbb94a1
Update for DeviceButton, remove randomnes 2022-07-21 15:42:47 +02:00
Adam Velebil
3f126a01b3
Merge branch 'main' into test/oath-integration-test 2022-07-21 15:39:18 +02:00
Dain Nilsson
bc5f47d0d7
Test: Fix OATH credential provider. 2022-07-08 09:17:29 +02:00
Dain Nilsson
cb407691e0
Move Chip actions to Popup menu. 2022-07-07 20:31:42 +02:00
Dain Nilsson
5605df31fb
Show keyboard shortcut for copy in action name. 2022-07-07 13:45:39 +02:00
Dain Nilsson
c505eb4586
Simplify custom Focus ordering. 2022-07-07 12:41:33 +02:00
Dain Nilsson
315534ecc2
Fix naming. 2022-07-07 11:31:22 +02:00
Dain Nilsson
45e068e2e5
Fix keyboard focus issue in OATH dialog. 2022-07-07 11:30:34 +02:00
Dain Nilsson
beec1224ff
Rebuild freezed classes. 2022-07-07 10:29:42 +02:00
Joakim Troëng
19bb535fda
added all tests relating to OATH options, and a first TOTP test (max
accounts)
2022-07-06 22:50:38 +02:00
Dain Nilsson
f81d2d06bc
Add workaround for device picker losing focus on device change. 2022-07-06 18:06:32 +02:00
Dain Nilsson
38528c81ae
Rename and add comments to utf8 utils. 2022-07-06 15:22:15 +02:00
Dain Nilsson
f4838850e7
Add gradient behind device image in picker. 2022-07-06 15:05:15 +02:00
Dain Nilsson
9a753ffcc9
OATH make sure values get URL-encoded.
Fixes issue with some special characters not working (like ?).
2022-07-06 10:12:30 +02:00
Dain Nilsson
662536140a
Count UTF8 bytes for byte-limited text fields. 2022-07-05 15:30:31 +02:00
Joakim Troëng
b29917de8c
Merge remote-tracking branch 'origin/main' into test/oath-integration-test 2022-07-05 14:58:21 +02:00
Dain Nilsson
7ee5b82906
Improve user interation dialog. 2022-07-05 13:26:43 +02:00
Dain Nilsson
e5db679d0e
Fix toast: Check mounted before removal. 2022-07-05 13:26:12 +02:00
Dain Nilsson
33e986ff7f
Fix device picker for inaccessible device. 2022-07-05 13:25:25 +02:00
Dain Nilsson
827ad19062
Start improving DevicePicker UI.
- Add right-click menu for hide/show NFC readers.
- Put more focus on selected device.
2022-07-05 12:14:10 +02:00
Dain Nilsson
c81faf6ce6
Increase blur. 2022-07-05 12:13:56 +02:00
Dain Nilsson
68a776f23b
Update snackbars and options dialogs.
* Re-implement snackbar to always be floating, always on top.
* Use a dialog for Options instead of bottom sheet.
2022-07-05 12:13:22 +02:00
Dain Nilsson
5742763e1f
Add blur effect. 2022-07-04 12:56:31 +02:00
Dain Nilsson
7f093d97a2
Handle Non-YubiKey NFC devices-
This changes the currentDeviceDataNotifier to use an AsyncValue instead
of a nullable YubiKeyData to allow for error states, and handles such a
state for NFC readers when a non-YubiKey is present.
2022-06-28 19:51:58 +02:00
Adam Velebil
00101b21c7
regenerate pigeons 2022-06-20 14:33:16 +02:00
Adam Velebil
1968804226
use CancellationException 2022-06-20 09:47:34 +02:00
Adam Velebil
0b4b111acd
Merge branch 'main' into fix/android-nfc 2022-06-15 11:07:39 +02:00
Adam Velebil
ba74f1434e
update version to 6.0.0-dev.0 2022-06-15 10:23:15 +02:00
Dennis Fokin
e75793ae30
Make sure the save button is disabled when no usb application is selected 2022-06-14 16:26:35 +02:00
Dain Nilsson
c0674447e9
N attempts -> N attempt(s). 2022-06-13 16:49:53 +02:00
Dain Nilsson
5fa3275ebb
Show better errors. 2022-06-13 16:47:09 +02:00
Dain Nilsson
56a6946164
Correctly handle PC/SC service unavailable. 2022-06-13 15:44:57 +02:00
Adam Velebil
22fde58bd5
fix warning 2022-06-13 10:41:46 +02:00
Adam Velebil
c357522e6a
Merge branch 'main' into fix/android-nfc 2022-06-13 10:32:20 +02:00
Dain Nilsson
69350df53c
Set version. 2022-06-13 08:35:03 +02:00
Dain Nilsson
e5219cd496
Merge PR #149. 2022-06-13 08:22:40 +02:00
Rikard Braathen
7a59db7d63
fix for obscure password on submit 2022-06-13 08:16:09 +02:00
Adam Velebil
58022da3ee
Merge branch 'main' into fix/android-nfc 2022-06-10 17:51:14 +02:00
Dain Nilsson
c091bb5c18
Listen for cahnges to data instead of node to handle NFC correctly. 2022-06-10 16:24:33 +02:00
Dain Nilsson
60ee8c2f1e
Remove unused imports. 2022-06-10 16:08:23 +02:00
Dain Nilsson
e34dbece2d
Fix red screen of death for OATH code dialog when device removed. 2022-06-10 16:02:29 +02:00
Dain Nilsson
141fa419e4
Pop dialogs by default when device changes. 2022-06-10 16:02:07 +02:00
Dain Nilsson
a6f8386852
Add real link to feedback form. 2022-06-10 14:38:41 +02:00
Dain Nilsson
524368d32a
Use CMD on Mac, Ctrl on rest. 2022-06-10 13:55:46 +02:00
Dain Nilsson
6e3c3d2e4c
Use Shortcuts/Intent/Action. 2022-06-10 13:49:02 +02:00
Adam Velebil
7f19b17cdb
fix warnings 2022-06-10 12:26:53 +02:00
Adam Velebil
60e21d60f0
Merge branch 'main' into fix/android-nfc 2022-06-10 12:26:40 +02:00
Adam Velebil
b1425a5285
YADESK-602 android and nfc exception handling 2022-06-10 12:23:52 +02:00
Dain Nilsson
d5c2bbebfa
Re-calculate expired code before copy in dialog. 2022-06-10 11:35:56 +02:00
Dain Nilsson
f845946a2a
Submit OATH Add and Rename dialogs on TextField enter. 2022-06-10 11:35:56 +02:00
Dain Nilsson
5a52083f57
Use CMD as modifier on MacOS instead of CTRL. 2022-06-10 11:35:54 +02:00
Dain Nilsson
25dc138132
Add Keyboard shortcuts.
CTRL+C to (calculate and) copy an OATH code.
CTRL+F to focus and select the search field.
2022-06-10 11:35:53 +02:00
Dain Nilsson
fc803d7815
Close OATH code dialog on delete. 2022-06-10 11:34:39 +02:00
Dain Nilsson
03718b3da1
Add displayName for OathType and HashAlgorithm. 2022-06-10 11:34:36 +02:00
Dain Nilsson
1e183d99c1
Merge PR #146. 2022-06-10 11:29:17 +02:00
Dain Nilsson
0188348af6
Add search icon. 2022-06-10 11:27:46 +02:00
Adam Velebil
55dd6ba27f
YADESK-715 add new credentials to Oath cred list 2022-06-10 09:19:11 +02:00
Adam Velebil
6d5931956c
YADESK-699 correct data in acc dlg after rename 2022-06-10 08:37:31 +02:00
Rikard Braathen
c1cef6ccc3
minimum pin length variable for description 2022-06-09 15:30:27 +02:00
Rikard Braathen
fd851a35a1
added icons to all textfields 2022-06-09 11:23:34 +02:00
Dain Nilsson
776cf12b94
Center max-width scaffold content. 2022-06-09 10:02:32 +02:00
Rikard Braathen
751b972112
fixes for password and pin textinput handling and some changes for the password/pin management dialogs 2022-06-08 16:23:19 +02:00
Rikard Braathen
580e91d195
icons and minor changes for add account 2022-06-08 16:17:46 +02:00
Rikard Braathen
a639b73f8c
set maximum width for content 2022-06-08 16:15:41 +02:00
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
Joakim Troëng
2d231bca99
first stab at testing OATH passwords from password management screen 2022-05-11 21:42:14 +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