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
a17cf78d29
Merge remote-tracking branch 'refs/remotes/origin/minor-bug-fixes' into minor-bug-fixes
2024-11-22 11:35:57 +03:00
9847433e0a
use _ for back navigation
2024-11-22 11:30:13 +03:00
7ce50398d1
use the language translation instead of hardcoded eng
2024-11-21 15:54:00 +03:00
e30bc177e9
fixed typo and added a new translation
2024-11-21 15:52:07 +03:00
b9ff467c0c
use the correct balance
2024-11-21 15:51:04 +03:00
1174500e3f
add test for voucher details
2024-11-21 15:19:36 +03:00
07df450b3c
include labels to define the symbol and balance while selecting a voucher
2024-11-21 15:15:15 +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
8925e26c4c
refactor check for valid yob
2024-11-21 11:25:47 +03:00
9b89462797
add function to check validity of provided yob
2024-11-21 11:21:16 +03:00
51bad64a51
Merge branch 'master' into account-statement
2024-11-20 19:00:14 +03:00
7880294c6f
set eng as default language
2024-11-20 17:14:25 +03:00
451b15fb6b
explicit set_language reload
2024-11-20 17:13:14 +03:00
d20700ca74
fix size limit error
2024-11-20 16:39:50 +03:00
9cf1cbe425
add swahili translation for catch node
2024-11-20 16:36:18 +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