Commit Graph

1696 Commits

Author SHA1 Message Date
Harsh Shandilya
af9f1fc374 Sync localisations from Crowdin (#1379)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-10 11:26:10 +05:30
Harsh Shandilya
fbed718ce0 Update build dependencies (#1376)
* build: update dependencies

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

* github: bump actions/upload-artifact

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08 09:17:17 +05:30
Harsh Shandilya
023f03a227 Declare and check for camera features (#1375)
* app: set feature requirements

* Don't offer QR import option if no camera is present

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08 04:21:53 +05:30
Harsh Shandilya
e13a54f212 Refactor biometric preference handling (#1374)
Fixes #1371

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 13:53:21 +00:00
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
Amogh Lele
7acbf0eda8 Switch to sublime text's fuzzy matching (#1372)
* refactor(search): use sublime text's fuzzy matching algorithm

Signed-off-by: SphericalKat <amolele@gmail.com>

* chore(changelog): update

Signed-off-by: SphericalKat <amolele@gmail.com>

* build: fetch sublime-fuzzy from Maven Central

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

* chore(changelog): update

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 11:02:41 +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
Harsh Shandilya
cf5f0eae3a Actively discourage use of git protocol (#1368) 2021-04-03 19:51:34 +00:00
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
schiermi
62b514cae4 Minor adjustment of german translation. (#1362)
"Shop" sounds strange, especially in Autofill.
2021-03-30 09:16:55 +05:30
Harsh Shandilya
f5450eb5fd DecryptActivity: use correct TOTP period (#1359)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-26 22:51:48 +05:30
Fabian Meumertzheim
44d27333a7 Do not cancel keygen biometric prompt on failure (#1357)
Biometric authentication may very well fail a few times due to e.g.
using the wrong finger, but that should not cancel the key generation
flow. The BiometricAuthenticator UI gracefully handles the error case
for us with an informative message.

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-21 08:44:37 +00:00
Harsh Shandilya
db4683e0d6 Inform users that GPG key selection is mandatory (#1355)
* Inform users that GPG key selection is mandatory

Fixes #1342

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

* changelog: sync for 1.13.4 release

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

* changelog: add GPG key selection improvements

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-21 14:03:51 +05:30
Harsh Shandilya
74122ccbfc changelog: update for launcher shortcuts fix
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 17:32:54 +05:30
Harsh Shandilya
df17d6140b Fix launcher shortcut icon rendering
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 17:32:53 +05:30
Harsh Shandilya
940cdd9750 app: remove lingering resource directory
The mapping was fixed on Crowdin but this wasn't deleted manually resulting in build failures

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 17:17:06 +05:30
Harsh Shandilya
42672b599b strings: sync with crowdin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:18 +05:30
Harsh Shandilya
a87060140f buildSrc: add removeIncompleteStrings step to Crowdin plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:18 +05:30
Harsh Shandilya
a8216feadc build: update AGP to 4.1.3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:17 +05:30
Harsh Shandilya
c85a31f885 buildSrc: properly apply ktfmt plugin and reformat
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:17 +05:30
Harsh Shandilya
fbfe7dcb1e buildSrc: simplify CrowdinDownloadPlugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:11 +05:30
Harsh Shandilya
7f757bed81 app: fix nonFree resources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 12:35:17 +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
71a0e02378 build: pin sshauthentication-api to v5.7.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 23:08:43 +05:30
Harsh Shandilya
bc65b59bac Migrate to sshauthentication-api's JitPack coordinates (#1348)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 09:05:04 +00:00
Harsh Shandilya
9cde249c82 github: run all workflows on Java 11
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 12:33:44 +05:30
Harsh Shandilya
67df6e27d0 github: run ktfmt checks in CI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:40:30 +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
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