Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 610fc12

Browse files
committed
Merge branch 'release/0.8.21'
2 parents bfe46a8 + 4ad3b1f commit 610fc12

File tree

178 files changed

+3524
-1385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+3524
-1385
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Pull Request Checklist
22

3-
<!-- Please read CONTRIBUTING.rst before submitting your pull request -->
3+
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/riot-android/CONTRIBUTING.md) before submitting your pull request -->
44

55
* [ ] Pull request is based on the develop branch
66
* [ ] Pull request updates [CHANGES.rst](https://github.com/vector-im/riot-android/blob/develop/CHANGES.rst)

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
/local.properties
1414

1515
/tmp
16+
17+
captures/

AUTHORS.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,10 @@ Isa Cichon <isa4 at posteo.net>
4545

4646
Nathan van Beelen <nathan at vanbeelen.org>
4747
* PR #1742: Add a media previewer
48+
49+
Blue <blue at bluecode.fr>
50+
* Propagate error messages from 3PID and display them during signup
51+
52+
Ville Ranki <ville.ranki at iki.fi>
53+
* Fix avatar icon characters being offset
54+

CHANGES.rst

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
Changes in Riot 0.8.21 (2018-01-02)
2+
===================================================
3+
4+
MatrixSdk:
5+
- Upgrade MatrixSdk to version 0.9.15.
6+
7+
Improvements:
8+
- Show userId below display name in member detail screen (#2756)
9+
- Clicking on a user and a room avatar opens a new screen with animation to view the avatar in full screen, with zoom capabilities (#2455)
10+
- Added Troubleshoot Notification settings page
11+
- Add badge to indicate number of group invitations on the Home Screen (#1923)
12+
13+
Other changes:
14+
- Update README.md and CONTRIBUTING.md (#2795)
15+
16+
Bugfix:
17+
- Defensive code for notifications issues + check play services as per FCM recommendation (#2266)
18+
- No notification on f-droid when device enters sleep mode (#2789)
19+
- Added ShortcutBadger missing permissions for some devices
20+
- Fix many little UI/UX issues (#2769)
21+
- Fix crash opening the setting screen (#2793)
22+
- Allow popup on IntegrationManagerActivity's WebView because it's require to add Slack integration (#2768)
23+
- Fix crash on Android ViewPager (#2786)
24+
- Fix avatar icon characters being a little bit offset to right.
25+
- Fix Stopping Loading View after Upload of User Avatar (#2801)
26+
- Fix no display of image without `info` (#2666)
27+
- Fix permission request failure. It was actually not necessary to request overlay permission (#2680)
28+
129
Changes in Riot 0.8.20 (2018-12-13)
230
===================================================
331

@@ -1104,7 +1132,7 @@ Changes in Riot 0.8.XX (2018-XX-XX)
11041132
===================================================
11051133

11061134
MatrixSdk:
1107-
- Upgrade to version 0.X.Y.
1135+
- Upgrade MatrixSdk to version 0.X.Y.
11081136

11091137
Features:
11101138
-
@@ -1116,7 +1144,7 @@ Other changes:
11161144
-
11171145

11181146
Bugfix:
1119-
-
1147+
- Correct issue during signup when a 3PID error would let the signup flow spin forever
11201148

11211149
Translations:
11221150
-

CONTRIBUTING.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Contributing code to Matrix
2+
3+
Please read https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst
4+
5+
Android support can be found in this [![Android Matrix room](https://img.shields.io/matrix/riot-android:matrix.org.svg)](https://riot.im/app/#/room/#riot-android:matrix.org)
6+
7+
# Specific rules for Matrix Android projects
8+
9+
## Compilation
10+
11+
Riot Android uses by default the Matrix Android SDK library (file `matrix-sdk.aar`).
12+
At each release, this library is updated.
13+
Between two releases, the Riot code may not compile due to evolution of the library API.
14+
To compile against the source of the Matrix Android library, please clone the project [AndroidMatrixSdk](https://github.com/matrix-org/matrix-android-sdk)
15+
and run the following command:
16+
17+
> ./compile_with_sdk_project.sh
18+
19+
## I want to help translating Riot
20+
21+
If you want to fix an issue with an English string, please submit a PR.
22+
If you want to fix an issue in other languages, or add a missing translation, or even add a new language, please use [Weblate](https://translate.riot.im/projects/riot-android/).
23+
24+
## I want to submit a PR to fix an issue
25+
26+
Please check if a corresponding issue exists. If yes, please let us know in a comment that you're working on it.
27+
If an issue does not exist yet, it may be relevant to open a new issue and let us know that you're implementing it.
28+
29+
### Kotlin
30+
31+
Please write every new classes in Kotlin. You can also convert existing Java classes (limited to classes impacted by the PR) to Kotlin (Android Studio has a tool to do this), but if you do so, please do atomic commit of the conversion, to ensure there is no other change, it will facilitate code review.
32+
Also please check that everything works fine after Kotlin conversion, especially regarding nullity check.
33+
34+
### CHANGES.rst
35+
36+
Please add a line in the file `CHANGES.rst` describing your change.
37+
38+
### Code quality
39+
40+
Make sure the following commands execute without any error:
41+
42+
> ./tools/check/check_code_quality.sh
43+
> ./gradlew lintAppRelease
44+
45+
### Unit tests
46+
47+
Make sure the following commands execute without any error:
48+
49+
> ./gradlew testAppReleaseUnitTest
50+
51+
### Internationalisation
52+
53+
When adding new string resources, please only add new entries in file `value/strings.xml`. Translations will be added later by the community of translators with a specific tool named [Weblate](https://translate.riot.im/projects/riot-android/).
54+
Do not hesitate to use plurals when appropriate.
55+
56+
### Layout
57+
58+
When adding or editing layouts, make sure the layout will render correctly if device uses a RTL (Right To Left) language.
59+
You can check this in the layout editor preview by selecting any RTL language (ex: Arabic).
60+
61+
Also please check that the colors are ok for all the current themes of Riot. Please use `?attr` instead of `@color` to reference colors in the layout. You can check this in the layout editor preview by selecting all the main themes (`AppTheme.Status`, `AppTheme.Dark`, etc.).
62+
63+
### Authors
64+
65+
Feel free to add an entry in file AUTHORS.rst
66+
67+
## Thanks
68+
69+
Thanks for contributing to Matrix projects!

CONTRIBUTING.rst

Lines changed: 0 additions & 124 deletions
This file was deleted.

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Riot-Android [![Jenkins](https://img.shields.io/jenkins/s/https/matrix.org/jenkins/view/MatrixView/job/VectorAndroidDevelop.svg)](https://matrix.org/jenkins/view/MatrixView/job/VectorAndroidDevelop/) [![Weblate](https://translate.riot.im/widgets/riot-android/-/svg-badge.svg)](https://translate.riot.im/engage/riot-android/?utm_source=widget) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=vector.android.riot&metric=alert_status)](https://sonarcloud.io/dashboard?id=vector.android.riot) [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=vector.android.riot&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=vector.android.riot) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=vector.android.riot&metric=bugs)](https://sonarcloud.io/dashboard?id=vector.android.riot)
2-
=======
1+
Riot-Android [![Jenkins](https://img.shields.io/jenkins/s/https/matrix.org/jenkins/view/MatrixView/job/VectorAndroidDevelop.svg)](https://matrix.org/jenkins/view/MatrixView/job/VectorAndroidDevelop/) [![Weblate](https://translate.riot.im/widgets/riot-android/-/svg-badge.svg)](https://translate.riot.im/engage/riot-android/?utm_source=widget) [![Android Matrix room](https://img.shields.io/matrix/riot-android:matrix.org.svg)](https://riot.im/app/#/room/#riot-android:matrix.org) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=vector.android.riot&metric=alert_status)](https://sonarcloud.io/dashboard?id=vector.android.riot) [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=vector.android.riot&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=vector.android.riot) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=vector.android.riot&metric=bugs)](https://sonarcloud.io/dashboard?id=vector.android.riot)
2+
============
33

44
Riot is an Android Matrix client.
55

@@ -8,6 +8,11 @@ Riot-Android [![Jenkins](https://img.shields.io/jenkins/s/https/matrix.org/jenki
88
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="60">](https://f-droid.org/app/im.vector.alpha)
99

1010

11+
Contributing
12+
============
13+
14+
Please refer to [CONTRIBUTING.md](https://github.com/vector-im/riot-android/blob/develop/CONTRIBUTING.md) if you want to contribute the Matrix on Android projects!
15+
1116
Build instructions
1217
==================
1318

@@ -72,7 +77,7 @@ for example, with FCM, it would give
7277
}
7378
```
7479

75-
- if you use FCM, duplicate appCompile at the end of this file and replace appCompile by appmyriotCompile.
80+
- if you use FCM, duplicate appImplementation at the end of this file and replace appImplementation by appmyriotImplementation.
7681
- if you don't, update the "if (!getGradle().getStartParameter().getTaskRequests().toString().contains("fdroid"))" to include your flavor.
7782

7883
Create your flavour directory
@@ -86,8 +91,7 @@ Customise your flavour
8691
----------------------
8792

8893
- Open riot-android/vector/src/appmyriot/AndroidManifest.xml
89-
- Comment the provider section.
90-
- Change the application name to myRiot with "android:label="myRiot""
94+
- Change the application name to myRiot with "android:label="myRiot"" and "tools:replace="label"" in the application tag.
9195
- Any other field can be customised by adding the resources in this directory classpath.
9296
- Open Android studio, select your flavour.
9397
- Build and run the app : you made your first Riot app.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ buildscript {
2323

2424
// global properties used in sub modules
2525
ext {
26-
versionCodeProp = 82000
27-
versionNameProp = "0.8.20"
26+
versionCodeProp = 82100
27+
versionNameProp = "0.8.21"
2828
versionBuild = System.getenv("BUILD_NUMBER") as Integer ?: 0
2929
buildNumberProp = "${versionBuild}"
3030
}

vector/libs/matrix-sdk.aar

5.26 KB
Binary file not shown.

0 commit comments

Comments
 (0)