Skip to content

Commit

Permalink
Merge branch 'release/2.11.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
yostyle committed May 16, 2024
2 parents 3a40f86 + 92fe5b3 commit 0fe8f09
Show file tree
Hide file tree
Showing 13 changed files with 718 additions and 191 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.11.4 (2024-05-16)
====================================

Features ✨
----------
- Activation de la fonction de partage de localisation. ([#1046](https://github.com/tchapgouv/tchap-android/issues/1046))


Changes in Tchap 2.11.3 (2024-05-14)
====================================

Expand Down
2 changes: 1 addition & 1 deletion library/ui-strings/src/main/res/values/donottranslate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
<string name="command_description_crash_application" translatable="false">Crash the application.</string>

<!-- WIP -->
<string name="location_map_view_copyright" translatable="false"IGN</string> <!-- Tchap: Custom string -->
<string name="location_map_view_copyright" translatable="false"Etalab © OpenMapTiles © Contributeurs OpenStreetMap</string> <!-- Tchap: Custom string -->
</resources>
15 changes: 12 additions & 3 deletions tools/release/sign_all_apks_yubi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ then
exit 1
fi

read -p "Please enter the artifact URL: " artifactUrl
read -p "Please enter the artifact URL for Gplay: " artifactGplayUrl
read -p "Please enter the artifact URL for F-Droid: " artifactFdroidUrl
read -s -p "Please enter your GitHub token: " gitHubToken

printf "\n================================================================================\n"
Expand All @@ -34,7 +35,13 @@ set +e

python3 ./tools/release/download_github_artifacts.py \
--token ${gitHubToken} \
--artifactUrl ${artifactUrl} \
--artifactUrl ${artifactGplayUrl} \
--directory ${PARAM_DIRECTORY} \
--ignoreErrors

python3 ./tools/release/download_github_artifacts.py \
--token ${gitHubToken} \
--artifactUrl ${artifactFdroidUrl} \
--directory ${PARAM_DIRECTORY} \
--ignoreErrors

Expand All @@ -45,10 +52,12 @@ printf "\n======================================================================
printf "Unzipping the artifact...\n"

unzip ${PARAM_DIRECTORY}/GplayTchapWithdmvoipWithpinning-release-unsigned.zip -d ${PARAM_DIRECTORY}
unzip ${PARAM_DIRECTORY}/FdroidTchapWithdmvoipWithoutpinning-release-unsigned.zip -d ${PARAM_DIRECTORY}

# Flatten folder hierarchy
mv ${PARAM_DIRECTORY}/gplayTchapWithdmvoipWithpinning/release/* ${PARAM_DIRECTORY}
rm -rf ${PARAM_DIRECTORY}/gplayTchapWithdmvoipWithpinning
mv ${PARAM_DIRECTORY}/fdroidTchapWithdmvoipWithoutpinning/release/* ${PARAM_DIRECTORY}
rm -rf ${PARAM_DIRECTORY}/gplayTchapWithdmvoipWithpinning ${PARAM_DIRECTORY}/fdroidTchapWithdmvoipWithoutpinning

read -s -p "Enter your PIN: " pin

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.11.3"
version = "2.11.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 = 11
// 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
4 changes: 2 additions & 2 deletions vector-config/src/main/java/im/vector/app/config/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ object Config {
*/
const val ALLOW_EXTERNAL_UNIFIED_PUSH_DISTRIBUTORS = false // Tchap: Disable UnifiedPush (use Firebase/background sync)

const val ENABLE_LOCATION_SHARING = false // Tchap: Disable Location Sharing
const val LOCATION_MAP_TILER_KEY = ""
const val ENABLE_LOCATION_SHARING = true
const val LOCATION_MAP_TILER_KEY = "" // Tchap: No key for map is needed

/**
* Whether to read the `io.element.functional_members` state event
Expand Down
2 changes: 1 addition & 1 deletion vector-config/src/main/res/values/config-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<bool name="settings_ignored_users_visible">true</bool>

<!-- Level 1: Labs -->
<bool name="tchap_settings_labs_enable_location_sharing">false</bool> <!-- Tchap: Disable Location Sharing -->
<bool name="tchap_settings_labs_enable_location_sharing">true</bool> <!-- Tchap: Enable Location Sharing -->

<bool name="settings_labs_deferred_dm_visible">true</bool>
<bool name="settings_labs_deferred_dm_default">true</bool>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package im.vector.app.features.location
// Tchap: Tiles from IGN
// const val MAP_BASE_URL = "https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/standard.json"
// Tchap: Tiles from geo.data.gouv.fr
// const val MAP_BASE_URL = "https://openmaptiles.geo.data.gouv.fr/styles/osm-bright/style.json"
const val MAP_BASE_URL = "https://openmaptiles.geo.data.gouv.fr/styles/osm-bright/style.json"
// Tchap: Generate and load map on device
// const val MAP_BASE_URL = "https://api.maptiler.com/maps/streets/style.json"
// const val STATIC_MAP_BASE_URL = "https://api.maptiler.com/maps/basic/static/"
Expand Down
Loading

0 comments on commit 0fe8f09

Please sign in to comment.