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

Process skipped clients #506

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b5b5dbb
added broadcast reciever and service to reprocess the client
junaidwarsivd Jan 26, 2023
21b014b
added the corrections in the PR review
junaidwarsivd Jan 31, 2023
16470ec
added UnitTest for GizEventRepository
junaidwarsivd Jan 31, 2023
443625a
added more corrections to the PR changed the job trigger to isComplet…
junaidwarsivd Feb 1, 2023
b322055
corrected the condition
junaidwarsivd Feb 1, 2023
77e7122
removed unused imports
junaidwarsivd Feb 1, 2023
c405d49
reformatted the code
junaidwarsivd Feb 2, 2023
51d9247
updated according to the PR feedback
junaidwarsivd Feb 2, 2023
0402130
changed androidTestImplemenation to testImplementation
junaidwarsivd Feb 2, 2023
d3d2cfd
codacy issues removed
junaidwarsivd Feb 2, 2023
277e50c
added android 12 compatibility
junaidwarsivd Feb 10, 2023
89fb705
Code cleanup
ekigamba Mar 14, 2023
35ca072
Log skipped clients for reprocessing
ekigamba Mar 14, 2023
fa8589f
Process skipped clients events in-order of eventDate after processing…
ekigamba Mar 14, 2023
eb00e3d
Append APK file name with version and variant
ekigamba Dec 15, 2022
e2a4098
Separate oauth client id and secret for different variants
ekigamba Dec 15, 2022
0c4106b
Comment out code in client processor
ekigamba Dec 19, 2022
2f54b4b
Fix commented out code in client processor
ekigamba Mar 14, 2023
5c5cf23
Update ANC version to fix next button in form
ekigamba Mar 16, 2023
b4bb240
Fix OPD Close event processing
ekigamba Mar 20, 2023
6bd8dfa
Mark deceased children as closed in ec_client
ekigamba Mar 20, 2023
a834abb
Update README setup instructions
ekigamba Mar 21, 2023
07c67a8
Remove unused imports
ekigamba Mar 21, 2023
4626b37
Fix PNC registration form cannot move to the next page
ekigamba Mar 24, 2023
7e93ddf
Process death and OPD close events
ekigamba Mar 24, 2023
27b7787
Fix All Clients register search to remove dead clients
ekigamba Mar 24, 2023
502694f
Code cleanup
ekigamba Mar 24, 2023
eeab005
Update versionName and versionCode to 0.4.8 and 48
ekigamba Mar 24, 2023
57aa2d3
Fix Child register search showing deceased clients
ekigamba Mar 26, 2023
af4d112
Update versionName and versionCode to 0.4.9 and 49
ekigamba Mar 26, 2023
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
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ subprojects {
ext.androidToolsBuildGradle = '4.0.1'
ext.androidBuildToolsVersion = '29.0.3'
ext.androidMinSdkVersion = 18
ext.androidCompileSdkVersion = 29
ext.androidTargetSdkVersion = 29
ext.androidCompileSdkVersion = 31
ext.androidTargetSdkVersion = 31

ext.androidAnnotationsVersion = '3.0.1'
ext.androidAnnotationsAPIVersion = '3.0.1'
Expand Down
7 changes: 6 additions & 1 deletion opensrp-giz-malawi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ android {
}
configurations.all {
exclude group: 'com.github.lecho', module: 'hellocharts-library'
exclude group: 'com.evernote', module: 'android-job'

}
}

Expand Down Expand Up @@ -376,7 +378,10 @@ dependencies {
// Because RxAndroid releases are few and far between, it is recommended you also
// explicitly depend on RxJava's latest version for bug fixes and new features.
implementation 'io.reactivex.rxjava2:rxjava:2.1.5'
implementation 'com.evernote:android-job:1.2.6'
implementation('com.github.devv911:android-job:1.4.5') {
exclude group: 'com.google.android', module: 'android'
}
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'com.github.lecho:hellocharts-android:1.5.8@aar'
implementation 'id.zelory:compressor:2.1.1'
implementation('com.google.android.material:material:1.0.0') {
Expand Down
25 changes: 13 additions & 12 deletions opensrp-giz-malawi/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
android:name=".activity.LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.Login"
android:exported="true"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down Expand Up @@ -280,18 +281,18 @@
android:theme="@style/ChildTheme.NoActionBar"
tools:replace="android:theme" />
<!-- END OF PNC ACTIVITIES -->
<service android:name="org.smartregister.immunization.service.intent.VaccineIntentService" />
<service android:name="org.smartregister.immunization.service.intent.RecurringIntentService" />
<service android:name="org.smartregister.immunization.service.intent.VaccineSchedulesUpdateIntentService" />
<service android:name="org.smartregister.growthmonitoring.service.intent.ZScoreRefreshIntentService" />
<service android:name="org.smartregister.growthmonitoring.service.intent.WeightIntentService" />
<service android:name="org.smartregister.growthmonitoring.service.intent.HeightIntentService" />
<service android:name="org.smartregister.sync.intent.PullUniqueIdsIntentService" />
<service android:name="org.smartregister.sync.intent.ValidateIntentService" />
<service android:name="org.smartregister.sync.intent.ExtendedSyncIntentService" />
<service android:name="org.smartregister.sync.intent.SettingsSyncIntentService" />
<service android:name="org.smartregister.sync.intent.SyncIntentService" />
<service android:name=".service.ReProcessSyncIntentService"/>
<service android:name="org.smartregister.immunization.service.intent.VaccineIntentService" android:exported="true" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these services set as exported and why is this explicitly declared?

<service android:name="org.smartregister.immunization.service.intent.RecurringIntentService" android:exported="true" />
<service android:name="org.smartregister.immunization.service.intent.VaccineSchedulesUpdateIntentService" android:exported="true"/>
<service android:name="org.smartregister.growthmonitoring.service.intent.ZScoreRefreshIntentService" android:exported="true" />
<service android:name="org.smartregister.growthmonitoring.service.intent.WeightIntentService" android:exported="true"/>
<service android:name="org.smartregister.growthmonitoring.service.intent.HeightIntentService" android:exported="true"/>
<service android:name="org.smartregister.sync.intent.PullUniqueIdsIntentService" android:exported="true" />
<service android:name="org.smartregister.sync.intent.ValidateIntentService" android:exported="true"/>
<service android:name="org.smartregister.sync.intent.ExtendedSyncIntentService" android:exported="true" />
<service android:name="org.smartregister.sync.intent.SettingsSyncIntentService" android:exported="true" />
<service android:name="org.smartregister.sync.intent.SyncIntentService" android:exported="true" />
<service android:name=".service.ReProcessSyncIntentService" android:exported="true"/>

<uses-library
android:name="org.apache.http.legacy"
Expand Down