Commit Graph

185 Commits

Author SHA1 Message Date
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
Dain Nilsson
bfbfc51a00
Use ykman-rpc from Flutter. 2022-02-10 13:47:58 +01:00
Dain Nilsson
3af44ea19d
Make drawer scrollview non-primary.
This prevents an exception when both the main view and drawer is
visible, if both views are scrollable. It does not seem to impact
behavior at all.
2022-02-09 12:34:38 +01:00
Dain Nilsson
939f590b09
Pass in BuildContext to MenuItem.action.
Instead of when constructing the MenuItem itself.
2022-02-09 10:42:08 +01:00
Dain Nilsson
9eda277af9
Replace List<String> with DevicePath for device paths.
This prevents equality checks from treating devices with the same path
as different.
2022-02-08 13:44:35 +01:00
Dain Nilsson
05e82c6bec
Use RPC to remember passwords. 2022-02-08 12:34:48 +01:00
Dain Nilsson
f16f690fe4
Fix regression. Log level not correctly updating. 2022-02-08 12:23:11 +01:00
Dain Nilsson
330d64eba2
Make highlight of device menu button circular. 2022-02-01 16:36:19 +01:00
Dain Nilsson
16b492638f
Clean up device picker and avatar. 2022-02-01 13:30:03 +01:00
Dain Nilsson
6963b69c10
Improve add OATH account.
- Add padding to match Period with Digits.
- Validate secret length on submit.
2022-02-01 08:24:29 +01:00
Dain Nilsson
40335e66da
Refactor common code between add and rename accounts. 2022-01-31 15:48:34 +01:00
Dain Nilsson
a5f73f7d94
OATH: Add advanced options to add dialog. 2022-01-28 17:17:16 +01:00
Dain Nilsson
85458f4f5a
Move desktop-specific implementation into desktop/ 2022-01-27 12:47:17 +01:00
Dain Nilsson
e884a1be3a
Add some comments to clarify code. 2022-01-25 15:00:42 +01:00
Dain Nilsson
a527e71818
OATH rename: Add length validation. 2022-01-25 14:50:00 +01:00
Dain Nilsson
8c139adf84
Add OATH rename dialog. 2022-01-25 12:48:20 +01:00
Dain Nilsson
ccc32903cf
Enable lint check for unawaited_futures. 2022-01-25 12:46:51 +01:00
Dain Nilsson
8160b30aed
Add OATH delete dialog. 2022-01-21 15:45:04 +01:00
Dain Nilsson
ac8cf7a461
Remove leftover logging from debugging. 2022-01-21 11:30:23 +01:00
Dain Nilsson
276005b868
Add OATH reset dialog. 2022-01-21 11:30:14 +01:00
Dain Nilsson
af1a2dad05
Replace socket approach with native Windows mutex. 2022-01-21 11:17:02 +01:00
Dain Nilsson
71b66f53b0
Only enable "single-instance" for Windows. 2022-01-21 11:12:01 +01:00
Dain Nilsson
589b9fecc4
Check for existing instance on startup using sockets. 2022-01-21 11:12:00 +01:00
Dain Nilsson
d7c04f5103
Address review comments. 2022-01-19 11:00:37 +01:00
Dain Nilsson
01a9628b81
Remove unused imports. 2022-01-18 12:32:19 +01:00
Dain Nilsson
7d88c5c6a5
Add basic NFC support. 2022-01-18 12:26:31 +01:00