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

Connect #2695

Open
wants to merge 331 commits into
base: feature/connect
Choose a base branch
from
Open

Connect #2695

Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
e72b6be
Merge branch 'feature/connect' of https://github.com/dimagi/commcare-…
OrangeAndGreen Oct 30, 2023
058e9f6
Made learn progress page scrollable (for small screens).
OrangeAndGreen Oct 30, 2023
376c7c7
Wrapping UI update code in a try-catch so it fails quietly if the use…
OrangeAndGreen Oct 30, 2023
806ba54
Added null check to job before updating UI.
OrangeAndGreen Oct 30, 2023
752aff9
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Oct 30, 2023
4b1e3e2
Going to in-progress jobs list when no available jobs to show.
OrangeAndGreen Oct 30, 2023
9010de9
Checking if loginListener is still present before calling back to it.
OrangeAndGreen Oct 30, 2023
722e946
Moved Connect base URL to a build config setting, and added a build f…
OrangeAndGreen Oct 30, 2023
5f0eff0
Adds connect heartbeat
shubham1g5 Oct 9, 2023
a3a183f
change heartbeat to connectID server
shubham1g5 Oct 30, 2023
0ec3ca0
Set auth in create network service
shubham1g5 Oct 31, 2023
d7ff4bf
correct return syntax
shubham1g5 Oct 31, 2023
64aab67
change the condition to connect enabled instead of unlocked for sched…
shubham1g5 Oct 31, 2023
ce2fd6c
Setting custom name for cccStaging build flavor.
OrangeAndGreen Oct 31, 2023
d6c1f32
Merge pull request #2722 from dimagi/connectHeartbeat
shubham1g5 Oct 31, 2023
618f201
Disabling Connect heartbeat to work around a failing test.
OrangeAndGreen Oct 31, 2023
d977454
Made 3 more pages scrollable in case of small screens where UI overfl…
OrangeAndGreen Nov 1, 2023
988954d
Not proceeding when start learning API call fails.
OrangeAndGreen Nov 1, 2023
342529a
Trying cccStaging flavor without added line to use different manifest.
OrangeAndGreen Nov 1, 2023
3c4f60c
Replaced several icons with higher resolution versions.
OrangeAndGreen Nov 1, 2023
9c5ad5b
Fixed text overflow in delivery details page.
OrangeAndGreen Nov 1, 2023
d8e579b
Added assessment score and passing value to learning progress page wh…
OrangeAndGreen Nov 2, 2023
69d4c71
Fixed a crash when payment amount from server contains a comma instea…
OrangeAndGreen Nov 2, 2023
196f141
Fixed formatting error when retrieving payment amount from server.
OrangeAndGreen Nov 2, 2023
5319167
Fixed broken unit tests related to Connect heartbeat.
OrangeAndGreen Nov 2, 2023
af65242
Added instrumentation for Connect pages (screen_view events).
OrangeAndGreen Nov 3, 2023
3ecbbd6
Fixed UKR expiring after 3.6 days instead of 10 years
OrangeAndGreen Nov 6, 2023
97c7048
Changed (simplified) job intro text related to payment.
OrangeAndGreen Nov 6, 2023
6f5c7ae
Retrieving, storing, and using short description text for jobs.
OrangeAndGreen Nov 6, 2023
6427447
Re-enabling UI state after some failed installation states.
OrangeAndGreen Nov 6, 2023
782c371
Updating end_date after delivery_progress API call.
OrangeAndGreen Nov 6, 2023
08c0271
Moved instrumentation code into FirebaseAnalyticsUtil.
OrangeAndGreen Nov 8, 2023
b1f18bc
Added warning text and dialog about not seeing expected progress to l…
OrangeAndGreen Nov 8, 2023
3413004
pass in fcm_token in request body
shubham1g5 Nov 10, 2023
6490f71
Registering Connect user with crash reporter after unlocking CID.
OrangeAndGreen Nov 14, 2023
8e86dd8
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Nov 14, 2023
65ea372
Improved download fragment layout to be centered in any display (incl…
OrangeAndGreen Nov 15, 2023
28f70bf
Removed safety checks before retrieving data from server payloads.
OrangeAndGreen Nov 16, 2023
7aed1c9
Merge branch 'master' into dv/connect_initial
shubham1g5 Nov 20, 2023
d2cf3eb
Revert "Removed safety checks before retrieving data from server payl…
shubham1g5 Nov 22, 2023
78a15da
Handling delivery payments and payment_accrued from API payload as in…
OrangeAndGreen Dec 3, 2023
269bf97
Added ability to review learning modules after assessment and during …
OrangeAndGreen Dec 3, 2023
7a2e523
Refreshing jobs list after opportunity API call even if call fails.
OrangeAndGreen Dec 3, 2023
71d89e6
Manually setting text for Review Learning button.
OrangeAndGreen Dec 8, 2023
5557803
Added new section at end of My Jobs tab to show jobs that have ended.
OrangeAndGreen Dec 8, 2023
a1782d4
Changed delivery progress warning to show when max visits or max dail…
OrangeAndGreen Dec 15, 2023
347acbb
Using 3rd party CountryCodePicker for getting user phone country code.
OrangeAndGreen Dec 15, 2023
c00d59d
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Dec 15, 2023
dc2363f
Removing CountryCodePicker (3rd party library) until we can fix the u…
OrangeAndGreen Jan 3, 2024
0ab5555
Showing eye icon on Connect password inputs for user to optionally re…
OrangeAndGreen Jan 3, 2024
b66e6f8
Added new versions of ConnectJobRecord and ConnectJobDeliveryRecord.
OrangeAndGreen Jan 9, 2024
80dc366
Added new DB models to externalizables test.
OrangeAndGreen Jan 10, 2024
360da1e
Fixed a little date code using Instant that breaks before API 26.
OrangeAndGreen Jan 17, 2024
a492d1a
Added Connect functionality to CommCareSetupActivity (equivalent to f…
OrangeAndGreen Jan 18, 2024
e0ce9b7
Adding some DB cleanup to unit tests.
OrangeAndGreen Jan 18, 2024
95a4a8c
Added teardown for ConnectDatabaseHelper for cleaning up after tests.
OrangeAndGreen Jan 22, 2024
cf1d9c6
Removing Instant code for same-day calculation (using Joda instead).
OrangeAndGreen Jan 22, 2024
34d5e1c
Reordering some sign-in code so CID gets uploaded to Firebase.
OrangeAndGreen Jan 22, 2024
67c0a1b
Adding Chichewa translations for Connect strings (temporary).
OrangeAndGreen Jan 22, 2024
f3d9aa1
Removed Chichewa translations (not supported by Android system, will …
OrangeAndGreen Jan 26, 2024
5891c1a
Added more instrumentation: app launches from Connect, failed auto-lo…
OrangeAndGreen Jan 26, 2024
35a7d76
Removed an obsolete comment (creating branch for connect_qa).
OrangeAndGreen Jan 29, 2024
6caf3cf
Removed jobID safety check.
OrangeAndGreen Jan 30, 2024
ecc4e69
Changed login experience to be more stateless, unlocking when needed …
OrangeAndGreen Mar 6, 2024
b43d1b7
Fixing bug (Jira CCCT-257) where app treats an assessment score of 0 …
OrangeAndGreen Mar 11, 2024
5100556
Making locally managed UKR valid for ten years prior to creation (as …
OrangeAndGreen Mar 12, 2024
272e123
Restoring CommCareLauncher to previous code.
OrangeAndGreen Mar 18, 2024
02dbb9d
Merge branch 'feature/connect' of https://github.com/dimagi/commcare-…
OrangeAndGreen Mar 19, 2024
7d6df1c
Upgraded DB model for ConnectLinkedAppRecord (supporting offers to li…
OrangeAndGreen Apr 2, 2024
52517b1
Main payment confirmation implementation.
OrangeAndGreen Apr 4, 2024
d75466c
Merge branch 'connect_qa' of https://github.com/dimagi/commcare-andro…
OrangeAndGreen Apr 4, 2024
6bb9f10
Fixed missing externalizables in test.
OrangeAndGreen Apr 4, 2024
09f0817
Fixed uninitialized link offer dates in ConnectLinkedAppRecord (DB wo…
OrangeAndGreen Apr 5, 2024
44ad65b
Repaired ordering of UI elements in Biometric Config page.
OrangeAndGreen Apr 16, 2024
0154ab8
Added projectStartDate and isActive to ConnectJobRecord.
OrangeAndGreen Apr 17, 2024
8692375
Got rid of MockJobProvider.
OrangeAndGreen Apr 17, 2024
5f9d54b
Added missing externalizable.
OrangeAndGreen Apr 17, 2024
ff219f1
Parsing budget per user from different field in API payload.
OrangeAndGreen Apr 17, 2024
1d16f9d
Preventing auto-login code from being attempted more than once when L…
OrangeAndGreen Apr 19, 2024
03b090e
Resetting "link offer" info for a CID-managed app when user severs li…
OrangeAndGreen Apr 19, 2024
d65ac56
Fix to make password input hidden when user overrides CID-managed login.
OrangeAndGreen Apr 19, 2024
1ddf634
Returning to login page after configuring ConnectID on that page (ins…
OrangeAndGreen Apr 19, 2024
61eed29
Improved some UI text for when a job hasn't started yet.
OrangeAndGreen Apr 22, 2024
8f1b2b4
Setting OR label visible whenever the Connect button is visible.
OrangeAndGreen Apr 22, 2024
98bbe86
Maintaining active job in ConnectManager so UIs can reliably get the …
OrangeAndGreen Apr 22, 2024
45edcc3
No more password-only option at registration.
OrangeAndGreen Apr 30, 2024
9e112f4
Created ApiConnectId and ApiConnect classes to wrap all respective AP…
OrangeAndGreen May 2, 2024
8173a3d
Moved Connect classes related to networking to the appropriate package.
OrangeAndGreen May 3, 2024
5b1ea6d
Added secondary phone verification.
OrangeAndGreen May 8, 2024
30bef71
Added user_cid property to analytics messaging (to identify ConnectID…
OrangeAndGreen May 8, 2024
9a4bed1
Several changes to Connect user experience.
OrangeAndGreen May 14, 2024
92cfac8
Added missing externalizable to test.
OrangeAndGreen May 14, 2024
8ede3b7
Added refresh button to progress bar on app home page (to refresh job…
OrangeAndGreen May 15, 2024
a5d3061
Fixed some navigation issues when backing up.
OrangeAndGreen May 17, 2024
9e79495
Added page to allow user to change PIN during registration if they al…
OrangeAndGreen May 17, 2024
b171736
Updated some text.
OrangeAndGreen May 17, 2024
1b70c3e
Added ConnectJobInfoActivity to host single job info page (outside of…
OrangeAndGreen May 21, 2024
65b93bc
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen May 21, 2024
3634d16
Revert "Merge branch 'master' of https://github.com/dimagi/commcare-a…
OrangeAndGreen May 21, 2024
1e74701
Merge pull request #2755 from dimagi/dv/nav_fixes
OrangeAndGreen May 21, 2024
18ff332
Adding JVM memory to fix OOM
OrangeAndGreen May 22, 2024
1fd0768
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen May 22, 2024
4921c26
Update gradle.properties
OrangeAndGreen May 22, 2024
229aa33
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen May 22, 2024
c3d28ea
Receiving and storing secondary phone verification deadline from serv…
OrangeAndGreen May 22, 2024
bc44038
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen May 22, 2024
25ea4f4
Throwing more memory at Jenkins.
OrangeAndGreen May 22, 2024
add58e8
Clearing configured session endpoint in DispatchActivity once user lo…
OrangeAndGreen May 23, 2024
91436e0
Went back to original single-activity for navigation, with option to …
OrangeAndGreen May 23, 2024
9ab644c
Merge pull request #2756 from dimagi/dv/nav_start_change
OrangeAndGreen May 23, 2024
a695d9d
Added functionality for user to change secondary phone during validat…
OrangeAndGreen May 29, 2024
f5af99c
Merge pull request #2758 from dimagi/dv/change_secondary_phone
OrangeAndGreen May 29, 2024
b84a8e0
Moved some files from activities.connect package to connect package.
OrangeAndGreen May 29, 2024
bd70e16
Fixed a bunch of linter errors
OrangeAndGreen May 29, 2024
e91160f
Merge pull request #2759 from dimagi/dv/file_organization_cleanup
OrangeAndGreen May 29, 2024
476fb80
Added Connect UI elements to landscape version of standard home page.
OrangeAndGreen May 31, 2024
571d8e3
Request window feature before calling super.onCreate in DrawActivity …
OrangeAndGreen Jun 3, 2024
f588a11
Merge branch 'feature/connect' of https://github.com/dimagi/commcare-…
OrangeAndGreen Jun 3, 2024
89087a2
Upgrade AGP to v8.0.1 to match master
OrangeAndGreen Jun 3, 2024
773b40e
Fixing some broken tests (aligning with master)
OrangeAndGreen Jun 3, 2024
2ca3475
Updating tests from master
OrangeAndGreen Jun 3, 2024
3713e02
Restored accidental overwrite
OrangeAndGreen Jun 3, 2024
7597a0a
Add french language translation
Jay13Panchal Jun 5, 2024
e6fcbaa
Add french language translation
Jay13Panchal Jun 5, 2024
e6bab2a
Restored rename of EntityStorageCache (to match master)
OrangeAndGreen Jun 5, 2024
30f0ea0
Bringing more lost changes over from master
OrangeAndGreen Jun 6, 2024
a08ad35
CCCT-336 combine two sync button to 1
pm-dimagi Jun 9, 2024
3d2cac6
CCCT-338 || CCCT-340
Jay13Panchal Jun 10, 2024
f9ffa66
Fixed bug when forcing user to unlock via recovery PIN.
OrangeAndGreen Jun 11, 2024
357edee
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jun 11, 2024
a4ac6f0
Changed received API data to include new data for multi-visit UI.
OrangeAndGreen Jun 12, 2024
d588464
Merge pull request #2764 from dimagi/dv/multi_visit_ui
OrangeAndGreen Jun 12, 2024
71dfd34
Fixed wrong path for new externalizable.
OrangeAndGreen Jun 13, 2024
f6e1af9
Redirecting user to Learning Progress page when they try to login to …
OrangeAndGreen Jun 14, 2024
a8dbe9e
Merge pull request #2766 from dimagi/dv/learn_to_deliver_redirect
OrangeAndGreen Jun 14, 2024
9999180
Not creating Connect DB until user has registered/recovered account.
OrangeAndGreen Jun 17, 2024
c1d5e73
Added is_local column to ConnectKeyRecord table in global DB.
OrangeAndGreen Jun 17, 2024
8292bf5
Merge branch 'dv/connect_initial' into jp/french_language_support
Jay13Panchal Jun 18, 2024
6741db5
New specifier for background API calls to bypass wait dialog and sing…
OrangeAndGreen Jun 18, 2024
ed6cb4c
Fixed incorrect check for completed assessment (only checking for com…
OrangeAndGreen Jun 18, 2024
e8a6ac9
Attempting to retrieve secondary phone number from success payload af…
OrangeAndGreen Jun 18, 2024
6a5621e
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jun 18, 2024
cdab958
Fixed merge error.
OrangeAndGreen Jun 18, 2024
a374467
Added DB key migration and updating local passphrase.
OrangeAndGreen Jun 18, 2024
575c5e8
Simplified some of the methods around getting DB passphrases and handle.
OrangeAndGreen Jun 18, 2024
472332d
Fixed issue after successful primary OTP during registration.
OrangeAndGreen Jun 19, 2024
9a680e1
Hiding Connect tile by default on app home screen
OrangeAndGreen Jun 20, 2024
141ed24
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jun 20, 2024
31c5c5d
Better error messages in some cases when Connect app installation fails.
OrangeAndGreen Jun 20, 2024
e3bcfa9
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jun 20, 2024
98736f5
Detecting corrupt DB and forcing user to recover.
OrangeAndGreen Jun 21, 2024
81ab7d7
Improved Verification & Payment screen for text on smaller screens, a…
OrangeAndGreen Jun 21, 2024
9b3c726
biometric design changes
pm-dimagi Jun 24, 2024
41801d5
Merge pull request #2765 from dimagi/pm_CCCT_336
pm-dimagi Jun 24, 2024
65ff569
Merge pull request #2768 from dimagi/pm_CCT_339
pm-dimagi Jun 24, 2024
baac2d8
Revert "biometric design changes"
pm-dimagi Jun 24, 2024
ac60b69
Merge pull request #2769 from dimagi/revert-2768-pm_CCT_339
pm-dimagi Jun 24, 2024
87e45c3
Finished rekeying implementation and code cleanup.
OrangeAndGreen Jun 26, 2024
77546e8
Standard message and handling code for corrupted Connect DB.
OrangeAndGreen Jun 26, 2024
af81e96
Merge pull request #2772 from dimagi/dv/connect_db_passphrase
OrangeAndGreen Jun 26, 2024
074c956
Added missing externalizable to test.
OrangeAndGreen Jun 26, 2024
549cd48
-bug fix of wrong attempt redirection
pm-dimagi Jun 26, 2024
56b96d9
- mobile sms verification
pm-dimagi Jul 1, 2024
57a00b6
- daily limit bug fix
pm-dimagi Jul 8, 2024
e4340a9
ConnectId heartbeat retrieves new SSO token if necessary.
OrangeAndGreen Jul 8, 2024
541792e
- auto sms retrival
pm-dimagi Jul 8, 2024
5757fca
Merge branch 'dv/connect_initial' into jp/french_language_support
Jay13Panchal Jul 9, 2024
ca9b0f9
Added remaining strings
Jay13Panchal Jul 9, 2024
c605ac0
- testing
pm-dimagi Jul 9, 2024
953b8aa
-testing done
pm-dimagi Jul 9, 2024
038add6
Merge branch 'dv/connect_initial' into jp/french_language_support
Jay13Panchal Jul 9, 2024
c28cfb4
Resolved Comments
Jay13Panchal Jul 10, 2024
124c099
-testing done
pm-dimagi Jul 10, 2024
9fff66e
- requested changes
pm-dimagi Jul 10, 2024
7b21c6d
Adding two quick fixes that were pushed out as a patch to the beta:
OrangeAndGreen Jul 10, 2024
3a5b625
- to show the suspended user
pm-dimagi Jul 10, 2024
ea71838
- to show the suspended user
pm-dimagi Jul 10, 2024
7576af1
changes related to data base
pm-dimagi Jul 10, 2024
733b9a7
Add Comments
Jay13Panchal Jul 11, 2024
be2d9e3
Added comment
Jay13Panchal Jul 11, 2024
ec7a775
Push notification redirection
Jay13Panchal Jul 12, 2024
6d082b8
changes related to data base
pm-dimagi Jul 12, 2024
af29f7d
-changes requested in pr
pm-dimagi Jul 12, 2024
3e987fe
- requested changes for the pr
pm-dimagi Jul 12, 2024
4f3c4e9
CCC-77 Push Notification
Jay13Panchal Jul 15, 2024
22b244e
- requested changes for the pr
pm-dimagi Jul 15, 2024
3b322a5
Merge pull request #2774 from dimagi/jp/french_language_support
OrangeAndGreen Jul 16, 2024
59e99f3
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jul 16, 2024
d58c001
-suspended user ui design
pm-dimagi Jul 16, 2024
7e47708
Notification redirection
Jay13Panchal Jul 17, 2024
130b2eb
Set analytics
Jay13Panchal Jul 17, 2024
2b0faea
Merge pull request #2788 from dimagi/jp/CCCT-340-CCCJobId-analytics
OrangeAndGreen Jul 17, 2024
5c9df83
- pr upgrade
pm-dimagi Jul 17, 2024
1e14a8b
- pr upgrade
pm-dimagi Jul 17, 2024
085cfbb
Merge pull request #2782 from dimagi/pm_CCCT_366
pm-dimagi Jul 17, 2024
372926d
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jul 17, 2024
7cd3488
- pr upgrade
pm-dimagi Jul 17, 2024
d96f682
- pr upgrade
pm-dimagi Jul 17, 2024
099ba67
Push Notification Redirection
Jay13Panchal Jul 18, 2024
d5f0775
Merge branch 'dv/connect_initial' into jp/CCCT-77-push-notification-r…
Jay13Panchal Jul 18, 2024
587e9d1
Optimize code
Jay13Panchal Jul 18, 2024
75bfeb9
CCCT-77 Push notification
Jay13Panchal Jul 19, 2024
8782951
CCCT-409 || Analytics Notification Type
Jay13Panchal Jul 19, 2024
5e1c5be
CCCT-357 Learn Assessment Score
Jay13Panchal Jul 19, 2024
61f46eb
-pr requested change
pm-dimagi Jul 19, 2024
b2afbd1
-pr requested change
pm-dimagi Jul 19, 2024
eb89ed4
CCCT-77 || Push notification redirection
Jay13Panchal Jul 19, 2024
b6e31e8
-pr requested change
pm-dimagi Jul 19, 2024
faacfa7
CCCT-77 || Push notification redirection
Jay13Panchal Jul 19, 2024
8dabf28
Merge pull request #2790 from dimagi/jp/CCCT-77-push-notification-red…
OrangeAndGreen Jul 19, 2024
65da587
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jul 19, 2024
b781003
Merge pull request #2792 from dimagi/jp/CCCT-357-learn-assessment-score
OrangeAndGreen Jul 19, 2024
164bc7f
Merge pull request #2773 from dimagi/pm_CCCT_354
OrangeAndGreen Jul 19, 2024
34fe06e
-pr requested change
pm-dimagi Jul 19, 2024
efb499e
-pr requested change
pm-dimagi Jul 19, 2024
d76cd9a
Merge branch 'dv/api_versioning' of https://github.com/dimagi/commcar…
OrangeAndGreen Jul 19, 2024
9976fa3
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
OrangeAndGreen Jul 19, 2024
18982fa
Fixing bug where daily max check accidentally checks total instead of…
OrangeAndGreen Jul 19, 2024
8707f82
-pr requested change
pm-dimagi Jul 19, 2024
c0cb756
-pr requested change
pm-dimagi Jul 19, 2024
2c81683
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
pm-dimagi Jul 19, 2024
c123753
Merge pull request #2789 from dimagi/pm_CCCT_366
OrangeAndGreen Jul 19, 2024
3d51ae4
-pr requested change
pm-dimagi Jul 19, 2024
1ed311b
Merge branch 'dv/connect_initial' of https://github.com/dimagi/commca…
pm-dimagi Jul 19, 2024
223dc32
-pr requested change
pm-dimagi Jul 19, 2024
97c3101
Merge pull request #2784 from dimagi/pm_CCCT-333
OrangeAndGreen Jul 19, 2024
a485519
-pr requested change
pm-dimagi Jul 19, 2024
420ea98
Making a date formatter final
OrangeAndGreen Jul 19, 2024
334a935
Merge pull request #2781 from dimagi/pm_CCCT_385
OrangeAndGreen Jul 19, 2024
b8e1a17
Added missing externalizable for test.
OrangeAndGreen Jul 19, 2024
9d5d239
Fixed incorrect key for payment notification redirect.
OrangeAndGreen Jul 25, 2024
819b96d
Updating tab pager in Delivery Progress when changing tab on page launch
OrangeAndGreen Jul 25, 2024
de22e6d
Only updating delivery progress on sync button press if app is linked…
OrangeAndGreen Jul 26, 2024
c8a3850
Added missing completion handler for CONNECT_VERIFY_ALT_PHONE_MESSAGE
OrangeAndGreen Jul 26, 2024
0880caa
Checking if user is suspended when they attempt direct login.
OrangeAndGreen Jul 26, 2024
c066a24
Repaired unlock to work when user falls back from fingerprint to PIN/…
OrangeAndGreen Jul 26, 2024
3121cb8
Added Portuguese translations for Connect strings.
OrangeAndGreen Jul 29, 2024
9a5e4eb
Fixed some errors in Portuguese translations and added missing transl…
OrangeAndGreen Jul 31, 2024
25e3715
Fixed incorrect navigation when user clicks Change Number during seco…
OrangeAndGreen Aug 1, 2024
30ba43e
Only showing secondary phone verification tile on app home page when …
OrangeAndGreen Aug 5, 2024
e157aef
Bug fix: Handling upgrade path properly for adding connect_key table …
OrangeAndGreen Aug 6, 2024
9407eed
Removed catches from ConnectDatabaseUpgrader (so upgrades don't fail …
OrangeAndGreen Aug 7, 2024
dc8692e
Not updating menu item visibility if we can't find it.
OrangeAndGreen Aug 8, 2024
1ac6665
Added some safety code to fix a couple crashes.
OrangeAndGreen Aug 16, 2024
c6a1a9a
Merge branch 'master' of https://github.com/dimagi/commcare-android i…
OrangeAndGreen Aug 24, 2024
d3c6f17
Merge branch 'dv/connectid_catchup' of https://github.com/dimagi/comm…
OrangeAndGreen Aug 27, 2024
8eb359b
Merge branch 'dv/connectid_catchup' of https://github.com/dimagi/comm…
OrangeAndGreen Aug 29, 2024
3a42bfb
Matching some spacing fixes between branches
OrangeAndGreen Aug 29, 2024
b309170
Not swallowing exceptions when parsing server date.
OrangeAndGreen Sep 5, 2024
c2a0499
Ignoring deliveries with exceptions when parsing JSON (logging non-fa…
OrangeAndGreen Sep 6, 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
1 change: 1 addition & 0 deletions app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
<activity android:name="org.commcare.activities.connect.ConnectIdPicturesActivity"/>
<activity android:name="org.commcare.activities.connect.ConnectIdPhoneVerificationActivity"/>
<activity android:name="org.commcare.activities.connect.ConnectIdMessageActivity"/>
<activity android:name="org.commcare.activities.connect.ConnectActivity"/>

<activity android:name="org.commcare.activities.AppSelectActivity"/>

Expand Down
11 changes: 10 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'androidx.navigation.safeargs'
apply from: 'jacoco.gradle'

repositories {
Expand Down Expand Up @@ -122,7 +123,7 @@ dependencies {
implementation "androidx.work:work-runtime:2.7.1"
implementation "androidx.work:work-runtime-ktx:2.7.1"

implementation 'com.google.android.play:core:1.10.3'
implementation 'com.google.android.play:app-update:2.1.0'
implementation 'android.arch.lifecycle:common-java8:1.1.1'

implementation('com.squareup.okhttp3:okhttp-tls:3.12.12') {
Expand All @@ -136,6 +137,14 @@ dependencies {

implementation 'io.michaelrocks:libphonenumber-android:8.13.11'
implementation 'com.nulab-inc:zxcvbn:1.7.0'

def nav_version = "2.6.0"
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
implementation "androidx.navigation:navigation-compose:$nav_version"
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
}

ext {
Expand Down
Binary file added app/res/drawable-hdpi/arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/calendar_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/money.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/phone_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-hdpi/watch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/calendar_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/money.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/phone_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-ldpi/watch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/calendar_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/money.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/phone_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-mdpi/watch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/calendar_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/money.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/phone_heart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xhdpi/watch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xxhdpi/arrow_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/res/drawable-xxhdpi/book.png
Binary file added app/res/drawable-xxhdpi/calendar_heart.png
Binary file added app/res/drawable-xxhdpi/money.png
Binary file added app/res/drawable-xxhdpi/phone_heart.png
Binary file added app/res/drawable-xxhdpi/watch.png
Binary file added app/res/drawable-xxxhdpi/arrow_right.png
Binary file added app/res/drawable-xxxhdpi/book.png
Binary file added app/res/drawable-xxxhdpi/calendar_heart.png
Binary file added app/res/drawable-xxxhdpi/money.png
Binary file added app/res/drawable-xxxhdpi/phone_heart.png
Binary file added app/res/drawable-xxxhdpi/watch.png
19 changes: 19 additions & 0 deletions app/res/drawable/progress_ring.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

<item android:id="@android:id/background">
<shape android:shape="ring"
android:thickness="5dp"
android:useLevel="false">
<solid android:color="@color/gray_400"/>
</shape>
</item>

<item android:id="@android:id/progress">
<shape android:shape="ring"
android:thickness="5dp"
android:useLevel="true">
<solid android:color="@color/solid_blue"/>
</shape>
</item>
</layer-list>
61 changes: 61 additions & 0 deletions app/res/layout/connect_available_job_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">

<ImageView
android:id="@+id/button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:src="@drawable/arrow_right" />

<TextView
android:id="@+id/new_label"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="20dp"
android:layout_marginStart="20dp"
android:textColor="@color/blue"
android:textSize="@dimen/text_small"
android:text="@string/connect_job_new" />

<TextView
android:id="@+id/title_label"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginStart="20dp"
android:textStyle="bold"
android:textSize="@dimen/text_large"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/new_label" />

<TextView
android:id="@+id/description_label"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/button"
app:layout_constraintTop_toBottomOf="@id/title_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
app:layout_constrainedWidth="true" />

<TextView
android:id="@+id/visits_label"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/button"
app:layout_constraintTop_toBottomOf="@id/description_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:paddingBottom="20dp"
app:layout_constrainedWidth="true" />

</androidx.constraintlayout.widget.ConstraintLayout>
68 changes: 68 additions & 0 deletions app/res/layout/connect_claimed_job_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">

<ImageView
android:id="@+id/button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:src="@drawable/arrow_right" />

<ProgressBar
android:id="@+id/progress_bar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:layout_marginStart="10dp"
android:indeterminateOnly="false"
android:progressDrawable="@drawable/progress_ring"
android:rotation="-90"/>

<ImageView
android:id="@+id/progress_image"
app:layout_constraintStart_toStartOf="@id/progress_bar"
app:layout_constraintEnd_toEndOf="@id/progress_bar"
app:layout_constraintTop_toTopOf="@id/progress_bar"
app:layout_constraintBottom_toBottomOf="@id/progress_bar"

android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/book" />

<TextView
android:id="@+id/title_label"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginStart="20dp"
android:textStyle="bold"
android:textSize="@dimen/text_large"
app:layout_constraintStart_toEndOf="@id/progress_bar"
app:layout_constraintTop_toTopOf="@id/progress_bar" />

<TextView
android:id="@+id/description_label"
app:layout_constraintStart_toStartOf="@id/title_label"
app:layout_constraintTop_toBottomOf="@id/title_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<TextView
android:id="@+id/remaining_label"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/description_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:paddingBottom="10dp" />

</androidx.constraintlayout.widget.ConstraintLayout>
50 changes: 50 additions & 0 deletions app/res/layout/connect_delivery_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:paddingTop="10dp"
android:paddingBottom="10dp">

<TextView
android:id="@+id/delivery_item_name"
android:layout_width="120dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
/>

<TextView
android:id="@+id/delivery_item_date"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginStart="20dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/delivery_item_name"
/>

<TextView
android:id="@+id/delivery_item_status"
app:layout_constraintStart_toEndOf="@id/delivery_item_name"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
/>

<TextView
android:id="@+id/delivery_item_paid"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingEnd="20dp"
android:textStyle="bold"
android:text="@string/connect_progress_paid"
/>

</androidx.constraintlayout.widget.ConstraintLayout>
34 changes: 34 additions & 0 deletions app/res/layout/connect_empty_job_list_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">

<TextView
android:id="@+id/placeholder"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="30dp"
android:text="" />

<ImageView
android:id="@+id/empty_image"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/placeholder"
android:layout_width="120dp"
android:layout_height="120dp"
android:paddingBottom="10dp"
android:src="@drawable/phone_heart"/>

<TextView
android:id="@+id/title_label"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/empty_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="30dp"/>

</androidx.constraintlayout.widget.ConstraintLayout>
16 changes: 16 additions & 0 deletions app/res/layout/connect_job_list_header_item.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">

<TextView
android:id="@+id/title_label"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:background="@color/gray_400"/>

</androidx.constraintlayout.widget.ConstraintLayout>
15 changes: 15 additions & 0 deletions app/res/layout/fragment_connect_available_jobs_list.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/available_jobs_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
/>

</androidx.constraintlayout.widget.ConstraintLayout>
Loading