Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file

## [Unreleased]

## [1.27.0] - 2026-10-27

### Added

- Setting to enable Autofill directly from the app settings
Expand Down Expand Up @@ -983,7 +985,8 @@ All notable changes to this project will be documented in this file

- Fix elements overlapping.

[unreleased]: https://github.com/pando85/Android-Password-Store/compare/v1.26.0...HEAD
[unreleased]: https://github.com/pando85/Android-Password-Store/compare/v1.27.0...HEAD
[1.27.0]: https://github.com/pando85/Android-Password-Store/compare/v1.26.0...v1.27.0
[1.26.0]: https://github.com/pando85/Android-Password-Store/compare/v1.25.2...v1.26.0
[1.25.2]: https://github.com/pando85/Android-Password-Store/compare/v1.25.1...v1.25.2
[1.25.1]: https://github.com/pando85/Android-Password-Store/compare/v1.25.0...v1.25.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ class PasswordCreationActivity : BasePGPActivity() {

// username, if it is part of the file path
if (
autofilling && directoryStructure != DirectoryStructure.EncryptedUsername ||
!editing && directoryStructure == DirectoryStructure.FileBased
(autofilling && directoryStructure != DirectoryStructure.EncryptedUsername) ||
(!editing && directoryStructure == DirectoryStructure.FileBased)
) {
if (editUsername.isBlank()) {
username.requestFocus()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,6 @@ class GitServerConfigActivity : BaseGitActivity() {

companion object {

private val PORT_REGEX = ":[0-9]{1,5}/".toRegex()

fun createCloneIntent(context: Context): Intent {
return Intent(context, GitServerConfigActivity::class.java).apply {
putExtra("cloning", true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class RepositorySettings(private val activity: FragmentActivity) : SettingsProvi
val progressDialog =
MaterialAlertDialogBuilder(activity)
.setTitle(R.string.prefs_import_passwords_dialog_title)
.setMessage(R.string.prefs_export_passwords_dialog_message)
.setMessage(R.string.prefs_import_passwords_dialog_message)
.setCancelable(false)
.create()

Expand Down Expand Up @@ -540,7 +540,7 @@ private fun renameFilesInDirectoryTree(
override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
val fileName = file.fileName.toString()
if (fileName.endsWith(oldExtension)) {
val newFileName = fileName.replace(oldExtension, newExtension)
val newFileName = fileName.removeSuffix(oldExtension) + newExtension
val newFile = file.resolveSibling(newFileName)
Files.move(file, newFile)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ fun makeInlinePresentation(
)
val slice =
InlineSuggestionUi.newContentBuilder(launchIntent).run {
setTitle(metadata.title?.let { it } ?: "")
setSubtitle(metadata.subtitle?.let { it } ?: "")
setTitle(metadata.title ?: "")
setSubtitle(metadata.subtitle ?: "")
setContentDescription(listOfNotNull(metadata.title, metadata.subtitle).joinToString(" - "))
setStartIcon(Icon.createWithResource(context, metadata.iconRes))
build().slice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ enum class DirectoryStructure(val value: String) {
when (this) {
EncryptedUsername -> file.nameWithoutExtension
FileBased -> file.parentFile?.name ?: file.nameWithoutExtension
DirectoryBased -> file.parentFile?.parent
DirectoryBased -> file.parentFile?.parentFile?.name
}

/**
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
<string name="prefs_import_passwords_title">Import repository</string>
<string name="prefs_import_passwords_summary">Imports a password repository from an external directory.</string>
<string name="prefs_import_passwords_dialog_title">Importing passwords</string>
<string name="prefs_import_passwords_dialog_message">Please wait…</string>
<string name="prefs_repo_not_empty_dialog_title">Local repository not empty</string>
<string name="prefs_repo_not_empty_dialog_summary">The local password repository must be deleted first.</string>
<string name="prefs_repo_invalid_source_dialog_title">Source directory unusable</string>
Expand Down
4 changes: 2 additions & 2 deletions app/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file was automatically generated by 'versioning-plugin'. DO NOT EDIT MANUALLY.
#
versioning-plugin.versionCode=12600
versioning-plugin.versionName=1.26.0
versioning-plugin.versionCode=12700
versioning-plugin.versionName=1.27.0
Loading