Commit graph

193 commits

Author SHA1 Message Date
Harsh Shandilya
493e869022
Remove support for external storage and raise target SDK to 31 (#1863) 2022-04-21 23:34:14 +05:30
github-actions[bot]
d4798c7f32
autofill-parser: update publicsuffixes file (#1848)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-04-16 00:22:08 +00:00
github-actions[bot]
e50b00cd98
autofill-parser: update publicsuffixes file (#1837)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-04-09 00:22:16 +00:00
github-actions[bot]
19b1908c67
autofill-parser: update publicsuffixes file (#1818)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-04-02 00:23:09 +00:00
Harsh Shandilya
2320201f89
Migrate namespaces to Gradle (#1805)
* ui-compose: update Gradle configuration

* gradle: fix namespace for a couple astray Compose dependencies

* all: switch to Gradle namespace property

Mirrors a similar change from AndroidX dcfa035a96
2022-03-27 12:37:18 +00:00
github-actions[bot]
3a16d77db2
autofill-parser: update publicsuffixes file (#1803)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-03-26 00:21:18 +00:00
github-actions[bot]
cb84128f00
autofill-parser: update publicsuffixes file (#1791)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-03-19 00:22:33 +00:00
Harsh Shandilya
b8756a667c
Cleanup IDE reported lints in autofill-parser and format-common (#1765) 2022-03-05 13:47:48 +00:00
github-actions[bot]
a914d0fe97
autofill-parser: update publicsuffixes file (#1727)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-02-12 00:20:41 +00:00
github-actions[bot]
5e251dd599
autofill-parser: update publicsuffixes file (#1710)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-02-05 00:15:10 +00:00
github-actions[bot]
f23499d17e
autofill-parser: update publicsuffixes file (#1698)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-01-29 00:15:30 +00:00
github-actions[bot]
18bd172dc3
autofill-parser: update publicsuffixes file (#1674)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-01-22 00:17:48 +00:00
Harsh Shandilya
cfceb38ee7
Fix a bunch of Lint warnings and errors (#1655)
* autofill-parser: add missing `@RequiresApi` annotations

* app: remove unused strings and sync with Crowdin

* app: remove unused chip_text_color selector

* app: remove unused capitalization_type_values array

* app: add `PendingIntent.FLAG_IMMUTABLE` flag where required
2022-01-09 19:01:03 +00:00
Harsh Shandilya
86f7e0c87e
Add Mull to autofill supported browsers (#1640) 2022-01-01 15:56:58 +00:00
github-actions[bot]
18af75aebb
autofill-parser: update publicsuffixes file (#1635)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-01-01 00:21:01 +00:00
Harsh Shandilya
e8ac0e4386
Release new version of autofill-parser (#1634) 2021-12-31 05:55:30 +00:00
Harsh Shandilya
a723ded00f
Revert "autofill-parser: remove Bromite from supported browsers (#1423)" (#1632)
This reverts commit 3f20678d79.
2021-12-31 04:03:50 +00:00
github-actions[bot]
be3efbe008
autofill-parser: update publicsuffixes file (#1594)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-12-18 01:09:08 +00:00
github-actions[bot]
6db55551d4
autofill-parser: update publicsuffixes file (#1588)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-12-11 01:36:14 +00:00
Harsh Shandilya
7d39bc0ae2
Miscellaneous build and CI cleanups (#1587) 2021-12-11 00:12:54 +05:30
Harsh Shandilya
208eed4269
Turn on explicit API for Kotlin JVM projects (#1568) 2021-12-03 09:38:33 +00:00
Harsh Shandilya
120dc5fca4
all: switch to new convention plugins 2021-12-03 12:59:57 +05:30
Harsh Shandilya
1ade4eaf64
Cleanup dependency declarations and upgrade to Kotlin 1.6.0 (#1565) 2021-12-02 19:09:54 +00:00
github-actions[bot]
8d59e8255c
autofill-parser: update publicsuffixes file (#1551)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-11-27 04:28:21 +00:00
Harsh Shandilya
0fad4d24b5
build: apply kotlin-common convention plugin where applicable 2021-11-16 00:22:17 +05:30
Harsh Shandilya
1040552dbf
all: spotless 2021-11-15 23:54:11 +05:30
github-actions[bot]
935f8dae5e
autofill-parser: update publicsuffixes file (#1539)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-11-13 02:51:22 +00:00
Harsh Shandilya
6df3ba0083
Upgrade plugin dependencies and fix Javadoc generation (#1517)
* build: upgrade all plugins

* autofill-parser/openpgp-ktx: apply Dokka plugin

* Move repository configuration to settings.gradle.kts

* Replace deprecated lintOptions

* Reorder repositories
2021-10-09 13:13:14 +05:30
(´⌣`ʃƪ)
2cef6a5bb4
Replace Timber with logcat (#1509)
* Replace Timber with logcat (#1505)

* Add extension for asLog which takes a message param

Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-03 14:02:15 +05:30
github-actions[bot]
a6757020a7
autofill-parser: update publicsuffixes file (#1493)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-28 05:07:19 +00:00
Harsh Shandilya
8c56a1d7b8
Update AndroidX deps (#1491) 2021-08-24 16:03:29 +00:00
github-actions[bot]
d59d1770ea
autofill-parser: update publicsuffixes file (#1489)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-21 05:53:48 +00:00
github-actions[bot]
9982562dc4
Update Public Suffix List data (#1485)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-14 00:20:59 +00:00
Harsh Shandilya
a82f8dda86
Disable explicit API for tests (#1483)
* build: disable explicit API for test tasks

* Remove `internal` modifier from test classes
2021-08-13 18:40:34 +05:30
github-actions[bot]
1b54e679b7
Update Public Suffix List data (#1479)
Co-authored-by: GitHub Actions <noreply@github.com>
2021-08-07 10:40:54 +05:30
Harsh Shandilya
1071e0e749
Revamp PSL updates (#1475)
* build: import Mozilla's Gradle plugin for PSL updates

* autofill-parser: add tests for PublicSuffixListLoader

* autofill-parser: regenerate publicsuffixes list

* github: switch to Gradle plugin for PSL updates
2021-07-29 21:23:59 +05:30
Harsh Shandilya
403bb383b5
Upgrade to AGP 7.0.0 (#1474) 2021-07-29 09:54:31 +00:00
github-actions[bot]
003e757b1c
autofill-parser: update publicsuffixes file (#1470)
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-07-24 05:19:18 +00:00
Fabian Meumertzheim
9421fd9872
Don't crash on null Autofill hints (#1469)
Fixes #1468.
2021-07-24 10:30:15 +05:30
Harsh Shandilya
4918e0dbfc
autofill-parser: add Styx as a supported browser (#1431)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-06-07 10:19:58 +00:00
Harsh Shandilya
fbb4dafc1c
gradle: update AndroidX dependencies (#1430)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-04 11:30:30 +05:30
Harsh Shandilya
3f20678d79
autofill-parser: remove Bromite from supported browsers (#1423)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-26 21:03:08 +05:30
Harsh Shandilya
7e2eb2425e
all: reformat with Spotless again
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
859dc008bc
Upgrade Gradle and androidx.annotation (#1407) 2021-05-12 16:11:32 +05:30
Harsh Shandilya
db77ceccad
Fix incorrect changelog entries (#1401) 2021-05-02 22:58:38 +05:30
Harsh Shandilya
f834c754e6
Refactor openpgp-ktx to leverage coroutines (#1398)
* openpgp-ktx: leverage coroutines for async IPC

* Unwind nested dispatchers

* Fix name shadowing warning

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-30 23:22:01 +05:30
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
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
cfbdb5f92a
Update to Gradle 7.0 (#1381) 2021-04-12 12:08:06 +00:00
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
ae392beaeb
Add a changelog for autofill-parser (#1373)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 11:34:58 +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
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
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
91fce4dce7
all: format XML files to 2 space indent
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:40:30 +05:30
Harsh Shandilya
774fda83ac
all: reformat with ktfmt
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:40:30 +05:30
Harsh Shandilya
be31ae37f4
all: update copyrights
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:26:48 +05:30
Fabian Meumertzheim
6206850eb2
Mark Chrome as reliably fillable and saveable (#1338)
* Mark Chrome as reliably fillable and saveable

* Mention Autofill improvements in CHANGELOG
2021-03-04 07:10:21 +00:00
Harsh Shandilya
f7189c0e0a
Update Maven coordinates for library projects (#1313) 2021-02-09 05:33:28 +00:00
Harsh Shandilya
7f4ade8255
Replace JCenter with Maven Central (#1303) 2021-02-06 17:34:17 +05:30
Fabian Meumertzheim
fe29aa0cb0
Mark Chrome Beta as reliably fillable and saveable (#1291)
https://chromereleases.googleblog.com/2021/01/chrome-beta-for-android-update_28.html
2021-01-29 06:14:05 +00:00
Harsh Shandilya
33d3683ae2
Codestyle churn (#1283)
* editorconfig: delete

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

* idea: adjust codestyle

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

* all: reformat with simplified import ordering rules

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-22 22:58:09 +05:30
Fabian Meumertzheim
c15594b045
Mark unfocused single password fields as fillable (#1258)
Unfocused single password fields in forms with no other recognized
fields must be marked as fillable or the Autofill service will no
longer be invoked on that form.

This is compatible with the restrictions of single-origin mode as
filling only takes place after the password field has gained focus and
the user has tapped the fill UI.

For an example website where fill UI is not shown without this commit,
open https://amazon.lbb.de and tab the user name field ("Benutzername")
first before focusing the password field.
2020-12-22 21:13:10 -08:00
Fabian Meumertzheim
a67c2a2f4a
Add German term for username to heuristic keywords (#1259) 2020-12-22 20:58:42 -08:00
Fabian Meumertzheim
5a3395040c
Mark Chrome Dev as non-flaky and able to save (#1250) 2020-12-16 13:07:50 -08:00
Fabian Meumertzheim
2e43d77c5c
Mark Chrome Canary as non-flaky and allowing save (#1237)
* Mark Chrome Canary as non-flaky and allowing save

* autofill-parser: update API dump

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

* autofill-parser: bump snapshot version

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

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 08:48:16 +01:00
github-actions[bot]
f56086cd78
Update Public Suffix List data (#1235) 2020-12-05 07:12:25 +05:30
Harsh Shandilya
99e83ed0d8
autofill-parser: update README
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:17 +05:30
Harsh Shandilya
fa2a93769f
build: move publishing config to buildSrc for re-use
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:18:34 +05:30
github-actions[bot]
0b9d3dc5c2
autofill-parser: update publicsuffixes file (#1220)
Co-authored-by: GitHub Actions <noreply@github.com>
2020-11-28 09:32:11 +05:30
github-actions[bot]
f17bd78398
Update Public Suffix List data (#1214)
Co-authored-by: GitHub Actions <noreply@github.com>
2020-11-21 10:22:29 +05:30
github-actions[bot]
74c0c305a5
autofill-parser: update publicsuffixes file (#1202)
Co-authored-by: GitHub Actions <noreply@github.com>
2020-11-14 09:49:50 +05:30
github-actions[bot]
e54955dd5e
autofill-parser: update publicsuffixes file (#1194)
Co-authored-by: GitHub Actions <noreply@github.com>
2020-11-07 09:41:39 +05:30
Fabian Henneke
73648b39d0
Make autofill-parser API explicit and refactor (#1182) 2020-11-03 13:36:17 +05:30
github-actions[bot]
07b8505fe0
autofill-parser: update publicsuffixes file (#1178)
Co-authored-by: GitHub Actions <noreply@github.com>
2020-10-31 10:04:47 +05:30
github-actions[bot]
e124dcbd59
autofill-parser: update publicsuffixes file (#1173)
Co-authored-by: GitHub Actions <noreply@github.com>
2020-10-24 11:08:53 +05:30
Harsh Shandilya
96787311a0
autofill-parser: add DuckDuckGo's F-Droid signature
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23 11:00:21 +05:30
Harsh Shandilya
ffa061a58a
autofill-parser: add support for multiple signatures for a single package
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23 11:00:20 +05:30
Harsh Shandilya
6c1e41ba10
Revamp build configuration (#1156)
* release: move scripts to scripts directory

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

* Move CI secrets to secrets directory

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

* gradle: uprev to 6.7

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

* gradle: suppress warnings about unsupported options

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

* build: update dependencies

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

* build: move Gradle plugins to ext

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

* build: move configuration tasks to buildSrc

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

* CHANGELOG: add entry for #1137

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

* Fix lint warnings

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-16 17:18:11 +02:00
github-actions[bot]
9a4215e6b1
Update Public Suffix List data (#1145)
Co-authored-by: FabianHenneke <FabianHenneke@users.noreply.github.com>
2020-10-10 09:19:24 +05:30
Harsh Shandilya
0d6b7f1842
autofill-parser: flesh out generated POM file (#1140)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-08 12:36:11 +05:30
Harsh Shandilya
3ddd06679f
Resolve lock contention from lazy delegates (#1135) 2020-10-05 08:29:44 +05:30
github-actions[bot]
8a43160673
Update Public Suffix List data (#1132)
Co-authored-by: FabianHenneke <FabianHenneke@users.noreply.github.com>
2020-10-03 11:51:57 +05:30
Fabian Henneke
eac1c6f1d8
Allow matching password fields based on hints only (#1129)
Filling passwords is usually only offered for fields with a password
input type, which ensures that they are always properly masked. Certain
custom views (e.g., the Termux terminal view), may apply their own
masking that is not based on the standard views.

With this commit, we allow filling passwords into arbitrary fields as
long as they have an Autofill hint that indicates a password.
2020-10-02 15:49:20 +05:30
Fabian Henneke
8f3fd99472
Exit tie breakers early in unique or no match case (#1130)
Tie breakers for Autofill fields should only be evaluated if there is
a need to, in particular not if only a single or no field is matched.

Apart from a potential minor performance improvement, this should not
cause any user-visible changes, but does simplify the log output
considerably.
2020-10-02 15:47:04 +05:30
Harsh Shandilya
1e4a57408e
autofill-parser: check in API dump
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01 14:09:07 +05:30
github-actions[bot]
87d6552018
Update Public Suffix List data (#1121)
Co-authored-by: FabianHenneke <FabianHenneke@users.noreply.github.com>
2020-09-26 11:25:52 +05:30
Harsh Shandilya
dd6a2b5813
autofill-parser: add dependency on AndroidX annotation
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20 21:48:10 +05:30
Harsh Shandilya
9c91cdc34c
autofill-parser: drop use of core-ktx
We use an alpha version of core-ktx that might be undesirable for projects including the library

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20 21:47:22 +05:30
Harsh Shandilya
9ccefe87e8
autofill-parser: add README
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20 17:12:03 +05:30
Harsh Shandilya
e8bc41f1aa
autofill-parser: configure maven-publish plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20 17:12:03 +05:30
Vincent Breitmoser
0810273444
Autofill: Extract AutofillParser into separate subproject (#1101)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-09-16 23:47:55 +05:30