Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/0.9.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Feb 10, 2020
2 parents 5da259a + b2ebbd2 commit 6f8ee3c
Show file tree
Hide file tree
Showing 32 changed files with 5,311 additions and 1,218 deletions.
12 changes: 11 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Changes in RiotX 0.9.10 (2019-02-10)
===================================================

MatrixSdk 🚀:
- Upgrade to version 0.9.33
- Changelog: https://github.com/matrix-org/matrix-android-sdk/releases/tag/v0.9.33

Improvements 🙌:
- Support SSO with Firefox accounts (#3337)

Changes in Riot 0.9.9 (2019-11-25)
===================================================

Expand Down Expand Up @@ -1481,7 +1491,7 @@ Changes in Vector 0.2.0 (2016-04-14)
=======================================================


Changes in Riot 0.9.XX (2019-XX-XX)
Changes in Riot 0.9.XX (2020-XX-XX)
===================================================

MatrixSdk 🚀:
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.google.gms:google-services:4.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
Expand All @@ -23,8 +23,8 @@ buildscript {

// global properties used in sub modules
ext {
versionCodeProp = 90900
versionNameProp = "0.9.9"
versionCodeProp = 90910
versionNameProp = "0.9.10"
versionBuild = System.getenv("BUILD_NUMBER") as Integer ?: 0
buildNumberProp = "${versionBuild}"
}
Expand Down
2 changes: 1 addition & 1 deletion vector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ dependencies {
/************* Matrix SDK management **************/
// update settings.gradle
// use the matrix SDK as external dependency
implementation 'com.github.matrix-org:matrix-android-sdk:v0.9.32'
implementation 'com.github.matrix-org:matrix-android-sdk:v0.9.33'
// use the matrix SDK as a sub project
// you have to uncomment some lines in settings.gradle
//implementation project(':matrix-sdk')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ class FallbackAuthenticationActivity : VectorAppCompatActivity() {
mMode = intent.getIntExtra(EXTRA_IN_MODE, MODE_LOGIN)

mWebView.settings.javaScriptEnabled = true

// Enable local storage to support SSO with Firefox accounts
mWebView.settings.domStorageEnabled = true
mWebView.settings.databaseEnabled = true

// Due to https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html, we hack
// the user agent to bypass the limitation of Google, as a quick fix (a proper solution will be to use the SSO SDK)
mWebView.settings.userAgentString = "Mozilla/5.0 Google"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3485,7 +3485,7 @@ public void onClick(View v) {

showWaitingView();

room.joinWithThirdPartySigned(sRoomPreviewData.getRoomIdOrAlias(), signUrl, new ApiCallback<Void>() {
room.joinWithThirdPartySigned(sRoomPreviewData.getSession(), sRoomPreviewData.getRoomIdOrAlias(), signUrl, new ApiCallback<Void>() {
@Override
public void onSuccess(Void info) {
onJoined();
Expand Down
2 changes: 1 addition & 1 deletion vector/src/main/res/layout/activity_vector_login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:textSize="16sp"
android:padding="16dp"
android:textSize="16sp"
android:visibility="gone"
tools:text="A text here"
tools:visibility="visible" />
Expand Down
8 changes: 4 additions & 4 deletions vector/src/main/res/layout/activity_vector_settings.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
android:layout_height="match_parent">

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -29,8 +29,8 @@
android:layout_height="match_parent"
android:background="?attr/vctr_waiting_background_color"
android:clickable="true"
tools:visibility="visible"
android:visibility="gone">
android:visibility="gone"
tools:visibility="visible">

<ProgressBar
android:id="@+id/vector_settings_spinner"
Expand Down
1 change: 0 additions & 1 deletion vector/src/main/res/layout/dialog_confirm_password.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
Expand Down
8 changes: 4 additions & 4 deletions vector/src/main/res/layout/fragment_set_identity_server.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
android:id="@+id/discovery_identity_server_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/discovery_identity_server_enter_til"
app:layout_constraintStart_toStartOf="parent"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
tools:visibility="visible"
android:visibility="gone" />
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/discovery_identity_server_enter_til"
tools:visibility="visible" />

</androidx.constraintlayout.widget.ConstraintLayout>

Expand Down
2 changes: 2 additions & 0 deletions vector/src/main/res/values-az/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>
Loading

0 comments on commit 6f8ee3c

Please sign in to comment.