Commit Graph

245 Commits

Author SHA1 Message Date
Elias Bonnici
5fdb34f343
Change various MessagePage views. 2024-01-26 10:36:10 +01:00
Elias Bonnici
3f0600619a
Add capability chips and minor UI changes. 2024-01-24 14:02:04 +01:00
Dain Nilsson
1f29024cf8
Cleanups in code. 2024-01-24 14:02:04 +01:00
Dain Nilsson
7920d53430
Split FidoScreen into multiple screen. 2024-01-24 14:02:03 +01:00
Elias Bonnici
7d9ef5e30c
Add CTA chips to OATH and WebAuthn, and refactor message page. 2024-01-24 14:02:03 +01:00
Elias Bonnici
ffdac2b443
Change AppPage view. 2024-01-24 14:02:02 +01:00
Dain Nilsson
d759b57b4d
Remove individual reset dialogs. 2024-01-24 14:02:02 +01:00
Dain Nilsson
5cfd2f1e83
Fix rebuilding-loop of AppPages when not expanded.
Also fix deselect of FIDO items when resized to non-expanded.
2024-01-23 10:48:22 +01:00
Rikard Braathen
cedd620165
changed colors for text objects, corrected bold fonts, buttons, paddings, dialog overlays and minor fixes here and there 2024-01-19 15:09:14 +01:00
Dain Nilsson
e4d49ea4b4
Refactor Actions to use custom Widgets more. 2024-01-19 12:32:46 +01:00
Dain Nilsson
5d286de0a0
Refactor Intents/Actions.
Big changes to Intents/Actions where we now have an argument for several
of the intents to indicate the target. This allows for handling these
actions on a higher level.
2024-01-19 12:32:46 +01:00
Dain Nilsson
50dd72b83b
Remove child from AppPage (use builder instead). 2024-01-19 12:32:45 +01:00
Dain Nilsson
fa05e72538
Separate "detailed view" from "key actions". 2024-01-19 12:32:45 +01:00
Dain Nilsson
0e709f0085
Fix state of details column. 2024-01-19 12:32:44 +01:00
Dain Nilsson
b50ada490a
Visual tweaks. 2024-01-19 12:32:43 +01:00
Dain Nilsson
72f03e3486
Add 3-column view for and FIDO, OTP. 2024-01-19 12:32:43 +01:00
Dain Nilsson
07fb161402
Test of 3 column view. 2024-01-19 12:32:40 +01:00
Dain Nilsson
a23e533ba5
Fix hide/show icon color. 2023-12-21 14:28:24 +01:00
Rikard Braathen
605a5fb27d
Theme changes 2023-12-20 15:39:27 +01:00
Elias Bonnici
06c33e6205
Remove unnecessary usage of spread operator. 2023-12-20 14:50:28 +01:00
Elias Bonnici
7e384dae2e
Fix margins in FIDO bio enrollment view. 2023-12-20 14:50:26 +01:00
Elias Bonnici
36f0877881
Change FIDO bio enrollment UI. 2023-12-20 14:50:21 +01:00
Elias Bonnici
9fcf468fe5
Add specific error status for FIDO key mismatch. 2023-12-20 14:18:59 +01:00
Elias Bonnici
a08fb71ec6
Add localisation strings for FIDO error messages. 2023-12-20 13:06:17 +01:00
Elias Bonnici
e607d0a1c0
Put AppInputDecoration in separate file. 2023-12-14 17:46:32 +01:00
Elias Bonnici
7ea025f9f0
Add AppInputDecoration to AppTextFormField. 2023-12-14 17:21:46 +01:00
Elias Bonnici
a7f6284dd7
Add missing localizations. 2023-12-14 16:55:57 +01:00
Elias Bonnici
dc5d3ce9dc
Add AppInputDecoration. 2023-12-14 16:38:10 +01:00
Elias Bonnici
8fd753431d
Don't close FIDO reset dialog on done. 2023-12-13 19:36:50 +01:00
Dennis Fokin
be386c4a9e
Progressbar for reseting FIDO 2023-12-13 13:37:10 +01:00
Dennis Fokin
613d05fbb2
Add visibility icon to fields with obscureText 2023-12-13 13:37:06 +01:00
Elias Bonnici
fa92927f13
Add error suffixIcon. 2023-12-13 13:37:02 +01:00
Dain Nilsson
40809881b2
Add lint rules for relative imports and order. 2023-11-27 11:41:05 +01:00
Adam Velebil
f60e5ad756
add AppTextField/AppTextFormField 2023-11-24 11:17:58 +01:00
Adam Velebil
455d0173c4
regenerate freezed and json models 2023-11-15 08:56:52 +01:00
Dennis Fokin
80a4215706
a11y: Fix tooltip for IconButtons 2023-10-27 15:46:23 +02:00
Dain Nilsson
abbd3ae3b6
Add fido flags. 2023-10-23 11:13:51 +02:00
Dain Nilsson
8333f20e04
Handle CTAP2 forcePinChange. 2023-10-20 13:57:17 +02:00
Adam Velebil
acb97f941a
Merge branch 'main' into bump/andorid-deps-20230821 2023-08-21 16:28:53 +02:00
Adam Velebil
cc5c1cd898
fix warning: Don't use 'BuildContext's across async gaps 2023-08-21 15:43:17 +02:00
Dain Nilsson
9648a1396c
Use transparent barrier for FsDialogs. 2023-08-18 16:20:31 +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
9eeb44f3ac
Update FIDO passkeys views. 2023-07-03 11:36:49 +02:00
Dain Nilsson
7011f816d4
More FIDO state refactoring. 2023-07-03 11:36:48 +02:00
Dain Nilsson
d1be87ffd7
Revamp FIDO key actions and fingerprint dialog. 2023-07-03 11:36:48 +02:00
Dain Nilsson
16f6732f09
Convert StateNotifiers to AsyncNotifiers for App states. 2023-07-03 11:36:47 +02:00
Dain Nilsson
920195ee08
Introduce switch expressions. 2023-05-22 11:52:49 +02:00
Adam Velebil
c0772dc9eb
add auto fill hints to secret input fields 2023-03-14 15:24:41 +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
c42a03c9e2
USe parameterized strings for "foo: bar". 2023-03-01 10:30:32 +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
67c717cf13
Fix text style in reset dialogs. 2023-02-07 14:38:23 +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
e7d8567093
FIDO2: Allow PIN management when locked. 2023-01-13 15:11:38 +01:00
Dain Nilsson
7370f6bc99
Refactor "more actions" dialogs and externalize strings. 2023-01-13 15:11:36 +01:00
Dain Nilsson
d5ce976a9a
Experimenting with "More actions" button. 2023-01-13 15:11:07 +01:00
Dain Nilsson
efe0d1319d
Delay showing CircularProgressIndicators. 2022-12-21 10:04:47 +01:00
Dain Nilsson
84210172bd
Re-generate freezed models. 2022-12-05 15:28:01 +01:00
Adam Velebil
60a86f26c5
bump packages 2022-10-19 11:15:48 +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
Dennis Fokin
3f997aff42
Small fix context 2022-09-12 16:14:58 +02:00
Dennis Fokin
bd4990bd00
Small fix 2022-09-12 15:49:32 +02:00
Dennis Fokin
b2389f2bee
l10n fido part 2 2022-09-12 15:46:43 +02:00
Dennis Fokin
fe8349f203
Fix conflicts 2022-09-09 10:15:39 +02:00
Dennis Fokin
32527e9384
l10n fido part 1 2022-09-09 10:07:46 +02:00
Dain Nilsson
4b8b481418
Remove padding from ResponsiveDialog and move it to each view. 2022-09-08 13:19:22 +02:00
Dain Nilsson
f9067d9bdd
More work on integrating M3 Chips in the UI. 2022-09-02 12:16:23 +02:00
Dain Nilsson
53b1254145
More consistent use of ElevatedButton. 2022-09-02 12:16:22 +02:00
Dain Nilsson
1a2b43a87d
Show number of fingerprints used in popup menu. 2022-08-12 13:08:31 +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
38528c81ae
Rename and add comments to utf8 utils. 2022-07-06 15:22:15 +02:00
Dain Nilsson
662536140a
Count UTF8 bytes for byte-limited text fields. 2022-07-05 15:30:31 +02:00
Dain Nilsson
5742763e1f
Add blur effect. 2022-07-04 12:56:31 +02:00
Dain Nilsson
c0674447e9
N attempts -> N attempt(s). 2022-06-13 16:49:53 +02:00
Dain Nilsson
5fa3275ebb
Show better errors. 2022-06-13 16:47:09 +02:00
Dain Nilsson
60ee8c2f1e
Remove unused imports. 2022-06-10 16:08:23 +02:00
Dain Nilsson
141fa419e4
Pop dialogs by default when device changes. 2022-06-10 16:02:07 +02:00
Dain Nilsson
1e183d99c1
Merge PR #146. 2022-06-10 11:29:17 +02:00
Rikard Braathen
c1cef6ccc3
minimum pin length variable for description 2022-06-09 15:30:27 +02:00
Rikard Braathen
fd851a35a1
added icons to all textfields 2022-06-09 11:23:34 +02:00
Rikard Braathen
751b972112
fixes for password and pin textinput handling and some changes for the password/pin management dialogs 2022-06-08 16:23:19 +02:00
Dain Nilsson
ad8a7aca1c
Don't highlight "Set PIN" for non-bio. 2022-06-07 14:09:41 +02:00
Dain Nilsson
b4b676319a
Improve behavior for FIDO when credMan isn't supported. 2022-06-07 13:54:09 +02:00
Dain Nilsson
d016d741a4
Use more consistent styles for lists and adjust alignment. 2022-06-02 14:52:00 +02:00
Dain Nilsson
92ff8b7ac1
Add OathState.version and rebuild models. 2022-06-02 09:07:15 +02:00
Dain Nilsson
3e9338395a
FIDO: Show loading-spinner until all data is ready. 2022-06-02 09:07:14 +02:00
Dain Nilsson
7dbdc03f39
Fix fingerprint status not always updating. 2022-05-23 10:59:51 +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
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
dd52672f0f
Add graphics to pages. 2022-05-20 15:10:53 +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
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
Dain Nilsson
488b1189ad
Use "standard" log level names. 2022-05-03 11:24:25 +02:00
Dain Nilsson
39c7252ea1
Submit fingerprint renmae form on enter. 2022-04-07 10:06:18 +02:00
Dain Nilsson
c0fb56b628
Use same label for actions and buttons. 2022-04-07 10:06:17 +02:00
Dain Nilsson
d174cba94a
FAB fixes. 2022-04-05 16:38:22 +02:00
Dain Nilsson
b9729f7b5c
Better error page for FIDO2 disabled (but supported). 2022-04-05 13:56:56 +02:00
Dain Nilsson
30605fe7ba
Consistently use outlines icons. 2022-04-05 13:20:22 +02:00
Dain Nilsson
3c5ee5adc2
FIDO "password" -> "PIN". 2022-04-05 12:28:00 +02:00
Dain Nilsson
3d21511e56
Remove dead code. 2022-04-05 11:54:19 +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
7195a26f76
Various UI tweaks. 2022-04-04 19:59:49 +02:00
Dain Nilsson
2909df92d7
Remove old commented code. 2022-04-04 11:59:15 +02:00
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
a19d7e4899
Show better message when no key is inserted. 2022-04-04 09:56:34 +02:00
Dain Nilsson
1c807dcda7
Update FIDO views for new RPC model and AppPage. 2022-04-03 11:05:37 +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
1cf9ceab9b
Don't pass DeviceNode when DevicePath is sufficient. 2022-03-28 13:00:13 +02:00
Dain Nilsson
20d66ae924
Let Application pages control their AppBar. 2022-03-25 17:43:57 +01:00
Dain Nilsson
4b5ea2fdd7
Add and use showMessage for SnackBars. 2022-03-25 15:43:32 +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
b609ca94fa
Add fingerprint registration. 2022-03-23 09:49:20 +01:00
Dain Nilsson
bcb9d7eaca
Add list, rename, delete for fingerprints. 2022-03-22 14:25:53 +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
aecd406bad
Add base for FIDO support. 2022-03-15 17:26:14 +01:00