Commit Graph

311 Commits

Author SHA1 Message Date
Adam Velebil
80fdb03b34
simplify work with hasCamera 2022-11-08 14:06:27 +01:00
Adam Velebil
5ad830f191
Make camera optional on Android 2022-11-08 11:50:36 +01:00
Adam Velebil
22eff408c4
add no-key image to desktop as well 2022-11-07 15:44:35 +01:00
Adam Velebil
a743409093
add no-key for light and dark themes 2022-11-07 15:35:37 +01:00
Adam Velebil
93dfa7bf47
review updates 2022-10-25 09:25:13 +02:00
Adam Velebil
d203a6a00f
refactor with updated urls 2022-10-24 14:18:31 +02:00
Adam Velebil
51b90c89b5
use generic image for 'YubiKey FIDO' keys 2022-10-20 12:20:18 +02:00
Adam Velebil
a99a110456
exclude NFC supported capabs if none exist 2022-10-19 15:54:55 +02:00
Adam Velebil
78c83f2e95
choose correct image on Android 2022-10-19 15:31:38 +02:00
Adam Velebil
60a86f26c5
bump packages 2022-10-19 11:15:48 +02:00
Adam Velebil
46cefcddba
remove Android Beta dialog 2022-10-07 16:29:43 +02:00
Adam Velebil
cfe1c79fe3
Merge PR #245. 2022-10-06 13:51:13 +02:00
Adam Velebil
88fead73b2
Revert "Add workaround for rendering issue on Android."
This reverts commit 885fe439b6.
2022-10-06 08:15:12 +02:00
Adam Velebil
4b5b090d41
remove license from generated files 2022-10-04 16:30:19 +02:00
Adam Velebil
f472097a9f
license notice update in source files 2022-10-04 12:12:54 +02:00
Adam Velebil
ae8af99a39
improved Key variable structure 2022-10-03 15:39:57 +02:00
Adam Velebil
09f2199a28
add otp tests 2022-10-03 15:34:06 +02:00
Dain Nilsson
f7225d326d
Move shortcut to trailing. 2022-09-30 11:18:47 +02:00
Adam Velebil
56f26627d2
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-30 10:25:39 +02:00
Dain Nilsson
885fe439b6
Add workaround for rendering issue on Android. 2022-09-23 15:44:41 +02:00
Dain Nilsson
2e9a51d720
Migrate to Flutter 3.3.2 2022-09-23 10:42:29 +02:00
Adam Velebil
a43bacc073
theme preferences tests 2022-09-23 10:17:28 +02:00
Adam Velebil
8a7ba46a48
match supported themes by name string 2022-09-22 17:48:06 +02:00
Adam Velebil
1d99ce3fe6
handle features dependent on SDK version 2022-09-21 15:29:34 +02:00
Adam Velebil
00734ab610
handle user cancellation 2022-09-15 18:09:46 +02:00
Dain Nilsson
0307cc100a
Remove unused import. 2022-09-15 11:52:32 +02:00
Dain Nilsson
5f0b752cf0
Scan QR code and pass result to Add Account dialog on Android. 2022-09-15 11:47:39 +02:00
Dain Nilsson
19621de7f3
Make "Add account" button a bit more subtle. 2022-09-14 16:07:34 +02:00
Dain Nilsson
65cf3e1b76
Show "Add account" button on Android only. 2022-09-14 16:07:33 +02:00
Dain Nilsson
aa6f8177cd
WIP. 2022-09-14 16:07:29 +02:00
Adam Velebil
fa37316b52
update beta dialog code to follow common pattern 2022-09-14 12:03:36 +02:00
Adam Velebil
eb1f67e4fb
update tests, make them pass on Neo with delays 2022-09-13 17:13:06 +02:00
Adam Velebil
4f2a9e5a41
get device info + YubiKey protection by SN 2022-09-12 16:00:08 +02:00
Dain Nilsson
8d181dc3e1
Adjust some margins to adapt to old VS new style Android bottom bar. 2022-09-09 16:41:14 +02:00
Adam Velebil
e63dd36a02
add padding to scroll list 2022-09-09 11:24:33 +02:00
Adam Velebil
a09692b9ff
more updates to handling of system navigation bar 2022-09-09 10:45:34 +02:00
Adam Velebil
cec222ef84
styling android system navigation bar 2022-09-08 18:34:47 +02:00
Dain Nilsson
7e3a6205ce
Move "allow screenshots" to Troubleshooting, show warning. 2022-09-08 13:34:45 +02:00
Adam Velebil
98dc195184
Merge PR #186. 2022-09-05 14:53:20 +02:00
Dain Nilsson
dd42258298
Downgrade Flutter.
This is a temporary measure until Flutter 3.3 fixes its rendering
problems. This should later be reverted.
2022-09-02 14:48:59 +02:00
Dain Nilsson
53b1254145
More consistent use of ElevatedButton. 2022-09-02 12:16:22 +02:00
Adam Velebil
7ebde97abb
Merge 'main' into fix/YADESK-788-SKY-over-USB 2022-09-01 09:07:50 +02:00
Dain Nilsson
63765ac5ad
Fix appbar layout. 2022-08-31 08:48:36 +02:00
Adam Velebil
b2e7eece82
fix compile error 2022-08-25 13:59:03 +02:00
Adam Velebil
c32ab802ea
get SKY info from usbDevice 2022-08-25 13:54:34 +02:00
Dain Nilsson
8e08a72462
Refactor DialogManager and its usage in useOathSession. 2022-08-17 15:51:07 +02:00
Dain Nilsson
0ddc3381de
Remove unused import. 2022-08-12 10:00:10 +02:00
Dain Nilsson
9cc66db682
Add logo in drawer. 2022-08-12 09:56:10 +02:00
Dain Nilsson
6bad16315c
Android: Disable device picker, don't show NFC badge. 2022-08-12 09:56:09 +02:00
Adam Velebil
527d7129b4
remove not needed code 2022-08-09 08:52:14 +02:00
Adam Velebil
2cca27adf1
improved error messages 2022-08-04 08:24:12 +02:00
Adam Velebil
ff23ed9a53
implement yubiclip fnc, add Android settings 2022-08-03 15:21:39 +02:00
Dennis Fokin
b60b011209
Smaller fixes 2022-08-01 14:45:05 +02:00
Dennis Fokin
cefe002f78
Merge branch 'main' into feature/l10n 2022-07-27 12:06:35 +02:00
Dennis Fokin
fbb8bde5fc
Localization: first steps 2022-07-27 12:00:31 +02:00
Adam Velebil
0b68676371
Merge branch 'main' into fix/android-nfc 2022-07-22 10:32:30 +02:00
Adam Velebil
902eb6718d
Merge branch 'main' into fix/android-nfc 2022-07-21 17:24:35 +02:00
Adam Velebil
89d9a64941
regenerate freezed files 2022-07-21 16:38:45 +02:00
Dain Nilsson
cb407691e0
Move Chip actions to Popup menu. 2022-07-07 20:31:42 +02:00
Dain Nilsson
beec1224ff
Rebuild freezed classes. 2022-07-07 10:29:42 +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
f4838850e7
Add gradient behind device image in picker. 2022-07-06 15:05:15 +02:00
Dain Nilsson
7ee5b82906
Improve user interation dialog. 2022-07-05 13:26:43 +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
0b4b111acd
Merge branch 'main' into fix/android-nfc 2022-06-15 11:07:39 +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
c357522e6a
Merge branch 'main' into fix/android-nfc 2022-06-13 10:32:20 +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
141fa419e4
Pop dialogs by default when device changes. 2022-06-10 16:02:07 +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
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
1e183d99c1
Merge PR #146. 2022-06-10 11:29:17 +02:00
Dain Nilsson
776cf12b94
Center max-width scaffold content. 2022-06-09 10:02:32 +02:00
Rikard Braathen
a639b73f8c
set maximum width for content 2022-06-08 16:15:41 +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
b4b676319a
Improve behavior for FIDO when credMan isn't supported. 2022-06-07 13:54:09 +02:00
Dain Nilsson
ef4af0ad52
Add custom NFC icon. 2022-06-05 16:35:10 +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
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
Dain Nilsson
627e6bdadd
Add timestamp to log entries. 2022-06-02 09:07:17 +02:00
Dain Nilsson
92ff8b7ac1
Add OathState.version and rebuild models. 2022-06-02 09:07:15 +02:00
Dain Nilsson
34438d8cca
Decouple separator from "Toggle applications". 2022-05-24 09:01:19 +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
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
f159cf45cc
Add no permission graphic. 2022-05-20 15:11:00 +02:00
Dain Nilsson
92d2d422ad
Remove some hardcoded colors and fix light theme. 2022-05-20 15:10:56 +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
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
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
89d632390a
implemented getLogs on Android 2022-05-11 15:47:35 +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
10f46ec478
Refactor logging and add LogWarningOverlay. 2022-05-02 11:25:34 +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
6ced805552
Add some doc comments. 2022-04-29 09:38:07 +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
00103fb680
replace MediaQuery.of 2022-04-27 13:09:55 +02:00
Adam Velebil
d8e6660161
YADESK-618 workaround for android 2022-04-27 10:36:00 +02:00
Dain Nilsson
c2d726d8ce
Add SafeArea to AppPage to account for Android UI. 2022-04-06 12:49:18 +02:00
Dain Nilsson
64629e1c02
Merge PR #87. 2022-04-05 17:22:33 +02:00
Adam Velebil
c2b96806a6
revert not needed addition 2022-04-05 16:42:14 +02:00
Adam Velebil
4d30727c79
review updates 2022-04-05 16:11:01 +02:00
Adam Velebil
5ce2f53fe6
Merge branch 'main' into fix/android-prealpha 2022-04-05 13:42:30 +02:00
Dennis Fokin
5d5673f089
Added sky c nfc image 2022-04-05 12:56:55 +02:00
Adam Velebil
d8916161f6
Merge branch 'main' into fix/android-prealpha 2022-04-05 12:51:41 +02:00
Dain Nilsson
479b9bc9c1
Remove app placeholders. 2022-04-05 12:41:35 +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
Adam Velebil
f6941eee85
add SafeArea to BottomMenu 2022-04-05 11:28:51 +02:00
Dain Nilsson
7195a26f76
Various UI tweaks. 2022-04-04 19:59:49 +02:00
Dain Nilsson
64e08f3060
Merge PR #79. 2022-04-04 15:18:00 +02:00
Dain Nilsson
52df600ebf
Code cleanups. 2022-04-04 10:24:29 +02:00
Dain Nilsson
a19d7e4899
Show better message when no key is inserted. 2022-04-04 09:56:34 +02:00
Dain Nilsson
40d616c8bd
AppPage improvements.
- Make AppPage content scrollable.
- Add optional FAB (with extra padding for FAB).
- Add bottomMenu.
2022-04-03 11:03:03 +02:00
Dain Nilsson
cabdc9effd
Add RPC elevate. 2022-03-31 12:28:56 +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
Dain Nilsson
eb13da003f
Make ListTile use the drawer style when drawer is embedded. 2022-03-29 17:35:04 +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