Harsh Shandilya
8bb61eca2d
refactor: make ResetToRemoteOperation
actually work and use its own remoteBranch
input
2022-11-27 13:28:45 +05:30
Harsh Shandilya
e8aabaf752
feat: add a helper to PasswordRepository
to retrieve the current branch
2022-11-27 13:28:45 +05:30
Harsh Shandilya
2a3f78d43e
feat: add TextInputDialog
for generic text input dialogs
2022-11-27 13:28:45 +05:30
Harsh Shandilya
2decedbf4b
feat: remove Beagle
...
It breaks WhatTheStack and doesn't offer anything particularly useful
2022-11-27 12:43:36 +05:30
Harsh Shandilya
c89e9250c2
fix: correctly handle default auth mode
2022-11-26 19:25:49 +05:30
renovate[bot]
2a6fe4f159
fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.22.0 ( #2262 )
...
* fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.22.0
* chore: sync detekt config with 0.22.0 changes
* chore: fix Detekt warning
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-11-21 12:13:33 +05:30
Harsh Shandilya
a981b6b9f7
chore: inject VM with Lifecycle-ViewModel-Compose integration
2022-11-18 14:24:07 +05:30
Harsh Shandilya
11f192532f
feat: make key import update key list
2022-11-18 14:23:10 +05:30
Harsh Shandilya
84b9839635
feat: move key import to key manager UI
2022-11-18 12:31:19 +05:30
Harsh Shandilya
10b502fb0a
refactor: extract deletion confirmation dialog to its own method
2022-11-18 12:19:46 +05:30
Harsh Shandilya
6fa8b188e6
feat: add a confirmation dialog for key deletion
...
Fixes #2257
2022-11-18 11:21:53 +05:30
Harsh Shandilya
35a6e3b8ff
fix: add an explicit delete button to PGP key list items
2022-11-18 11:15:38 +05:30
Harsh Shandilya
6a4c0a223f
fix(app): enable Hilt processing for folder selection screens
...
Fixes #2255
Fixes PASSWORD-STORE-GOOGLE-PLAY-11
2022-11-17 19:21:51 +05:30
Harsh Shandilya
b83cd841e8
feat: remove Beagle's logger integration
...
Fixes Sentry issue PASSWORD-STORE-GOOGLE-PLAY-14
2022-11-16 04:02:09 +05:30
Harsh Shandilya
4891b980c4
fix: make itemDetails
nullable
2022-11-12 23:56:12 +05:30
Harsh Shandilya
c407d04ec7
Sync localisations from Crowdin ( #2228 )
...
strings: sync with crowdin
Co-authored-by: GitHub Actions <noreply@github.com>
2022-11-06 00:31:18 +00:00
Harsh Shandilya
f870dd4913
Sync localisations from Crowdin ( #2219 )
...
strings: sync with crowdin
Co-authored-by: GitHub Actions <noreply@github.com>
2022-10-30 00:31:27 +00:00
Harsh Shandilya
53a5af5f40
refactor: flip PGPainless feature flag
...
It's always enabled now
2022-10-29 15:15:41 +05:30
Harsh Shandilya
4c3abe60a6
feat(sentry): add profiling sample rate config
2022-10-29 15:15:41 +05:30
Harsh Shandilya
baabe5ba52
refactor: add invalid .gpg-id
file contents to errors
2022-10-29 15:15:41 +05:30
Harsh Shandilya
99bfccf945
refactor: remove unnecessary LaunchActivity
injection
2022-10-29 15:15:41 +05:30
Harsh Shandilya
505c2fa705
refactor(format-common): add a getter to PasswordEntry
for current OTP value
2022-10-29 05:34:09 +05:30
Harsh Shandilya
e8d9a77539
chore: sync Crowdin localisations
2022-10-29 05:07:24 +05:30
Harsh Shandilya
4e178883f7
chore: extract hard-coded preference strings
2022-10-29 05:07:24 +05:30
Harsh Shandilya
538ddbfd95
feat(app): wire in ASCII armor toggle
2022-10-29 04:37:04 +05:30
Harsh Shandilya
633cbe2714
feat(crypto-common): support passing arbitrary crypto options
2022-10-29 04:36:00 +05:30
Harsh Shandilya
390286f95f
feat: add a no-op ASCII armor toggle
2022-10-29 04:16:08 +05:30
Harsh Shandilya
bb960ccb76
refactor: move UriTotpFinderTest to format-common-impl
2022-10-25 23:57:46 +05:30
Harsh Shandilya
0c939a2929
refactor(deps): switch to Compose BOM
2022-10-25 18:28:45 +05:30
Harsh Shandilya
0d35cfaa0b
fix: lower log priority in SshjConfig
2022-10-24 15:46:26 +05:30
Harsh Shandilya
28394c4bbb
fix: remove useless logging line
2022-10-24 15:46:26 +05:30
Harsh Shandilya
2762c17578
feat: setup Beagle for debugging
2022-10-24 15:46:26 +05:30
Harsh Shandilya
816aca5ba1
refactor: use generated accessors for flavor dependencies
2022-10-24 14:51:33 +05:30
Harsh Shandilya
edc110dcc1
chore(gradle): add missing suppressions and license headers
2022-10-24 14:46:38 +05:30
Harsh Shandilya
cdf0f30c61
Refactor format-common
module ( #2196 )
...
* fix: touch up `PasswordEntryTest` KDoc
* feat: add format-common-impl module
* refactor: switch app to format-common-impl
* refactor: move `format-common` tests to `format-common-impl`
* feat: add a test for Steam OTP
2022-10-21 21:36:27 +05:30
Harsh Shandilya
9f5062986d
Revert "chore: remove unnecessary CryptoHandlerModule
"
...
This is used in #2170 so let's avoid the unnecessary conflict.
This reverts commit f5bf45037a
.
2022-10-10 14:45:07 +05:30
Harsh Shandilya
f5bf45037a
chore: remove unnecessary CryptoHandlerModule
2022-10-10 14:24:49 +05:30
Harsh Shandilya
eb5e9bdffa
refactor(app): switch logExecutionTime
to kotlin.time.measureTime
2022-10-09 20:05:40 +05:30
Harsh Shandilya
c866bb9fb1
feat(app): support toggling read-only status in DecryptScreen
2022-10-09 18:11:04 +05:30
Harsh Shandilya
224d956e28
feat(app): refactor CopyButton
and add missing spacing
2022-10-08 18:35:16 +05:30
Harsh Shandilya
5dd7c91038
feat(app): add username to DecryptScreen
2022-10-08 18:28:27 +05:30
Harsh Shandilya
9bdbd55204
feat(ui-compose): add a PasswordField
composable and switch decrypt screen to it
2022-10-08 18:28:04 +05:30
Harsh Shandilya
6615992332
refactor: simplify PasswordDialog
emissions
2022-10-07 20:25:19 +05:30
Harsh Shandilya
6dcffc04d2
fix: protect PasswordDialog
window
2022-10-07 19:56:11 +05:30
Harsh Shandilya
d68958c3e1
refactor: switch DecryptActivity
to DispatcherProvider
2022-10-07 19:45:54 +05:30
Harsh Shandilya
b313c4216e
fix(app): ensure decryption errors are captured by UI
2022-10-07 19:41:14 +05:30
Harsh Shandilya
f778eab94e
fix: remove stale comment
2022-10-07 19:29:49 +05:30
Harsh Shandilya
f2ab436c54
feat(app): make DecryptScreen
properly standalone
2022-10-07 19:11:06 +05:30
Harsh Shandilya
cb373db35d
feat(app): start working on a Compose-backed decrypt screen
2022-10-07 18:55:35 +05:30
Harsh Shandilya
8ba910edf4
chore(deps): upgrade AndroidX dependencies
2022-10-05 23:39:50 +05:30
Harsh Shandilya
1e033792d6
Refactor navigation and search code ( #2134 )
2022-09-20 20:50:31 +00:00
Aditya Wasan
244fd92f8b
Use GENERAL_SHOW_TIME
for decryption screen timeout ( #2107 )
...
* feat(app): use `GENERAL_SHOW_TIME` for decryption screen as well
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* feat: update timeout to 60 seconds
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* refactor(app): use constant instead of using a magic number
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
* Add changelog entry
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-09-07 21:49:08 +00:00
Harsh Shandilya
42ecba8dee
fix(lint): resolve and suppress lints to fix canary builds
2022-09-05 15:36:29 +05:30
Harsh Shandilya
a828846345
Upgrade ktfmt and setup automatic updates ( #2103 )
2022-09-02 16:34:02 +00:00
Harsh Shandilya
d640c39725
Fix reported Lint issues ( #2101 )
2022-09-01 06:34:20 +00:00
Harsh Shandilya
8908f88ddc
Remove unnecessary RequiresApi
annotation ( #2100 )
2022-09-01 05:11:39 +00:00
github-actions[bot]
c8a74f7ff1
Sync localisations from Crowdin ( #2091 )
...
strings: sync with crowdin
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-08-27 05:07:14 +00:00
Harsh Shandilya
8129495608
Implement support for .gpg-id
( #2080 )
2022-08-24 17:14:02 +00:00
renovate[bot]
91ff5aebac
fix(deps): update dependency com.hierynomus:sshj to v0.34.0 ( #2053 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-08-10 11:39:35 +00:00
github-actions[bot]
a584e9416d
Sync localisations from Crowdin ( #2049 )
...
strings: sync with crowdin
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-08-06 06:33:12 +00:00
Harsh Shandilya
977723c661
Update app icon and add a monochrome layer ( #2045 )
...
* app: check-in updated app icon
* app: add a monochrome icon
2022-08-04 20:19:35 +00:00
github-actions[bot]
01f4b39318
Sync localisations from Crowdin ( #2039 )
...
strings: sync with crowdin
Co-authored-by: GitHub Actions <noreply@github.com>
2022-07-30 05:22:05 +00:00
Harsh Shandilya
140175823f
Fix some StrictMode violations and start logging them ( #2031 )
2022-07-24 11:46:22 +00:00
Harsh Shandilya
9c5e9c8e43
Improvements to key list activity ( #2030 )
2022-07-23 13:45:36 +00:00
Harsh Shandilya
6d0bff144c
Begin cleaning up Detekt warnings ( #2027 )
2022-07-22 21:45:29 +00:00
Harsh Shandilya
ade73fd5bc
Compile against SDK 33 ( #2023 )
...
* Compile against SDK 33
* autofill-parser: fix warnings for SDK 33 upgrade
* app: fix warnings for SDK 33 upgrade
* Mark all clipboard content as sensitive from crypto activities
* Skip Snackbar on Android 13 and above
* detekt: raise `TooManyFunctions` limit to 15
2022-07-20 01:29:12 +05:30
Harsh Shandilya
fc81ee83d9
Misc cleanups and bugfixes ( #2019 )
...
* Fix decrypt activity items being editable
* Remove unused resources and re-roll lint baseline
* Make lint mark all warnings as errors
2022-07-18 20:47:06 +00:00
Harsh Shandilya
018939f815
Add key manager UI
2022-07-18 23:04:59 +05:30
Harsh Shandilya
e1e5d13a6a
Mark key import dialogs as non-cancellable
2022-07-17 22:38:27 +05:30
Harsh Shandilya
4ed98c9fda
Refactor key import flow and implement support for replacing
2022-07-17 22:38:27 +05:30
Harsh Shandilya
6ceedc049c
PGPKeyImportActivity: close key stream after use
2022-07-17 13:56:43 +05:30
Harsh Shandilya
a15ff1b137
Switch SettingsActivity to use Material3 Switch ( #2006 )
2022-07-15 21:55:42 +00:00
Harsh Shandilya
a1f838151e
Remove unnecessary V2 suffix
2022-07-15 14:53:52 +05:30
Harsh Shandilya
bcf33e90a5
Remove OpenKeychain code and leave TODOs for missing functionality
2022-07-15 14:53:52 +05:30
Harsh Shandilya
a6bcdd1d9d
Remove PGPainless feature flag
2022-07-15 13:50:18 +05:30
Harsh Shandilya
549ee790d3
all: re-do package structure yet again
2022-07-15 01:13:47 +05:30
Harsh Shandilya
010c6e227c
Change app package name to app.passwordstore
2022-07-15 00:54:04 +05:30
Harsh Shandilya
84180c1650
app: turn off crashing lint
2022-07-09 10:30:17 +00:00
Harsh Shandilya
bea80163ce
ui-compose: import Manrope font
2022-07-07 11:28:59 +05:30
Harsh Shandilya
58342ca426
Fix suspicious indentation in Migrations.kt ( #1956 )
2022-06-14 08:23:25 +00:00
Harsh Shandilya
426fc924fb
Upgrade ktfmt ( #1942 )
...
* build-logic: upgrade ktfmt
* all: reformat
2022-06-09 13:51:29 +05:30
Harsh Shandilya
c319909582
Remove SourceCode Pro typeface ( #1938 )
2022-06-07 07:36:28 +00:00
Harsh Shandilya
bda515d1ec
Remove unused dependencies ( #1930 )
...
gradle: remove unused instrumentation testing deps
2022-05-29 14:29:36 +00:00
Harsh Shandilya
184391599b
Fix ClipboardService crash ( #1928 )
...
* Fix clipboard service crash on API 31
* all: use ints directly for SDK version checks
I much prefer it this way
2022-05-27 20:18:39 +00:00
Harsh Shandilya
88151f4bdd
Simplify BouncyCastle workaround and upgrade Fragment ( #1926 )
...
* Simplify bouncycastle workaround
* Upgrade fragment-ktx to 1.5.x
2022-05-27 07:30:10 +00:00
Harsh Shandilya
5f4bc7fafd
Allow disabling pull-to-sync operation ( #1922 )
2022-05-24 10:47:35 +00:00
Harsh Shandilya
37b80d5d19
Upgrade to AGP 7.2.0 ( #1920 )
2022-05-19 07:23:59 +00:00
github-actions[bot]
c9f6d27475
strings: sync with crowdin ( #1901 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2022-05-07 02:10:42 +00:00
Harsh Shandilya
41213da780
Upgrade to ktfmt 0.37 ( #1897 )
2022-05-05 03:17:15 +00:00
Harsh Shandilya
c555609f16
Misc cleanups ( #1891 )
2022-05-02 20:18:16 +00:00
Harsh Shandilya
d4a4ac06ed
crypto-pgpainless: prepare for error handling ( #1877 )
2022-04-27 17:02:36 +00:00
Harsh Shandilya
b8b0693642
Revert "app: address Overdraw lint" ( #1876 )
2022-04-26 14:37:10 +00:00
Harsh Shandilya
aaf6ceb8ec
all: reformat with ktfmt 0.36
2022-04-25 10:47:02 +05:30
Harsh Shandilya
62902ca80b
Reorganize crypto-common code and fix a couple minor bugs ( #1868 )
2022-04-24 15:55:34 +00:00
Harsh Shandilya
599abd37e8
app: address SetTextI18n lint
2022-04-24 16:47:52 +05:30
Harsh Shandilya
5bad2a7256
app: address LabelFor lint
2022-04-24 16:47:51 +05:30
Harsh Shandilya
f1556242fa
app: address ContentDescription lint
2022-04-24 16:47:51 +05:30
Harsh Shandilya
901845e745
app: address Autofill lint
2022-04-24 16:47:51 +05:30
Harsh Shandilya
975c9f5dfc
app: address MissingQuantity lint
2022-04-24 16:47:51 +05:30
Harsh Shandilya
4775d44292
app: address Overdraw lint
2022-04-24 16:47:51 +05:30
Harsh Shandilya
ecba50cbae
app: address TrustAllX509TrustManager lint
2022-04-24 16:47:51 +05:30
Harsh Shandilya
759c3b2e1a
app: address Deprecated lint
2022-04-24 16:47:50 +05:30
Harsh Shandilya
13e859baca
app: address VectorRaster lint
2022-04-24 16:47:50 +05:30
Harsh Shandilya
95f16cbf5a
app: address InlinedApi lint
2022-04-24 16:47:50 +05:30
Harsh Shandilya
9cae158e34
app: address UnusedResources lint
2022-04-24 16:47:50 +05:30
Harsh Shandilya
81b439b5f0
app: setup Lint baseline
2022-04-24 16:47:50 +05:30
Harsh Shandilya
493e869022
Remove support for external storage and raise target SDK to 31 ( #1863 )
2022-04-21 23:34:14 +05:30
renovate[bot]
18cff9c144
chore(deps): update dependency org.pgpainless:pgpainless-core to v1.2.0 ( #1832 )
...
* chore(deps): update dependency org.pgpainless:pgpainless-core to v1.2.0
* gradle: bump bouncycastle to 1.71
* Transparently update older BC versions
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-04-09 13:49:31 +00:00
Harsh Shandilya
0d5d5af674
Use full canonical path for classes in manifest ( #1823 )
...
* app: switch to full class names in manifest
* CONTRIBUTING: document configuration cache failures
2022-04-06 12:35:59 +00:00
Harsh Shandilya
2320201f89
Migrate namespaces to Gradle ( #1805 )
...
* ui-compose: update Gradle configuration
* gradle: fix namespace for a couple astray Compose dependencies
* all: switch to Gradle namespace property
Mirrors a similar change from AndroidX dcfa035a96
2022-03-27 12:37:18 +00:00
Harsh Shandilya
6fc1fafe99
Misc PGP v2 fixes ( #1784 )
...
* Don't throw in PGPKeyImportActivity when no file is selected
* PGPSettings: mark import option as dependent on V2 backend pref
2022-03-13 13:07:29 +00:00
Harsh Shandilya
861ca58a58
Configure Sentry with more information ( #1782 )
...
* build-logic: remove error path in Sentry plugin
* gradle: fix UnstableApiUsage warning
* build-logic: configure Sentry Gradle Plugin
* app: set traces sample-rate to 1.0
* sentry-stub: init
* app: populate Sentry user field with feature flags
2022-03-13 12:11:01 +00:00
c-steindl
20725219bd
Fix typo in german translation ( #1781 )
2022-03-12 11:50:23 +00:00
Harsh Shandilya
186b8352b5
Fix TOTP field flashing on each update ( #1779 )
...
* Fix TOTP field flashing on each update
* Add missing changelog entry
2022-03-11 10:54:51 +05:30
Harsh Shandilya
2f034bc237
Show remaining time in TOTP field ( #1766 )
...
* Pass down remaining time for TOTPs to UI layer
* format-common: switch TOTP flow to use co-operative cancelation
* format-common: add a regression test for OTP duration calculation
* Abstract out labels
* Switch to launchIn
2022-03-10 20:22:39 +00:00
Harsh Shandilya
47ec6059bd
app: turn off StrictMode ( #1761 )
2022-03-02 21:38:00 +05:30
Harsh Shandilya
778834d5e4
Upgrade ktfmt to 0.33 ( #1753 )
...
* build: upgrade ktfmt to 0.33
* all: reformat with ktfmt 0.33
2022-02-26 01:58:20 +05:30
Harsh Shandilya
d8b5880215
Fix Autofill ANR when entry has no TOTP ( #1746 )
2022-02-24 07:50:17 +00:00
Harsh Shandilya
acc448ce74
Use explicit Gradle tasks to handle build artifact collection ( #1745 )
2022-02-23 14:25:03 +05:30
Harsh Shandilya
82e3ba6ce5
Add CI job to assemble release APKs and fix build ( #1742 )
2022-02-21 15:12:56 +00:00
Harsh Shandilya
e343c66d8b
Cleanup R8 rules ( #1739 )
2022-02-21 13:15:59 +00:00
Harsh Shandilya
3d0006d610
Introduce Sentry for error reporting ( #1737 )
2022-02-20 19:01:19 +05:30
renovate[bot]
cca04dd40a
chore(deps): update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.2.2 ( #1718 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-09 10:32:04 +00:00
Harsh Shandilya
664e1fbba0
Begin rework for configuration cache compatibility ( #1709 )
2022-02-05 01:57:41 +05:30
Harsh Shandilya
2b293e5805
Port build to Gradle 7.4-rc-2 ( #1707 )
2022-02-04 13:59:36 +00:00
Harsh Shandilya
cf111f1978
Refactor PasswordEntry TOTP calculation into a cold flow ( #1702 )
2022-02-01 19:21:01 +05:30
Harsh Shandilya
2d607c78e7
Unwind PasswordRepository's confusing control flow ( #1686 )
...
* Cleanup PasswordRepository
* Tear out nonsensical logic for getRepository
2022-01-27 09:22:15 +05:30
Harsh Shandilya
d89d500319
Move Compose code to ui-compose module ( #1687 )
2022-01-26 17:11:04 +00:00
Harsh Shandilya
6c7a066ea6
Add the ability to run garbage collection on the internal Git repository ( #1683 )
2022-01-25 13:12:23 +05:30
Harsh Shandilya
dba86c2a53
app: make Autofill intents mutable ( #1682 )
...
Fixes: b8ce4f314538 ("app: add `PendingIntent.FLAG_IMMUTABLE` flag where required")
2022-01-24 03:37:49 +00:00
Harsh Shandilya
d838b7da59
all: upgrade to AGP 7.1.0-rc01 ( #1678 )
2022-01-24 08:16:58 +05:30
Harsh Shandilya
98010c7ff9
LaunchActivity: ensure V2 backend setting is respected ( #1677 )
2022-01-23 17:55:31 +00:00
github-actions[bot]
81c2721883
strings: sync with crowdin ( #1673 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-22 02:22:21 +00:00
Harsh Shandilya
78a90aacb3
Add support for properly dealing with incorrect passwords ( #1672 )
2022-01-21 00:27:04 +05:30
Harsh Shandilya
5509558eed
Parameterize key and key identifier types for KeyManager ( #1669 )
2022-01-18 17:40:16 +05:30
Aditya Wasan
abc62c2b6b
Refactor randomized password generator into a separate module ( #1663 )
2022-01-13 16:43:53 +00:00
renovate[bot]
14ef69d277
chore(deps): update dependency com.github.android-password-store:sublime-fuzzy to v2 ( #1658 )
...
* chore(deps): update dependency com.github.android-password-store:sublime-fuzzy to v2
* fix import
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-12 12:42:27 +00:00
Harsh Shandilya
b1832c5595
Remove unused class ( #1657 )
2022-01-10 11:51:41 +00:00
Harsh Shandilya
cfceb38ee7
Fix a bunch of Lint warnings and errors ( #1655 )
...
* autofill-parser: add missing `@RequiresApi` annotations
* app: remove unused strings and sync with Crowdin
* app: remove unused chip_text_color selector
* app: remove unused capitalization_type_values array
* app: add `PendingIntent.FLAG_IMMUTABLE` flag where required
2022-01-09 19:01:03 +00:00
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
1738879fb3
Integrate PGPainless backend into the UI properly ( #1647 )
2022-01-09 17:04:16 +05:30
Harsh Shandilya
799f1393e4
Make CryptoHandler use Key as the abstraction layer ( #1651 )
2022-01-09 16:19:52 +05:30
github-actions[bot]
d6e89f0425
strings: sync with crowdin ( #1636 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2022-01-01 06:04:24 +00:00
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
17860407f9
app: migrate XkPasswd users to Diceware
2021-12-21 13:01:42 +05:30
Harsh Shandilya
a0a8200393
app: integrate diceware UI
2021-12-21 13:01:42 +05:30
Harsh Shandilya
fd46f1f0ba
app: add diceware generator dialog
2021-12-21 13:01:41 +05:30
Harsh Shandilya
0e8f899434
app: add diceware injection module
2021-12-21 13:01:41 +05:30
Harsh Shandilya
5bcbf8da08
app: add diceware dependency
2021-12-21 13:01:41 +05:30
Harsh Shandilya
a700e2a766
app: remove XkPasswd generator
2021-12-21 13:01:41 +05:30
dependabot[bot]
b59c4f068c
build(deps): bump kotlinx-coroutines-test from 1.6.0-RC to 1.6.0-RC2 ( #1586 )
2021-12-10 17:54:45 +00:00
Harsh Shandilya
8db0b67ce9
Refactor coroutine testing setup ( #1583 )
...
* coroutine-utils: init
* coroutine-utils-testing: init
* format-common: switch over to using DispatcherProvider
* Convert Binds method to an extension function
* Add Dispatcher module
2021-12-09 04:37:54 +00:00
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
Aditya Wasan
38bfcfdcae
Fix missing final item in extra content pairs ( #1578 )
2021-12-07 20:08:16 +05:30
Harsh Shandilya
120dc5fca4
all: switch to new convention plugins
2021-12-03 12:59:57 +05:30
Harsh Shandilya
1ade4eaf64
Cleanup dependency declarations and upgrade to Kotlin 1.6.0 ( #1565 )
2021-12-02 19:09:54 +00:00
Harsh Shandilya
fc211418c4
Implement workarounds for Dependabot to update dependencies ( #1552 )
2021-11-30 12:26:05 +00:00
Harsh Shandilya
d129d5e580
Ensure logger is installed when requested ( #1549 )
2021-11-23 20:31:55 +05:30
Harsh Shandilya
0fad4d24b5
build: apply kotlin-common
convention plugin where applicable
2021-11-16 00:22:17 +05:30
Harsh Shandilya
51956be665
Update dependencies ( #1540 )
2021-11-13 17:50:15 +05:30
Harsh Shandilya
bbadf4a68d
Upgrade dependencies ( #1537 )
...
* app: use MaterialAlertDialogBuilder for preference dialogs
* build: upgrade all dependencies
2021-11-08 10:54:01 +05:30
Harsh Shandilya
67e70e5936
Cleanup extra content handling ( #1536 )
...
* BasicBottomSheet: remove unnecessary custom background
Fixes: 88c9a0d487
("app: refactor M3 themes and styles")
* FieldItemAdapter: fix typo ClipBoard -> Clipboard
* FieldItemAdapter: fix RV binding idempotency
* app: refactor FieldItemAdapter population logic
* DecryptActivityV2: wire in missing 'show password' toggle
2021-11-07 20:50:25 +05:30
Harsh Shandilya
223960d8d3
Fix password saving for V2 backend ( #1534 )
2021-11-04 23:28:40 +05:30
Harsh Shandilya
52f4ce06f5
Allow unauthenticated HTTPS Git access ( #1533 )
2021-11-03 20:32:53 +05:30
Aditya Wasan
2cf3ddf2aa
Revert "app: add dynamic colors support to Compose"
...
This reverts commit 2a9d2177a5
.
2021-11-03 18:09:38 +05:30
Harsh Shandilya
2a9d2177a5
app: add dynamic colors support to Compose
2021-11-03 16:02:58 +05:30
Harsh Shandilya
3fc5f17920
app: remove unused M2 resources
2021-11-03 15:51:50 +05:30
Harsh Shandilya
60271ef853
app: move autofill dataset to M3 color tokens
2021-11-03 15:51:50 +05:30
Harsh Shandilya
2b87376b58
app: remove explicit style from FolderCreationDialogFragment
2021-11-03 15:51:49 +05:30
Harsh Shandilya
a0fb14d207
app: fix hard-coded themes and colors in WelcomeFragment
2021-11-03 15:51:49 +05:30
Harsh Shandilya
44e61c0c31
app: fix hard-coded themes and colors in RepoLocationFragment
2021-11-03 15:51:49 +05:30
Harsh Shandilya
5db43de6b2
app: fix hard-coded themes and colors in KeySelectionFragment
2021-11-03 15:51:48 +05:30
Harsh Shandilya
c6d45fc056
app: fix hard-coded themes and colors in CloneFragment
2021-11-03 15:51:48 +05:30
Harsh Shandilya
32d941d352
app: fix hard-coded themes in BasicBottomSheet
2021-11-03 15:51:48 +05:30
Harsh Shandilya
96170019fe
app: fix hard-coded themes in ProxySelectorActivity
2021-11-03 15:51:47 +05:30
Harsh Shandilya
8757e44272
app: fix hard-coded colors in AutofillPublisherChangedActivity
2021-11-03 15:51:47 +05:30
Harsh Shandilya
7e2a91733f
app: fix hard-coded colors in AutofillFilterView
2021-11-03 15:51:46 +05:30
Harsh Shandilya
5f08c63bc7
app: fix filename for AutofillFilterView
2021-11-03 15:51:46 +05:30
Harsh Shandilya
88c9a0d487
app: refactor M3 themes and styles
2021-11-03 15:51:46 +05:30
Harsh Shandilya
f8ad1c97fd
app: make toolbars match system bars
2021-11-03 15:51:45 +05:30
Harsh Shandilya
9a00e68ab6
app: fix system bars theming
2021-11-03 15:51:45 +05:30
Harsh Shandilya
fc662bfd25
app: remove unnecessary layout nesting
2021-11-03 15:51:44 +05:30
Harsh Shandilya
4f2383dd88
app: fix background colors for onboarding flow
2021-11-03 15:51:44 +05:30
Harsh Shandilya
f9e4e7da8a
app: remove unnecessary suppression
2021-11-03 15:51:44 +05:30
Harsh Shandilya
4a50f3fb6d
app: switch back to buttons for SSH config screen
2021-11-03 15:51:43 +05:30
Harsh Shandilya
f8088f0f44
app: switch to M3 APS theme
2021-11-03 15:51:43 +05:30
Harsh Shandilya
3c6ddc9cda
app: remove invalid color references
2021-11-03 15:51:43 +05:30
Harsh Shandilya
f1502bd389
app: fix tints for all drawables
2021-11-03 15:51:42 +05:30
Harsh Shandilya
822b4db83f
app: don't use non-null assertion for supportActionBar
2021-11-03 15:07:01 +05:30
Harsh Shandilya
eb1ed0bbd1
app: enable dynamic colors
2021-11-03 15:07:00 +05:30
Harsh Shandilya
2ee48cdab6
app: switch M3 to Manrope typeface
2021-11-03 15:07:00 +05:30
Harsh Shandilya
0834c979a5
app: add Material3 themes
2021-11-03 15:07:00 +05:30
Harsh Shandilya
22ed045ea7
Upgrade dependencies ( #1526 )
...
* gradle: upgrade all dependencies
* github: replace gradle-cache-action with official gradle-build-action
* github: update wrapper-validation-action
2021-10-28 07:04:29 +05:30
Harsh Shandilya
aac74ae451
Switch new PGP backend to use PGPainless ( #1522 )
...
* crypto-pgpainless: init
* crypto-pgpainless: add an opinionated CryptoHandler impl
* app: migrate to crypto-pgpainless
* crypto-pgp: remove
* github: remove now unused instrumentation tests job
* crypto-common: fixup package names
* wip(crypto-pgpainless): add `PGPKeyPair` and `PGPKeyManager`
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
(cherry picked from commit 02d07e9e797a8600cc8c534a731dfffcc44cfdde)
* crypto-pgpainless: use hex-encoded key IDs
* crypto-pgpainless: replace legacy Gopenpgp-generated key file
* crypto-pgpainless: fix CryptoConstants source set
* crypto-pgpainless: fix tests
* crypto-pgpainless: reinstate PGPKeyManager tests
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-23 17:02:50 +05:30
Harsh Shandilya
21c8653e68
Fix proguard rules which prevent whole program minification ( #1521 )
2021-10-20 11:41:21 +05:30
Harsh Shandilya
6df3ba0083
Upgrade plugin dependencies and fix Javadoc generation ( #1517 )
...
* build: upgrade all plugins
* autofill-parser/openpgp-ktx: apply Dokka plugin
* Move repository configuration to settings.gradle.kts
* Replace deprecated lintOptions
* Reorder repositories
2021-10-09 13:13:14 +05:30
Harsh Shandilya
99586970a1
Cleanup and improve CI checks ( #1511 )
2021-10-03 12:39:24 +00:00
(´⌣`ʃƪ)
2cef6a5bb4
Replace Timber with logcat ( #1509 )
...
* Replace Timber with logcat (#1505 )
* Add extension for asLog which takes a message param
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-03 14:02:15 +05:30
Harsh Shandilya
571ab4e78e
Gopenpgp related fixes ( #1503 )
...
* app: rename new crypto activities
(cherry picked from commit 89be012f995b878affb7e7a592750e130c7f0f2c)
* app: allow alt backends to work without OpenKeychain
(cherry picked from commit 7bf9f01e5ef7bb24700ce3f242e5aabbabbff09e)
* app: rename ENABLE_GOPENPGP to ENABLE_PGP_V2_BACKEND
2021-09-14 22:37:55 +05:30
github-actions[bot]
30cb8cfceb
strings: sync with crowdin ( #1498 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2021-09-04 04:11:09 +00:00
Harsh Shandilya
f00a53c29b
Bump dependencies for Kotlin 1.5.30 ( #1497 )
2021-09-03 17:49:05 +05:30
Yash Garg
3c8b700f7e
Fix auto-focus issue on Dialogs with TextInputFields ( #1492 )
2021-08-27 20:12:29 +00:00
Harsh Shandilya
8c56a1d7b8
Update AndroidX deps ( #1491 )
2021-08-24 16:03:29 +00:00
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
6004addf62
Upgrade Compose and other AndroidX libraries ( #1477 )
...
* app: re-enable Compose
* app: remove inapplicable lint suppression
* gradle: bump AndroidX dependencies
2021-08-05 02:11:31 +05:30
Harsh Shandilya
403bb383b5
Upgrade to AGP 7.0.0 ( #1474 )
2021-07-29 09:54:31 +00:00
Harsh Shandilya
392ad847bf
Cleanup and fix CI tests ( #1464 )
2021-07-19 16:31:37 +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
fd6d0e52fc
Upgrade dependencies and temporarily disable Compose ( #1457 )
2021-07-15 06:44:05 +00:00
Harsh Shandilya
6e4ffe2902
Add initial implementation of Gopenpgp-backed PGP ( #1441 )
2021-07-11 17:22:26 +00:00
github-actions[bot]
262d7c4a86
Sync localisations from Crowdin ( #1445 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2021-06-26 04:53:55 +00:00
Harsh Shandilya
29041cf561
Misc updates ( #1440 )
2021-06-20 12:00:55 +05:30
Harsh Shandilya
7bbdfcf6f6
Remove LeakCanary from snapshot builds ( #1435 )
2021-06-07 17:18:17 +00:00
Harsh Shandilya
fbb4dafc1c
gradle: update AndroidX dependencies ( #1430 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-04 11:30:30 +05:30
Harsh Shandilya
f769968bdc
Fix 'View generated SSH key' option showing when not applicable ( #1426 )
...
* RepositorySettings: only show preference when available
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* RepositorySettings: update 'View generated SSH key' preference after generating
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-31 11:47:35 +05:30
Harsh Shandilya
7f7c0e7cb1
app: replace getEncryptedProxyPrefs with injection
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 11:43:57 +05:30
Harsh Shandilya
5e9a91a3b8
app: replace some uses of getEncryptedGitPrefs
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 11:43:54 +05:30
Harsh Shandilya
434329268a
BasePgpActivity: inject settings through Hilt
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 02:29:43 +05:30
Harsh Shandilya
0027710465
app: use unsafeLazy everywhere
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 02:21:00 +05:30
Harsh Shandilya
6388bc7ac9
extensions: add unsafeLazy
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 02:20:58 +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
Aditya Wasan
373a46f73a
Add compose dependencies ( #1421 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-25 09:45:26 +00:00
Harsh Shandilya
6f453cc27c
app: use PasswordEntry#extraContentString
for editing
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 18:21:41 +05:30
Harsh Shandilya
790b7c94d3
Tweak git server config screen UI and remove unused resources ( #1419 )
...
* themes: tweak Chip text appearance
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* app: tweak git server settings UI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* app: remove unused resources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 14:04:01 +05:30
Harsh Shandilya
f2ad7e489f
lint: one bug fixed and another takes its place
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 22:16:52 +05:30
Harsh Shandilya
50b481f304
app: cleanup PasswordRepository
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:35:10 +05:30
Harsh Shandilya
f66652cbc6
Tweak documentation and drop unused import
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:14:21 +05:30
Aditya Wasan
a2741cd871
docs: Document qualifiers
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:56 +05:30
Aditya Wasan
1583c4c600
app: lazily initialize hiltEntryPoint to make sure that activity is available before we use appContext
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:55 +05:30
Aditya Wasan
1ae961e51c
test: remove context parameter
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:54 +05:30
Aditya Wasan
521f4772d7
spotless: fix formatting
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:54 +05:30
Aditya Wasan
d45bb753cf
test: update MigrationsTest to run on JVM
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:53 +05:30
Aditya Wasan
c3f8de99be
app: refactor GitSettings and ProxyUtils and inject them using hilt
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:53 +05:30
Aditya Wasan
47099c723b
di: add context and preferences module
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 17:24:49 +05:30
SphericalKat
9fcbde2f07
chore(format): format code using spotless
...
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-22 13:41:51 +05:30
SphericalKat
49d8183917
fix(tests): return null/default values from faked android sdk
...
fixes behaviour of getFilesDir
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:45:34 +05:30
SphericalKat
bd09190786
refactor(extension): remove PreferenceManager dependency for getting preferences
...
should help when using faked SharedPreferences
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:21:53 +05:30
SphericalKat
f377510afb
chore(build): add mock shared preference dependency
...
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:19:02 +05:30
Harsh Shandilya
285bf9d929
Move file reads in RV adapters to a background dispatcher
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:48:05 +05:30
Harsh Shandilya
7e2eb2425e
all: reformat with Spotless again
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
859dc008bc
Upgrade Gradle and androidx.annotation
( #1407 )
2021-05-12 16:11:32 +05:30
Aditya Wasan
e6e52b3594
Show current copy timeout in settings ( #1404 )
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-11 20:04:12 +00:00
Harsh Shandilya
a57c013619
app: update GpgIdentifier tests
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 11:33:21 +05:30
Harsh Shandilya
905e45c50a
strings: sync with crowdin
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 06:34:59 +05:30
Harsh Shandilya
f834c754e6
Refactor openpgp-ktx to leverage coroutines ( #1398 )
...
* openpgp-ktx: leverage coroutines for async IPC
* Unwind nested dispatchers
* Fix name shadowing warning
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-30 23:22:01 +05:30
Harsh Shandilya
4880e1db27
Upgrade to Kotlin 1.5 ( #1397 )
...
* build: upgrade Kotlin to 1.5.0 and Hilt to 2.35.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: address kotlin.time.seconds deprecation
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* autofill-parser/openpgp-ktx: require Kotlin 1.5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: address string method deprecations
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: disable NewApi lint
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28 10:27:14 +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