Merge branch 'release' into develop

* release:
  build: bump version
  Update CHANGELOG
  Revert "Reland symlink support (#1020)"

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-21 01:33:24 +05:30
commit 92f80b2e3d
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
5 changed files with 12 additions and 15 deletions

View file

@ -8,9 +8,16 @@ All notable changes to this project will be documented in this file.
- Allow sorting by recently used - Allow sorting by recently used
## [1.11.1] - 2020-08-21
### Fixed
- App failed to start on Android 7 and below
## [1.11.0] - 2020-08-18 ## [1.11.0] - 2020-08-18
### Added ### Added
- Allow changing the branch used for Git operations - Allow changing the branch used for Git operations
- Allow setting a subdirectory key when creating folders - Allow setting a subdirectory key when creating folders
- Allow adding digits/symbols in XkPasswd generated passwords using a mask-like value (`dds` gives you two digits and a symbol, and so on) - Allow adding digits/symbols in XkPasswd generated passwords using a mask-like value (`dds` gives you two digits and a symbol, and so on)
@ -301,7 +308,9 @@ All notable changes to this project will be documented in this file.
- Fix elements overlapping. - Fix elements overlapping.
[Unreleased]: https://github.com/android-password-store/Android-Password-Store/compare/1.11.0...HEAD [Unreleased]: https://github.com/android-password-store/Android-Password-Store/compare/1.11.1...HEAD
[1.11.1]: https://github.com/android-password-store/Android-Password-Store/compare/1.11.0...1.11.1
[1.11.0]: https://github.com/android-password-store/Android-Password-Store/compare/1.10.3...1.11.0 [1.11.0]: https://github.com/android-password-store/Android-Password-Store/compare/1.10.3...1.11.0

View file

@ -30,7 +30,7 @@ android {
defaultConfig { defaultConfig {
applicationId = "dev.msfjarvis.aps" applicationId = "dev.msfjarvis.aps"
versionCode = 11101 versionCode = 11111
versionName = "1.12.0-SNAPSHOT" versionName = "1.12.0-SNAPSHOT"
} }
@ -118,8 +118,6 @@ dependencies {
implementation(Dependencies.ThirdParty.jgit) { implementation(Dependencies.ThirdParty.jgit) {
exclude(group = "org.apache.httpcomponents", module = "httpclient") exclude(group = "org.apache.httpcomponents", module = "httpclient")
} }
// Loaded dynamically by JGit to provide symlink support
implementation(Dependencies.ThirdParty.jgit_java7)
implementation(Dependencies.ThirdParty.jsch) implementation(Dependencies.ThirdParty.jsch)
implementation(Dependencies.ThirdParty.sshj) implementation(Dependencies.ThirdParty.sshj)
implementation(Dependencies.ThirdParty.bouncycastle) implementation(Dependencies.ThirdParty.bouncycastle)

View file

@ -12,7 +12,6 @@ import android.text.method.PasswordTransformationMethod
import android.view.Menu import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
import android.view.View import android.view.View
import android.widget.Toast
import androidx.activity.result.IntentSenderRequest import androidx.activity.result.IntentSenderRequest
import androidx.activity.result.contract.ActivityResultContracts.StartIntentSenderForResult import androidx.activity.result.contract.ActivityResultContracts.StartIntentSenderForResult
import androidx.lifecycle.lifecycleScope import androidx.lifecycle.lifecycleScope
@ -24,7 +23,6 @@ import com.zeapo.pwdstore.utils.PreferenceKeys
import com.zeapo.pwdstore.utils.viewBinding import com.zeapo.pwdstore.utils.viewBinding
import java.io.ByteArrayOutputStream import java.io.ByteArrayOutputStream
import java.io.File import java.io.File
import java.io.FileNotFoundException
import kotlin.time.ExperimentalTime import kotlin.time.ExperimentalTime
import kotlin.time.seconds import kotlin.time.seconds
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
@ -137,13 +135,7 @@ class DecryptActivity : BasePgpActivity(), OpenPgpServiceConnection.OnBound {
val data = receivedIntent ?: Intent() val data = receivedIntent ?: Intent()
data.action = OpenPgpApi.ACTION_DECRYPT_VERIFY data.action = OpenPgpApi.ACTION_DECRYPT_VERIFY
val inputStream = try { val inputStream = File(fullPath).inputStream()
File(fullPath).inputStream()
} catch (e: FileNotFoundException) {
Toast.makeText(this, getString(R.string.error_broken_symlink), Toast.LENGTH_SHORT).show()
finish()
return
}
val outputStream = ByteArrayOutputStream() val outputStream = ByteArrayOutputStream()
lifecycleScope.launch(Dispatchers.IO) { lifecycleScope.launch(Dispatchers.IO) {

View file

@ -226,7 +226,6 @@
<string name="no_repo_selected">No external repository selected</string> <string name="no_repo_selected">No external repository selected</string>
<string name="send_plaintext_password_to">Send password as plaintext using…</string> <string name="send_plaintext_password_to">Send password as plaintext using…</string>
<string name="app_icon_hint">App icon</string> <string name="app_icon_hint">App icon</string>
<string name="error_broken_symlink">File not found, likely because of a broken symlink</string>
<!-- Oreo Autofill --> <!-- Oreo Autofill -->
<string name="oreo_autofill_strict_domain_search">Phishing-resistant search</string> <string name="oreo_autofill_strict_domain_search">Phishing-resistant search</string>

View file

@ -56,7 +56,6 @@ object Dependencies {
const val fastscroll = "me.zhanghai.android.fastscroll:library:1.1.4" const val fastscroll = "me.zhanghai.android.fastscroll:library:1.1.4"
const val jsch = "com.jcraft:jsch:0.1.55" const val jsch = "com.jcraft:jsch:0.1.55"
const val jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r" const val jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
const val jgit_java7 = "org.eclipse.jgit:org.eclipse.jgit.java7:3.7.1.201504261725-r"
const val leakcanary = "com.squareup.leakcanary:leakcanary-android:2.4" const val leakcanary = "com.squareup.leakcanary:leakcanary-android:2.4"
const val plumber = "com.squareup.leakcanary:plumber-android:2.4" const val plumber = "com.squareup.leakcanary:plumber-android:2.4"
const val sshj = "com.hierynomus:sshj:0.30.0" const val sshj = "com.hierynomus:sshj:0.30.0"