Commit Graph

407 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
f2cb9de037
Android: Better keyboard "done" actions. 2022-08-12 09:56:12 +02:00
Adam Velebil
035fbf7545
better Camera permissions handling 2022-08-05 14:04:04 +02:00
Adam Velebil
902eb6718d
Merge branch 'main' into fix/android-nfc 2022-07-21 17:24:35 +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
Dain Nilsson
cb407691e0
Move Chip actions to Popup menu. 2022-07-07 20:31:42 +02:00
Dain Nilsson
5605df31fb
Show keyboard shortcut for copy in action name. 2022-07-07 13:45:39 +02:00
Dain Nilsson
c505eb4586
Simplify custom Focus ordering. 2022-07-07 12:41:33 +02:00
Dain Nilsson
45e068e2e5
Fix keyboard focus issue in OATH dialog. 2022-07-07 11:30:34 +02:00
Joakim Troëng
19bb535fda
added all tests relating to OATH options, and a first TOTP test (max
accounts)
2022-07-06 22:50:38 +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
Joakim Troëng
b29917de8c
Merge remote-tracking branch 'origin/main' into test/oath-integration-test 2022-07-05 14:58:21 +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
1968804226
use CancellationException 2022-06-20 09:47:34 +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
Adam Velebil
22fde58bd5
fix warning 2022-06-13 10:41:46 +02:00
Adam Velebil
c357522e6a
Merge branch 'main' into fix/android-nfc 2022-06-13 10:32:20 +02:00
Dain Nilsson
e5219cd496
Merge PR #149. 2022-06-13 08:22:40 +02:00
Rikard Braathen
7a59db7d63
fix for obscure password on submit 2022-06-13 08:16:09 +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
60ee8c2f1e
Remove unused imports. 2022-06-10 16:08:23 +02:00
Dain Nilsson
e34dbece2d
Fix red screen of death for OATH code dialog when device removed. 2022-06-10 16:02:29 +02:00
Dain Nilsson
141fa419e4
Pop dialogs by default when device changes. 2022-06-10 16:02:07 +02:00
Dain Nilsson
6e3c3d2e4c
Use Shortcuts/Intent/Action. 2022-06-10 13:49:02 +02:00
Adam Velebil
7f19b17cdb
fix warnings 2022-06-10 12:26:53 +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
d5c2bbebfa
Re-calculate expired code before copy in dialog. 2022-06-10 11:35:56 +02:00
Dain Nilsson
f845946a2a
Submit OATH Add and Rename dialogs on TextField enter. 2022-06-10 11:35:56 +02:00
Dain Nilsson
5a52083f57
Use CMD as modifier on MacOS instead of CTRL. 2022-06-10 11:35:54 +02:00
Dain Nilsson
25dc138132
Add Keyboard shortcuts.
CTRL+C to (calculate and) copy an OATH code.
CTRL+F to focus and select the search field.
2022-06-10 11:35:53 +02:00
Dain Nilsson
fc803d7815
Close OATH code dialog on delete. 2022-06-10 11:34:39 +02:00
Dain Nilsson
03718b3da1
Add displayName for OathType and HashAlgorithm. 2022-06-10 11:34:36 +02:00
Dain Nilsson
0188348af6
Add search icon. 2022-06-10 11:27:46 +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
Rikard Braathen
580e91d195
icons and minor changes for add account 2022-06-08 16:17:46 +02:00
Dain Nilsson
ef4af0ad52
Add custom NFC icon. 2022-06-05 16:35:10 +02:00
Dain Nilsson
4a4580cd6a
Color tweaks to OATH code dialog. 2022-06-02 17:02:15 +02:00
Dain Nilsson
d016d741a4
Use more consistent styles for lists and adjust alignment. 2022-06-02 14:52:00 +02:00
Dain Nilsson
fbe20b7049
OATH: Version check for touch and algorithm. 2022-06-02 09:07:15 +02:00
Dain Nilsson
a1442e6851
Add missing OATH actions to locked screen. 2022-05-23 11:02:56 +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
b34f38796c
OATH dialog: Use better theme colors. 2022-05-20 15:11:01 +02:00
Dain Nilsson
92d2d422ad
Remove some hardcoded colors and fix light theme. 2022-05-20 15:10:56 +02:00
Dain Nilsson
0fde22f52a
Style OATH code views. 2022-05-20 15:10:56 +02:00
Dain Nilsson
9b589bc1e6
Style OATH account dialog action buttons. 2022-05-20 15:10:54 +02:00
Dain Nilsson
110993bf8a
OATH list: Hide Avatars when narrow, rounded highlight. 2022-05-20 15:10:54 +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
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +02:00
Joakim Troëng
2d231bca99
first stab at testing OATH passwords from password management screen 2022-05-11 21:42:14 +02:00
Dain Nilsson
488b1189ad
Use "standard" log level names. 2022-05-03 11:24:25 +02:00
Adam Velebil
35668a1e18
Merge PR #107. 2022-04-29 10:44:29 +02:00
Dain Nilsson
13ad504808
Remove unused import. 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
Adam Velebil
6d57c3af34
YADESK-663 open QR Scanner directly on Android 2022-04-26 16:05:59 +02:00
Adam Velebil
4bbe996e8e
add account test 2022-04-14 09:08:33 +02:00
Adam Velebil
8734793e5e
Merge branch 'main' into fix/android-a2-2 2022-04-07 13:29:48 +02:00
Adam Velebil
1c80e9ceac
YADESK-632 never calculate in build() on Android 2022-04-07 10:48:59 +02:00
Dain Nilsson
83824b4609
Fix OATH code dialog for narrow screens. 2022-04-07 10:25:28 +02:00
Dain Nilsson
c0fb56b628
Use same label for actions and buttons. 2022-04-07 10:06:17 +02:00
Dain Nilsson
82db5d9969
OATH: Submit form on enter in "Confirm Password" field. 2022-04-06 11:52:57 +02:00
Dain Nilsson
8af8f4c995
Remove unused imports. 2022-04-05 17:22:09 +02:00
Dain Nilsson
c4a0ae3bf7
De-duplicate code. 2022-04-05 17:12:11 +02:00
Dain Nilsson
58043545da
OATH code view tweaks. 2022-04-05 16:57:16 +02:00
Dain Nilsson
d174cba94a
FAB fixes. 2022-04-05 16:38:22 +02:00
Dain Nilsson
daba41bbfd
Animate OATH code view resizes. 2022-04-05 15:23:51 +02:00
Dain Nilsson
ba2e5be021
OATH code view updates.
- Don't show "refresh" for HOTP when code is available.
- Trigger "calculate" on open of account dialog if needed.
2022-04-05 14:53:18 +02:00
Dain Nilsson
c0fe67feb0
Don't redraw entire OATH view on code update. 2022-04-05 13:45:11 +02:00
Dain Nilsson
30605fe7ba
Consistently use outlines icons. 2022-04-05 13:20:22 +02:00
Dain Nilsson
2efbad0501
Show message on OATH add account failure. 2022-04-05 13:02:11 +02:00
Dain Nilsson
d47ac01108
Support QR codes with non-standard period and digits. 2022-04-05 12:28:31 +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
815be808b1
Replace OATH code chip with rounded rectangle. 2022-04-04 19:14:34 +02:00
Dain Nilsson
5991efc2b9
Set opacity for expired OATH codes to 0.5. 2022-04-04 19:11:22 +02:00
Dain Nilsson
64e08f3060
Merge PR #79. 2022-04-04 15:18:00 +02:00
Dennis Fokin
addd28b788
Rename variable and secret is hidden when scanning 2022-04-04 14:57:50 +02:00
Dennis Fokin
6b84c2a6dc
Make sure you can show secret if you scanned 2022-04-04 12:17:14 +02:00
Dennis Fokin
7219ddb9c4
Add hide/show secret 2022-04-04 12:09:34 +02:00
Dain Nilsson
52df600ebf
Code cleanups. 2022-04-04 10:24:29 +02:00
Dain Nilsson
750f182bab
Update OATH views for new AppPage changes. 2022-04-03 11:06:22 +02:00
Dennis Fokin
4c39e793cd
Add account: check length of issuer and name 2022-04-01 15:05:26 +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
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
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
53699612f4
Remove empty constructor. 2022-03-25 15:14:36 +01:00
Dain Nilsson
9ace895fd1
Use dialog-button for manage password. 2022-03-25 14:40:45 +01:00
Dain Nilsson
6b3bd585ba
Use AsyncValue instead of custom classes. 2022-03-24 12:39:18 +01:00
Dain Nilsson
a91ca87af6
Extract more generic FileDropTarget. 2022-03-23 10:46:35 +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
Adam Velebil
e45fdb695d
show CircleTimer for TOTP only creds 2022-03-21 16:25:32 +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