Commit graph

1719 commits

Author SHA1 Message Date
Harsh Shandilya
4880e1db27
Upgrade to Kotlin 1.5 (#1397)
* build: upgrade Kotlin to 1.5.0 and Hilt to 2.35.1

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* all: address kotlin.time.seconds deprecation

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* autofill-parser/openpgp-ktx: require Kotlin 1.5

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* all: address string method deprecations

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: disable NewApi lint

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28 10:27:14 +05:30
Harsh Shandilya
d3bc28c1c3
Do not ASCII armor files when encrypting (#1396) 2021-04-25 09:17:40 +00:00
Harsh Shandilya
77d1a616de
build: bump AndroidX Activity, Core, and Fragment (#1394)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-22 00:05:49 +02:00
Harsh Shandilya
a5b6dfc106
Support creating pinned shortcuts directly (#1393)
* CHANGELOG: update for pinning support

* PasswordFragment: support pinning

* PasswordStore: use `PasswordItem#createAuthEnabledIntent`

* PasswordItem: add `createAuthEnabledIntent` API

* DecryptActivity: remove last changed time

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21 18:10:19 +05:30
Harsh Shandilya
6ff01f5e1e
Refactor app shortcut handling (#1392) 2021-04-21 18:07:35 +05:30
Harsh Shandilya
53c3431ef0
Enable StrictMode in debug logging builds (#1391)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21 08:06:47 +00:00
Harsh Shandilya
213778122c
Migrate some tests to Robolectric (#1389)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-19 17:13:12 +05:30
Aditya Wasan
7a532302e3
Use correct time to find TOTP secret (#1387) 2021-04-18 10:08:54 +00:00
Harsh Shandilya
7710ca9024
Remove hand-rolled CoroutineScope and fix inverted conditions (#1386) 2021-04-18 08:45:45 +00:00
Harsh Shandilya
a3ebcfcc62
app: switch to format-common's PasswordEntry
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:22:52 +05:30
Harsh Shandilya
a0fdd6ddc3
app: configure Hilt and desugaring
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:03:17 +05:30
Harsh Shandilya
77abe7ee2c
format-common: initial API for PasswordEntry
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:03:17 +05:30
Harsh Shandilya
931cc052a8
format-common: add baseline module
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30
Harsh Shandilya
d27ba408d8
build: add dependencies for format-common
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30
Harsh Shandilya
a13176a23d
build: enable explicit API automatically on all library projects
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30
Harsh Shandilya
cada2353c1
build: add src/*/kotlin to Java sources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-17 20:33:06 +05:30
Harsh Shandilya
1b0eb304de
buildSrc: update binary-compatibility-validator
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-16 20:42:23 +05:30
Harsh Shandilya
893af65b45
buildSrc: replace dependencies with direct references
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-16 17:02:30 +05:30
Harsh Shandilya
fb7788ba7e
Fix library deployment workflow (#1383) 2021-04-15 14:11:43 +05:30
Harsh Shandilya
cfbdb5f92a
Update to Gradle 7.0 (#1381) 2021-04-12 12:08:06 +00:00
Harsh Shandilya
b7d43f1c96
openpgp-ktx: bump version to v3.0.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10 14:37:42 +05:30
Harsh Shandilya
e6744fa5a9
openpgp-ktx: relicence to Apache 2.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10 13:24:58 +05:30
Harsh Shandilya
7a0add8e9c
autofill-parser: restore LGPL-3.0 and MPL-2.0 licence headers
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10 13:24:54 +05:30
Harsh Shandilya
af9f1fc374
Sync localisations from Crowdin (#1379)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10 11:26:10 +05:30
Harsh Shandilya
fbed718ce0
Update build dependencies (#1376)
* build: update dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* github: bump actions/upload-artifact

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08 09:17:17 +05:30
Harsh Shandilya
023f03a227
Declare and check for camera features (#1375)
* app: set feature requirements

* Don't offer QR import option if no camera is present

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08 04:21:53 +05:30
Harsh Shandilya
e13a54f212
Refactor biometric preference handling (#1374)
Fixes #1371

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 13:53:21 +00:00
Harsh Shandilya
ae392beaeb
Add a changelog for autofill-parser (#1373)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 11:34:58 +05:30
Amogh Lele
7acbf0eda8
Switch to sublime text's fuzzy matching (#1372)
* refactor(search): use sublime text's fuzzy matching algorithm

Signed-off-by: SphericalKat <amolele@gmail.com>

* chore(changelog): update

Signed-off-by: SphericalKat <amolele@gmail.com>

* build: fetch sublime-fuzzy from Maven Central

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* chore(changelog): update

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 11:02:41 +05:30
Fabian Meumertzheim
474770c5e3
Mark non-native Autofill browsers as unsupported on Oreo (#1370)
Android Oreo lacks the Autofill compatibility mode for browsers, which
means that browsers without explicit Android support will not trigger
Autofill events on web sites.
2021-04-06 12:20:24 +05:30
Harsh Shandilya
cf5f0eae3a
Actively discourage use of git protocol (#1368) 2021-04-03 19:51:34 +00:00
Fabian Meumertzheim
c10703db49
Mark Ungoogled and Bromite as non-flaky (#1365)
* Mark Bromite as non-flaky

* Mark Ungoogled as non-flaky
2021-04-01 16:36:24 +00:00
Harsh Shandilya
4c8c0f44c8
Update all dependencies (#1358)
* build: update all dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* autofill-parser: add new hints

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: force the right annotation version manually

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-04-01 05:52:43 +05:30
schiermi
62b514cae4
Minor adjustment of german translation. (#1362)
"Shop" sounds strange, especially in Autofill.
2021-03-30 09:16:55 +05:30
Harsh Shandilya
f5450eb5fd
DecryptActivity: use correct TOTP period (#1359)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-26 22:51:48 +05:30
Fabian Meumertzheim
44d27333a7
Do not cancel keygen biometric prompt on failure (#1357)
Biometric authentication may very well fail a few times due to e.g.
using the wrong finger, but that should not cancel the key generation
flow. The BiometricAuthenticator UI gracefully handles the error case
for us with an informative message.

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-21 08:44:37 +00:00
Harsh Shandilya
db4683e0d6
Inform users that GPG key selection is mandatory (#1355)
* Inform users that GPG key selection is mandatory

Fixes #1342

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* changelog: sync for 1.13.4 release

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* changelog: add GPG key selection improvements

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-21 14:03:51 +05:30
Harsh Shandilya
74122ccbfc
changelog: update for launcher shortcuts fix
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 17:32:54 +05:30
Harsh Shandilya
df17d6140b
Fix launcher shortcut icon rendering
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 17:32:53 +05:30
Harsh Shandilya
940cdd9750
app: remove lingering resource directory
The mapping was fixed on Crowdin but this wasn't deleted manually resulting in build failures

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 17:17:06 +05:30
Harsh Shandilya
42672b599b
strings: sync with crowdin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:18 +05:30
Harsh Shandilya
a87060140f
buildSrc: add removeIncompleteStrings step to Crowdin plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:18 +05:30
Harsh Shandilya
a8216feadc
build: update AGP to 4.1.3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:17 +05:30
Harsh Shandilya
c85a31f885
buildSrc: properly apply ktfmt plugin and reformat
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:17 +05:30
Harsh Shandilya
fbfe7dcb1e
buildSrc: simplify CrowdinDownloadPlugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:11 +05:30
Harsh Shandilya
7f757bed81 app: fix nonFree resources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 12:35:17 +05:30
Harsh Shandilya
2c93600bdf
autofill-parser: opt into ExperimentalUnsignedTypes
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 23:12:50 +05:30
Harsh Shandilya
71a0e02378
build: pin sshauthentication-api to v5.7.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 23:08:43 +05:30
Harsh Shandilya
bc65b59bac
Migrate to sshauthentication-api's JitPack coordinates (#1348)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 09:05:04 +00:00
Harsh Shandilya
9cde249c82
github: run all workflows on Java 11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 12:33:44 +05:30