Commit graph

187 commits

Author SHA1 Message Date
Harsh Shandilya
35155e5584
Make PGPainless backend feature flag runtime configurable (#1654)
* Make feature flags runtime configurable

* Add a settings entry for PGPainless feature flag

* Add changelog entry
2022-01-09 17:50:22 +05:30
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
Harsh Shandilya
4c9413709d
Refactor BiometricAuthenticator and add proper support for retries (#1627) 2021-12-29 10:35:19 +00:00
Harsh Shandilya
0830499c6c
CHANGELOG: add entry 2021-12-21 13:01:42 +05:30
Harsh Shandilya
933558caf8
Prevent Git files from turning up in search and listing (#1582)
* Prevent Git files from turning up in search and listing

* Update changelog
2021-12-09 02:41:44 +00:00
Aditya Wasan
17f640bf46
Allow importing TOTP from images (#1580)
* feat(aps): allow importing TOTP code from an image containing a QR code

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

* Reorder OTP import options and implement it for V2

* Replace try-catch with runCatching

* Use the correct TextWatcher extension at the right place

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-12-07 16:29:03 +00:00
Harsh Shandilya
52f4ce06f5
Allow unauthenticated HTTPS Git access (#1533) 2021-11-03 20:32:53 +05:30
Harsh Shandilya
a3f3ad184b
CHANGELOG: update 2021-11-03 16:51:31 +05:30
Harsh Shandilya
1738364d2f
Make password generator parameter changes reactive (#1480)
* Make XkPassword generator reactive

* Handle empty strings

* Make password generator reactive

* Sync changelog for 1.13.5 release

* Add to changelog
2021-08-08 13:06:26 +05:30
Harsh Shandilya
921e9f96b9
Refactor TOTP implementation and expand SteamGuard hacks (#1460)
* UriTotpFinder: commonize query parameter handling

* gitignore: add more IDEA files

* TotpFinder: add `findIssuer`

* PasswordEntry: don't eagerly fetch TOTP related fields

* format-common: expand SteamGuard workaround

* CHANGELOG: add SteamGuard workaround
2021-07-17 03:13:16 +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
d3bc28c1c3
Do not ASCII armor files when encrypting (#1396) 2021-04-25 09:17:40 +00:00
Harsh Shandilya
a5b6dfc106
Support creating pinned shortcuts directly (#1393)
* CHANGELOG: update for pinning support

* PasswordFragment: support pinning

* PasswordStore: use `PasswordItem#createAuthEnabledIntent`

* PasswordItem: add `createAuthEnabledIntent` API

* DecryptActivity: remove last changed time

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21 18:10:19 +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
Harsh Shandilya
cf5f0eae3a
Actively discourage use of git protocol (#1368) 2021-04-03 19:51:34 +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
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
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
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
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
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
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
Harsh Shandilya
0396bf92a9
Transform broken repo error message to be more helpful (#1251) 2020-12-17 23:38:31 +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
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>
2020-12-03 12:22:22 +01:00
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
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
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
df6ebfee27
Fix extra content for multiple username fields (#1192)
Fixes #1190

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-06 10:50:34 +05:30
Fabian Henneke
1d13a1fbd6
Improve Autofill UI and enable inline presentations (#1181)
* Improve Autofill UI and enable inline presentations

Improves the Autofill UI in the following ways:

* Add support for Android 11 inline presentations of Autofill datasets.
* Instead of showing the identifier (app name or web origin) of the
current app on top of every Autofill dataset, it is now shown 1) as a
header dataset on Android 9 and 10 as well as 2) at the top of the
search activity on all supported versions of Android. Rationale: The
identifier is only used in trust decisions when choosing an existing
entry to fill and should feature prominently in that view, not
elsewhere.
* Show the actual identifier part of a matched entry's path, which may
differ from the identifier of the matched app/website.
* Slightly tweak the labels of Search/Generate Autofill actions to
indicate that a) this is about entries and b) the user may skip the
generation of a password and supply a custom one as well.

* Suppress lint error

* Address review comments

* Add a fixme about properly handling fill-in datasets

* CHANGELOG: add entry for inline presentation

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

* Remove unused parameter

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

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-02 20:25:37 +01:00
Fabian Henneke
03959cca4d
Finish activity when Autofill Generate is cancelled (#1179) 2020-10-31 12:01:18 +01:00
Harsh Shandilya
f14a0711a2
Merge branch 'release' into develop
* release:
  build: bump version
  CHANGELOG: bump for 1.13.1
  CHANGELOG: add #1170
  Minimal support for MIME secret encoding (#1170)
  Workaround AndroidX lifecycle requirements in OpenKeychain auth (#1168)
  CHANGELOG: add note about F-Droid DDG support
  autofill-parser: add DuckDuckGo's F-Droid signature
  autofill-parser: add support for multiple signatures for a single package
  CHANGELOG: add entry for auto sync rollback
  Revert "Add option to automatically sync repository on app launch (#1137)"

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23 22:00:10 +05:30
GitHub Actions
d029cd1f47 CHANGELOG: bump for 1.13.1 2020-10-23 16:27:28 +00:00
Harsh Shandilya
ee63b0677a
CHANGELOG: add #1170
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23 21:56:07 +05:30
Harsh Shandilya
2b25171bf2
Workaround AndroidX lifecycle requirements in OpenKeychain auth (#1168)
* Workaround AndroidX lifecycle requirements in OpenKeychain auth

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

* CHANGELOG: add OpenKeychain fix

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

Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
(cherry picked from commit 66b31f1432)
2020-10-23 21:51:26 +05:30
Harsh Shandilya
66b31f1432
Workaround AndroidX lifecycle requirements in OpenKeychain auth (#1168)
* Workaround AndroidX lifecycle requirements in OpenKeychain auth

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

* CHANGELOG: add OpenKeychain fix

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

Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-10-23 15:23:47 +05:30
Harsh Shandilya
57cd2b5aa6
CHANGELOG: add note about F-Droid DDG support
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23 11:00:21 +05:30
Harsh Shandilya
c513722a30
Rollback automatic synchronization feature (#1165)
* Revert "Add option to automatically sync repository on app launch (#1137)"

Fixes #1163

This reverts commit 92f1aab25d.

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

* CHANGELOG: add entry for auto sync rollback

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-23 07:29:42 +02:00
Harsh Shandilya
41fb76d0f2
CHANGELOG: add note about F-Droid DDG support
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit e051fdf174e4ac36647f1639cc8d0a968b440709)
2020-10-23 10:42:15 +05:30
Harsh Shandilya
841b3e770d
CHANGELOG: add entry for auto sync rollback
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
(cherry picked from commit 491100be0f7993062b0d2c386b362ec434737d6c)
2020-10-23 10:41:57 +05:30
Harsh Shandilya
4a9151870d
Remove accessibility autofill support (#1162)
* autofill: remove Accessibility backend

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

* CHANGELOG: update

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-22 23:38:47 +05:30
Harsh Shandilya
9c5d96389c
build: bump version
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-22 17:29:48 +05:30
Harsh Shandilya
440caab622
GitServerConfigActivity: add quick-fix for HTTPS URLs with custom ports
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-21 06:21:19 +05:30