Commit graph

1717 commits

Author SHA1 Message Date
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
Harsh Shandilya
cd378d1bbc
build: apply Ktfmt Gradle plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:26:48 +05:30
Harsh Shandilya
5e28cf45e4
build: upgrade Kotlin and AGP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 07:07:33 +05:30
Harsh Shandilya
34bba4be98
Plugins: constify fields
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 07:07:30 +05:30
Harsh Shandilya
1084fc49b4
Update Gradle and tighten repository inclusion rules (#1347)
* build: remove now migrated indirect dependencies from JCenter

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

* build: update Gradle 6.8.3

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

* build: set explicit inclusions for Jitpack

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-17 00:34:13 +05:30
Harsh Shandilya
197af98bb5
Append trailing newline to .gpg-id during creation (#1344) 2021-03-13 03:05:03 +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
64fbd2ed44
build: use Kotlin's new JVM IR backend (#1335)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-01 08:04:49 +00:00
Harsh Shandilya
f1981c2cde
CHANGELOG: sync with 1.13.2 release (#1329)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-26 21:13:58 +05:30
Harsh Shandilya
5f4998834f
Update AndroidX dependencies (#1324)
* build: AndroidX update day

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

* Update buildSrc/src/main/java/Dependencies.kt
2021-02-24 21:38:03 +01:00
Harsh Shandilya
1a10d1b3e6
github: update and fix workflows (#1322)
* github: fix library deployment workflow

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

* github: clamp actions/create-release to latest stable

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

* github: clamp actions/download-artifact to latest stable

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

* github: clamp actions/github-script to latest stable

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

* github: clamp actions/upload-release-asset to latest stable

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

* github: clamp gradle/wrapper-validation-action to latest stable

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

* github: update thomaseizinger/keep-a-changelog-new-release to v1.2.1

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

* github: update mindsers/changelog-reader-action to v2.0.0

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

* github: update peter-evans/create-pull-request to v3.8.2

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-23 11:20:48 +01:00
Aditya Wasan
d17ff0d925
Parse extra content into key value pairs (#1321)
* ui: add skeleton recyclerview to parse extra content

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

* ui: add recyclerview and update PasswordEntry to create map of key-value pairs

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

* password-entry: When key-value pair is not correctly formed, display it as Extra Content

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

* Fix formatting

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

* bug: update otp code on main thread

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

* Add complete string if key-value pair cannot be formed

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

* test: add a few tests for key-value parsing logic

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

* prefs: remove SHOW_EXTRA_CONTENT from shared preferences

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

* Update CHANGELOG.md

* Cleanup and refactor

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

* PasswordEntryTest: silence nullability warning

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

* PasswordEntry: simplify constructor

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

* PasswordEntry: annotate test-enablement visibility

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

* Reintroduce the catch-all field

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

* update parsing logic

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

* add one more test case

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

* Add missing newlines

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

* Remove unnecessary scrollview

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

* rv: do not return if hasExtraContent is false

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

* Don't anchor RV to bottom

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

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-19 08:27:57 +00:00
Harsh Shandilya
92ece7dbb5
Implement manual TOTP import and cleanup password generators (#1320) 2021-02-18 12:17:03 +05:30
Harsh Shandilya
051d455c9f
Add tests for GPG identifier parsing (#1319) 2021-02-15 13:05:09 +05:30
Harsh Shandilya
7fbe4be711
Update to SSHJ 0.31.0 (#1314)
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2021-02-10 13:00:30 +05:30
Harsh Shandilya
f7189c0e0a
Update Maven coordinates for library projects (#1313) 2021-02-09 05:33:28 +00:00
Harsh Shandilya
ea24056554
Redo authentication modes UI with Chips (#1297) 2021-02-07 12:49:00 +05:30
Harsh Shandilya
4b892c328d
Add screenshots for F-Droid (#1308)
Closes #1269

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-06 20:25:11 +00:00
Harsh Shandilya
f041acf9ac
Add initial version of contribution guidelines (#1307)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-07 01:44:18 +05:30
Harsh Shandilya
7f4ade8255
Replace JCenter with Maven Central (#1303) 2021-02-06 17:34:17 +05:30
Harsh Shandilya
c021869f97
Update MDC + Gradle and switch versioning to semver4j (#1306) 2021-02-06 12:32:57 +05:30
Harsh Shandilya
723acbf767
Miscellaneous cleanups and updates (#1302)
* build: upgrade to Gradle 6.8.1

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

* github: remove animation commands from PR workflow

The emulator runner action handles this for us

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

* build: upgrade LeakCanary and WhatTheStack

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-04 23:11:39 +05:30
Harsh Shandilya
0afd6551aa
Rework buildSrc and update some dependencies (#1296) 2021-02-03 21:57:55 +05:30
Harsh Shandilya
318aeae500
Rework clear clipboard feature (#1295)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-03 01:25:34 +05:30
Harsh Shandilya
4694c5ac85
Fix app shortcuts not updating (#1292) 2021-01-31 13:45:14 +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
7936ca1e78
Upgrade dependencies (#1289) 2021-01-28 14:48:58 +05:30
Harsh Shandilya
1f8db46ade
Disallow overwriting passwords when editing (#1286)
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-01-27 11:12:23 +05:30
github-actions[bot]
94420210f9
strings: sync with crowdin (#1284) 2021-01-23 02:54:51 +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
Harsh Shandilya
3a2cfd22e6
Migrate versioning to Gradle plugin and automate version bumps (#1282) 2021-01-20 20:27:04 +05:30
Harsh Shandilya
405e1d1772
build: upgrade dependencies (#1279)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-15 07:04:11 +01:00
Harsh Shandilya
1e9e5686af
Allow configuring pull behaviour (#1276) 2021-01-12 21:42:53 +05:30
Harsh Shandilya
8bd156dea6
Rework settings to use ModernAndroidPreferences (#1236)
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2021-01-12 11:19:28 +05:30
Harsh Shandilya
91e00d897f
app: cleanup how we handle menu item presses (#1275)
Fixes #1274

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-08 19:43:52 +05:30
Aditya Wasan
534269c8fc
Fix auth modes not displaying properly (#1271)
* res: fix auth modes not displaying properly

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

* res: wrap onboarding flow screens inside ScrollView

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-01-08 03:38:45 +05:30
Harsh Shandilya
5713c719a5
Update Actions (#1270)
* github: bump actions/upload-artifact to v2.2.2

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

* github: bump reactivecircus/android-emulator-runner to v2.14.2

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

* github: bump peter-evans/create-pull-request to v3.6.0

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-06 13:33:18 +01:00
Fabian Meumertzheim
0943015416
Show less obvious Autofill actions first (#1268)
Show Generate and Fill SMS OTP Autofill actions before the more
uninteresting (and expected) Search action.
2021-01-03 21:00:30 +05:30
Harsh Shandilya
fa2279791f
Revert "Refactor GitCommandExecutor (#1255)" (#1267)
This breaks propagation of errors to the UI layer

This reverts commit c34d08b094.
2021-01-01 23:03:13 +05:30
Harsh Shandilya
360f96306b
build: upgrade dependencies (#1266)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-01 14:36:18 +01:00
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