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
Dain Nilsson
20d66ae924
Let Application pages control their AppBar.
2022-03-25 17:43:57 +01:00
Dain Nilsson
b75d8b998b
Prevent Scaffold from being recreated on resize.
2022-03-25 16:00:08 +01:00
Dain Nilsson
1e94084aad
Add Scaffold to ResponsiveDialog in narrow mode.
...
This prevents SnackBars from showing up behind the modal dim.
2022-03-25 15:46:52 +01:00
Dain Nilsson
4b5ea2fdd7
Add and use showMessage for SnackBars.
2022-03-25 15:43:32 +01:00
Dain Nilsson
f2fb72a753
Add outer Scaffold to center SnackBars in wide view.
2022-03-25 15:13:42 +01:00
Dain Nilsson
4d2d578028
Use "Close" for ResponsiveDialog when no action.
2022-03-25 14:39:35 +01:00
Dain Nilsson
8310875c46
Improve retaining state for children of ResponsiveDialog.
2022-03-25 14:28:02 +01:00
Dain Nilsson
8a0896b12f
Add log buffer and --log-level argument.
2022-03-25 13:28:35 +01:00
Dain Nilsson
6b3bd585ba
Use AsyncValue instead of custom classes.
2022-03-24 12:39:18 +01:00
Dain Nilsson
f9f08892ec
Fix generics.
2022-03-23 22:36:52 +01:00
Dennis Fokin
1b6cec92e0
Draft for drag n dropping files
2022-03-22 15:16:52 +01:00
Dain Nilsson
89c868ecc6
Improve RPC device path stability.
...
This improves "remembering" the active YubiKey, and lets FIDO reset work
with additional keys present.
2022-03-21 10:49:16 +01:00
Dain Nilsson
69165a63c2
Add FIDO reset support.
2022-03-21 09:59:16 +01:00
Dain Nilsson
a864787329
Add isAdmin to RpcState.
2022-03-21 09:59:15 +01:00
Dain Nilsson
6b43fb3799
Show Windows-specific message for inaccessible FIDO keys.
2022-03-21 09:59:14 +01:00
Dain Nilsson
22a4827616
Move enums and add UsbPid.
2022-03-21 09:59:13 +01:00
Adam Velebil
eff800181c
split currentDeviceProvider to desktop and android
2022-03-21 09:34:45 +01:00
Adam Velebil
a41eed2e1d
steam code conversion
2022-03-18 16:16:12 +01:00
Dain Nilsson
a58e8d8bdf
Add cancel button, use LayoutBuilder.
...
* Adds a cancel button to ResponsiveDialog when in dialog mode.
* Use LayoutBuilder instead of MediaQuery.
2022-03-16 09:33:09 +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
e57ebdf1be
Rename SubPage -> Application.
...
Also introduces supportedAppsProvider which can be used to limit the
supported apps per platform.
2022-03-14 11:55:17 +01:00
Dain Nilsson
f3df338018
Improve handling of disabled/unsupported apps.
2022-03-14 10:57:00 +01:00
Dain Nilsson
5b14a19001
Introduce "failed" state for apps.
2022-03-11 13:31:23 +01:00
Dain Nilsson
3566c7b845
Start handling devices that cannot be accessed.
2022-03-11 13:28:47 +01:00
Dain Nilsson
6d9ee9dca5
Fix update of USB descriptor.
2022-03-11 13:28:46 +01:00
Dain Nilsson
48a93c0aa1
Show if applications are enabled or not in the drawer.
2022-03-11 13:28:46 +01:00
Dain Nilsson
d42eb84d04
Add basic management screen.
2022-03-11 13:28:42 +01:00
Adam Velebil
d1ddc5aa12
Merge branch 'main' into feature/android
2022-03-04 17:53:12 +01:00