diff --git a/TCHAP_CHANGES.md b/TCHAP_CHANGES.md index c4de7466da..b54d196a9c 100644 --- a/TCHAP_CHANGES.md +++ b/TCHAP_CHANGES.md @@ -1,3 +1,16 @@ +Changes in Tchap 2.4.1 (2022-08-16) +=================================== + +Improvements 🙌 +-------------- + - Auto-capitalize the room creation title field ([#687](https://github.com/tchapgouv/tchap-android-v2/issues/687)) + +Other changes +------------- + - Rename the action "Remove this room from the forums directory" to "Convert to private room (irreversible)" ([#669](https://github.com/tchapgouv/tchap-android-v2/issues/669)) + - [Menu - Report Bug] Do not select "send screenshot" by default ([#686](https://github.com/tchapgouv/tchap-android-v2/issues/686)) + - Remove Android Auto support ([#703](https://github.com/tchapgouv/tchap-android-v2/issues/703)) + Changes in Tchap 2.4.0 (2022-08-03) =================================== diff --git a/towncrier.toml b/towncrier.toml index b2139e1663..5f5203cacf 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] - version = "2.4.0" + version = "2.4.1" directory = "changelog.d" filename = "TCHAP_CHANGES.md" name = "Changes in Tchap" diff --git a/vector/build.gradle b/vector/build.gradle index 0a0eda35ba..81befb4713 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -35,7 +35,7 @@ ext.versionMinor = 4 // Note: even values are reserved for regular release, odd values for hotfix release. // When creating a hotfix, you should decrease the value, since the current value // is the value for the next regular release. -ext.versionPatch = 0 +ext.versionPatch = 1 static def getGitTimestamp() { def cmd = 'git show -s --format=%ct' diff --git a/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt b/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt index b67f9279a7..649dd8de26 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeActivity.kt @@ -577,7 +577,8 @@ class HomeActivity : return true } R.id.menu_home_report_bug -> { - bugReporter.openBugReportScreen(this, ReportType.BUG_REPORT) + // Tchap: Disable default value for screenshot + bugReporter.openBugReportScreen(this, ReportType.BUG_REPORT, withScreenshot = false) return true } R.id.menu_home_init_sync_legacy -> { diff --git a/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt b/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt index d5b4a235e8..899b9f2a76 100644 --- a/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt +++ b/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt @@ -181,7 +181,7 @@ class RoomSettingsController @Inject constructor( val host = this buildProfileAction( id = "removeFromRoomsDirectory", - title = stringProvider.getString(R.string.tchap_room_settings_remove_from_directory), + title = stringProvider.getString(R.string.tchap_room_settings_convert_to_private), divider = true, destructive = true, editable = false, diff --git a/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsFragment.kt b/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsFragment.kt index 13278feb11..abc656411a 100644 --- a/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsFragment.kt +++ b/vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsFragment.kt @@ -203,7 +203,7 @@ class RoomSettingsFragment @Inject constructor( override fun onRemoveFromRoomsDirectory() { MaterialAlertDialogBuilder(requireContext(), R.style.ThemeOverlay_Vector_MaterialAlertDialog_Destructive) .setTitle(R.string.dialog_title_warning) - .setMessage(getString(R.string.tchap_room_settings_remove_from_directory_prompt_msg)) + .setMessage(getString(R.string.tchap_room_settings_convert_to_private_prompt_msg)) .setPositiveButton(R.string.yes) { _, _ -> viewModel.handle(RoomSettingsAction.RemoveFromRoomsDirectory) } diff --git a/vector/src/main/res/layout/item_tchap_editable_avatar_with_name.xml b/vector/src/main/res/layout/item_tchap_editable_avatar_with_name.xml index 140de5039d..1e9c0f648d 100644 --- a/vector/src/main/res/layout/item_tchap_editable_avatar_with_name.xml +++ b/vector/src/main/res/layout/item_tchap_editable_avatar_with_name.xml @@ -82,6 +82,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:imeOptions="actionDone" + android:inputType="textCapSentences" tools:hint="@string/create_room_name_hint" /> diff --git a/vector/src/main/res/values-fr/strings_tchap.xml b/vector/src/main/res/values-fr/strings_tchap.xml index 63480935cd..9a1424efa7 100644 --- a/vector/src/main/res/values-fr/strings_tchap.xml +++ b/vector/src/main/res/values-fr/strings_tchap.xml @@ -52,8 +52,8 @@ Le fichier est infectĂ©, impossible de le tĂ©lĂ©charger. - Retirer ce salon de la liste des forums - Cette action est irrĂ©versible.\nVoulez-vous vraiment retirer ce salon de la liste des forums ? + Convertir en salon privĂ© (irrĂ©versible) + Cette action est irrĂ©versible.\nVoulez-vous vraiment convertir ce forum en salon privĂ© ? Gestion des comptes externes Les externes ne sont pas autorisĂ©s Ă  rejoindre ce salon Les externes sont autorisĂ©s Ă  rejoindre ce salon diff --git a/vector/src/main/res/values/strings_tchap.xml b/vector/src/main/res/values/strings_tchap.xml index f5bb8c2cbc..d375686497 100644 --- a/vector/src/main/res/values/strings_tchap.xml +++ b/vector/src/main/res/values/strings_tchap.xml @@ -52,8 +52,8 @@ We have detected that this file is infected, so it cannot be downloaded. - Remove this room from the forums directory - This action is irreversible.\nAre you sure you want to remove this room from the forums directory? + Convert to private room (irreversible) + This action is irreversible.\nAre you sure you want to convert this forum into a private room? External accounts handling The externals are not allowed to join this room The externals are allowed to join this room