Alfred Kamanda Alfred-mk
  • Nairobi, Kenya
  • Joined on 2024-08-12
Alfred-mk pushed to consolidate-temp-data-storage at urdt/ussd 2024-10-31 22:45:44 +01:00
e75aa2c1f7 Merge branch 'master' into consolidate-temp-data-storage
5f666382ab Merge pull request 'profile-update-pin-check' (#149) from profile-update-pin-check into master
ce917d9e89 update tests
3ce25d0e14 Merge branch 'master' into profile-update-pin-check
d25128287e update profile information on individual node
Compare 9 commits »
Alfred-mk pushed to consolidate-temp-data-storage at urdt/ussd 2024-10-31 22:44:21 +01:00
63eed81d3d Merge branch 'master' into consolidate-temp-data-storage
Alfred-mk pushed to consolidate-temp-data-storage at urdt/ussd 2024-10-31 22:42:52 +01:00
f4ca4454ea use a single DATA_TEMPORARY_VALUE for the PIN and voucher data
Alfred-mk created pull request urdt/ussd#150 2024-10-31 14:33:44 +01:00
WIP: Consolidate temp data storage
Alfred-mk created branch consolidate-temp-data-storage in urdt/ussd 2024-10-31 14:32:12 +01:00
Alfred-mk pushed to consolidate-temp-data-storage at urdt/ussd 2024-10-31 14:32:12 +01:00
0b4bf58107 resolved failing tests due to tempData
Alfred-mk commented on issue urdt/ussd#114 2024-10-31 14:04:44 +01:00
Send menu should show nothing to send when no default token

Addressed in PR urdt/ussd#101

Alfred-mk closed issue urdt/ussd#114 2024-10-31 14:04:44 +01:00
Send menu should show nothing to send when no default token
Alfred-mk commented on pull request urdt/ussd#138 2024-10-31 12:44:50 +01:00
voucher-data

On further assessment, I see it best to remove the code as the condition would never occur.

The data being matched comes from the db, and for this condition to occur means an issue lies with…

Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-31 12:44:48 +01:00
e6a369dcdd remove unused code
Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-31 12:26:34 +01:00
b8bbd88078 retain the temporary data for it to be overwritten
Alfred-mk pushed to lash/export-to-term at urdt/ussd 2024-10-31 12:13:34 +01:00
bab3f673eb Removed unused model
Alfred-mk commented on pull request urdt/ussd#138 2024-10-31 00:47:34 +01:00
voucher-data

They can be left and overwritten with any new temporary data

I wanted to work on this functionality on a different PR, where we'll make use of a single temporary data row

Alfred-mk commented on pull request urdt/ussd#138 2024-10-31 00:46:01 +01:00
voucher-data

It will only occur if the string is not well formatted in the "1:SRF" format, such as it being "1SRF" or "1 SRF"

Ideally, this will not be encountered but I added this as an edge case in the…

Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-30 16:46:31 +01:00
a31cac4e50 Merge branch 'master' into voucher-data
843b0d1e7e Merge pull request 'Add reverse sessionid address lookup' (#146) from lash/reverse-session into master
cb997159f7 Add reverse sessionid address lookup
Compare 3 commits »
Alfred-mk commented on pull request urdt/ussd#138 2024-10-30 16:41:53 +01:00
voucher-data

This is actually a struct for the strings that are returned as formatted values, to be stored in the subPrefixDb

For example data := VoucherMetadata{ Symbols: "1:SRF\n2:MILO", Balances:…

Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-30 16:40:08 +01:00
8b399781e8 make the VoucherMetadata more descriptive
Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-30 16:31:02 +01:00
caafe495be use the dataserviceapi structs
66b34eaea4 get the ussd-data-service package
Compare 2 commits »
Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-30 12:13:59 +01:00
adaa0c63ef Extract common db operations for the test
Alfred-mk pushed to voucher-data at urdt/ussd 2024-10-29 22:53:23 +01:00
7241cdbfcb Updated the tests
0480c02633 Moved voucher related functions to the utils package
Compare 2 commits »