Commit Graph

1626 Commits

Author SHA1 Message Date
Harsh Shandilya
1a774eae23 Automate Crowdin localisation sync (#1265)
* build: add a Gradle plugin for Crowdin

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

* build/crowdin: add skipCleanup extension property

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

* build/crowdin: also handle nonFree source set

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

* build/crowdin: fixup directory names for nonFree variant

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

* app: sync translations from Crowdin

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

* github: add Crowdin sync workflow

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-30 11:06:51 +01:00
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
Harsh Shandilya
3c85930e6f Switch back to pull_request to mitigate security issue (#1257)
According to advisory GHSL-2020-367 the changes I made to support pull_request_target make this repository vulnerable to attacks from any malicious forker

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-22 14:02:56 +05:30
Harsh Shandilya
37c8b416d5 Sync localisations with Crowdin (#1256)
Fixes #1254

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-21 11:48:08 +05:30
Harsh Shandilya
c34d08b094 Refactor GitCommandExecutor (#1255)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-20 05:52:30 -08:00
Harsh Shandilya
0396bf92a9 Transform broken repo error message to be more helpful (#1251) 2020-12-17 23:38:31 +05:30
Fabian Meumertzheim
5a3395040c Mark Chrome Dev as non-flaky and able to save (#1250) 2020-12-16 13:07:50 -08:00
Harsh Shandilya
67393ef62d github: checkout PR head when running checks (#1247)
Fixes: 29778e0e3d ("Strip down README to feature new docs and Discussions (#1243)")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-11 11:23:48 +05:30
Harsh Shandilya
ce2e657108 Better guidance for users to deal with host key changes (#1242)
* Provide actionable guidance for host key mismatches

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

* Update changelog

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

* Hide host key clear button after use

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-10 22:47:18 +05:30
Harsh Shandilya
c02ad427be Try to fix missing .gpg-id files as well (#1246) 2020-12-10 21:06:45 +05:30
Harsh Shandilya
29778e0e3d Strip down README to feature new docs and Discussions (#1243) 2020-12-10 16:55:31 +05:30
Harsh Shandilya
255704c54a build: upgrade to Kotlin 1.4.21 (#1240)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-08 15:14:44 +01:00
Harsh Shandilya
6642e556c2 github: update peter-evans/create-pull-request to v3.5.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:38 +05:30
Harsh Shandilya
48e4ed1e91 github: update thomaseizinger/keep-a-changelog-new-release to v1.2.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:38 +05:30
Harsh Shandilya
9f17d60f99 github: update actions/download-artifact to v2.0.6
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:37 +05:30
Harsh Shandilya
51bde071b6 github: update actions/upload-artifact to v2.2.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:37 +05:30
Harsh Shandilya
b5b0e177d9 github: update actions/checkout to v2.3.4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:37 +05:30
Harsh Shandilya
7cd416216e github: rename validate_wrapper.yml to validate_gradle_wrapper.yml
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:36 +05:30
Harsh Shandilya
be1e840ffe github: rename release.yml to deploy_github_releases.yml
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:45:36 +05:30
Harsh Shandilya
aff03e34a2 github: remove dependency-tree-diff workflow
We never extracted much value from it

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:36:13 +05:30
Harsh Shandilya
32e1ce17d0 github: add auto-cancel-redundant-workflow
Automatically cancels existing runs of a PR checking workflow to prevent
redundant checks and wastage of resources.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-07 13:36:13 +05:30
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
5e66d99c85 Refactor package structure (#1233)
* idea: default test runner to Gradle

* Kick off package structure revamp

* Reparent all classes under dev.msfjarvis.aps

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-05 06:07:18 +05:30
Harsh Shandilya
8eb55f18a1 Create issue template for RFCs (#1234)
* github: update label directive in issue templates

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

* github: add an issue template for RFCs

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-04 19:42:31 +05:30
Harsh Shandilya
6a6201f2ed Dependency updates (#1229) 2020-12-03 22:02:01 +05:30
Harsh Shandilya
77e77be999 Set 10 second timeout on JGit transport commands (#1230)
* GitOperation: set a 10 second connection timeout

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

* Update changelog

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
autofill-parser-v1.0.0 openpgp-ktx-v2.2.0
2020-12-03 12:22:22 +01:00
Aditya Wasan
993b203676 Use countdown chronometer on API 24 and above (#1228)
* Use countdown chronometer on API 24 and above

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>

* Do not use SharedPreferences inside ClipboardService

ClipboardService run in it's own process and SharedPreferences do not support multiple processes. Due to this changes in notificaion clear time are not reflected to the ClipboardService. This commit fixes that by passing time explicitly from the main app process.

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2020-12-02 09:11:42 +05:30
Harsh Shandilya
31a11a1ebb GitCommandExecutor: make committer match author (#1226)
* GitCommandExecutor: make committer match author

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

* Add changelog entry

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-01 20:54:01 +05:30
Harsh Shandilya
c7a5a97722 CODEOWNERS: update to Fabian's new username
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30 13:58:02 +05:30
Harsh Shandilya
d54dcb873a openpgp-ktx: pick up the correct consumer proguard rules
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30 13:58:01 +05:30
Harsh Shandilya
ed0fc19725 build: upgrade dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30 13:57:58 +05:30
Harsh Shandilya
09c54007d0 build: restore JitPack repository
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:54:58 +05:30
Harsh Shandilya
853ec27a0b build: remove APS maven repository
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:18 +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
7bcdc09b92 github: add release workflow for library subprojects
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:17 +05:30
Harsh Shandilya
61b5285e4e build: use vendored openpgp-ktx
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:16 +05:30
Harsh Shandilya
7b25bf8783 openpgp-ktx: import at 95eed95fb5654e9dcfe32c3712ae97385e186396
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:16 +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
Harsh Shandilya
a9c73f1e51 Automatically dismiss decryption screen after 60 seconds (#1216)
* Automatically dismiss decryption screen after 60 seconds

Fixes #1215

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

* Update changelog

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-22 11:47:39 +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
Harsh Shandilya
544631da04 App shortcut fixes (#1213) 2020-11-21 00:20:11 +05:30
Harsh Shandilya
8c6809584d Update Gradle and Kotlin (#1212) 2020-11-19 20:41:37 +05:30
Harsh Shandilya
d3c1a73050 build: refactor for configuration cache compatibility (#1208)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-15 09:34:14 +01:00
Fabian Henneke
02c853c3b1 Fix Autofill dataset icon tint (#1207)
ImageViews in RemoteViews require tint to be specified with the android:
prefix, the lint thinks otherwise.
2020-11-15 13:10:06 +05:30
Harsh Shandilya
f5d04f2e59 Update runtime dependencies to latest revisions (#1203)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-14 12:00:28 +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