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.14'
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Dec 13, 2018
2 parents 9a7d90a + ffa2705 commit 458fdd0
Show file tree
Hide file tree
Showing 174 changed files with 8,797 additions and 2,116 deletions.
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Pull Request Checklist

<!-- Please read CONTRIBUTING.rst before submitting your pull request -->

* [ ] Pull request is based on the develop branch
* [ ] Pull request updates [CHANGES.rst](https://github.com/matrix-org/matrix-android-sdk/blob/develop/CHANGES.rst)
* [ ] Pull request includes a [sign off](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst#sign-off)
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android:
- platform-tools

# The BuildTools version used by your project
- build-tools-27.0.3
- build-tools-28.0.3

# The SDK version used to compile your project
- android-27
Expand Down
86 changes: 76 additions & 10 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
Changes to Matrix Android SDK in 0.9.14 (2018-12-13)
=======================================================

Features:
- Add terms model for the register/login flow (vector-im/riot-android#2442)

Improvements:
- Any Account data element, even if the type is not known is persisted.
- The crypto store is now implemented using a Realm database. The existing file store will be migrated at first usage (#398)
- Upgrade olm-sdk.aar from version 2.3.0 to version 3.0.0
- Implement the backup of the room keys in the KeysBackup class (vector-im/riot-android#2642)

Bugfix:
- Generate thumbnails for gifs rather than throw an error (#395)
- Room members who left are listed with the actual members (vector-im/riot-android#2744)
- I'm not allow to send message in a new joined room (vector-im/riot-android#2743)
- Matrix Content Scanner: Refresh the server public key on error with "MCS_BAD_DECRYPTION" reason.
- Fix several issues on Room history and enable LazyLoading on this request.

API Change:
- new API in CallSoundsManager to allow client to play the specified Ringtone (vector-im/riot-android#827)
- IMXStore.storeAccountData() has been renamed to IMXStore.storeRoomAccountData()
- MXCrypto: importRoomKeys methods now return number of imported keys and number of total keys in the Callback.
- `MXMediasCache` has been renamed to `MXMediaCache` (and `Medias` to `Media`)
- Remove IconAndTextDialogFragment, it's up to the application to manage UI.

Build:
- Introduce Kotlin to the SDK

Test:
- New tests for crypto store, including migration from File store to Realm store
- New tests for keys backup feature

Changes to Matrix Android SDK in 0.9.13 (2018-11-06)
=======================================================

Expand Down Expand Up @@ -685,7 +718,7 @@ Bugfixes:

* #290 : Redacting membership events should immediately reset the displayname & avatar of room members
* #320 : Sanitise the logs to remove private data
* #330 : some medias are not downloadable
* #330 : some media are not downloadable
* #352 : some rooms are not displayed in the recents when the 10 last messages are redacted ones after performing an initial sync
* #358 : Update the event not found message when clicking on permalink
* #359 : Redacting a video during sending goes wrong
Expand Down Expand Up @@ -821,10 +854,10 @@ Bugfixes:
* SYAND-90 The very first pagination jumps the scroll bar.
* The room spinner was sometime stuck.
* The presense was sometimes invalid.
* MXMediasCache : delete the destinated file if it already exists.
* MXMediaCache : delete the destinated file if it already exists.
* The back pagination was sometimes stuck after a network error.
* Texts sizes are now defined in SD instead of DP.
* The medias message sending did not work properly when the application was in background.
* The media message sending did not work properly when the application was in background.
* Fix an issue when a room is left, joined, left and joined again.
* The account info was sometimes resetted after receiving a membership event.
* The filestore was not really cleared after a logout.
Expand Down Expand Up @@ -994,7 +1027,7 @@ Changes in Matrix Android SDK in 0.4.1 (2015-06-22)

Improvements:

* Automatically resend failed medias.
* Automatically resend failed media.

Bug fixes:

Expand All @@ -1021,7 +1054,7 @@ Improvements:
* Rotate image with exif if the device has enough memory.
* Enable largeHeap to be able to manage large images.
* Move ImageUtils from console to the SDK.
* Each account has its own medias directory (except the member thumbnails).
* Each account has its own media directory (except the member thumbnails).
* Update the media file name computation to ensure its uniqueness.
* The media download & upload progress is more linear.
* Remove the presence and typing events while processing the first events request after application launch.
Expand Down Expand Up @@ -1080,8 +1113,8 @@ Improvements:

Features:

* Applications can share medias with Matrix Console with the "<" button.
* Matrix console can share medias with third party applications like emails.
* Applications can share media with Matrix Console with the "<" button.
* Matrix console can share media with third party applications like emails.
* A message can be forwarded to an existing room or to a third party application.
* The images are not anymore automatically saved when displayed in fullscreen : there is a new menu when tapping on the message. (The media mud have been downloaded once).
* Add multi-accounts management. Create/Join a room require to select an account.
Expand Down Expand Up @@ -1186,7 +1219,7 @@ Improvements:
* Refresh the display when some messages are automatically resent (after retrieving a data network connection for example).
* Update the user rename message to be compliant with the web client.
* Use the local media files instead of downloading them when they are acknowledged (messages sending).
* Create a medias management class.
* Create a media management class.
* Display the offline status in the members list.
* Avoid creating new homeActivity instance when joining a room from member details sheet.
* The public rooms list are now saved in the bundle state : it should avoid having a spinner when rotated the device.
Expand Down Expand Up @@ -1243,7 +1276,7 @@ Bug fixes:
* SYAND-30 Notification should be away when entering a room.
* Some images thumbnails were downloaded several times.
* Restore the foreground service
* The medias cache was not cleared after logging out.
* The media cache was not cleared after logging out.
* The client crashed when joining #anime:matrix.org.
* SYAND-29 Messages in delivery status are not seen
* Some user display names were their matrix IDs.
Expand Down Expand Up @@ -1340,4 +1373,37 @@ Features:
Bug fixes:

* SYAND-17 Crash on login on master




=======================================================
+ TEMPLATE WHEN PREPARING A NEW RELEASE +
=======================================================


Changes to Matrix Android SDK in 0.9.X (2018-XX-XX)
=======================================================

Features:
-

Improvements:
-

Bugfix:
-

API Change:
-

Translations:
-

Others:
-

Build:
-

Test:
-
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.3.10'

repositories {
jcenter()
google()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
google()
jcenter()
mavenCentral()
}
}

Expand Down
31 changes: 28 additions & 3 deletions matrix-sdk/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'realm-android'

buildscript {
repositories {
jcenter()
}

dependencies {
classpath "io.realm:realm-gradle-plugin:5.8.0"
}
}

android {
compileSdkVersion 27
buildToolsVersion '27.0.3'

packagingOptions {
exclude 'LICENSE.txt'
Expand All @@ -14,11 +26,16 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 26
versionCode 913
versionName "0.9.13"
versionCode 914
versionName "0.9.14"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

// prevent the "superClassName is empty" error for classes not annotated as tests
tasks.withType(Test) {
scanForTestClasses = false
Expand Down Expand Up @@ -123,7 +140,12 @@ static def gitRevisionDate() {
}

dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:preference-v7:27.1.1'

implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.google.code.gson:gson:2.8.2'
Expand All @@ -134,6 +156,9 @@ dependencies {

implementation(name: 'olm-sdk', ext: 'aar')

// Database
kapt 'dk.ilios:realmfieldnameshelper:1.1.1'

// replace the compile 'io.pristine:libjingle:9690@aar'
implementation(name: 'react-native-webrtc', ext: 'aar')

Expand Down
Binary file modified matrix-sdk/libs/olm-sdk.aar
Binary file not shown.
Loading

0 comments on commit 458fdd0

Please sign in to comment.