aboutsummaryrefslogtreecommitdiff
path: root/autofill-parser/src/main/java
AgeCommit message (Collapse)Author
2022-09-02Upgrade ktfmt and setup automatic updates (#2103)Harsh Shandilya
2022-07-22Begin cleaning up Detekt warnings (#2027)Harsh Shandilya
2022-07-20Compile against SDK 33 (#2023)Harsh Shandilya
* 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-06-09Upgrade ktfmt (#1942)Harsh Shandilya
* build-logic: upgrade ktfmt * all: reformat
2022-05-27Fix ClipboardService crash (#1928)Harsh Shandilya
* Fix clipboard service crash on API 31 * all: use ints directly for SDK version checks I much prefer it this way
2022-05-05Upgrade to ktfmt 0.37 (#1897)Harsh Shandilya
2022-04-25all: reformat with ktfmt 0.36Harsh Shandilya
2022-04-21Remove support for external storage and raise target SDK to 31 (#1863)Harsh Shandilya
2022-03-05Cleanup IDE reported lints in autofill-parser and format-common (#1765)Harsh Shandilya
2022-01-09Fix a bunch of Lint warnings and errors (#1655)Harsh Shandilya
* 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-01Add Mull to autofill supported browsers (#1640)Harsh Shandilya
2021-12-31Revert "autofill-parser: remove Bromite from supported browsers (#1423)" (#1632)Harsh Shandilya
This reverts commit 3f20678d799e15e21d1b7f013bc3672270f0d20f.
2021-11-15all: spotlessHarsh Shandilya
2021-10-03Replace 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-08-24Update AndroidX deps (#1491)Harsh Shandilya
2021-07-29Revamp PSL updates (#1475)Harsh Shandilya
* 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-24Don't crash on null Autofill hints (#1469)Fabian Meumertzheim
Fixes #1468.
2021-06-07autofill-parser: add Styx as a supported browser (#1431)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-06-04gradle: update AndroidX dependencies (#1430)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-26autofill-parser: remove Bromite from supported browsers (#1423)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15all: reformat with Spotless againHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28Upgrade to Kotlin 1.5 (#1397)Harsh Shandilya
* 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-10autofill-parser: restore LGPL-3.0 and MPL-2.0 licence headersHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-06Mark non-native Autofill browsers as unsupported on Oreo (#1370)Fabian Meumertzheim
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-01Mark Ungoogled and Bromite as non-flaky (#1365)Fabian Meumertzheim
* Mark Bromite as non-flaky * Mark Ungoogled as non-flaky
2021-04-01Update all dependencies (#1358)Harsh Shandilya
* 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-03-18autofill-parser: opt into ExperimentalUnsignedTypesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: reformat with ktfmtHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-04Mark Chrome as reliably fillable and saveable (#1338)Fabian Meumertzheim
* Mark Chrome as reliably fillable and saveable * Mention Autofill improvements in CHANGELOG
2021-01-29Mark Chrome Beta as reliably fillable and saveable (#1291)Fabian Meumertzheim
https://chromereleases.googleblog.com/2021/01/chrome-beta-for-android-update_28.html
2021-01-22Codestyle churn (#1283)Harsh Shandilya
* 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>
2020-12-22Mark unfocused single password fields as fillable (#1258)Fabian Meumertzheim
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-22Add German term for username to heuristic keywords (#1259)Fabian Meumertzheim
2020-12-16Mark Chrome Dev as non-flaky and able to save (#1250)Fabian Meumertzheim
2020-12-07Mark Chrome Canary as non-flaky and allowing save (#1237)Fabian Meumertzheim
* 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-11-03Make autofill-parser API explicit and refactor (#1182)Fabian Henneke
2020-10-23autofill-parser: add DuckDuckGo's F-Droid signatureHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23autofill-parser: add support for multiple signatures for a single packageHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-05Resolve lock contention from lazy delegates (#1135)Harsh Shandilya
2020-10-02Allow matching password fields based on hints only (#1129)Fabian Henneke
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-02Exit tie breakers early in unique or no match case (#1130)Fabian Henneke
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-09-20autofill-parser: drop use of core-ktxHarsh Shandilya
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-16Autofill: Extract AutofillParser into separate subproject (#1101)Vincent Breitmoser
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me>