From ee16ef06e91cbc02940d874b19f54e67c831e173 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 9 Jan 2024 12:20:07 +0100 Subject: [PATCH 01/25] version++ --- matrix-sdk-android/build.gradle | 2 +- vector-app/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index 84b05a527a..f46fe81432 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -62,7 +62,7 @@ android { // that the app's state is completely cleared between tests. testInstrumentationRunnerArguments clearPackageData: 'true' - buildConfigField "String", "SDK_VERSION", "\"1.6.10\"" + buildConfigField "String", "SDK_VERSION", "\"1.6.12\"" buildConfigField "String", "GIT_SDK_REVISION", "\"${gitRevision()}\"" buildConfigField "String", "GIT_SDK_REVISION_UNIX_DATE", "\"${gitRevisionUnixDate()}\"" diff --git a/vector-app/build.gradle b/vector-app/build.gradle index 7c51dcd34c..a5df2ae1d5 100644 --- a/vector-app/build.gradle +++ b/vector-app/build.gradle @@ -37,7 +37,7 @@ ext.versionMinor = 6 // 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 = 10 +ext.versionPatch = 12 static def getGitTimestamp() { def cmd = 'git show -s --format=%ct' From 42696eb31dc00f1b345551e5c9d2441c1df7b57b Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 9 Jan 2024 14:04:08 +0100 Subject: [PATCH 02/25] Fix parsing after artifact url change on GitHub --- tools/release/download_github_artifacts.py | 27 +++++++++++----------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/tools/release/download_github_artifacts.py b/tools/release/download_github_artifacts.py index 4424c0e009..8bc0c2d9c9 100755 --- a/tools/release/download_github_artifacts.py +++ b/tools/release/download_github_artifacts.py @@ -16,11 +16,12 @@ # import argparse -import hashlib import json import os # Run `pip3 install requests` if not installed yet import requests +# Run `pip3 install re` if not installed yet +import re # This script downloads artifacts from GitHub. # Ref: https://docs.github.com/en/rest/actions/artifacts#get-an-artifact @@ -65,22 +66,20 @@ print(args) # Split the artifact URL to get information -# Ex: https://github.com/element-hq/element-android/suites/9293388174/artifacts/435942121 +# Ex: https://github.com/element-hq/element-android/actions/runs/7460386865/artifacts/1156548729 artifactUrl = args.artifactUrl -if not artifactUrl.startswith('https://github.com/'): - print("❌ Invalid parameter --artifactUrl %s. Must start with 'https://github.com/'" % artifactUrl) - exit(1) -if "/artifacts/" not in artifactUrl: - print("❌ Invalid parameter --artifactUrl %s. Must contain '/artifacts/'" % artifactUrl) - exit(1) -artifactItems = artifactUrl.split("/") -if len(artifactItems) != 9: - print("❌ Invalid parameter --artifactUrl %s. Please check the format." % (artifactUrl)) + +url_regex = r"https://github.com/(.+?)/(.+?)/actions/runs/.+?/artifacts/(.+)" +result = re.search(url_regex, artifactUrl) + +if result is None: + print( + "❌ Invalid parameter --artifactUrl '%s'. Please check the format.\nIt should be something like: %s" % + (artifactUrl, 'https://github.com/element-hq/element-android/actions/runs/7460386865/artifacts/1156548729') + ) exit(1) -gitHubRepoOwner = artifactItems[3] -gitHubRepo = artifactItems[4] -artifactId = artifactItems[8] +(gitHubRepoOwner, gitHubRepo, artifactId) = result.groups() if args.verbose: print("gitHubRepoOwner: %s, gitHubRepo: %s, artifactId: %s" % (gitHubRepoOwner, gitHubRepo, artifactId)) From 0f3d22bc85d17ce56ab6410a1ac491a583ee1fe8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 23:41:59 +0000 Subject: [PATCH 03/25] Bump io.element.android:wysiwyg from 2.24.0 to 2.25.0 Bumps [io.element.android:wysiwyg](https://github.com/matrix-org/matrix-wysiwyg) from 2.24.0 to 2.25.0. - [Changelog](https://github.com/matrix-org/matrix-rich-text-editor/blob/main/CHANGELOG.md) - [Commits](https://github.com/matrix-org/matrix-wysiwyg/compare/2.24.0...2.25.0) --- updated-dependencies: - dependency-name: io.element.android:wysiwyg dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.gradle b/dependencies.gradle index 79368a8977..3d19437201 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -101,7 +101,7 @@ ext.libs = [ ], element : [ 'opusencoder' : "io.element.android:opusencoder:1.1.0", - 'wysiwyg' : "io.element.android:wysiwyg:2.24.0" + 'wysiwyg' : "io.element.android:wysiwyg:2.25.0" ], squareup : [ 'moshi' : "com.squareup.moshi:moshi:$moshi", From 122018dd7b37c478cc2c905debf5c9223ecf5d50 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 15 Jan 2024 10:55:42 +0100 Subject: [PATCH 04/25] fix typo --- fastlane/metadata/android/en-US/changelogs/40106100.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/metadata/android/en-US/changelogs/40106100.txt b/fastlane/metadata/android/en-US/changelogs/40106100.txt index 778f0b40c5..f9df252025 100644 --- a/fastlane/metadata/android/en-US/changelogs/40106100.txt +++ b/fastlane/metadata/android/en-US/changelogs/40106100.txt @@ -1,2 +1,2 @@ -Main changes in this version: add Mobile Device Managament and functional members support. +Main changes in this version: add Mobile Device Management and functional members support. Full changelog: https://github.com/element-hq/element-android/releases From 34c75bd6c281c52d40e31a122d833074bba845ae Mon Sep 17 00:00:00 2001 From: davidegirardi <16451191+davidegirardi@users.noreply.github.com> Date: Wed, 17 Jan 2024 09:27:39 +0100 Subject: [PATCH 05/25] Point to Element security@ address and policy --- SECURITY.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 3126b47a07..618ed65317 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,5 +1,5 @@ # Reporting a Vulnerability -**If you've found a security vulnerability, please report it to security@matrix.org** +**If you've found a security vulnerability in Element software, please report it to security@element.io.** -For more information on our security disclosure policy, visit https://www.matrix.org/security-disclosure-policy/ +For more information on our security disclosure policy, visit https://element.io/security/security-disclosure-policy. From 4cd7c60032d47d1184daac54099adffb661cf120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Tue, 30 Jan 2024 12:20:56 +0100 Subject: [PATCH 06/25] Make 'sign in' flow more important in the initial screen --- changelog.d/+update-login-splash-screen.bugfix | 1 + library/ui-strings/src/main/res/values/strings.xml | 1 + .../res/layout/fragment_ftue_splash_carousel.xml | 14 +++++++------- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 changelog.d/+update-login-splash-screen.bugfix diff --git a/changelog.d/+update-login-splash-screen.bugfix b/changelog.d/+update-login-splash-screen.bugfix new file mode 100644 index 0000000000..1ea90a7eab --- /dev/null +++ b/changelog.d/+update-login-splash-screen.bugfix @@ -0,0 +1 @@ +Switch the position and styles of the 'already have an account' and 'create account' buttons in the login splash screen. Also changes the 'already have an account one' to just say 'sign in'. diff --git a/library/ui-strings/src/main/res/values/strings.xml b/library/ui-strings/src/main/res/values/strings.xml index 9f842a5741..577101b0d3 100644 --- a/library/ui-strings/src/main/res/values/strings.xml +++ b/library/ui-strings/src/main/res/values/strings.xml @@ -2095,6 +2095,7 @@ Keep conversations private with encryption Extend & customize your experience Get started + Sign In Create account I already have an account diff --git a/vector/src/main/res/layout/fragment_ftue_splash_carousel.xml b/vector/src/main/res/layout/fragment_ftue_splash_carousel.xml index c6b27f5d09..bb44af1221 100644 --- a/vector/src/main/res/layout/fragment_ftue_splash_carousel.xml +++ b/vector/src/main/res/layout/fragment_ftue_splash_carousel.xml @@ -57,30 +57,30 @@ app:layout_constraintTop_toBottomOf="@id/carouselIndicator" />