Skip to content

Commit

Permalink
Merge pull request #896 from tchapgouv/release/tchap_v2.7.4
Browse files Browse the repository at this point in the history
Release/tchap v2.7.4
  • Loading branch information
appndigital authored Apr 5, 2023
2 parents 1802076 + 07a0152 commit 2ce56d9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
8 changes: 8 additions & 0 deletions TCHAP_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Changes in Tchap 2.7.4 (2023-04-04)
===================================

Bugfixes 🐛
----------
- Replace hardcoded colors by theming colors on save button. ([#874](https://github.com/tchapgouv/tchap-android-v2/issues/874))


Changes in Tchap 2.7.3 (2023-03-24)
===================================

Expand Down
4 changes: 2 additions & 2 deletions library/ui-strings/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2635,11 +2635,11 @@
<string name="onboarding_new_app_layout_feedback_title">Donner mon avis</string>
<string name="onboarding_new_app_layout_spaces_message">Accédez à vos espaces (en bas à droite) plus rapidement et facilement qu’avant.</string>
<string name="onboarding_new_app_layout_spaces_title">Accéder aux espaces</string>
<string name="onboarding_new_app_layout_welcome_message">Pour simplifier Element, les onglets sont désormais facultatifs. Gérez les depuis le menu en haut à droite.</string>
<string name="onboarding_new_app_layout_welcome_message">Pour simplifier Tchap, les onglets ont été modifié. Gérez les depuis le menu en haut à droite.</string><!-- Tchap: Use custom string -->
<string name="onboarding_new_app_layout_welcome_title">Bienvenu dans une nouvelle vue !</string>
<string name="home_empty_no_unreads_message">C\'est ici que vos messages non-lus s’afficheront lorsque vous en aurez.</string>
<string name="home_empty_no_unreads_title">Rien à signaler.</string>
<string name="home_empty_no_rooms_message">La messagerie sécurisée tout-en-un pour les équipes, les amis, et les organisations. Créez une discussion ou rejoignez un salon pour démarrer.</string>
<string name="home_empty_no_rooms_message">La messagerie instantanée de confiance de l\'Administration. Conçue pour les agents des trois fonctions publiques, pour communiquer facilement en toute sécurité.</string> <!-- Tchap: Custom string -->
<string name="home_empty_no_rooms_title">Bienvenue dans ${app_name},
\n%s.</string>
<string name="home_empty_space_no_rooms_message">Les espaces sont un nouveau moyen de grouper les salons et les gens. Ajoutez un salon, ou créez en un nouveau à l’aide du bouton en bas à droite.</string>
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "2.7.3"
version = "2.7.4"
directory = "changelog.d"
filename = "TCHAP_CHANGES.md"
name = "Changes in Tchap"
Expand Down
2 changes: 1 addition & 1 deletion vector-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ext.versionMinor = 7
// 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 = 3
ext.versionPatch = 4

static def getGitTimestamp() {
def cmd = 'git show -s --format=%ct'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ import okhttp3.Response
import org.json.JSONException
import org.json.JSONObject
import org.matrix.android.sdk.api.Matrix
import org.matrix.android.sdk.api.session.identity.ThreePid
import org.matrix.android.sdk.api.util.BuildVersionSdkIntProvider
import org.matrix.android.sdk.api.util.JsonDict
import org.matrix.android.sdk.api.util.MatrixJsonParser
Expand Down Expand Up @@ -260,6 +261,7 @@ class BugReporter @Inject constructor(
var deviceId = "undefined"
var userId = "undefined"
var olmVersion = "undefined"
var email = "undefined"
var bugReportURL = buildString {
append(context.getString(R.string.server_url_prefix))
append(context.getString(R.string.bug_report_default_host))
Expand All @@ -271,6 +273,7 @@ class BugReporter @Inject constructor(
deviceId = session.sessionParams.deviceId ?: "undefined"
olmVersion = session.cryptoService().getCryptoVersion(context, true)
bugReportURL = session.sessionParams.homeServerUrl.removeSuffix("/") + BUG_REPORT_URL_SUFFIX
email = session.profileService().getThreePids().filterIsInstance<ThreePid.Email>().firstOrNull()?.email ?: "undefined" // Tchap : Add Email
}

if (!mIsCancelled) {
Expand All @@ -290,6 +293,7 @@ class BugReporter @Inject constructor(
.addFormDataPart("app", rageShakeAppNameForReport(reportType))
.addFormDataPart("user_agent", matrix.getUserAgent())
.addFormDataPart("user_id", userId)
.addFormDataPart("email", email) // Tchap : Add Email
.addFormDataPart("can_contact", canContact.toString())
.addFormDataPart("device_id", deviceId)
.addFormDataPart("version", versionProvider.getVersion(longFormat = true))
Expand Down
4 changes: 2 additions & 2 deletions vector/src/main/res/drawable/ic_composer_rich_text_save.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
android:viewportHeight="36">
<path
android:pathData="M18,18m-18,0a18,18 0,1 1,36 0a18,18 0,1 1,-36 0"
android:fillColor="#0DBD8B"/>
android:fillColor="?colorPrimary"/>
<path
android:pathData="M9.818,18.787L14.705,23.818L26.182,12"
android:strokeLineJoin="round"
android:strokeWidth="2.5"
android:fillColor="#00000000"
android:strokeColor="#ffffff"
android:strokeColor="?colorOnPrimary"
android:strokeLineCap="round"/>
</vector>

0 comments on commit 2ce56d9

Please sign in to comment.