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

Integrate HIV and TB registers to master-v1 #1802

Open
wants to merge 631 commits into
base: master-v1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
631 commits
Select commit Hold shift + click to select a range
4e2c2fd
Merge pull request #1598 from OpenSRP/translation-fixes-master
hamza-vd Dec 14, 2020
8cede15
Fix issue#1300
hamza-vd Dec 14, 2020
a37af55
Merge branch 'master' into togo_production_release
rkodev Dec 14, 2020
8bdf59b
Merge pull request #1638 from OpenSRP/fix-issue-1300-master
hamza-vd Dec 14, 2020
ca67e31
Merge branch 'master' into togo_production_release
rkodev Dec 14, 2020
7bb8473
Merge pull request #1637 from OpenSRP/togo_production_release
rkodev Dec 14, 2020
a1313cc
Updates Search on Family Register
paulinembabu Dec 15, 2020
a5ef085
Merge branch 'master' of github.com:OpenSRP/opensrp-client-chw into m…
paulinembabu Dec 15, 2020
faaafaa
Add test
paulinembabu Dec 15, 2020
c4200a4
Bumps up gradle version
paulinembabu Dec 15, 2020
5794c3b
Removes unused imports
paulinembabu Dec 15, 2020
f6859fa
Added strings to main file
paulinembabu Dec 15, 2020
e352bf3
Bumps up DB version
paulinembabu Dec 15, 2020
0a527d2
Merge pull request #1636 from OpenSRP/master_update_family_register_s…
paulinembabu Dec 15, 2020
08d5bc9
Update Togo production
rkodev Dec 16, 2020
850bed6
Merge branch 'master' into issue1427-child-label
qaziabubakar-vd Dec 17, 2020
a233761
Merge pull request #1639 from OpenSRP/togo_production
rkodev Dec 17, 2020
ff53d3c
Merge branch 'master' into issue1540-iptp-schedule-fix
qaziabubakar-vd Dec 17, 2020
7eaa31a
Merge pull request #1611 from OpenSRP/issue1540-iptp-schedule-fix
qaziabubakar-vd Dec 18, 2020
8c28c8c
Fixed reporting bugs and added new indicator for PNC women
qaziabubakar Dec 18, 2020
f865616
Merge branch 'master' into issue1427-child-label
qaziabubakar-vd Dec 18, 2020
fbe82b8
Toggled physically disabled view after checking the application Flavor
qaziabubakar Dec 18, 2020
9c0eae8
Fixed tests
qaziabubakar Dec 18, 2020
172ed7b
Merge branch 'master' into thinkmd-bundle-integration
zzainulabidin Dec 23, 2020
c2afd51
Update ThinkMD PWA launch method; Change way to display ThinkMD careplan
zzainulabidin Jan 4, 2021
e60115e
Added new test
qaziabubakar Jan 7, 2021
f1e2227
Merge pull request #1612 from OpenSRP/issue1427-child-label
qaziabubakar-vd Jan 7, 2021
3d81d3e
Merge branch 'master' into issue1346-reporting-bugs
qaziabubakar-vd Jan 7, 2021
bcda9dd
Added new test
qaziabubakar Jan 7, 2021
350f7ae
Syncing events immediately after submission
qaziabubakar Jan 11, 2021
d45725b
Bump up gradle version; Add native form config
zzainulabidin Jan 11, 2021
39239c7
Add translated json forms
zzainulabidin Jan 11, 2021
2b26c3a
Fix DB issue not updated for anc registration
zzainulabidin Jan 13, 2021
413b93a
replaced getString with optString to avoid erroneous state
qaziabubakar Jan 13, 2021
d72d70e
Add thinkmd_assessment_parser file
zzainulabidin Jan 13, 2021
4572576
Updated Local Repo when LMP is edited
qaziabubakar Jan 13, 2021
88f157a
Merge branch 'master' into thinkmd-bundle-integration
zzainulabidin Jan 14, 2021
60fb9f9
Update thinkmd assessment
zzainulabidin Jan 14, 2021
a26a0ac
Added migration for togo flavor
qaziabubakar Jan 15, 2021
78d6f92
Fixed core library version
qaziabubakar Jan 15, 2021
f558a36
Merge pull request #1645 from OpenSRP/issue1346-reporting-bugs
qaziabubakar-vd Jan 15, 2021
f094226
Added date constraint for LMP date
qaziabubakar Jan 18, 2021
7c1a272
Merge branch 'master' into mls-support-for-native-form
rkodev Jan 18, 2021
b8c056d
fixed event not undate local db
zzainulabidin Jan 18, 2021
2b2f290
Merge branch 'master' into 1593-issue-syncing-events
qaziabubakar-vd Jan 18, 2021
cdc7ff8
Updated ChwRepositoryFlv for togo
qaziabubakar Jan 18, 2021
3ab457c
Added new test
qaziabubakar Jan 18, 2021
34a9a11
Fixed codacy issues
qaziabubakar Jan 18, 2021
8419db9
Updated query for checking the minimum visit date
qaziabubakar Jan 18, 2021
e9f913c
Merge branch 'master' into issue#1629-add-ability-to-edit-LMP/EDD-aft…
qaziabubakar-vd Jan 18, 2021
5a3cee5
Merge pull request #1651 from OpenSRP/1593-issue-syncing-events
qaziabubakar-vd Jan 18, 2021
a3fbd09
Merge branch 'master' into issue#1629-add-ability-to-edit-LMP/EDD-aft…
qaziabubakar-vd Jan 18, 2021
733dab9
Added tests for ChwANCDao
qaziabubakar Jan 18, 2021
9131a3a
Merge remote-tracking branch 'origin/issue#1629-add-ability-to-edit-L…
qaziabubakar Jan 18, 2021
72134c6
removed unused method
qaziabubakar Jan 18, 2021
6fd6614
Merge pull request #1668 from OpenSRP/issue#1629-add-ability-to-edit-…
qaziabubakar-vd Jan 19, 2021
49cc427
Fixed reporting indicators after adding is_voided column in vaccines …
qaziabubakar Jan 20, 2021
4a3b7ff
Merge branch 'master' into thinkmd-bundle-integration
zzainulabidin Jan 20, 2021
074179e
Removes Team Id Check on the Authorization service
paulinembabu Jan 21, 2021
10c1a6b
Merge branch 'master' of github.com:OpenSRP/opensrp-client-chw into c…
paulinembabu Jan 21, 2021
fcad378
Merge branch 'master' into chss_reporting_children_due_and_doeses_needed
paulinembabu Jan 21, 2021
d20631d
Merge pull request #1677 from OpenSRP/reporting-indicators-query-fix
qaziabubakar-vd Jan 21, 2021
15a2b51
DB migrate to add visit_group and thinkmd_id columns
zzainulabidin Jan 21, 2021
2baafc9
Trigger Build
paulinembabu Jan 22, 2021
91c92a1
Merge branch 'chss_reporting_children_due_and_doeses_needed' of githu…
paulinembabu Jan 22, 2021
a50d0a2
Merge branch 'master' into chss_reporting_children_due_and_doeses_needed
paulinembabu Jan 22, 2021
47219b0
Merge branch 'master' into thinkmd-bundle-integration
zzainulabidin Jan 26, 2021
64b78bd
Merge pull request #1678 from OpenSRP/chss_reporting_children_due_and…
paulinembabu Jan 26, 2021
a0950fd
Bumped up core library version to 2.0.14-SNAPSHOT
qaziabubakar Jan 28, 2021
4984254
Merge branch 'master' into issue1681-caregiver-name-fix
qaziabubakar-vd Jan 28, 2021
cc261f1
Fixed tests
qaziabubakar Jan 28, 2021
82a9ed8
Merge pull request #1683 from OpenSRP/issue1681-caregiver-name-fix
qaziabubakar-vd Jan 28, 2021
3d7f1b1
Add db data export
rkodev Jan 29, 2021
e2dc5df
Merge branch 'master' into mls-support-for-native-form
zzainulabidin Feb 2, 2021
c94cc5f
V 0.1.7
paulinembabu Feb 2, 2021
8387b05
Merge pull request #1685 from OpenSRP/lmh_version_0.1.7
paulinembabu Feb 3, 2021
efe42f3
Merge branch 'master' into mls-support-for-native-form
zzainulabidin Feb 3, 2021
ba61afe
Update main and drc forms
zzainulabidin Feb 4, 2021
eaf4865
Merge branch 'master' into thinkmd-bundle-integration
zzainulabidin Feb 5, 2021
4760dd9
Update build.gradle
zzainulabidin Feb 5, 2021
f5dcdcf
Upgrade sync time
rkodev Feb 8, 2021
3b9552b
change toolbar color and change save buttom title
zzainulabidin Feb 9, 2021
f99f9d2
Updated ecd tooltips to integrate both text and images
qaziabubakar Feb 10, 2021
62288b7
Updated french file for early_childhood_development
qaziabubakar Feb 10, 2021
75f7678
Merge pull request #1697 from OpenSRP/issue1654-ecd-tool-tips
qaziabubakar-vd Feb 11, 2021
6336f67
Updated tooltips for stem_skills question
qaziabubakar Feb 11, 2021
229f391
Merge pull request #1698 from OpenSRP/stim-skills-tooltips
qaziabubakar-vd Feb 11, 2021
086eeda
Implemented changes to Job Aids section
qaziabubakar Feb 11, 2021
0c94499
Added PDF library to the gradle
qaziabubakar Feb 11, 2021
27ebbf8
Fixed codacy issues
qaziabubakar Feb 11, 2021
60bc111
Pull master
rkodev Feb 11, 2021
e5c3b2b
Remove processing timer
rkodev Feb 11, 2021
ff1a4ca
Add sync listener to the application class
rkodev Feb 11, 2021
515cb85
Update status after p2p
rkodev Feb 11, 2021
c27537f
Code Refactoring
qaziabubakar Feb 12, 2021
08c951c
File moved
qaziabubakar Feb 12, 2021
97c4bf1
Added new test case
qaziabubakar Feb 12, 2021
125e1ef
Merge branch 'master' into issuue1653-job-aid-changes
qaziabubakar-vd Feb 12, 2021
300dede
Updated library version for PDF library
qaziabubakar Feb 12, 2021
b5bef3d
Updated Adapter to show downloaded icon for videos and pdfs
qaziabubakar Feb 12, 2021
2af2565
Remove unused content
rkodev Feb 12, 2021
9e26972
Remove dead code
rkodev Feb 12, 2021
3c8adae
Merge pull request #1693 from OpenSRP/upgrade_sync_time
rkodev Feb 12, 2021
30e834c
Merge branch 'master' into issuue1653-job-aid-changes
qaziabubakar-vd Feb 12, 2021
2349ba1
Close app on exit
rkodev Feb 12, 2021
e27acc2
Merge branch 'add_db_export' of github.com:OpenSRP/opensrp-client-chw…
rkodev Feb 12, 2021
588e647
Adds export datase menu
rkodev Feb 12, 2021
b3479c7
Closed Issue 5, 7, 8, 9
qaziabubakar Feb 12, 2021
1cca3c8
Merge pull request #1701 from OpenSRP/drc-release-fixes
rkodev Feb 12, 2021
65e4da0
Disable submit on save
rkodev Feb 12, 2021
282107b
Merge branch 'master' into new_fixes
rkodev Feb 12, 2021
1ab6df4
Merge branch 'master' into issuue1653-job-aid-changes
qaziabubakar-vd Feb 15, 2021
5a31501
Update the version name
rkodev Feb 15, 2021
7b5ecef
Merge branch 'master' into mls-support-for-native-form
zzainulabidin Feb 15, 2021
4909597
Merge pull request #1699 from OpenSRP/issuue1653-job-aid-changes
qaziabubakar-vd Feb 18, 2021
75b7af0
Update drc native forms
zzainulabidin Feb 22, 2021
6226fef
Merge branch 'master' into mls-support-for-native-form
zzainulabidin Feb 22, 2021
5762b1a
Update activity_login.xml
zzainulabidin Feb 22, 2021
e63634f
Adds bulk visit processing and breaks incase sync resumes
rkodev Feb 22, 2021
7241337
Update chw-core version
rkodev Feb 22, 2021
e5a32fa
Merge branch 'master' into new_fixes
rkodev Feb 22, 2021
763e331
Adds tests
rkodev Feb 22, 2021
295ca0e
Adds tests to report fragment
rkodev Feb 22, 2021
c714b40
Merge pull request #1702 from OpenSRP/new_fixes
rkodev Feb 22, 2021
c0cf770
Remove unused imports and upgrade core version
rkodev Feb 23, 2021
e91dbf3
Revert stage url in drc
rkodev Feb 23, 2021
099d10e
Fixed birth certification not filled in when you re-open the PNC home…
qaziabubakar Feb 24, 2021
4a77181
Merge pull request #1716 from OpenSRP/issue1714-qa-fixes-pnc
rkodev Feb 24, 2021
2b1fc51
Upgrade core version to 2.0.21
rkodev Feb 24, 2021
ba3f557
Merge branch 'master' into upgrade_core
rkodev Feb 24, 2021
acbfa47
Merge pull request #1715 from OpenSRP/upgrade_core
rkodev Feb 24, 2021
b072465
Fixed PNC birth certification task
qaziabubakar Feb 24, 2021
8ad27a8
Fixed test cases
qaziabubakar Feb 24, 2021
a3f2e10
Added new test case
qaziabubakar Feb 24, 2021
689feee
Removed deprecated assert call
qaziabubakar Feb 24, 2021
24a06c0
Added new test case
qaziabubakar Feb 24, 2021
887c791
Added constraint if birth certificate is already given
qaziabubakar Feb 24, 2021
db32542
Birth Certificate will only be visible if not already given
qaziabubakar Feb 24, 2021
68087b0
Merge pull request #1717 from OpenSRP/pnc-birth-cert-fix
qaziabubakar-vd Feb 24, 2021
8b752a3
Merge branch 'master' into issue#1656-consistency-of-save-button
zzainulabidin Feb 25, 2021
2060567
Update chw-core version to 2.0.22-SNAPSHOT
zzainulabidin Feb 25, 2021
e3978b6
Merge pull request #1696 from OpenSRP/issue#1656-consistency-of-save-…
rkodev Feb 26, 2021
b678e93
Adds CAC as location hieracy
rkodev Feb 26, 2021
0beaabb
Merge branch 'master' into update_core_version
rkodev Feb 26, 2021
6790241
Merge pull request #1718 from OpenSRP/update_core_version
rkodev Feb 26, 2021
7d034cc
Bug fixing and improvements made for sync of thinkmd assessment event
zzainulabidin Feb 26, 2021
c0693ef
Merge branch 'master' into thinkmd-bundle-integration
zzainulabidin Feb 26, 2021
ddbbbb7
Update activity_login.xml
zzainulabidin Feb 26, 2021
3985611
Remove unsed code and made improvements
zzainulabidin Feb 26, 2021
95f9de8
Remove unsed fields
zzainulabidin Feb 26, 2021
9c2b5a7
Update build.gradle
zzainulabidin Mar 1, 2021
e87ab5c
Update build.gradle
zzainulabidin Mar 1, 2021
3d2f313
Triger unit tests build
zzainulabidin Mar 1, 2021
c3f7b83
remove unsed methods
zzainulabidin Mar 1, 2021
d104ad0
remove unsed import; add unit tests
zzainulabidin Mar 1, 2021
3d7ae74
Merge pull request #1303 from OpenSRP/thinkmd-bundle-integration
zzainulabidin Mar 2, 2021
695db60
Bumped up core library version
qaziabubakar Mar 2, 2021
ebca118
Merge pull request #1719 from OpenSRP/issue1712-opv-bcg-date
zzainulabidin Mar 3, 2021
28e3570
Added french translations for Job Aids section
qaziabubakar Mar 9, 2021
819f3d6
Merge pull request #1726 from OpenSRP/job-aids-translations-french
qaziabubakar-vd Mar 9, 2021
c19cfc4
Implemented fixes for DRC release candidate
qaziabubakar Mar 9, 2021
7d45671
Merge pull request #1732 from OpenSRP/drc-release-fixes-9-march
rkodev Mar 10, 2021
8f2abf6
Update togo production server URL and version code
rkodev Mar 14, 2021
bd3015d
update Togo version number to 20
rkodev Mar 14, 2021
833147d
Merge pull request #1736 from OpenSRP/togo_release
rkodev Mar 14, 2021
eef9a67
Added minimum date constraint to child and PNC home visit tasks
qaziabubakar Mar 15, 2021
9251f31
Merge branch 'master' into home-visit-date-constraints
qaziabubakar-vd Mar 15, 2021
af9a2ba
Remove crashing Timber tree
rkodev Mar 17, 2021
4b3461f
Togo version 1.2.1
rkodev Mar 18, 2021
afd4ba6
Replaced printStackTrace with timber logs
qaziabubakar Mar 19, 2021
1d2b390
Fixed codacy issue
qaziabubakar Mar 19, 2021
5dfce89
Merge pull request #1737 from OpenSRP/home-visit-date-constraints
rkodev Mar 19, 2021
dd465c8
Merge branch 'master' into fix/crashlytics_crash
rkodev Mar 22, 2021
a694724
Update core to v2.0.25
rkodev Mar 23, 2021
c28cb97
Fixed PNC family planning bug
qaziabubakar Mar 24, 2021
94a0700
Merge pull request #1745 from OpenSRP/issue1744-pnc-family-planning-b…
rkodev Mar 24, 2021
d933e9b
Merge branch 'master' into fix/crashlytics_crash
rkodev Mar 24, 2021
6d03458
Adds tests
rkodev Mar 24, 2021
61a7e9e
Adds tests
rkodev Mar 24, 2021
e4cff9b
Update version code
rkodev Mar 24, 2021
ad4bb17
Merge pull request #1740 from OpenSRP/fix/crashlytics_crash
rkodev Mar 24, 2021
0ec0e7f
Update relevance for fp methods and danger signs
zzainulabidin Mar 29, 2021
b549c75
Merge pull request #1748 from OpenSRP/issue-1746-family-planning-fp-c…
zzainulabidin Mar 29, 2021
49afd72
Revert "Update relevance for FP methods and danger signs"
zzainulabidin Mar 29, 2021
6b38d3c
Merge pull request #1749 from OpenSRP/revert-1748-issue-1746-family-p…
zzainulabidin Mar 29, 2021
bf2edcc
Add constraint for min date for iptp-sp dose
zzainulabidin Mar 30, 2021
6f8a1b4
Add unit tests for IPTPAction
zzainulabidin Mar 31, 2021
c2cc1e3
Update activity_login.xml
zzainulabidin Apr 1, 2021
c2261db
Fixed ANR on WashCheckDialogFragment
qaziabubakar Apr 1, 2021
b50ca4a
Merge branch 'master' into issue1750-wash-check-anr
qaziabubakar-vd Apr 1, 2021
cf3fb6d
Wrote new test
qaziabubakar Apr 1, 2021
f29a860
Added new validation for birth certificate number
qaziabubakar Apr 1, 2021
0aa71c2
Merge pull request #1753 from OpenSRP/issue1750-wash-check-anr
qaziabubakar-vd Apr 1, 2021
eae35ba
Added new test
qaziabubakar Apr 1, 2021
ae68e3c
Merge branch 'master' into issue1725-birth-certificate-number-validation
qaziabubakar-vd Apr 1, 2021
9a15cc1
Fixed build.gradle
qaziabubakar Apr 1, 2021
0b37bd0
Merge branch 'master' into issue-1727-add-constraint-for-min-date-for…
zzainulabidin Apr 6, 2021
9af2d94
Bumped up core version
qaziabubakar Apr 6, 2021
ad8b2d4
Merge pull request #1756 from OpenSRP/issue1733-cleanup
qaziabubakar-vd Apr 7, 2021
f6183f2
Merge branch 'master' into issue-1727-add-constraint-for-min-date-for…
zzainulabidin Apr 7, 2021
ca7049e
Merge branch 'master' into issue1725-birth-certificate-number-validation
rkodev Apr 12, 2021
db31baa
Merge pull request #1751 from OpenSRP/issue-1727-add-constraint-for-m…
zzainulabidin Apr 12, 2021
fee732d
Merge branch 'master' into issue1725-birth-certificate-number-validation
rkodev Apr 12, 2021
fe8ecf1
Merge pull request #1755 from OpenSRP/issue1725-birth-certificate-num…
qaziabubakar-vd Apr 12, 2021
7169a48
Bump up the chw-core version
zzainulabidin Apr 14, 2021
2381ed5
Merge branch 'master' into mls-support-for-native-form
zzainulabidin Apr 14, 2021
7f15779
Delete DefaultChildHomeVisitInteractorFlv.java
zzainulabidin Apr 14, 2021
05b9c8a
Delete DefaultPncHomeVisitInteractorFlv.java
zzainulabidin Apr 14, 2021
8729132
Add DefaultPncHomeVisitInteractorFlv.java
zzainulabidin Apr 14, 2021
0129c7c
Create DefaultChildHomeVisitInteractorFlv.java
zzainulabidin Apr 14, 2021
920f3cb
Update files with master
zzainulabidin Apr 14, 2021
41cf62c
Update FamilyProfileModel.java
zzainulabidin Apr 15, 2021
4a2854d
Bump up the chw-core snapshot
zzainulabidin Apr 15, 2021
8d6180e
Add unit tests
zzainulabidin Apr 15, 2021
4f313b1
string override for unauthorized_group
muchuri-zz Apr 16, 2021
0f05ab5
Update FamilyProfileModelTest.java
zzainulabidin Apr 16, 2021
9d65eb6
Add unit test
zzainulabidin Apr 16, 2021
9d33125
Merge pull request #1761 from OpenSRP/issue-138-update-family-member-…
rkodev Apr 19, 2021
4715463
Merge branch 'master' into mls-support-for-native-form
zzainulabidin Apr 19, 2021
95e771e
Update flavors with latest jsons
zzainulabidin Apr 19, 2021
1eb891c
Bump up chw-core SNAPSHOT
zzainulabidin Apr 20, 2021
7f51814
Update build.gradle
zzainulabidin Apr 20, 2021
94ecf20
Merge branch 'master' into muchuri-patch-1
rkodev Apr 22, 2021
0898be7
Adds french translation
rkodev Apr 22, 2021
5a6103a
Merge pull request #1762 from opensrp/muchuri-patch-1
rkodev Apr 26, 2021
281d6c6
Merge branch 'master' into mls-support-for-native-form
rkodev Apr 26, 2021
5e57ebe
Merge pull request #1652 from opensrp/mls-support-for-native-form
zzainulabidin Apr 27, 2021
484905e
Update stage server
rkodev Apr 28, 2021
a2f4324
Adds missing migrations to liberia and guniea flavour
rkodev Apr 28, 2021
7866048
Merge pull request #1775 from opensrp/fix/stage_server_changes
rkodev Apr 28, 2021
aec9ee8
Update .gitignore
zzainulabidin May 27, 2021
9d59968
Update chw-core shapshot
zzainulabidin May 28, 2021
63d7a75
Increment the versionCode and the versionName
zzainulabidin May 28, 2021
aeba797
Merge pull request #1790 from opensrp/fix-togo-crash-after-login
zzainulabidin May 28, 2021
73917d9
Fixed Liberia Pre-mission Issues
qaziabubakar Jun 28, 2021
69df23d
Merge pull request #1808 from opensrp/issue1807-liberia-fixes
zzainulabidin Jun 28, 2021
939cab8
Merge branch 'master-v1' of github.com:OpenSRP/opensrp-client-chw int…
allan-on Jun 29, 2021
c438dfd
Add marital_status column into ec_family_member table
zzainulabidin Jun 29, 2021
0516fa3
Fix broken test
zzainulabidin Jun 30, 2021
c383f07
Add test case for getBirthCert method
zzainulabidin Jun 30, 2021
7890f8d
Add unit tests
zzainulabidin Jun 30, 2021
2b78205
Fix marital status presistant issue for chad; drc; guinea; togo
zzainulabidin Jul 2, 2021
420cb79
Merge pull request #1810 from opensrp/Issue#1800-liberia-on-edit-fami…
zzainulabidin Jul 5, 2021
e5505c9
Update DRC version code and name
rkodev Jul 5, 2021
b6177e0
Merge branch 'master' into drc-release
rkodev Jul 5, 2021
67c366f
Merge pull request #1821 from opensrp/drc-release
rkodev Jul 5, 2021
2f496e1
Resolves the Merge Conflicts with Master
paulinembabu Jul 6, 2021
da10590
Merge branch 'master' of github.com:opensrp/opensrp-client-chw into i…
paulinembabu Jul 6, 2021
5fb8ca3
Resolves Merge conflicts with Master
paulinembabu Jul 6, 2021
fdc4942
Clean up on branch
paulinembabu Aug 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run unit tests with Gradle
run: ./gradlew :opensrp-chw:clean :opensrp-chw:jacocoTestReport --stacktrace
- name: Upload coverage to Coveralls with Gradle
run: ./gradlew coveralls --stacktrace
- name: Decode google-services.json
env:
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
run: echo $FIREBASE_CONFIG > opensrp-chw/google-services.json
- name: Run unit tests with Gradle and upload to coveralls
run: ./gradlew :opensrp-chw:clean :opensrp-chw:jacocoTestReport coveralls --stacktrace
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ local.properties
classes/
tmp/
project.properties
github.properties
/github.properties
.DS_Store
.settings
build/
jacoco.exec
opensrp-chw/ba/
opensrp-chw/ba/
opensrp-chw/chad/
opensrp-chw/drc/
opensrp-chw/guinea/
opensrp-chw/togo/
opensrp-chw/liberia/
opensrp-chw/lmh/
*google-services.json
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ buildscript {
jcenter()
mavenLocal()
maven { url 'https://maven.fabric.io/public' }
maven { url "http://dl.bintray.com/ona/kujaku" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
Expand Down Expand Up @@ -54,6 +53,9 @@ allprojects {
maven { url "https://cloudant.github.io/cloudant-sync-eap/repository" }
maven { url 'https://maven.fabric.io/public' }
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
maven { url "https://dl.bintray.com/ona/rdt-capture" }
maven { url 'https://dl.bintray.com/ibm-watson-health/ibm-fhir-server-releases' }
maven { url "https://dl.bintray.com/ona/kujaku" }
}
}

Expand Down
128 changes: 90 additions & 38 deletions opensrp-chw/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,34 @@ buildscript {
}
dependencies {
classpath 'org.apache.commons:commons-lang3:3.10'
classpath 'io.fabric.tools:gradle:1.31.2'
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.android.tools.build:gradle:4.0.2'
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
}
}

allprojects {
repositories {
maven { url 'https://maven.google.com' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven {
def githubProperties = new Properties()
if (rootProject.file("github.properties").exists()) {
githubProperties.load(new FileInputStream(rootProject.file("github.properties")))
}

name = "GitHubPackages"
/* Configure path to the library hosted on GitHub Package Registry
* Replace UserID with package owner userID and REPOSITORY with the repository name
* e.g. ""https://maven.pkg.github.com/opensrp/opensrp-client-reporting""
*/
url = uri("https://maven.pkg.github.com/onaio/kujaku")
credentials {
username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
}

}
maven { url 'https://maven.fabric.io/public' }
mavenLocal()
}
Expand All @@ -23,7 +42,8 @@ allprojects {
apply plugin: 'com.android.application'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'
apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply from: "jacoco.gradle"
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
Expand Down Expand Up @@ -60,6 +80,8 @@ android {
buildConfigField "int", "MAX_SYNC_RETRIES", '3'
buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L"
buildConfigField "boolean", "IS_SYNC_SETTINGS", "false"
buildConfigField "String", "THINKMD_BASE_URL", '"https://app.africa.thinkmd.tech"'
buildConfigField "String", "THINKMD_END_POINT", '"/#/start"'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
Expand All @@ -68,8 +90,29 @@ android {
}

if (project.rootProject.file("local.properties").exists()) {

Properties properties = new Properties()
properties.load(project.rootProject.file("local.properties").newDataInputStream())

if (properties != null && properties.containsKey("oauth.client.id")) {

buildConfigField "String", "OAUTH_CLIENT_ID", properties["oauth.client.id"]

} else {
project.logger.error("oauth.client.id variable is not set in your local.properties")
buildConfigField "String", "OAUTH_CLIENT_ID", "\"sample_client_id\""
}


if (properties != null && properties.containsKey("oauth.client.secret")) {

buildConfigField "String", "OAUTH_CLIENT_SECRET", properties["oauth.client.secret"]

} else {
project.logger.error("oauth.client.secret variable is not set in your local.properties")
buildConfigField "String", "OAUTH_CLIENT_SECRET", "\"sample_client_secret\""
}

if (properties != null &&
properties.containsKey("mapbox.sdk.token")) {
buildConfigField "String", "MAPBOX_SDK_ACCESS_TOKEN", properties["mapbox.sdk.token"]
Expand All @@ -80,6 +123,8 @@ android {

} else {
println("local.properties does not exist")
buildConfigField "String", "OAUTH_CLIENT_ID", "\"sample_client_id\""
buildConfigField "String", "OAUTH_CLIENT_SECRET", "\"sample_client_secret\""
buildConfigField "String", "MAPBOX_SDK_ACCESS_TOKEN", "\"sample_key\""
}
}
Expand Down Expand Up @@ -174,8 +219,8 @@ android {
ba {
dimension = 'baseDimension'
applicationIdSuffix ".ba"
versionCode 9
versionName "1.0.9"
versionCode 10
versionName "1.1.0"
buildConfigField "String", 'opensrp_url', '"https://boresha-afya.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/ba/"'
buildConfigField "String", 'opensrp_url_debug', '"https://boresha-afya-stage.smartregister.org/opensrp/"'
Expand All @@ -188,37 +233,39 @@ android {
// Kujaku variables
buildConfigField "long", "MAPBOX_DOWNLOAD_TILE_LIMIT", "6001"

buildConfigField "int", "DATABASE_VERSION", '23'
buildConfigField "int", "DATABASE_VERSION", '25'
}
chad {
dimension = 'baseDimension'
applicationIdSuffix ".chad"
versionCode 1
versionName "0.0.1"
buildConfigField "String", 'opensrp_url', '"https://unicefwcaro.smartregister.org/opensrp/"'
versionName "1.0.1"
buildConfigField "String", 'opensrp_url', '"https://wcaro-td.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/chad/"'
buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country" , "Province" , "Health District","Health Facility","Village","Clinic" , "CHSS" , "CHA"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Health District","Health Facility","Village"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String", 'DEFAULT_LOCATION', '"CHA"'
buildConfigField "String", 'DEFAULT_LOCATION', '"Village"'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHA"'
buildConfigField "int", "DATABASE_VERSION", '10'
buildConfigField "int", "DATABASE_VERSION", '14'
}
drc {
resConfigs "en", "fr"
dimension = 'baseDimension'
applicationIdSuffix ".drc"
versionCode 1
versionName "0.0.1"
buildConfigField "String", 'opensrp_url', '"https://unicefwcaro.smartregister.org/opensrp/"'
versionCode 6
versionName "1.0.11"
buildConfigField "String", 'opensrp_url', '"https://wcaro-cd.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/drc/"'
buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHA"'
buildConfigField "String", 'DEFAULT_LOCATION', '"CHA"'
buildConfigField "int", "DATABASE_VERSION", '9'
buildConfigField "String", 'opensrp_url_preview', '"https://wcaro-cd-preview.smartregister.org/opensrp/"'
buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Pays" , "Province(DPS)" , "Zone de Sante","Aire de Sante", "CAC" ,"VILLAGE/COMMUNAUTE"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Pays" , "Province(DPS)" , "Zone de Sante","Aire de Sante" , "CAC" ,"VILLAGE/COMMUNAUTE"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Pays" , "Province(DPS)" , "Zone de Sante","Aire de Sante" , "CAC" ,"VILLAGE/COMMUNAUTE"}'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"VILLAGE/COMMUNAUTE"'
buildConfigField "String", 'DEFAULT_LOCATION', '"VILLAGE/COMMUNAUTE"'
buildConfigField "int", "DATABASE_VERSION", '11'
}
guinea {
dimension = 'baseDimension'
Expand All @@ -230,52 +277,52 @@ android {
buildConfigField "String", 'opensrp_url', '"https://wcaro-guinea.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/guinea/"'
buildConfigField "String", 'opensrp_url_preview', '"https://wcaro-guinea-preview.smartregister.org/opensrp/"'
buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country" , "Region" , "Prefecture" , "Commune" , "Health Facility" , "Village"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_PREVIEW", '{"Health Facility" , "Village"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Country", "Clinic" , "CHSS" , "CHA", "Supervisor", "CHW"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Health Facility" , "Village"}'
buildConfigField "String", 'DEFAULT_LOCATION_PREVIEW', '"Village"'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHW"'
buildConfigField "String", 'DEFAULT_LOCATION', '"Village"'
buildConfigField "int", "DATABASE_VERSION", '5'
buildConfigField "int", "DATABASE_VERSION", '8'
}
togo {
dimension = 'baseDimension'
applicationIdSuffix ".togo"
versionCode 13
versionName "1.0.13"
versionCode 22
versionName "1.2.4"
buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '1000'
buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '500'
buildConfigField "String", 'opensrp_url', '"https://wcaro-togo.smartregister.org/opensrp/"'
buildConfigField "String", 'opensrp_url', '"https://wcaro-tg.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/togo/"'
buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country", "Clinic" , "CHSS" , "CHA", "Supervisor", "CHW"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Country", "Clinic" , "CHSS" , "CHA", "Supervisor", "CHW"}'
buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-togo-preview.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village" }'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village"}'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHW"'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"Village"'
buildConfigField "String", 'DEFAULT_LOCATION', '"Village"'
buildConfigField "int", "DATABASE_VERSION", '16'
buildConfigField "int", "DATABASE_VERSION", '20'
}
liberia {
dimension = 'baseDimension'
versionCode 6
versionName "0.1.12"
buildConfigField "String", 'opensrp_url', '"https://wcaro-liberia.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/liberia/"'
buildConfigField "String", 'opensrp_url_debug', '"https://unicefwcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String", 'opensrp_url_debug', '"https://wcaro-stage.smartregister.org/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}'
buildConfigField "String", 'DEFAULT_LOCATION', '"Village"'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"CHA"'
buildConfigField "int", "DATABASE_VERSION", '4'
buildConfigField "int", "DATABASE_VERSION", '7'
}
lmh {
dimension = 'baseDimension'
applicationIdSuffix ".lmh"
versionCode 2
versionName "0.1.6"
versionName "0.1.7"
buildConfigField "String", 'opensrp_url', '"https://lmh-liberia.smartregister.org/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/lmh/"'
buildConfigField "String", 'opensrp_url_debug', '"https://lmh-stage.smartregister.org/opensrp/"'
Expand All @@ -294,15 +341,17 @@ android {
}

dependencies {
implementation('org.smartregister:opensrp-client-chw-core:1.5.27-SNAPSHOT@aar') {
implementation('org.smartregister:opensrp-client-chw-core:2.0.32-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'androidx.legacy', module: 'legacy-support-v4'
exclude group: 'androidx.appcompat', module: 'appcompat'
exclude group: 'androidx.constraintlayout', module: 'constraintlayout'
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'com.rengwuxian.materialedittext', module: 'library'
exclude group: 'stax', module: 'stax-api'
}

implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:5.1.0'
implementation('io.ona.kujaku:library:0.9.0') {
exclude group: 'com.android.volley', module: 'volley'
Expand All @@ -315,7 +364,7 @@ dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
//Do not upgrade to 1.1.0 due to compatibility issues
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.android.support:multidex:1.0.3'
//Do not upgrade to 24.jre-1 due to compatibility issues
implementation 'com.google.guava:guava:20.0'
Expand All @@ -325,6 +374,9 @@ dependencies {

implementation 'com.github.lecho:hellocharts-android:v1.5.8'

//For viewing PDFs in the app
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'

testImplementation "org.koin:koin-test:2.0.1"
testImplementation 'junit:junit:4.13'
testImplementation 'org.mockito:mockito-core:3.1.0'
Expand Down
Loading