-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
* develop: (150 commits) Removes changelog file Fix PR comment Adds changelog file Refactors MessageBubbleView Updating changelog copy making use of the fake overrides for testing extracting the personalization complete emitting to a dedicated function making use of binding api instead of manual findviewbyid using consistent method naming for setting the capabilities override taking the personalization feature flag into account when calculating if personalization is supported - also removes a legacy loading workaround for the account creation step, we're navigating to a new screen AccountCreated so we have to stop the loading adding changelog entry using correct label for the avatar capability debug override forwarding to the profile picture flow when display name changing isn't supported but pictures are when personalising the profile formatting dynamically switching the onboarding flow based on the capabilities of the homeserver - when avatars can't be changed we complete the personlisation flow hiding the toolbar back button and handling system back as take the user home if the display name personalisation is not supported adding test around account creation via dummy dynamically changing the account created layout based on if the homeserver supports personalisation adding entry points for injecting and overriding the homeserver capabilities extracting method for the handling of the profile picture selection ...
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,50 +14,6 @@ env: | |
-Porg.gradle.jvmargs=-Xmx4g | ||
-Porg.gradle.parallel=false | ||
jobs: | ||
# Build Android Tests [Matrix SDK] | ||
build-android-test-matrix-sdk: | ||
name: Matrix SDK - Build Android Tests | ||
runs-on: macos-latest | ||
# No concurrency required, runs every time on a schedule. | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Build Android Tests for matrix-sdk-android | ||
run: ./gradlew clean matrix-sdk-android:assembleAndroidTest $CI_GRADLE_ARG_PROPERTIES --stacktrace | ||
|
||
# Build Android Tests [Matrix APP] | ||
build-android-test-app: | ||
name: App - Build Android Tests | ||
runs-on: macos-latest | ||
# No concurrency required, runs every time on a schedule. | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Build Android Tests for vector | ||
run: ./gradlew clean vector:assembleAndroidTest $CI_GRADLE_ARG_PROPERTIES --stacktrace | ||
|
||
# Run Android Tests | ||
integration-tests: | ||
name: Matrix SDK - Running Integration Tests | ||
|
@@ -87,11 +43,11 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Start synapse server | ||
run: | | ||
pip install matrix-synapse | ||
curl https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh -o start.sh | ||
chmod 777 start.sh | ||
./start.sh --no-rate-limit | ||
uses: michaelkaye/[email protected] | ||
with: | ||
uploadLogs: true | ||
httpPort: 8080 | ||
disableRateLimiting: true | ||
# package: org.matrix.android.sdk.session | ||
- name: Run integration tests for Matrix SDK [org.matrix.android.sdk.session] API[${{ matrix.api-level }}] | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
|
@@ -274,10 +230,11 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Start synapse server | ||
run: | | ||
pip install matrix-synapse | ||
curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh \ | ||
| sed s/127.0.0.1/0.0.0.0/g | sed 's/http:\/\/localhost/http:\/\/10.0.2.2/g' | bash -s -- --no-rate-limit | ||
uses: michaelkaye/[email protected] | ||
with: | ||
uploadLogs: true | ||
httpPort: 8080 | ||
disableRateLimiting: true | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
|
@@ -366,9 +323,6 @@ jobs: | |
needs: | ||
- integration-tests | ||
- ui-tests | ||
# - unit-tests | ||
- build-android-test-matrix-sdk | ||
- build-android-test-app | ||
- sonarqube | ||
if: always() && github.event_name != 'workflow_dispatch' | ||
# No concurrency required, runs every time on a schedule. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,30 @@ env: | |
-Porg.gradle.parallel=false | ||
jobs: | ||
# Build Android Tests | ||
build-android-tests: | ||
name: Build Android Tests | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: ${{ github.ref == 'refs/heads/main' && format('unit-tests-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('unit-tests-develop-{0}', github.sha) || format('build-android-tests-{0}', github.ref) }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Build Android Tests | ||
run: ./gradlew clean assembleAndroidTest $CI_GRADLE_ARG_PROPERTIES --stacktrace | ||
|
||
unit-tests: | ||
name: Run Unit Tests | ||
runs-on: ubuntu-latest | ||
|
@@ -41,3 +65,20 @@ jobs: | |
( github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository ) | ||
with: | ||
files: ./**/build/test-results/**/*.xml | ||
|
||
# Notify the channel about runs against develop or main that have failures, as PRs should have caught these first. | ||
notify: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- unit-tests | ||
- build-android-tests | ||
if: ${{ (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' ) && failure() }} | ||
steps: | ||
- uses: michaelkaye/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
matrix_access_token: ${{ secrets.ELEMENT_ANDROID_NOTIFICATION_ACCESS_TOKEN }} | ||
matrix_room_id: ${{ secrets.ELEMENT_ANDROID_INTERNAL_ROOM_ID }} | ||
text_template: "Build is broken for ${{ github.ref }}: {{#each job_statuses }}{{#with this }}{{#if completed }}{{name}} {{conclusion}} at {{completed_at}}, {{/if}}{{/with}}{{/each}}" | ||
html_template: "Build is broken for ${{ github.ref }}: {{#each job_statuses }}{{#with this }}{{#if completed }}<br />{{icon conclusion }} {{name}} <font color='{{color conclusion }}'>{{conclusion}} at {{completed_at}} <a href=\"{{html_url}}\">[details]</a></font>{{/if}}{{/with}}{{/each}}" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve headers UI in Rooms/Messages lists |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add colors for shield vector drawable |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Selected space highlight changed in left panel |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dynamically showing/hiding onboarding personalisation screens based on the users homeserver capabilities |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add top margin before our first message |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add a custom view to display a picker for share location options |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Adds stable room hierarchy endpoint with a fallback to the unstable one |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix missing messages when loading messages forwards |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Use ColorPrimary for attachmentGalleryButton tint |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Read receipt in wrong order |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Main changes in this version: typing indicator UI updates. Various bug fixes and stability improvements. | ||
Full changelog: https://github.com/vector-im/element-android/releases/tag/v1.4.4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionSha256Sum=cd5c2958a107ee7f0722004a12d0f8559b4564c34daad7df06cffd4d12a426d0 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip | ||
distributionSha256Sum=a9a7b7baba105f6557c9dcf9c3c6e8f7e57e6b49889c5f1d133f015d0727e4be | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="copy_value">Copy Value</string> | ||
</resources> |