lash
406bd84875
Always reset persister in handler
2024-12-02 14:53:18 +00:00
7976e237ca
Merge pull request 'voucher-details' ( #179 ) from voucher-details into master
...
Reviewed-on: urdt/ussd#179
Reviewed-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-12-02 11:43:30 +01:00
19ec8f0817
Merge branch 'master' into voucher-details
2024-12-02 13:32:32 +03:00
ef3a3d6717
updated the TestGetVoucherDetails
2024-12-02 13:30:33 +03:00
c2019267d1
capitalize the voucher descriptions
2024-12-02 13:26:46 +03:00
08ff1056d7
Validate aliases, addresses and phone numbers in the send menu ( #176 )
...
- Update the phone number regex
- Check whether the recipient is a valid phone number, alias or address
Reviewed-on: urdt/ussd#176
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2024-11-26 07:24:57 +01:00
0f4a7e900f
Merge pull request 'feat: upgrade go-vise dep, minor cleanups to go.mod' ( #182 ) from sohail/upgrade-deps into master
...
Reviewed-on: urdt/ussd#182
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-11-26 07:02:07 +01:00
2d6c434bde
feat: upgrade go-vise dep, minor cleanups to go.mod
...
* added stub for Dump()
2024-11-25 09:56:24 +03:00
f5d2644031
Merge pull request 'account-statement' ( #126 ) from account-statement into master
...
Reviewed-on: urdt/ussd#126
2024-11-22 19:24:08 +01:00
09b4fa2860
Merge branch 'master' into account-statement
2024-11-22 19:23:59 +01:00
a748c1b6b2
chore: fix old reference
2024-11-22 11:53:13 +03:00
1174500e3f
add test for voucher details
2024-11-21 15:19:36 +03:00
b8d938d3aa
add voucher details
2024-11-21 13:04:19 +03:00
d1e9340ea9
add voucher details
2024-11-21 13:03:43 +03:00
51bad64a51
Merge branch 'master' into account-statement
2024-11-20 19:00:14 +03:00
212cd48249
debug: postgres conn string
2024-11-19 17:53:06 +03:00
7adc0c9c08
fix: Dockerfile to include .env
2024-11-19 17:25:20 +03:00
0a19a6c48b
fix: github ci spec
2024-11-19 17:18:13 +03:00
66b5843b0d
feat: dockerfile and github based CI build for Africastalking variant ( #174 )
...
## Summary
* fixed missing error handler in main
* add injectable build string in main
* add (dynamically linked) docker build
* add github CI workflow
* add extra but useful dev files in dev folder
* closes #93
## Notes
* We'll move to a self-hosted CI runner once it is installed on Gitea.
Reviewed-on: urdt/ussd#174
Co-authored-by: Mohammed Sohail <sohailsameja@gmail.com>
Co-committed-by: Mohammed Sohail <sohailsameja@gmail.com>
2024-11-19 15:15:24 +01:00
df89fe69e1
return to the main node
2024-11-19 17:09:59 +03:00
9498242901
removed debug statement
2024-11-19 16:27:19 +03:00
eab6dbd74c
Check if index is within range
2024-11-19 16:23:35 +03:00
6159686a8e
update function comment
2024-11-19 16:21:55 +03:00
1d82bc2261
added transactions functions
2024-11-19 16:07:28 +03:00
bfcdd79f33
view single statement
2024-11-19 16:04:46 +03:00
d49b68597c
check transactions and catch when none exist
2024-11-19 16:03:54 +03:00
1d9f4fc13e
added statement related flags
2024-11-19 15:50:19 +03:00
6fa0d8e2ff
Merge branch 'master' into account-statement
2024-11-19 10:33:09 +03:00
109a2a2020
Merge pull request 'menu-balances' ( #173 ) from menu-balances into master
...
Reviewed-on: urdt/ussd#173
Reviewed-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-11-19 08:18:43 +01:00
bc6d8098f3
updated the failed test
2024-11-19 10:15:34 +03:00
01e75e9217
update test
2024-11-18 17:30:34 +03:00
f2b17880ba
check community and my balance separately
2024-11-18 17:30:09 +03:00
1d4f116079
community balance str
2024-11-18 17:23:59 +03:00
44c52b6ed7
rename fetch_custodial_balances -> fetch_community_balance
2024-11-18 17:23:36 +03:00
454f67b317
show balance based on current voucher
2024-11-18 17:21:04 +03:00
e1506a3dcf
show a placehlolder community balance
2024-11-18 17:20:12 +03:00
b22a4adec1
Merge pull request 'updated send node' ( #172 ) from send-node into master
...
Reviewed-on: urdt/ussd#172
2024-11-18 14:19:42 +01:00
1ba90a8b78
updated the test
2024-11-16 14:52:24 +03:00
5dd4f2a3fb
scale down the balance according to the decimals
2024-11-16 14:52:02 +03:00
b40ad78294
add the GetVoucherDetails function
2024-11-15 21:03:57 +03:00
11bb194f26
add a struct to access the tokenDetails
2024-11-15 21:03:29 +03:00
c0ccdce0a9
add the voucher details node
2024-11-15 21:02:44 +03:00
7d16b710d8
set the TokenDecimals as int to match the API response
2024-11-15 20:50:07 +03:00
c8fc32a4e7
cleaned up models
2024-11-15 18:50:06 +03:00
baeb5e0ccb
use a single doRequest and updated the structs for TokenHoldings and Transfers
2024-11-15 18:37:20 +03:00
51bf2534b8
use a single bearer token
2024-11-15 18:35:49 +03:00
d3fae34290
modified the send node traversal
2024-11-15 13:24:54 +03:00
1a77092ccb
updated the menuhandler tests
2024-11-15 13:12:30 +03:00
36846c2587
added TestReadTransactionData
2024-11-15 12:13:09 +03:00
222d801ecc
added TestParseAndScaleAmount
2024-11-15 11:49:47 +03:00