Commit graph

1738 commits

Author SHA1 Message Date
renovate[bot]
88b38ea611
fix(deps): update dependency com.android.tools.build:gradle to v8.6.0 (#3192)
* fix(deps): update dependency com.android.tools.build:gradle to v8.6.0

* chore: regenerate Lint baselines

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-09-03 07:43:29 +00:00
Harsh Shandilya
71161e20f8
fix: rework Crowdin integration (#3175)
* chore: set up Crowdin configuration

* fix(app): sync strings from Crowdin

Closes #3174

* fix(ci): use crowdin/github-action instead of homebrew setup

* fix(build): remove obsolete Crowdin plugin
2024-08-18 08:10:12 +00:00
Alexander Grahn
0e76ef0c33
directory structure setting moved to general settings (#3166)
* directory structure setting moved to general settings

* Update app/src/main/java/app/passwordstore/util/settings/PreferenceKeys.kt

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Alexander Grahn <agrahn@users.noreply.github.com>

---------

Signed-off-by: Alexander Grahn <agrahn@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-08-14 11:03:53 +00:00
Harsh Shandilya
282e9519ae chore: add missing copyright headers and update existing ones 2024-08-14 00:31:25 +05:30
Harsh Shandilya
b699b4db71 feat(build): replace homebrew ktfmt formatter with Spotless
Spotless has fixed their Gradle Configuration Cache woes in the past
couple months which gets rid of my primary complaint.
2024-08-14 00:18:51 +05:30
Alexander Grahn
f803465e40
add user ID input field (password creation/edit), may fix #1458 (#3161)
* add user ID input field (password creation/edit), may fix #1458

* fix: revert change to username label

* refactor: rework FieldItem to drop hard-coded strings

* refactor: drop unnecessary `.apply`

---------

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-08-11 20:27:20 +00:00
agrahn
d62516399e
fix blocking createPasswordUI() when OTP is displayed (#3162) 2024-08-11 05:13:37 +00:00
Harsh Shandilya
e8cdc2077f fix(build): compile against SDK 35 2024-08-08 03:34:14 +05:30
agrahn
1fd3b48820
enable per-app language setting (Android-13+) (#3152) 2024-08-05 14:58:05 +00:00
agrahn
17a8bbc3b8
more robust switch actions in pgp settings (#3148)
* more robust switch actions in pgp settings

* Update app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: agrahn <agrahn@users.noreply.github.com>

* Update app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: agrahn <agrahn@users.noreply.github.com>

* Update app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: agrahn <agrahn@users.noreply.github.com>

* formatting fixed (ktfmtFormat)

---------

Signed-off-by: agrahn <agrahn@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-08-04 16:45:09 +00:00
Harsh Shandilya
137d94aba4
Sync localisations from Crowdin (#3150)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-04 00:31:37 +00:00
Harsh Shandilya
81be3988c8 fix: re-enable biometric lock feature
Fixes #2802
2024-07-30 17:19:56 +05:30
agrahn
57866a9895
fix crash due to passphrase caching after biom. authentication expired (#3141)
* fix crash due to passphrase caching after biom. authentication expired

* fix: add missing imports

---------

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-07-28 19:33:16 +00:00
Harsh Shandilya
7010ee85b4
Sync localisations from Crowdin (#3139)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-07-28 00:27:56 +00:00
agrahn
27678892ed
Fix application crash when disabling cache auto-clear option and potential attack vector (#3136)
prevent app crash upon passphrase cache clearing
2024-07-25 15:19:02 +00:00
Harsh Shandilya
06fbe6cf9c refactor: refine CryptoRepository#{encrypt,decrypt} APIs 2024-07-24 00:32:33 +05:30
Harsh Shandilya
1c6bbc51c3 fix: use the same decryption flow in autofill
Fixes #3131
2024-07-24 00:28:42 +05:30
Harsh Shandilya
8095ee4d6e refactor: import-alias BiometricAuthenticator.Result 2024-07-24 00:28:09 +05:30
Harsh Shandilya
a064116e80 fix: only show cache checkbox when enabled 2024-07-23 01:57:41 +05:30
agrahn
080387ce75
add checkbox in passphrase dialog to clear cache (#3127)
* add checkbox in passphrase dialog to clear cache

* instantiating PasswordDialog via newInstance, passing args as Bundle

* refactor: put checkbox directly in the layout

---------

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-07-22 16:32:55 +00:00
agrahn
763fa9e459
enabling pgp passphrase cache with authentication (#3124)
* enabling pgp passphrase cache with authentication

* clear passphrase cache on first autofill decrypt after screen off

---------

Co-authored-by: Alexander Grahn <me@null.org>
2024-07-20 15:46:26 +00:00
agrahn
66675864ae
clear passphrase cache, fix application crash on auto screen-off (#3108)
clear passphrase chache on screen-off
2024-07-02 09:37:39 +00:00
renovate[bot]
0101ba17ee
fix(deps): update dependency com.android.tools.build:gradle to v8.5.0 (#3094)
* fix(deps): update dependency com.android.tools.build:gradle to v8.5.0

* chore: refresh Lint baseline

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-06-14 13:33:56 +00:00
Harsh Shandilya
054832bf6e
Sync localisations from Crowdin (#3084)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-06-09 00:28:02 +00:00
Harsh Shandilya
f60c20060d refactor(ui): tokenize spacing 2024-05-29 02:43:15 +05:30
Harsh Shandilya
4939153e81 fix: bundle JetBrainsMono for monospace use cases 2024-05-29 01:59:01 +05:30
Harsh Shandilya
c980c898de chore: reformat with trailing commas changes 2024-05-28 15:11:50 +05:30
Harsh Shandilya
6239809964 fix: convert SettingsActivity to onBackPressedDispatcher 2024-05-28 15:03:12 +05:30
Harsh Shandilya
68636cdcb6 Revert "refactor: properly use OnBackPressedDispatcher"
Narrator: it was in fact not proper

This reverts commit 7c9e563d96.
2024-05-28 14:31:28 +05:30
Harsh Shandilya
3266a1b033 refactor(compose): make theme decisions within APSTheme 2024-05-28 00:35:22 +05:30
Harsh Shandilya
0f9540a645
feat(pgpainless): add detection for passphrase-less messages (#3069)
* WIP: feat(pgpainless): add detection for passphrase-less messages

* refactor: test keys instead of the message

This makes more logical sense
2024-05-27 15:29:20 +00:00
Harsh Shandilya
173e802a36 feat: add option to auto clear passphrase cache
Fixes #3053
2024-05-26 02:08:09 +05:30
Harsh Shandilya
3a63334815 fix: restore monospace typeface for passwords
Fixes #3066
2024-05-26 01:06:38 +05:30
renovate[bot]
8bae8dfe25
fix(deps): update kotlin and compose to v2 (major) (#3064)
* fix(deps): update kotlin and compose to v2

* fix(build): switch to Kotlin Compose Compiler

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-05-22 07:12:27 +00:00
Oleh Kopeykin
86466819a9
Fix obtaining pgp identifiers to decrypting file. (#3009) 2024-04-17 18:49:31 +00:00
Harsh Shandilya
87738477be fix: special-case AEAD failure
Fixes #2974
Fixes #2963
Fixes #2921
Fixes #2924
Fixes #2653
Fixes #2461
Fixes #2586
Fixes #2179
2024-04-14 23:19:31 +05:30
renovate[bot]
0fe01f1650
fix(deps): update dependency org.bouncycastle:bcprov-jdk18on to v1.78 (#2986)
* fix(deps): update dependency org.bouncycastle:bcprov-jdk18on to v1.78

* fix(deps): add missing bcutil dependency

* fix(build): drop multi-release JAR artifacts from APK

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-04-06 10:00:30 +00:00
renovate[bot]
48067b4a01
fix(deps): update kotlinresult to v1.1.21 (#2958)
* fix(deps): update kotlinresult to v1.1.21

* refactor: fix deprecation warnings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-03-17 06:33:48 +00:00
Harsh Shandilya
f942da3bd3
Sync localisations from Crowdin (#2959)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-03-17 00:25:43 +00:00
Harsh Shandilya
69bdd1518c refactor: improve passphrase cache save logic 2024-03-12 13:05:55 +05:30
Harsh Shandilya
5082df2f93 fix: clear passphrase cache when disabling 2024-03-12 13:04:32 +05:30
Harsh Shandilya
0d7d6eae79 fix(autofill): populate passphrase cache on successful decryption 2024-03-12 12:39:29 +05:30
Harsh Shandilya
b9f5ac9b9c
fix: remove cleartext check from StrictMode
Apparently this is tripping up SSHJ.

Probably fixes #2580

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2024-03-10 21:30:04 +05:30
Harsh Shandilya
fe6742d306
Sync localisations from Crowdin (#2943)
strings: sync with crowdin

Co-authored-by: GitHub Actions <noreply@github.com>
2024-03-10 00:25:19 +00:00
Harsh Shandilya
b1fd268400
Sync localisations from Crowdin (#2888)
* strings: sync with crowdin

* chore: refresh Lint baseline

---------

Co-authored-by: GitHub Actions <noreply@github.com>
2024-02-04 15:12:08 +00:00
renovate[bot]
badec6409e
fix(deps): update dependency com.slack.lint.compose:compose-lint-checks to v1.3.1 (#2874)
* fix(deps): update dependency com.slack.lint.compose:compose-lint-checks to v1.3.1

* refactor: address issues from compose-lints 1.3.x

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2024-01-26 09:42:23 +00:00
Harsh Shandilya
2e1b9575e8 chore(deps): upgrade androidx.activity 2024-01-25 00:52:53 +05:30
Harsh Shandilya
7c9e563d96 refactor: properly use OnBackPressedDispatcher 2024-01-22 00:03:41 +05:30
Harsh Shandilya
964059e0da fix: route navigation events correctly
Fixes #2865
2024-01-21 23:48:44 +05:30
Harsh Shandilya
3a7d298a6f fix: restore copy-on-decrypt feature 2024-01-17 16:37:48 +05:30