Fabian Henneke
3afeff45d8
Fix two SMS Autofill crashes ( #985 )
...
SMS OTP Autofill currently crashes for two reasons:
1. Tasks.await has a precondition of not running on the UI thread.
2. Exceptions thrown from Tasks are always wrapped into
ExecutionExceptions and need to be unwrapped before they can be
identified as ResolvableApiException.
This commit addresses both issues by making waitForSms a proper
coroutine using withContext and a custom wrapper around Task<T> that
relies on suspendCoroutine and automatically unwraps exceptions.
2020-07-30 13:59:01 +05:30
Harsh Shandilya
64a6e0f4e9
Properly handle files without passwords ( #969 )
...
* Properly handle files without passwords
Fixes #967
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix tests
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Only look for TOTP URI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit 62dbc183d5
)
2020-07-30 13:49:26 +05:30
Harsh Shandilya
35a8e8b42c
Expand OTP and PasswordEntry tests ( #968 )
...
(cherry picked from commit e3cf73885c
)
2020-07-30 13:49:23 +05:30
Fabian Henneke
8481491994
Add "challenge" and "verification" to OTP heuristic terms ( #984 )
2020-07-30 10:00:35 +02:00
Harsh Shandilya
6ca02eb371
Upgrade to Kotlin 1.4 ( #978 )
...
* build: uprev to Kotlin 1.4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Remove explicit type argument
Not required anymore with Kotlin 1.4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: enable Kotlin 1.4 language features
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: add trailing commas where reasonable
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-07-29 17:10:46 +05:30
Harsh Shandilya
017abd0f61
Add ability to change default branch ( #977 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-29 16:25:49 +05:30
Harsh Shandilya
729fc80255
github: fix derp in PSL update workflow ( #983 )
2020-07-29 13:08:38 +05:30
Harsh Shandilya
ecf96aa066
Fix TOTP import button check semantics ( #982 )
...
* Improve TOTP checking semantics
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix return label
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* update CHANGELOG
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Move updateViewState() call outside with(binding) scope
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-29 09:36:22 +02:00
Harsh Shandilya
a3b6bf954f
PasswordFragment: bring back dividers ( #980 )
2020-07-28 16:19:06 +05:30
Fabian Henneke
a5669c87fd
Disable Autofill compatibility for Firefox ( #976 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-27 13:15:44 +02:00
Fabian Henneke
98a91de716
Fix delete store message formatting ( #975 )
2020-07-27 11:48:01 +05:30
Fabian Henneke
c9a3462372
Add specific warning for short key IDs in .gpg-id ( #974 )
2020-07-27 11:35:35 +05:30
Harsh Shandilya
2b1f101685
Correctly set error on incorrect credentials ( #972 )
2020-07-26 20:11:53 +05:30
Harsh Shandilya
9f8f9d588c
Allow creating nested directories
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 17:08:42 +05:30
Harsh Shandilya
0cc3aac910
CHANGELOG: update
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 17:01:20 +05:30
Harsh Shandilya
94f1907e92
Show parent path on all types
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 16:52:30 +05:30
Harsh Shandilya
8c2a9a91ef
github: upload test reports on failure
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 16:48:03 +05:30
Harsh Shandilya
974bcc6b54
build: update APK cruft exclusion list
...
Generates a fairly decent size difference from the current release build
$ diskus app/build/outputs/apk/free/release/app-free-release.apk
4.31 MB (4,308,992 bytes)
$ diskus ~/APS-free_v1.10.1.apk
4.44 MB (4,444,160 bytes)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-26 16:45:23 +05:30
Harsh Shandilya
62dbc183d5
Properly handle files without passwords ( #969 )
...
* Properly handle files without passwords
Fixes #967
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix tests
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Only look for TOTP URI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-25 14:37:16 +05:30
Harsh Shandilya
e3cf73885c
Expand OTP and PasswordEntry tests ( #968 )
2020-07-24 14:33:55 +05:30
Harsh Shandilya
f256d5f244
Merge remote-tracking branch 'origin/release' into develop
...
* origin/release:
build: prepare next development version
build: bump version
Prepare release 1.10.1
Add CHANGELOG entries for 1.10.1 (#961 )
Wire in fallback key selection flow (#958 )
Fix OpenPgpApi extra type confusion (#960 )
Fix a crash when parsing long key IDs (#959 )
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 23:05:18 +05:30
Harsh Shandilya
a9897af030
README: clarify build types ( #966 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 19:33:10 +02:00
Harsh Shandilya
5c28fe9817
build: prepare next development version
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 22:02:32 +05:30
Harsh Shandilya
4063a429ac
build: bump version
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 22:02:09 +05:30
GitHub Actions
e15a1d2159
Prepare release 1.10.1
2020-07-23 16:30:46 +00:00
Fabian Henneke
f1ad84c34b
Add CHANGELOG entries for 1.10.1 ( #961 )
...
(cherry picked from commit da3ca10de6
)
2020-07-23 21:38:11 +05:30
Harsh Shandilya
1546f862c5
Wire in fallback key selection flow ( #958 )
...
Co-authored-by: Fabian Henneke <fabian@henneke.me>
(cherry picked from commit 084b833fa4
)
2020-07-23 21:38:11 +05:30
Fabian Henneke
859da9d914
Fix OpenPgpApi extra type confusion ( #960 )
...
(cherry picked from commit da167599d2
)
2020-07-23 21:38:10 +05:30
Fabian Henneke
dc3fcbdc8e
Fix a crash when parsing long key IDs ( #959 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit fbd84fde3a
)
2020-07-23 21:38:10 +05:30
Fabian Henneke
da3ca10de6
Add CHANGELOG entries for 1.10.1 ( #961 )
2020-07-23 21:36:36 +05:30
Harsh Shandilya
084b833fa4
Wire in fallback key selection flow ( #958 )
...
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-07-23 21:29:04 +05:30
Fabian Henneke
da167599d2
Fix OpenPgpApi extra type confusion ( #960 )
2020-07-23 19:29:12 +05:30
Fabian Henneke
fbd84fde3a
Fix a crash when parsing long key IDs ( #959 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 17:24:53 +05:30
Fabian Henneke
273d0d555c
Allow Autofill on custom views with Autofill hints ( #946 )
2020-07-23 16:51:14 +05:30
Harsh Shandilya
356a8cd8c6
Migrate to Gradle Kotlin DSL ( #936 )
2020-07-23 14:39:36 +05:30
Harsh Shandilya
cc6f1ad605
build: upgrade all dependencies ( #953 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-23 08:29:35 +02:00
Harsh Shandilya
44846d1bde
github: create release as draft
...
Allows us to verify manually that the generated release is correct before we spam our users with notifications
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22 15:28:04 +05:30
Harsh Shandilya
4c5341834d
build: prepare next development version
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22 15:01:50 +05:30
Harsh Shandilya
6aea2501ba
build: bump version
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22 15:01:50 +05:30
GitHub Actions
f53f769543
Prepare release 1.10.0
2020-07-22 15:01:49 +05:30
Harsh Shandilya
bf4955675a
github: fix paths to binaries
...
Fixes: 9fb492b572
("Deploy both variants to snapshot directory (#914 )")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22 15:01:49 +05:30
Harsh Shandilya
fb5f4e421d
Add pt-BR translations and cleanup resources ( #947 )
2020-07-22 13:37:36 +05:30
Fabian Henneke
511bfb0a9a
Use a more common SSH version string ( #944 )
2020-07-20 13:01:31 +02:00
Fabian Henneke
1c8f6b9886
Add changelog entry for ed25519 support ( #943 )
2020-07-20 08:46:53 +02:00
Fabian Henneke
b9e6385751
Fix Autofill result contract bug ( #941 )
2020-07-19 22:09:41 +05:30
Harsh Shandilya
c7ccc2f4f1
Improve UI when launching with biometric lock ( #940 )
2020-07-19 16:37:18 +05:30
Harsh Shandilya
465d5b867a
Remove type images ( #939 )
...
* Remove type images
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update changelog
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-19 10:25:34 +02:00
Harsh Shandilya
ffb47031b0
Always allow SSH key generation ( #938 )
2020-07-19 10:56:51 +05:30
Harsh Shandilya
d4379a4779
Remove manual key selection and start actually using .gpg-id
( #916 )
...
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-07-16 12:18:38 +05:30
Fabian Henneke
41ecdd7b08
Fix overly large horizontal margins on material switches ( #935 )
...
* Fix overly large horizontal margins on material switches
* Increase icon size for autofill filter view
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-16 07:44:29 +02:00