Commit Graph

397 Commits

Author SHA1 Message Date
Elias Bonnici
a7984a5e4e
Fix duplicate FileDropTarget. 2024-01-19 12:32:42 +01:00
Dain Nilsson
5462ffe6c5
Small UI tweaks. 2024-01-19 12:32:42 +01:00
Dain Nilsson
69b4e02367
Use builder in AppPage for child. 2024-01-19 12:32:41 +01:00
Dain Nilsson
07fb161402
Test of 3 column view. 2024-01-19 12:32:40 +01:00
Elias Bonnici
e0521f931a
Allow drag & dropping icon packs. 2024-01-10 16:06:12 +01:00
Dain Nilsson
73a5e4aa6b
Merge PR #1317. 2024-01-09 16:17:41 +01:00
spaette
da97823d30
typos 2024-01-09 16:16:43 +01:00
Elias Bonnici
ec1459315d
Change subTitle to subtitle and make overlay required. 2024-01-09 13:09:29 +01:00
Elias Bonnici
b5bd831f88
Add custom overlay for OATH QR drag & drop. 2024-01-09 13:09:23 +01:00
Elias Bonnici
25154251a7
Add FileDropTarget to OATH screen. 2024-01-09 13:09:19 +01:00
Dain Nilsson
76e9ceabcf
Add graphics for NFC no/unknown device. 2023-12-22 14:07:56 +01:00
Dain Nilsson
9f067b8f2a
Fix icon colors more. 2023-12-21 13:37:21 +01:00
Dain Nilsson
957e322bdd
Fix icon color in device picker. 2023-12-20 15:55:22 +01:00
Dain Nilsson
62e73a246e
Remove unused graphics. 2023-12-20 15:44:43 +01:00
Rikard Braathen
605a5fb27d
Theme changes 2023-12-20 15:39:27 +01:00
Elias Bonnici
635289499c
Linting fixes. 2023-12-13 19:35:17 +01:00
Elias Bonnici
63bb18b2be
Enhance error handling in OTP. 2023-12-13 13:33:58 +01:00
Elias Bonnici
2e20c2db44
Add OTP application. 2023-12-13 13:33:49 +01:00
Adam Velebil
ce1c1edb77
Merge PR #1293. 2023-12-06 13:29:07 +01:00
Dain Nilsson
896dc6760e
Enlarge keyboard shortcut text. 2023-12-06 13:05:17 +01:00
Adam Velebil
31b6579837
Handle null qrScanner 2023-12-05 16:50:06 +01:00
Adam Velebil
b663ea2774
Merge branch 'main' 2023-11-28 11:30:22 +01:00
Dain Nilsson
40809881b2
Add lint rules for relative imports and order. 2023-11-27 11:41:05 +01:00
Adam Velebil
c53bb5d696
Merge branch 'main' into adamve/test/harvest_boilerplate_integrationtests 2023-11-24 09:09:23 +01:00
Dain Nilsson
a74c8556ac
Fix some deprecations. 2023-11-23 15:39:59 +01:00
Dennis Fokin
1965a675ef
Add USB icon and change title 2023-11-17 09:45:57 +01:00
Adam Velebil
0fdd1188c7
harvest test/boilerplate_integrationtests 2023-11-14 16:44:14 +01:00
Adam Velebil
2e45bbea4f
Merge PR #1231. 2023-10-31 17:07:08 +01:00
Adam Velebil
0647b9583f
preserve connection when paused 2023-10-27 10:10:23 +02:00
Dain Nilsson
b84801c83e
Don't open popup if empty. 2023-10-23 11:13:54 +02:00
Dain Nilsson
75f8f5be35
Add experimental feature flags for OATH and PIV. 2023-10-23 11:11:30 +02:00
Adam Velebil
23cefaa493
Merge branch 'main' into adamve/android_scan_from_file 2023-10-20 16:11:42 +02:00
Adam Velebil
ab35c6ef7d
update code style 2023-10-20 11:38:49 +02:00
Adam Velebil
9dc76a20a9
refactor and add tests 2023-10-20 09:59:31 +02:00
Adam Velebil
184e7a7f2c
Read QR code from file on Android 2023-10-18 15:34:31 +02:00
Dain Nilsson
221ca6ca21
Close Drawer when resized to expanded view. 2023-09-27 15:23:09 +02:00
Adam Velebil
3d01d7867e
wrap only one widget into Material 2023-09-22 11:28:19 +02:00
Adam Velebil
6be42ba0b3
wrap ListTile into Material 2023-09-22 11:01:15 +02:00
Adam Velebil
c67f89ed3f
Android No Key Present item in Drawer 2023-08-30 15:28:44 +02:00
Dain Nilsson
9648a1396c
Use transparent barrier for FsDialogs. 2023-08-18 16:20:31 +02:00
Dain Nilsson
61f05b1ea5
Fix OATH manual entry on Android and improve failure to scan handling. 2023-08-18 11:40:19 +02:00
Dain Nilsson
142babd5d8
Merge PR #1145. 2023-08-18 10:45:27 +02:00
Dain Nilsson
916d9e24db
Minor cleanups. 2023-08-18 09:43:13 +02:00
Adam Velebil
7cbbd054bc
otpauth-migration Android support 2023-08-16 15:27:31 +02:00
Dennis Fokin
96639b970c
Check capacity if state is not null 2023-08-16 14:45:44 +02:00
Dennis Fokin
c82119d726
Refactor code for handling uri 2023-08-16 12:38:29 +02:00
Dennis Fokin
84787c912f
Cleanup 2023-08-08 16:25:31 +02:00
Dain Nilsson
3f3298427c
Add SafeArea to FsDialog. 2023-08-08 15:38:31 +02:00
Dain Nilsson
fd606fa788
Don't show nav rail on phones. 2023-07-05 16:07:11 +02:00
Dain Nilsson
3d330e6d35
Fix NFC reader name overflow. 2023-07-04 14:21:14 +02:00
Dain Nilsson
d49d57abe7
Fix integration tests. 2023-07-04 14:21:13 +02:00
Dain Nilsson
05220e8089
Implement navigation rail with collapsed/expanded views. 2023-07-04 14:21:13 +02:00
Dain Nilsson
52bff18471
Start refactoring actions. 2023-07-04 14:21:09 +02:00
Dain Nilsson
4525198f9b
Refactor ActionItem avatar colors. 2023-07-04 14:21:06 +02:00
Dain Nilsson
4bd322a268
Extract ActionList classes. 2023-07-04 14:21:05 +02:00
Dain Nilsson
efa8f35e05
Add PIV to helper. 2023-07-04 14:21:04 +02:00
Dain Nilsson
d1be87ffd7
Revamp FIDO key actions and fingerprint dialog. 2023-07-03 11:36:48 +02:00
Dain Nilsson
fbe3cab253
Revamp OATH key actions and account dialogs. 2023-07-03 11:36:46 +02:00
Dain Nilsson
920195ee08
Introduce switch expressions. 2023-05-22 11:52:49 +02:00
Dain Nilsson
2b56053c76
Fix deprecations. 2023-05-22 10:29:11 +02:00
Adam Velebil
67fe9489cb
[Android] use different tooltip 2023-03-14 10:20:02 +01:00
Dain Nilsson
69146be242
Merge PR #985. 2023-03-06 10:43:12 +01:00
Adam Velebil
7261d2de63
fix Add account when cam permission not granted 2023-03-03 17:17:29 +01:00
Dain Nilsson
9d008bb0a6
Use TargetPlatform for isDesktop/isAndroid. 2023-03-03 16:30:54 +01:00
Dain Nilsson
7c0814a8e0
Refactor and combine platform specific settings pages. 2023-03-03 16:13:28 +01:00
Dain Nilsson
b33dca3900
Change prefixes and add check_strings.py 2023-03-02 12:45:55 +01:00
Dain Nilsson
ee2b3e5e34
String fixes. 2023-03-02 09:34:01 +01:00
Dain Nilsson
be4dc4d7c3
Re-use AppLocalizations instance. 2023-03-01 08:36:58 +01:00
Dain Nilsson
1d389e3185
Restructure external strings. 2023-03-01 08:36:57 +01:00
Dain Nilsson
6bf231dc7d
Externalize strings. 2023-03-01 08:33:31 +01:00
Adam Velebil
8978298f01
Merge branch 'main' into feature/issuer_icons 2023-02-28 13:39:05 +01:00
Dain Nilsson
1811344ed4
Add notification support. 2023-02-24 14:17:14 +01:00
Adam Velebil
53b3ba134a
prevent Icon Pack Dialog closing on YK change 2023-02-24 10:59:12 +01:00
Dain Nilsson
7254cba50b
Add hotkeys for Settings, device switching. Refactor drawer actions. 2023-02-13 17:02:34 +01:00
Adam Velebil
e71b619c67
Merge PR #955. 2023-02-10 08:43:15 +01:00
Adam Velebil
f6f93134f6
simplify nfc conditions 2023-02-09 10:30:07 +01:00
Adam Velebil
c9045cd811
revert non-changes 2023-02-09 10:14:31 +01:00
Adam Velebil
3bbe942c5c
use MessagePage.actions for Enable NFC button 2023-02-09 10:04:19 +01:00
Adam Velebil
0a19e1cdbe
handle state of Nfc adapter 2023-02-08 17:12:49 +01:00
Dain Nilsson
1ec1aff1b5
Use new NavigationDrawer. 2023-02-07 16:41:08 +01:00
Dain Nilsson
0788d731f3
Theme tweaks. 2023-02-07 14:01:17 +01:00
Dain Nilsson
ca133b5c6c
Fix incorrect theme usages. 2023-02-07 12:31:17 +01:00
Dain Nilsson
b263f82293
Fix deprecation notices and reset styles. 2023-01-26 11:52:01 +01:00
Dain Nilsson
8acfda79ce
Add tooltip to "Configure YubiKey" button. 2023-01-23 11:26:45 +01:00
Adam Velebil
dcd02a04b3
use supportedCapabilities in condition 2023-01-20 15:34:24 +01:00
Adam Velebil
b0f79a334c
handle unrecognized devices 2023-01-20 13:21:30 +01:00
Adam Velebil
03b9f2e69c
update integration tests 2023-01-13 15:11:35 +01:00
Dain Nilsson
9f79cb7973
Tweak title margin. 2023-01-13 15:11:34 +01:00
Dain Nilsson
e91d262793
Extract localization strings in device_picker_dialog. 2023-01-13 15:11:34 +01:00
Dain Nilsson
13b65c150c
Refactor device picker strings. 2023-01-13 15:11:33 +01:00
Dain Nilsson
0b98312c14
Fix name/subtitle for device. 2023-01-13 15:11:29 +01:00
Dain Nilsson
d5ce976a9a
Experimenting with "More actions" button. 2023-01-13 15:11:07 +01:00
Adam Velebil
fb7ce469ce
add PlatformException extension 2023-01-09 17:22:34 +01:00
Dain Nilsson
efe0d1319d
Delay showing CircularProgressIndicators. 2022-12-21 10:04:47 +01:00
Dain Nilsson
230d7a05b7
Handle slow to start Helper better. 2022-12-21 10:04:46 +01:00
Adam Velebil
443fadd11f
bump to riverpod 2.1.1 and fix deprecations 2022-11-30 15:27:32 +01:00
Dain Nilsson
7170e1aa1d
Detect a non-working helper and show it in the UI. 2022-11-25 12:26:22 +01:00
Adam Velebil
c0a478de71
Merge PR #286. 2022-11-08 15:41:58 +01:00
Dain Nilsson
f7ab712e29
Remove unused WidgetRef. 2022-11-08 15:07:31 +01:00
Dain Nilsson
2550afee40
Fix device popup menu from breaking. 2022-11-08 14:58:33 +01:00
Dain Nilsson
b97d17eaf5
Use generic YubiKey image for inaccessible. 2022-11-08 14:57:48 +01:00
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
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
46cefcddba
remove Android Beta dialog 2022-10-07 16:29:43 +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
2e9a51d720
Migrate to Flutter 3.3.2 2022-09-23 10:42:29 +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
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
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
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
902eb6718d
Merge branch 'main' into fix/android-nfc 2022-07-21 17:24:35 +02:00
Dain Nilsson
cb407691e0
Move Chip actions to Popup menu. 2022-07-07 20:31: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
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
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
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
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
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
Dain Nilsson
af92068a75
Enable use_super_parameters lint rule. 2022-05-12 12:05:18 +02:00
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +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
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
Dennis Fokin
5d5673f089
Added sky c nfc image 2022-04-05 12:56:55 +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
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