Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.9.1 #3477

Merged
merged 61 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
baa42a7
build: change development name (#3354)
ferdyrod Oct 26, 2023
bde6a63
fix(translations): sync translations from transifex (develop) (#3359)
dhis2-bot Oct 31, 2023
fb697ab
build: change development name (#3354)
ferdyrod Oct 26, 2023
9b71df4
Merge pull request #3413 from dhis2/developWithMain
ferdyrod Nov 23, 2023
ce6eb23
[ANDROAPP-5766] update gradle version 8.1.3 (#3415)
andresmr Nov 24, 2023
4f629de
fix: [ANDROAPP-5700] add orgUnit scope in enrollment (#3419)
mmmateos Nov 27, 2023
72e9cec
fix: [ANDROAPP-5741] App crashes if charts are empty (#3405)
xavimolloy Nov 27, 2023
6d9ba52
fix: [ANDROAPP-5606] working list filter count (#3414)
mmmateos Nov 27, 2023
4220ae6
Fixed NumberFormatException crash when adding a file from public down…
ferdyrod Nov 28, 2023
10f8e54
fix: [ANDROAPP-5746] Adding file from device's public Download folder…
ferdyrod Nov 30, 2023
551d13f
ANDROAPP-5743-Bug-Calculated-variables-save-integer-values-with-.0 (#…
DavidAparicioAlbaAsenjo Dec 1, 2023
db20950
fix: [ANDROAPP-5710] do not handle keyboard in compose form (#3424)
mmmateos Dec 1, 2023
7d6eb16
handles search navigationbottom bar visibily when programs needs a se…
ferdyrod Dec 7, 2023
c04caa3
fix: [ANDROAPP-5700] save enrollment orgUnit (#3427)
mmmateos Dec 11, 2023
75ce8fd
fix: [ANDROAPP-5742] get date position for analytics graph (#3430)
mmmateos Dec 11, 2023
841ac8f
fix: [ANDROAPP-5764] Show new compose qr and bar code bottomsheet (#3…
siddh1004 Dec 11, 2023
59a31d2
fix: [ANDROAPP-5740] Display error correctly when date or time is inc…
xavimolloy Dec 12, 2023
0fab08c
fix: [ANDROAPP-5630] Due date in Tracker program does not follow stan…
xavimolloy Dec 13, 2023
d97b1f4
fix: [ANDROAPP-5604] set state when sharing QR (#3426)
mmmateos Dec 13, 2023
a217921
Create ci action (#3436)
andresmr Dec 13, 2023
1c679ac
fix: [ANDROAPP-5570] Program rules execute when enrollment data is up…
ferdyrod Dec 14, 2023
8184219
update: [ANDROAPP-5698] only add the last point once (#3432)
DavidAparicioAlbaAsenjo Dec 14, 2023
b1f5872
[ANDROAPP-5804] Set label as bottom sheet title (#3437)
andresmr Dec 15, 2023
3a9ad89
update gradle 8.2.0 and kotlin 1.9.21 (#3438)
andresmr Dec 15, 2023
806208f
fix: [ANDROAPP-5704] Overdue date in patient line list follows incons…
msasikanth Dec 18, 2023
2aad321
fix(translations): sync translations from transifex (develop) (#3443)
dhis2-bot Dec 19, 2023
854b273
feat: Update to DHIS2 Android SDK 1.9.1-20231215.100321-10 (#3440)
vgarciabnz Dec 20, 2023
48ce833
[ANDROAPP-5773] Populate DataTable instead of DataSetTableScreen (#3441)
andresmr Dec 20, 2023
385e391
fix: [ANDROAPP-5249] resizing button over cell (#3421)
mmmateos Dec 20, 2023
bcc17b2
fix: [ANDROAPP-5663] Tei dashboard event list scrolling getting clipp…
msasikanth Dec 22, 2023
b780152
fix(translations): sync translations from transifex (develop) (#3445)
dhis2-bot Dec 22, 2023
311050a
update: [ANDROAPP-5767] crash fixed (#3447)
DavidAparicioAlbaAsenjo Dec 22, 2023
9c02193
fix: [ANDROAPP-5807] Crash-when-parsing-value-to-input-in-InputDateTi…
xavimolloy Dec 22, 2023
a290f45
fix: [ANDROAPP-5788] make field full visible on focus (#3442)
mmmateos Dec 22, 2023
366249c
feat: [ANDROAPP-5726] RTS workflow needs to allow for translating the…
xavimolloy Dec 26, 2023
df06bff
fix: [ANDROAPP-5803] new scheduled event date (#3448)
mmmateos Dec 26, 2023
6b1f789
fix: [ANDROAPP-5567] Stock use-case table now show full list of teis …
ferdyrod Dec 27, 2023
64772af
fix: [ANDROAPP-5821] return null if UID is empty string (#3450)
xavimolloy Dec 29, 2023
5b60d80
fix: [ANDROAPP-5704] show correct number of days when overdue period …
xavimolloy Dec 29, 2023
a2943e0
feat [ANDROAPP-5824] Update-SDK-to-1.9.1-20231228.075857-13 (#3452)
xavimolloy Jan 2, 2024
b431e75
fix: [ANDROAPP-5825] Incorrect calendar time instantiation, fix month…
xavimolloy Jan 2, 2024
7d68ed4
Update release start action (#3455)
andresmr Jan 2, 2024
cd0925e
Update version to 2.10-DEV
dhis2-android Jan 2, 2024
7f17507
Update version to 2.9.1
dhis2-android Jan 2, 2024
05d9897
Add releases branches to ci (#3456)
andresmr Jan 3, 2024
fad8dc2
fix: [ANDROAPP-5716] responsive filters on events list (#3454)
mmmateos Jan 11, 2024
87cd3d8
fix: [ANDROAPP-5803/5630] ignore deleted events on schedule creation …
mmmateos Jan 15, 2024
47dfd5f
Androapp 5769 application not responding anr for at least 5000 ms (#3…
xavimolloy Jan 16, 2024
63aa296
fix: [ANDROAPP-5749] focus when changing section (#3463)
mmmateos Jan 16, 2024
bbf47a8
fix: [ANDROAPP-5821] Add no options available category selector (#3460)
xavimolloy Jan 16, 2024
bd2a5c0
[ANDROAPP-5770] BringintoViewRequester issue (#3466)
andresmr Jan 22, 2024
fe02e80
fix: [ANDROAPP-5872] Table list is not updating on search field value…
xavimolloy Jan 22, 2024
4d06fba
[ANDROAPP-5886] update SDK (#3470)
andresmr Jan 23, 2024
d577706
fix: updates indicators values when table is updated (#3473)
ferdyrod Jan 25, 2024
32f65e9
fix: [ANDROAPP-5881] Update mobile ui 1.0-20240124.115707-128 (#3472)
xavimolloy Jan 25, 2024
147348a
fix: [ANDROAPP-5895] update mobile-ui version 1.0-20240126.103542-129…
xavimolloy Jan 26, 2024
de86055
Update release notes
dhis2-android Jan 29, 2024
d7a0621
build: 2.9.1 release
xavimolloy Jan 29, 2024
e711df6
build: 2.9.1 release
xavimolloy Jan 29, 2024
e64c05d
Update release notes
dhis2-android Jan 29, 2024
faf53e4
Update SDK to 1.9.1 Release
andresmr Jan 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Continuous Integration

env:
# The name of the main module repository
main_project_module: app

on:
push:
branches:
- main
- develop
- release/*
pull_request:
branches:
- main
- develop
- release/*

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
ci_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
cache: 'gradle'

- name: Change wrapper permissions
run: chmod +x ./gradlew

# Run check style
- name: Kotlin checkstyle
run: ./gradlew ktlintCheck

# Running unit tests on app module
- name: Run app module tests
run: ./gradlew :app:testDhisDebugUnitTest

# Running unit tests on all other modules
- name: Run all modules tests
run: ./gradlew testDebugUnitTest

# Run Build Project
#- name: Build gradle project
# run: ./gradlew build

deployment_job:
runs-on: ubuntu-latest
needs: ci_job
if: github.event_name == 'pull_request' && needs.ci_job.result == 'success'
steps:
- uses: actions/checkout@v3

# Set Current Date As Env Variable
- name: Set current date as env variable
run: echo "date_today=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

# Set Repository Name As Env Variable
- name: Set repository name as env variable
run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV

- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
cache: 'gradle'

- name: Change wrapper permissions
run: chmod +x ./gradlew

# Create APK Debug
- name: Build apk debug project (APK) - ${{ env.main_project_module }} module
run: ./gradlew assembleDhisDebug

- name: Read version name from file
working-directory: ./gradle
id: read-version
run: echo "::set-output name=vName::$(grep 'vName' libs.versions.toml | awk -F' = ' '{print $2}' | tr -d '"')"

# Upload Artifact Build
- name: Upload Android artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ env.repository_name }} - Android APK
path: ${{ env.main_project_module }}/build/outputs/apk/dhis/debug/dhis2-v${{ steps.read-version.outputs.vName }}-dhis-debug.apk
46 changes: 40 additions & 6 deletions .github/workflows/release-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
version_name:
description: 'Release version name'
release_version_name:
description: 'New release version name'
required: true
type: string

development_version_name:
description: 'Development version name'
required: true
type: string

Expand All @@ -20,9 +25,38 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
# override vName with new version
- name: Check out code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.1

- name: setup git config
run: |
# setup the username and email.
git config user.name "GitHub Actions Bot"
git config user.email "<[email protected]>"

- name: Run Python script to update base branch version
run: python scripts/updateVersionName.py ${{ inputs.development_version_name }}

- name: Commit and Push Changes
run: |
git add .
git commit -m "Update version to ${{ inputs.development_version_name }}"
git push

# override vName with new version
- name: Create release branch
run: git checkout -b release/${{ inputs.version_name }}
run: git checkout -b release/${{ inputs.release_version_name }}

- name: Run Python script to update release branch version
run: python scripts/updateVersionName.py ${{ inputs.release_version_name }}

- name: Push
run: git push origin release/${{ inputs.version_name }}
run: |
git add .
git commit -m "Update version to ${{ inputs.release_version_name }}"
git push origin release/${{ inputs.release_version_name }}
18 changes: 17 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,28 @@ pipeline {
steps {
script {
echo 'Building UI APKs'
sh './gradlew :app:assembleDhisUITestingDebug :app:assembleDhisUITestingDebugAndroidTest :compose-table:assembleAndroidTest'
sh './gradlew :app:assembleDhisUITestingDebug :app:assembleDhisUITestingDebugAndroidTest :compose-table:assembleAndroidTest :form:assembleAndroidTest'
}
}
}
stage('Run tests') {
parallel {
stage('Deploy and run Form Tests') {
environment {
BROWSERSTACK = credentials('android-browserstack')
form_apk = sh(returnStdout: true, script: 'find form/build/outputs -iname "*.apk" | sed -n 1p')
form_apk_path = "${env.WORKSPACE}/${form_apk}"
}
steps {
dir("${env.WORKSPACE}/scripts"){
script {
echo 'Browserstack deployment and running Form module tests'
sh 'chmod +x browserstackJenkinsForm.sh'
sh './browserstackJenkinsForm.sh'
}
}
}
}
stage('Deploy compose-table module Tests') {
environment {
BROWSERSTACK = credentials('android-browserstack')
Expand Down
Loading
Loading