Skip to content

Commit

Permalink
Merge branch 'release/2.13.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
yostyle committed Aug 1, 2024
2 parents 37e1c97 + 27d1992 commit a1f15cb
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 19 deletions.
11 changes: 11 additions & 0 deletions TCHAP_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Changes in Tchap 2.13.2 (2024-08-01)
====================================

Features ✨
----------
- Activation des appels vidéos pour Finances. ([#1092](https://github.com/tchapgouv/tchap-android/issues/1092))

Improvements 🙌
--------------
- Amélioration du parcours de signalement de contenu. ([#1083](https://github.com/tchapgouv/tchap-android/issues/1083))

Changes in Tchap 2.13.1 (2024-07-31)
====================================

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.13.1"
version = "2.13.2"
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 = 13
// 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 = 1
ext.versionPatch = 2

static def getGitTimestamp() {
def cmd = 'git show -s --format=%ct'
Expand Down
1 change: 1 addition & 0 deletions vector-app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
-dontwarn com.google.appengine.api.urlfetch.**
-dontwarn com.google.common.io.LimitInputStream
-dontwarn com.google.firebase.analytics.connector.AnalyticsConnector
-dontwarn com.google.j2objc.annotations.** # TCHAP guava rule
-dontwarn com.google.javascript.jscomp.**
-dontwarn com.likethesalad.android.templates.provider.api.TemplatesProvider
-dontwarn com.yahoo.platform.yui.compressor.**
Expand Down
1 change: 1 addition & 0 deletions vector-config/src/tchap/res/values/config-features.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@

<string-array name="tchap_is_visio_supported_homeservers" translatable="false">
<item>agent.dinum.tchap.gouv.fr</item>
<item>agent.finances.tchap.gouv.fr</item>
</string-array>
</resources>
4 changes: 3 additions & 1 deletion vector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,16 @@ dependencies {
implementation "androidx.emoji2:emoji2:1.3.0"

// TCHAP Manage jitsi lib
// Guava
implementation('com.google.guava:guava:33.2.1-android')
// WebRTC
withdmvoipImplementation('com.github.tchapgouv:webrtc:124.2.0')
withdmvoipImplementation('com.google.guava:guava:33.2.1-android')
// Jitsi
withvoipApi('org.jitsi.react:jitsi-meet-sdk:8.1.1') {
exclude group: 'com.google.firebase'
exclude group: 'com.google.android.gms'
exclude group: 'com.android.installreferrer'
exclude group: 'com.android.guava'

// Exclude jitsi's android-scalablevideoview fork's support library
// The library exports a jetified artifact but doesn't remove the support library dependency
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ sealed class EventSharedAction(
EventSharedAction(CommonStrings.report_content_inappropriate, R.drawable.ic_report_inappropriate)

data class ReportContentCustom(val eventId: String, val senderId: String?) :
EventSharedAction(CommonStrings.report_content_custom, R.drawable.ic_report_custom)
EventSharedAction(CommonStrings.report_content, R.drawable.ic_flag) // TCHAP Use custom report content by default.

data class IgnoreUser(val senderId: String?) :
EventSharedAction(CommonStrings.message_ignore_user, R.drawable.ic_alert_triangle, true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,17 +424,19 @@ class MessageActionsViewModel @AssistedInject constructor(
if (session.myUserId != timelineEvent.root.senderId) {
// not sent by me
if (timelineEvent.root.isContentReportable()) {
add(EventSharedAction.ReportContent(eventId, timelineEvent.root.senderId))
// TCHAP Use custom report content by default.
add(EventSharedAction.ReportContentCustom(eventId, timelineEvent.root.senderId))
}

add(EventSharedAction.Separator)
add(EventSharedAction.IgnoreUser(timelineEvent.root.senderId))
add(
EventSharedAction.ReportUser(
eventId = eventId,
senderId = timelineEvent.root.senderId,
)
)
// TCHAP Hide user report feature in event action list.
// add(
// EventSharedAction.ReportUser(
// eventId = eventId,
// senderId = timelineEvent.root.senderId,
// )
// )
}
}

Expand Down
8 changes: 0 additions & 8 deletions vector/src/main/res/drawable/ic_report_custom.xml

This file was deleted.

0 comments on commit a1f15cb

Please sign in to comment.