Commit Graph

529 Commits

Author SHA1 Message Date
Dain Nilsson
97d0dd46ce
Fix: Retain counter value scanned from QR. 2023-08-11 14:48:07 +02:00
Dain Nilsson
bdcc33ea61
Handle values >127. 2023-08-11 14:48:07 +02:00
Dennis Fokin
b61791f8e8
Use protobuf 2023-08-11 08:55:38 +02:00
Dennis Fokin
84787c912f
Cleanup 2023-08-08 16:25:31 +02:00
Adam Velebil
c0f927a98e
[android] batch credentials only for NFC 2023-08-03 15:34:36 +02:00
Adam Velebil
f23a38987c
[android] add multiple accounts over nfc 2023-08-03 15:11:47 +02:00
Adam Velebil
392dcf78fc
Merge branch 'main' into rebase/experiment/import-creds 2023-08-03 11:16:45 +02:00
Adam Velebil
4f866a89ab
Merge branch 'main' into adamve/fix/android_bitesize 2023-08-02 16:10:45 +02:00
Adam Velebil
8936a7f04e
Revert "use traffic level for icon pack logging"
This reverts commit a2d503448a.
2023-08-02 16:07:40 +02:00
Dennis Fokin
ed7f99b877
Solve errors 2023-07-27 15:56:04 +02:00
Dennis Fokin
75197726ce
Small cleanup 2023-07-27 14:25:32 +02:00
Dennis Fokin
f4ead734a1
Replace Pair with records 2023-07-27 11:41:43 +02:00
Dennis Fokin
6884b5e3c4
l10n: account already exists 2023-07-27 11:33:32 +02:00
Dennis Fokin
5958ba4e70
Rename file 2023-07-27 11:33:27 +02:00
Dennis Fokin
90bae74e53
Map for keeping track of duplicates 2023-07-27 11:32:22 +02:00
Dennis Fokin
c5cd264f13
Check capacity and if touch is supported 2023-07-27 11:32:17 +02:00
Dennis Fokin
5d0afa3bfb
Small fixup 2023-07-27 11:30:15 +02:00
Dennis Fokin
7d26c4d409
Fixup 2023-07-27 11:30:10 +02:00
Dennis Fokin
a6be6a6006
Change colors 2023-07-27 11:30:05 +02:00
Dennis Fokin
9a27b8f45e
Change padding and marginals 2023-07-27 11:30:00 +02:00
Dennis Fokin
c764eb1ab5
Fix padding 2023-07-27 11:29:55 +02:00
Dennis Fokin
b8182e4b9e
Change Column to Wrap and a fix for issuer 2023-07-27 11:29:49 +02:00
Dennis Fokin
3094e64f78
Smaller changes 2023-07-27 11:29:43 +02:00
Dennis Fokin
e94e5919f1
Added touchRequired option 2023-07-27 11:27:06 +02:00
Dennis Fokin
13fbfe0f94
Added UI and logic 2023-07-27 11:27:01 +02:00
Dennis Fokin
445034151a
Extract more data from the URI 2023-07-27 11:23:29 +02:00
Dennis Fokin
5550ebd7d3
Logging and minor fixes 2023-07-27 11:23:23 +02:00
Dennis Fokin
3804e6d549
First steps of importing creds 2023-07-27 11:23:17 +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
16f6732f09
Convert StateNotifiers to AsyncNotifiers for App states. 2023-07-03 11:36:47 +02:00
Dain Nilsson
fbe3cab253
Revamp OATH key actions and account dialogs. 2023-07-03 11:36:46 +02:00
Adam Velebil
a2d503448a
use traffic level for icon pack logging 2023-05-31 14:57:44 +02:00
Adam Velebil
6eab3e310b
unfocus oath text fields before submit 2023-05-31 14:11:56 +02:00
Dain Nilsson
1af7414ccf
Fix right-click handling. 2023-05-29 16:49:56 +02:00
Adam Velebil
b37cc66b5c
handle font size in RichText widgets 2023-05-24 09:57:12 +02:00
Dain Nilsson
3188dbe668
Merge branch 'deps/flutter-3.10.1' into merge-flutter-3.10 2023-05-23 14:21:31 +02:00
Dain Nilsson
920195ee08
Introduce switch expressions. 2023-05-22 11:52:49 +02:00
Dain Nilsson
0e3d315a50
Replace Pair with records. 2023-05-22 11:20:30 +02:00
Adam Velebil
0282671b28
catch exceptions from copyPath 2023-04-24 09:15:20 +02:00
Evan Anderson
13d0ccc756
icons: Avoid use of rename when installing icon pack
rename does not work across filesystems. /tmp is often in
a tmpfs filesystem, and thus installing the icon pack fails.

Solve this by using a copy/delete pattern instead of rename

Fixes https://github.com/Yubico/yubioath-flutter/issues/1051
2023-04-19 13:23:01 -05:00
Adam Velebil
dfa068619d
Use new URL for Custom Account Icons' Learn more 2023-04-04 09:08:47 +02:00
Dennis Fokin
b100914735
Merge PR #998 2023-03-15 13:14:16 +01:00
Dennis Fokin
6675d0f836
Clean up a11yCredentialLabel function 2023-03-15 10:48:43 +01:00
Adam Velebil
55f2e6ed1a
add explaining comment for Android condition 2023-03-14 17:12:20 +01:00
Adam Velebil
c0772dc9eb
add auto fill hints to secret input fields 2023-03-14 15:24:41 +01:00
Dennis Fokin
5ca2939bcc
a11y: read issuer, name and code when using VO 2023-03-08 16:29:45 +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
863d299805
Externalize enum display names. 2023-03-02 14:49:02 +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
a8c7038bac
Restructure strings for icons. 2023-03-01 09:34:13 +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
1771fc683a
updated year in license headers 2023-02-28 15:25:27 +01:00
Adam Velebil
b63b8f0a2e
revert non-changes 2023-02-28 15:21:22 +01:00
Dain Nilsson
821cdfb118
Update custom icons doc and link. 2023-02-28 15:07:37 +01:00
Adam Velebil
8978298f01
Merge branch 'main' into feature/issuer_icons 2023-02-28 13:39:05 +01:00
Adam Velebil
2f2fca78ff
content validation 2023-02-28 12:09:02 +01:00
Adam Velebil
a4cc159f60
hash icon pack file names 2023-02-27 17:02:30 +01:00
Dain Nilsson
4f0fe0a723
Merge PR #970. 2023-02-27 12:54:58 +01:00
Dain Nilsson
4375f84a52
Avoid calling calculate on deleted/renamed credential from dialog. 2023-02-27 12:01:15 +01:00
Dain Nilsson
274989c22b
OATH cleanups. 2023-02-24 14:19:34 +01:00
Adam Velebil
53b3ba134a
prevent Icon Pack Dialog closing on YK change 2023-02-24 10:59:12 +01:00
Adam Velebil
89409b14b8
support png and jpg formats 2023-02-24 09:54:21 +01:00
Adam Velebil
9abe253a99
change max icon pack size to 5MB 2023-02-24 09:44:53 +01:00
Adam Velebil
d735a03dd5
move space character from resources to code 2023-02-23 16:59:42 +01:00
Adam Velebil
9b39b5c391
use join 2023-02-23 16:38:03 +01:00
Adam Velebil
0469561f26
show Icon Pack import progress 2023-02-23 10:46:33 +01:00
Adam Velebil
1982daa18a
add Learn more content 2023-02-22 16:35:18 +01:00
Adam Velebil
4659cbaa8a
use simpler cache names 2023-02-22 16:21:46 +01:00
Adam Velebil
5bffce7451
fix tap gesture recognizer 2023-02-22 15:47:44 +01:00
Adam Velebil
dfe8b23e58
fix icon dialog style/theming 2023-02-22 15:36:44 +01:00
Adam Velebil
2f71b8e72b
add localization support 2023-02-22 15:23:57 +01:00
Adam Velebil
767c9dde16
update UI for remove icon pack 2023-02-22 14:23:16 +01:00
Adam Velebil
54f816403b
open dialog from OATH menu 2023-02-22 11:42:44 +01:00
Adam Velebil
bfd0f91c14
learn more updates 2023-02-22 11:27:05 +01:00
Adam Velebil
68411efbd8
dialog styling 2023-02-22 10:19:50 +01:00
Adam Velebil
3fde9681d3
replace settings with dialog 2023-02-21 17:52:56 +01:00
Adam Velebil
3dc620855e
use application support and system temp directory 2023-02-21 16:55:49 +01:00
Adam Velebil
a8100dc00f
add icon pack settings to Android 2023-02-21 14:38:25 +01:00
Adam Velebil
0a2fd4010f
add max zip size limit and error descriptions 2023-02-21 14:16:43 +01:00
Adam Velebil
3158165a7e
don't use ArchiveFile.isFile 2023-02-21 14:15:40 +01:00
Adam Velebil
4231c40fde
make search case insensitive 2023-02-21 13:34:39 +01:00
Adam Velebil
201332bdc8
add license text 2023-02-21 13:26:45 +01:00
Adam Velebil
99cf3f18cb
refactor icon pack manager 2023-02-21 13:25:59 +01:00
Adam Velebil
57ad15f491
refactor feature 2023-02-21 11:40:38 +01:00
Adam Velebil
127aacf5c7
ui update 2023-02-20 15:26:59 +01:00
Adam Velebil
836fee3fe9
use hash for cached filenames 2023-02-20 11:23:39 +01:00
Adam Velebil
494e99b36f
import icon pack 2023-02-17 17:35:29 +01:00
Adam Velebil
b8580c0612
compile fix 2023-02-17 15:35:31 +01:00
Adam Velebil
a456d813ac
use icon pack 2023-02-17 15:15:20 +01:00
Dain Nilsson
e804634091
Extract custom Widget. 2023-02-15 08:52:06 +01:00
Dain Nilsson
2d887593bb
Refactor OATH views and actions. 2023-02-13 17:04:49 +01:00
Dain Nilsson
15cdf0d62c
Implement alternative OATH navigation. 2023-02-13 17:04:09 +01:00
Dain Nilsson
9de315f472
Fix focus issue for Ctrl+F, add Ctrl+W to close. 2023-02-13 16:24:28 +01:00
Dain Nilsson
67c717cf13
Fix text style in reset dialogs. 2023-02-07 14:38:23 +01:00
Dain Nilsson
0788d731f3
Theme tweaks. 2023-02-07 14:01:17 +01:00
Dain Nilsson
8f9107de23
Fixup account view theme. 2023-02-07 12:31:21 +01:00
Dain Nilsson
6c842049b6
Set up some base colors for testing. 2023-02-07 12:31:21 +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
Adam Velebil
0d9f69d646
Merge PR #903. 2023-01-13 17:13:31 +01:00
Dain Nilsson
7370f6bc99
Refactor "more actions" dialogs and externalize strings. 2023-01-13 15:11:36 +01:00
Adam Velebil
03b9f2e69c
update integration tests 2023-01-13 15:11:35 +01:00
Dain Nilsson
d5ce976a9a
Experimenting with "More actions" button. 2023-01-13 15:11:07 +01:00
Adam Velebil
b7d494cc77
removed maxLines 2023-01-13 07:58:21 +01:00
Adam Velebil
dc7ce60085
align to center 2023-01-11 11:12:13 +01:00
Adam Velebil
f115a6036a
enable softWrap for oath account dialog fields 2023-01-11 10:37:59 +01:00
Adam Velebil
4a9fa83968
Merge PR #898. 2023-01-10 09:56:31 +01:00
Adam Velebil
fb7ce469ce
add PlatformException extension 2023-01-09 17:22:34 +01:00
Adam Velebil
afc21b9dcf
fix Android provider overrides 2023-01-02 18:02:32 +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
Dain Nilsson
987a87f939
Use case-insensitive sort order for credentials. 2022-11-25 17:14:24 +01:00
Adam Velebil
fe548a5682
treat content longer than maxLength as error 2022-11-22 10:24:11 +01:00
Dennis Fokin
01585400a1
Merge PR #267 2022-10-21 12:32:08 +02:00
Adam Velebil
be26688047
Merge PR #256. 2022-10-21 11:35:23 +02:00
Dennis Fokin
8b0171d43f
Remove filtering from issuer text field 2022-10-21 11:18:54 +02:00
Dennis Fokin
bc9536b6ad
Make sure ':' is not allowed in issuer 2022-10-21 10:31:40 +02:00
Adam Velebil
60a86f26c5
bump packages 2022-10-19 11:15:48 +02:00
Adam Velebil
f9c1c3914e
delay oath progressbar visibility 2022-10-18 11:52:02 +02:00
Adam Velebil
9b05d65d16
prevent Null check operator used on a null value 2022-10-07 14:01:35 +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
Dain Nilsson
b8c18cf2e5
Place shortcut in second line in tooltip. 2022-09-30 11:42:01 +02:00
Dain Nilsson
f7225d326d
Move shortcut to trailing. 2022-09-30 11:18:47 +02:00
Dain Nilsson
33f8bab630
Merge PR #202. 2022-09-30 11:10:19 +02:00
Dain Nilsson
c426f9cdcc
Merge PR #237. 2022-09-30 11:04:14 +02:00
Adam Velebil
8359896ce9
Merge PR #234. 2022-09-30 11:01:23 +02:00
Adam Velebil
56f26627d2
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-30 10:25:39 +02:00
Dain Nilsson
f00840ec7d
Prevent OATH screen from rebuilding on each code change. 2022-09-29 14:31:17 +02:00
Adam Velebil
d3292c4523
support USB keys on Android 2022-09-26 09:40:20 +02:00
Dain Nilsson
2e9a51d720
Migrate to Flutter 3.3.2 2022-09-23 10:42:29 +02:00
Adam Velebil
8af168bf73
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-22 17:00:49 +02:00
Adam Velebil
1d99ce3fe6
handle features dependent on SDK version 2022-09-21 15:29:34 +02:00
Dain Nilsson
c2679dc3ce
Prevent double screen refresh when swapping device. 2022-09-16 12:56:36 +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
c1643dd012
Check for duplicate codes when adding without a key. 2022-09-14 16:40:49 +02:00
Dain Nilsson
5260190287
Adjust padding. 2022-09-14 16:07:35 +02:00
Dain Nilsson
e243ec207e
Add more error handling and unlock. 2022-09-14 16:07:33 +02:00
Dain Nilsson
84f0fe162f
WIP: Add Android happy path. 2022-09-14 16:07:32 +02:00
Dain Nilsson
aa6f8177cd
WIP. 2022-09-14 16:07:29 +02:00
Dain Nilsson
e6d55347cb
Remove double-click from dialog view. 2022-09-13 11:06:42 +02:00
Dain Nilsson
8b83a79215
Prevent dialog open on single click, add double click to dialog view. 2022-09-13 11:06:41 +02:00
Dain Nilsson
eba0cbe3b4
Copy to clipboard on double click of code in list view. 2022-09-13 11:06:38 +02:00
Dain Nilsson
9e4659f531
Add mising files. 2022-09-12 13:01:46 +02:00
Dain Nilsson
f198b47bbf
Refactor Key usage in tests. 2022-09-12 12:58:17 +02:00
Adam Velebil
71f09c7043
Merge 'main' into test/oath-integration-test 2022-09-12 10:56:06 +02:00
Adam Velebil
3b4e23c7d2
Merge PR #211. 2022-09-12 10:53:33 +02:00
Adam Velebil
b35b0d2fe3
no accounts and conditional rename functionality 2022-09-12 10:51:40 +02:00
Adam Velebil
ec232f2c9c
oath test update 2022-09-12 06:34:49 +02:00
Adam Velebil
69228ae482
oath account, andr. settings, andr. beta dlg tests 2022-09-11 11:05:00 +02:00
Dain Nilsson
a02dbec67b
Re-add code accidentally removed in a merge. 2022-09-09 13:34:22 +02:00
Adam Velebil
9e567b348c
minimize changes 2022-09-09 12:55:56 +02:00
Adam Velebil
c7ea6bad53
Merge 'main' into test/oath-integration-test 2022-09-09 12:36:53 +02:00
Adam Velebil
a09692b9ff
more updates to handling of system navigation bar 2022-09-09 10:45:34 +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
0df2889cbf
Adjust margins for buttons in OATH account dialog. 2022-09-08 13:19:20 +02:00
Dain Nilsson
d6c668ac40
Fix color of OATH search bar input. 2022-09-08 13:19:19 +02:00
Dennis Fokin
3290a5c65e
Merge PR #204 2022-09-07 08:28:40 +02:00
Dennis Fokin
6b03ba6628
Smaller fix, introduce dynamic string 2022-09-06 16:43:25 +02:00
Dennis Fokin
c4b070de71
l10n oath part 3 2022-09-06 14:30:18 +02:00
Adam Velebil
8b52c20d16
isUnique=true for null widget.credentials 2022-09-06 13:55:59 +02:00
Dain Nilsson
aa5bd15ff6
Fixup merge with localization. 2022-09-06 09:57:25 +02:00
Dain Nilsson
e88191e4d6
Add missing dispose() method. Clean up comments. 2022-09-06 09:24:26 +02:00
Dain Nilsson
19cb2e49b2
Keep Pinned status when account is renamed. 2022-09-06 09:22:42 +02:00
Dain Nilsson
07f9bab181
Improve Account issuer/name validation and trim values.
This adds the checking for duplicate issuer/name to Add Account, and
changes the error handling to indicate that the Name is incorrect
instead of both Issuer and Name. It also trims both issuer name name to
avoit leading/trailing whitespace.
2022-09-06 09:22:41 +02:00
Adam Velebil
e9f8c434d8
conditions for Save button enabled 2022-09-06 09:18:42 +02:00
Dennis Fokin
7702ff3293
l10n oath part 2 2022-09-05 15:10:44 +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
7a0f0ed8b0
Remove autofocus for Scan QR button. 2022-09-02 12:16:25 +02:00
Dain Nilsson
647954bf03
Fix highlights for OATH account dialog buttons. 2022-09-02 12:16:25 +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
11dded84de
Remove unused import. 2022-09-02 12:16:21 +02:00
Dain Nilsson
f34127980f
Update Chips for M3 changes. 2022-09-02 12:16:17 +02:00
Dennis Fokin
8fded3b869
l10n oath part 1 2022-09-01 15:07:09 +02:00
Dain Nilsson
766f72f24e
Fix OATH code dialog actions padding. 2022-08-31 13:47:17 +02:00
Dain Nilsson
e50fefe7e8
Fix lint warnings. 2022-08-31 09:26:15 +02:00
Adam Velebil
90fcbe028a
use withContextProvider for code copying 2022-08-24 18:03:33 +02:00
Adam Velebil
42c4445a47
simplify code copying 2022-08-24 17:34:54 +02:00
Adam Velebil
7271f76cbf
fix copying of touch-required credential's codes 2022-08-24 16:10:14 +02:00
Dain Nilsson
6be8fb0e9a
OATH: Don't show creds with issuer: "_hidden". 2022-08-12 13:23:37 +02:00
Dain Nilsson
f2cb9de037
Android: Better keyboard "done" actions. 2022-08-12 09:56:12 +02:00
Dain Nilsson
112bc1ee08
Fix account count not being immediately updated. 2022-08-12 09:56:11 +02:00
Adam Velebil
035fbf7545
better Camera permissions handling 2022-08-05 14:04:04 +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
Adam Velebil
466bbb94a1
Update for DeviceButton, remove randomnes 2022-07-21 15:42:47 +02:00
Adam Velebil
3f126a01b3
Merge branch 'main' into test/oath-integration-test 2022-07-21 15:39:18 +02:00
Dain Nilsson
bc5f47d0d7
Test: Fix OATH credential provider. 2022-07-08 09:17:29 +02:00