Commit Graph

310 Commits

Author SHA1 Message Date
Dain Nilsson
45f149d7eb
Fix renaming unnamed fingerprint. 2022-04-04 11:15:38 +02:00
Dain Nilsson
7b12561939
Remove old bottom sheet code. 2022-04-04 10:50:26 +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
41b239684f
Better closing of RPC when elevating. 2022-04-03 19:48:14 +02:00
Dain Nilsson
750f182bab
Update OATH views for new AppPage changes. 2022-04-03 11:06:22 +02:00
Dain Nilsson
1c807dcda7
Update FIDO views for new RPC model and AppPage. 2022-04-03 11:05:37 +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
Dennis Fokin
4c39e793cd
Add account: check length of issuer and name 2022-04-01 15:05:26 +02:00
Adam Velebil
e2ba4dbb3d
use only Widget's BuildContext 2022-04-01 09:43:54 +02:00
Adam Velebil
71d9b5b598
compile fix 2022-04-01 09:19:11 +02:00
Adam Velebil
1a4222a4be
Merge branch 'main' into feature/android-qr 2022-04-01 09:01:11 +02:00
Adam Velebil
6f6a4ef322
updates to qr scanner view 2022-03-31 16:31:03 +02:00
Dain Nilsson
70404d2029
Support spaces in path name for elevate.
- Also log stderr on failure to elevate.
2022-03-31 14:50:42 +02:00
Dain Nilsson
cabdc9effd
Add RPC elevate. 2022-03-31 12:28:56 +02:00
Dain Nilsson
5a13389895
Use OATH code chips. 2022-03-31 12:25:14 +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
Adam Velebil
db62e124ef
semi transparent background 2022-03-29 16:52:51 +02:00
Adam Velebil
31b308e6be
scanning of qr codes 2022-03-29 16:01:27 +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
3c96e5f7a9
Enable Material 3. 2022-03-28 14:59:07 +02:00
Dain Nilsson
1cf9ceab9b
Don't pass DeviceNode when DevicePath is sufficient. 2022-03-28 13:00:13 +02:00
Adam Velebil
03c002eced
fix compile error 2022-03-28 11:08:26 +02:00
Adam Velebil
25e9fc6f40
added dependencies 2022-03-28 10:58:09 +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
53699612f4
Remove empty constructor. 2022-03-25 15:14:36 +01:00
Dain Nilsson
f2fb72a753
Add outer Scaffold to center SnackBars in wide view. 2022-03-25 15:13:42 +01:00
Dain Nilsson
9ace895fd1
Use dialog-button for manage password. 2022-03-25 14:40:45 +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
Adam Velebil
e11ca5b531
Merge PR #71. 2022-03-25 09:15:56 +01:00
Dain Nilsson
4e833d5037
Move initialization of app into platform initialize functions. 2022-03-25 08:36:29 +01:00
Adam Velebil
9547995119
review updates 2022-03-24 17:39:12 +01:00
Dain Nilsson
0ec78278cd
Merge PR #72. 2022-03-24 15:01:18 +01:00
Adam Velebil
41ea3777a8
keep only current access key in mem key provider 2022-03-24 13:53:22 +01:00
Dain Nilsson
5dad90eed7
Cleanups. 2022-03-24 13:15:37 +01:00
Dain Nilsson
37883a1427
Refactor FIDO PIN handling. 2022-03-24 12:39:49 +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
Dain Nilsson
b544ff5e2a
Refactor FIDO PIN handling. 2022-03-23 17:50:49 +01:00
Dain Nilsson
57aa735e78
RPC: Handle retries with Signaller. 2022-03-23 17:50:14 +01:00
Adam Velebil
5b49ee6ce2
adding remember password support 2022-03-23 17:18:32 +01:00
Dain Nilsson
a91ca87af6
Extract more generic FileDropTarget. 2022-03-23 10:46:35 +01:00
Dain Nilsson
b609ca94fa
Add fingerprint registration. 2022-03-23 09:49:20 +01:00
Adam Velebil
cbee4222c0
Merge PR #70. 2022-03-23 09:13:56 +01:00
Dennis Fokin
5331f199c3
Use provider 2022-03-22 18:10:57 +01:00
Dennis Fokin
1b6cec92e0
Draft for drag n dropping files 2022-03-22 15:16:52 +01:00
Dain Nilsson
bcb9d7eaca
Add list, rename, delete for fingerprints. 2022-03-22 14:25:53 +01:00
Adam Velebil
5b039b6edd
Merge PR #66. 2022-03-22 11:32:37 +01:00
Adam Velebil
c9cfb62cac
bump pigeon to 2.0.2, use nullable params in api 2022-03-22 11:07:28 +01:00
Adam Velebil
4e292fbfed
recalculate totp code on add credential 2022-03-21 17:55:42 +01:00
Adam Velebil
e45fdb695d
show CircleTimer for TOTP only creds 2022-03-21 16:25:32 +01:00
Dain Nilsson
5142551b2d
Remove dead code and improve formatting. 2022-03-21 10:49:25 +01:00
Dain Nilsson
930af3a648
Clean up imports. 2022-03-21 10:49:24 +01:00
Dain Nilsson
84af31d363
Log FIDO reset errors. 2022-03-21 10:49:23 +01:00
Dain Nilsson
7ff743c1c7
Prevent black screen on Fido reset where DeviceNode changes. 2022-03-21 10:49:21 +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
b71d17386a
Add FIDO PIN management. 2022-03-21 09:59:15 +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
Adam Velebil
496a5dd287
removed unused import 2022-03-17 11:41:30 +01:00
Adam Velebil
97ff4484bf
removed workaround 2022-03-17 11:39:06 +01:00
Adam Velebil
a9f7a2eef6
Merge branch 'main' into feature/android-native 2022-03-16 11:46:18 +01:00
Adam Velebil
656cc8b33d
remove unused import 2022-03-16 11:09:55 +01:00
Adam Velebil
0e6d63f017
remove unused element 2022-03-16 11:04:38 +01:00
Adam Velebil
bc1d698623
update json format 2022-03-16 10:52:22 +01:00
Adam Velebil
45a5a38c56
set Oath as first app view 2022-03-16 10:51:44 +01:00
Adam Velebil
095025b163
add no-op management session 2022-03-16 10:37:52 +01:00
Adam Velebil
ee37686447
Merge branch 'main' into feature/android-native 2022-03-16 10:37:04 +01:00
Adam Velebil
9f84f4ba7c
remove unused import 2022-03-16 10:02:40 +01:00
Dain Nilsson
0221062fea
Handle cancelled "delete dialog" return value. 2022-03-16 09:33:10 +01:00
Dain Nilsson
3c712fef3a
Use ResponsiveDialog for OATH factory reset. 2022-03-16 09:33:09 +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
21d5e76dcc
Use ResponsiveDialog for 'Delete account'. 2022-03-16 09:33:08 +01:00
Dain Nilsson
c945fb401f
Remove unused parameter. 2022-03-16 09:33:07 +01:00
Dain Nilsson
921190ba40
Introduce responsive dialogs. 2022-03-16 09:33:06 +01:00
Adam Velebil
2c33b75260
simplify showDialog Api 2022-03-16 09:13:31 +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
a48079864c
Cleanups. 2022-03-11 14:20:53 +01:00
Dain Nilsson
44547b44be
Update Android parts. 2022-03-11 13:53:28 +01:00
Dain Nilsson
beb8ebfc4d
Remove commented code. 2022-03-11 13:53:09 +01:00
Dain Nilsson
5b14a19001
Introduce "failed" state for apps. 2022-03-11 13:31:23 +01:00
Dain Nilsson
ea79f5f8ec
Improve handling of deices that are partially inaccessible. 2022-03-11 13:28:48 +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
Adam Velebil
03792bfcef
rename method to avoid dart keyword clash 2022-03-04 17:07:12 +01:00
Adam Velebil
3a03081095
better initialization of api's 2022-03-04 17:01:55 +01:00
Adam Velebil
57e543366a
remove handling of Steam codes 2022-03-04 16:56:45 +01:00
Adam Velebil
fb77b4fe09
fix credential and credential.id usage 2022-03-04 16:54:07 +01:00
Adam Velebil
d2b97dc4e1
updates to logging information 2022-03-04 16:51:56 +01:00
Dain Nilsson
53428eca08
Add split-view for wide windows. 2022-03-04 13:43:41 +01:00
Adam Velebil
b3bb49aee6
update codestyle 2022-03-03 17:24:26 +01:00
Adam Velebil
af593289d1
Initial 2022-03-03 16:43:36 +01:00
Dain Nilsson
42a7a467b3
Change text "Unpin account" 2022-03-03 14:23:51 +01:00
Dain Nilsson
e77163dac2
Use "pinned" instead of "favorite". 2022-03-03 13:55:07 +01:00
Dain Nilsson
df689945a4
Visual tweaks to OATH popup.
- Smaller text, less padding.
- Fix popup position.
2022-03-03 11:20:47 +01:00
Dain Nilsson
06ec0b3887
Add right-click meny to accounts.
This also moves common Account view related code into a reusable Mixin
class.
2022-03-03 10:01:36 +01:00
Dain Nilsson
3931ae86fb
Fix rename credential.
* Update credential in dialog.
* Only show rename button for >= 5.3.
* Don't throw exception in Code lookup for renamed credential.
2022-03-02 15:34:23 +01:00
Dain Nilsson
af27c5ef0f
Better handling of window resizing. 2022-03-02 11:08:07 +01:00
Dain Nilsson
5e9cd7d0d4
Blur background and set max width. 2022-03-02 10:47:00 +01:00
Dain Nilsson
d751c1a345
Make OATH accounts selectable. 2022-03-02 08:23:29 +01:00
Dain Nilsson
4f72e05844
Fix idle state. 2022-02-25 13:29:58 +01:00
Dain Nilsson
12eb2a6b6c
Fix incorrect "idle" state on startup. 2022-02-25 10:35:01 +01:00
Dain Nilsson
e1eed632b9
Update README and add verison number in about. 2022-02-24 15:32:49 +01:00
Dain Nilsson
e1f5879f42
Add placeholders for additional sub pages. 2022-02-24 15:19:57 +01:00
Dain Nilsson
a92dd12818
Fade out too long account names. 2022-02-24 15:19:18 +01:00
Dain Nilsson
4efc8d969e
Don't apply window size on Linux. 2022-02-24 14:35:26 +01:00
Dain Nilsson
298157114e
Store window size in shared preferences. 2022-02-24 14:20:25 +01:00
Dain Nilsson
ee48fa5c23
Lookup ScaffoldMessenger before await. 2022-02-24 12:49:28 +01:00
Dain Nilsson
49b7041b3f
Improve OATH activation via click for HOTP. 2022-02-24 11:34:39 +01:00
Dain Nilsson
829649695c
Prevent triggering copy/calculate on repeated clicks.
This disables the activation of an OATH credential while the snackbar of
a previous such action is shown.
2022-02-24 09:52:42 +01:00
Dain Nilsson
08f4c696e1
Add subtitle to "remember" checkbox. 2022-02-23 12:37:19 +01:00
Dain Nilsson
77142a8d1d
Keychain improvements.
* Add state for failure.
* Once failed/denied, don't ask again.
2022-02-23 12:17:06 +01:00
Dain Nilsson
c3c0d0fcde
Better logging of non-json errors. 2022-02-23 12:17:05 +01:00
Dain Nilsson
4fac11fc1d
Fix counting of devices with same PID. 2022-02-23 12:17:02 +01:00
Dain Nilsson
c048c6f137
Set minimum window width. 2022-02-23 12:07:38 +01:00
Dain Nilsson
affda87841
Fix typos. 2022-02-23 12:07:36 +01:00
Dain Nilsson
2f03d64e3d
Adapt no_device_screen after device type. 2022-02-22 11:41:46 +01:00
Dain Nilsson
0a02d658e6
Use "wifi" icon instead of "nfc". 2022-02-22 11:32:23 +01:00
Dain Nilsson
ab2a63fd2b
Add placeholders in main drawer, move theme and logging to settings. 2022-02-22 11:15:15 +01:00
Dain Nilsson
27176f5c18
Quick stab at some colors. 2022-02-22 10:56:52 +01:00
Dain Nilsson
4b716d311a
Set main green color for more widgets. 2022-02-21 17:07:52 +01:00
Dain Nilsson
06c348cf50
Avoid RPC getting "stuck" on responses that are not valid JSON. 2022-02-21 15:47:37 +01:00
Dain Nilsson
aed03e5fc3
Merge PR #40. 2022-02-21 13:22:38 +01:00
Dain Nilsson
7082e1839b
Use SEVERE instead of WARNING for unparsable log lines. 2022-02-21 13:21:12 +01:00
Dain Nilsson
deec472ee4
Fix inverted 'enabled' and case-sensitive 'algorithm'. 2022-02-21 12:38:13 +01:00
Dain Nilsson
0884a92b84
Use platform-specific logging initialization. 2022-02-21 10:47:34 +01:00
Dain Nilsson
b7f1ec63f4
Move QR scan button to add_account_page, and have it populate the form. 2022-02-11 14:58:17 +01:00
Dain Nilsson
6d62ffb730
Change account trigger behavior.
This is closer to how the existing app behaves.
2022-02-11 11:44:08 +01:00
Dain Nilsson
0e31e4c9ea
Remove debugLabel. 2022-02-11 11:43:57 +01:00
Dain Nilsson
0b17f8b126
OATH focus item order for up/down arrows. 2022-02-11 10:35:31 +01:00
Dain Nilsson
a6ffe45651
Search field: Jump to first result on Enter/Down. 2022-02-11 10:35:30 +01:00
Dain Nilsson
ea5c0ea363
Merge PR #36. 2022-02-11 10:34:10 +01:00
Dain Nilsson
d41a300d48
Add QrScanner via provider. 2022-02-10 15:24:28 +01:00