From 9f48308c8600ed39920250dbfb1756378c50aad5 Mon Sep 17 00:00:00 2001
From: Julien DAUPHANT <1238254+jdauphant@users.noreply.github.com>
Date: Sat, 4 Mar 2023 22:21:39 +0100
Subject: [PATCH 1/9] Remove hardcoded color on save button
---
vector/src/main/res/drawable/ic_composer_rich_text_save.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vector/src/main/res/drawable/ic_composer_rich_text_save.xml b/vector/src/main/res/drawable/ic_composer_rich_text_save.xml
index f270d6f8ae..63eb8d2c43 100644
--- a/vector/src/main/res/drawable/ic_composer_rich_text_save.xml
+++ b/vector/src/main/res/drawable/ic_composer_rich_text_save.xml
@@ -5,12 +5,12 @@
android:viewportHeight="36">
+ android:fillColor="?colorPrimary"/>
From 31d1e0502c504bb90ea109fd0552af67cd3bdf5b Mon Sep 17 00:00:00 2001
From: Julien DAUPHANT <1238254+jdauphant@users.noreply.github.com>
Date: Sat, 4 Mar 2023 22:53:19 +0100
Subject: [PATCH 2/9] Add changelog
---
changelog.d/874.bugfix | 1 +
1 file changed, 1 insertion(+)
create mode 100644 changelog.d/874.bugfix
diff --git a/changelog.d/874.bugfix b/changelog.d/874.bugfix
new file mode 100644
index 0000000000..9131367c60
--- /dev/null
+++ b/changelog.d/874.bugfix
@@ -0,0 +1 @@
+Replace hardcoded colors by theming colors on save button.
\ No newline at end of file
From 27e95f3b40c5712484f0f4da5f9bfdb3326676fc Mon Sep 17 00:00:00 2001
From: Julien DAUPHANT <1238254+jdauphant@users.noreply.github.com>
Date: Sat, 11 Mar 2023 13:52:33 +0100
Subject: [PATCH 3/9] Correction texte
---
library/ui-strings/src/main/res/values-fr/strings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/ui-strings/src/main/res/values-fr/strings.xml b/library/ui-strings/src/main/res/values-fr/strings.xml
index a16de503d4..fbdd53b62b 100644
--- a/library/ui-strings/src/main/res/values-fr/strings.xml
+++ b/library/ui-strings/src/main/res/values-fr/strings.xml
@@ -2635,7 +2635,7 @@
Donner mon avis
Accédez à vos espaces (en bas à droite) plus rapidement et facilement qu’avant.
Accéder aux espaces
- Pour simplifier Element, les onglets sont désormais facultatifs. Gérez les depuis le menu en haut à droite.
+ Pour simplifier Tchap, les onglets ont été modifié. Gérez les depuis le menu en haut à droite.
Bienvenu dans une nouvelle vue !
C\'est ici que vos messages non-lus s’afficheront lorsque vous en aurez.
Rien à signaler.
From 9ee788e8698579a19dd3d92aff0bc0784d294f91 Mon Sep 17 00:00:00 2001
From: Julien DAUPHANT <1238254+jdauphant@users.noreply.github.com>
Date: Sat, 11 Mar 2023 13:55:29 +0100
Subject: [PATCH 4/9] Update
library/ui-strings/src/main/res/values-fr/strings.xml
---
library/ui-strings/src/main/res/values-fr/strings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/ui-strings/src/main/res/values-fr/strings.xml b/library/ui-strings/src/main/res/values-fr/strings.xml
index fbdd53b62b..5000f753fc 100644
--- a/library/ui-strings/src/main/res/values-fr/strings.xml
+++ b/library/ui-strings/src/main/res/values-fr/strings.xml
@@ -2635,7 +2635,7 @@
Donner mon avis
Accédez à vos espaces (en bas à droite) plus rapidement et facilement qu’avant.
Accéder aux espaces
- Pour simplifier Tchap, les onglets ont été modifié. Gérez les depuis le menu en haut à droite.
+ Pour simplifier Tchap, les onglets ont été modifié. Gérez les depuis le menu en haut à droite.
Bienvenu dans une nouvelle vue !
C\'est ici que vos messages non-lus s’afficheront lorsque vous en aurez.
Rien à signaler.
From 7526a672e689c98e4efb56e62bc56d3a6febcf37 Mon Sep 17 00:00:00 2001
From: Julien DAUPHANT <1238254+jdauphant@users.noreply.github.com>
Date: Wed, 15 Mar 2023 01:34:07 +0100
Subject: [PATCH 5/9] Add Email to BugReporter.kt
---
.../main/java/im/vector/app/features/rageshake/BugReporter.kt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt b/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
index 6602b2b669..26b9e47b2f 100755
--- a/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
+++ b/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
@@ -260,6 +260,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))
@@ -271,6 +272,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().firstOrNull()?.email ?: "undefined" // TCHAP Add Email
}
if (!mIsCancelled) {
@@ -290,6 +292,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))
From 8d281e5f7351cfbad3e93e379041d77b779a8d14 Mon Sep 17 00:00:00 2001
From: Julien DAUPHANT <1238254+jdauphant@users.noreply.github.com>
Date: Tue, 21 Mar 2023 21:18:21 +0100
Subject: [PATCH 6/9] Changer texte d'accueils
---
library/ui-strings/src/main/res/values-fr/strings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/ui-strings/src/main/res/values-fr/strings.xml b/library/ui-strings/src/main/res/values-fr/strings.xml
index 04b22997ef..5c5e1b9333 100644
--- a/library/ui-strings/src/main/res/values-fr/strings.xml
+++ b/library/ui-strings/src/main/res/values-fr/strings.xml
@@ -2639,7 +2639,7 @@
Bienvenu dans une nouvelle vue !
C\'est ici que vos messages non-lus s’afficheront lorsque vous en aurez.
Rien à signaler.
- 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.
+ La messagerie sécurisée tout-en-un pour les équipes, les collègues, et les organisations. Créez une discussion ou rejoignez un salon pour démarrer.
Bienvenue dans ${app_name},
\n%s.
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.
From 3d01f484c89e92016d4e32a7c4b29bcf5e91dbb7 Mon Sep 17 00:00:00 2001
From: Didier Nizard
Date: Wed, 29 Mar 2023 21:47:27 +0200
Subject: [PATCH 7/9] Change string
---
library/ui-strings/src/main/res/values-fr/strings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/ui-strings/src/main/res/values-fr/strings.xml b/library/ui-strings/src/main/res/values-fr/strings.xml
index e5d7228ea2..c271279452 100644
--- a/library/ui-strings/src/main/res/values-fr/strings.xml
+++ b/library/ui-strings/src/main/res/values-fr/strings.xml
@@ -2639,7 +2639,7 @@
Bienvenu dans une nouvelle vue !
C\'est ici que vos messages non-lus s’afficheront lorsque vous en aurez.
Rien à signaler.
- La messagerie sécurisée tout-en-un pour les équipes, les collègues, et les organisations. Créez une discussion ou rejoignez un salon pour démarrer.
+ 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é.
Bienvenue dans ${app_name},
\n%s.
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.
From c49fbd481a83158a895e6d107f3c1cbe9d13072c Mon Sep 17 00:00:00 2001
From: Didier Nizard
Date: Thu, 30 Mar 2023 12:41:23 +0200
Subject: [PATCH 8/9] Add missing import
---
.../java/im/vector/app/features/rageshake/BugReporter.kt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt b/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
index 26b9e47b2f..1ea9254364 100755
--- a/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
+++ b/vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
@@ -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
@@ -272,7 +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().firstOrNull()?.email ?: "undefined" // TCHAP Add Email
+ email = session.profileService().getThreePids().filterIsInstance().firstOrNull()?.email ?: "undefined" // Tchap : Add Email
}
if (!mIsCancelled) {
@@ -292,7 +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("email", email) // Tchap : Add Email
.addFormDataPart("can_contact", canContact.toString())
.addFormDataPart("device_id", deviceId)
.addFormDataPart("version", versionProvider.getVersion(longFormat = true))
From 07a015209b385cdd4f050169d4c68515c416892d Mon Sep 17 00:00:00 2001
From: Didier Nizard
Date: Tue, 4 Apr 2023 14:10:41 +0200
Subject: [PATCH 9/9] Upgrade version
---
TCHAP_CHANGES.md | 8 ++++++++
changelog.d/874.bugfix | 1 -
towncrier.toml | 2 +-
vector-app/build.gradle | 2 +-
4 files changed, 10 insertions(+), 3 deletions(-)
delete mode 100644 changelog.d/874.bugfix
diff --git a/TCHAP_CHANGES.md b/TCHAP_CHANGES.md
index 3a96e4fc4a..f7490b27e6 100644
--- a/TCHAP_CHANGES.md
+++ b/TCHAP_CHANGES.md
@@ -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)
===================================
diff --git a/changelog.d/874.bugfix b/changelog.d/874.bugfix
deleted file mode 100644
index 9131367c60..0000000000
--- a/changelog.d/874.bugfix
+++ /dev/null
@@ -1 +0,0 @@
-Replace hardcoded colors by theming colors on save button.
\ No newline at end of file
diff --git a/towncrier.toml b/towncrier.toml
index 85e53e138b..dbfbc655ca 100644
--- a/towncrier.toml
+++ b/towncrier.toml
@@ -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"
diff --git a/vector-app/build.gradle b/vector-app/build.gradle
index a7d5a4055b..ad11feeea6 100644
--- a/vector-app/build.gradle
+++ b/vector-app/build.gradle
@@ -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'