Commit graph

165 commits

Author SHA1 Message Date
Harsh Shandilya
df764932f7
Migrate to Metalava for validating API (#2195) 2022-10-21 06:32:23 +00:00
Harsh Shandilya
628b56120f
Update Public Suffix List data (#2186)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-10-17 00:22:42 +00:00
Harsh Shandilya
6f514e456f
Update Public Suffix List data (#2171)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-10-10 00:15:48 +00:00
Harsh Shandilya
9df9936551
fix(autofill-parser): reformat top-level comment 2022-10-07 19:26:10 +05:30
Harsh Shandilya
16b9c1330d
feat(autofill-parser): add Vivaldi as an Autofill browser
Fixes #2165
2022-10-07 19:24:16 +05:30
Harsh Shandilya
a34dfc9c48
Update Public Suffix List data (#2158)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-10-03 00:19:03 +00:00
Harsh Shandilya
11c2fe8bb7
Update Public Suffix List data (#2148)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-09-26 00:19:18 +00:00
Harsh Shandilya
a828846345
Upgrade ktfmt and setup automatic updates (#2103) 2022-09-02 16:34:02 +00:00
github-actions[bot]
4d25080292
Update Public Suffix List data (#2092)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-08-27 00:25:16 +00:00
github-actions[bot]
2ac309ba49
Update Public Suffix List data (#2059)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-08-13 00:27:56 +00:00
github-actions[bot]
c6b29369e6
Update Public Suffix List data (#2050)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-08-06 00:26:59 +00:00
Harsh Shandilya
6d0bff144c
Begin cleaning up Detekt warnings (#2027) 2022-07-22 21:45:29 +00:00
Harsh Shandilya
ade73fd5bc
Compile against SDK 33 (#2023)
* Compile against SDK 33

* autofill-parser: fix warnings for SDK 33 upgrade

* app: fix warnings for SDK 33 upgrade

* Mark all clipboard content as sensitive from crypto activities

* Skip Snackbar on Android 13 and above

* detekt: raise `TooManyFunctions` limit to 15
2022-07-20 01:29:12 +05:30
github-actions[bot]
384855b11c
Update Public Suffix List data (#1980)
autofill-parser: update publicsuffixes file

Co-authored-by: GitHub Actions <noreply@github.com>
2022-07-02 00:25:56 +00:00
Harsh Shandilya
816e1a8219
Bump autofill-parser changelog to 1.1.1 2022-06-20 14:56:59 +05:30
Harsh Shandilya
ac335bfaf3
autofill-parser: bump version 2022-06-20 14:32:14 +05:30
Harsh Shandilya
fbd326fa48
autofill-parser: add missing <queries> tag 2022-06-12 17:24:00 +05:30
Harsh Shandilya
426fc924fb
Upgrade ktfmt (#1942)
* build-logic: upgrade ktfmt

* all: reformat
2022-06-09 13:51:29 +05:30
Harsh Shandilya
184391599b
Fix ClipboardService crash (#1928)
* Fix clipboard service crash on API 31

* all: use ints directly for SDK version checks

I much prefer it this way
2022-05-27 20:18:39 +00:00
github-actions[bot]
840cc8582b
autofill-parser: update publicsuffixes file (#1914)
Co-authored-by: GitHub Actions <noreply@github.com>
2022-05-14 00:28:03 +00:00
Harsh Shandilya
41213da780
Upgrade to ktfmt 0.37 (#1897) 2022-05-05 03:17:15 +00:00
Harsh Shandilya
aaf6ceb8ec
all: reformat with ktfmt 0.36 2022-04-25 10:47:02 +05:30
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