Commit Graph
841 Commits
Author SHA1 Message Date
alfred-mk db3bc04c9a Merge branch 'master' into alias-address-validation 2024-11-26 09:16:17 +03:00
kamikazechaser 0f4a7e900f Merge pull request 'feat: upgrade go-vise dep, minor cleanups to go.mod' (#182) from sohail/upgrade-deps into master
Reviewed-on: #182
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-11-26 07:02:07 +01:00
alfred-mk e8bed3b07b update the alias regex to be alphanumeric 2024-11-25 15:02:28 +03:00
alfred-mk 2a36b31750 update the format to be +254xxxxxxxxx 2024-11-25 14:37:37 +03:00
alfred-mk b919bfbfc8 use the formatted number when checking if it is registered 2024-11-25 11:59:51 +03:00
alfred-mk f666b1e960 format the number to a standard version 2024-11-25 11:30:09 +03:00
kamikazechaser 2d6c434bde feat: upgrade go-vise dep, minor cleanups to go.mod
* added stub for Dump()
2024-11-25 09:56:24 +03:00
alfred-mk 267132b956 Merge branch 'master' into alias-address-validation 2024-11-24 16:48:03 +03:00
lash f5d2644031 Merge pull request 'account-statement' (#126) from account-statement into master
Reviewed-on: #126
2024-11-22 19:24:08 +01:00
lash 09b4fa2860 Merge branch 'master' into account-statement 2024-11-22 19:23:59 +01:00
kamikazechaser a748c1b6b2 chore: fix old reference 2024-11-22 11:53:13 +03:00
alfred-mk 51bad64a51 Merge branch 'master' into account-statement 2024-11-20 19:00:14 +03:00
alfred-mk 1f089ec27b updated the template to include the alias and address 2024-11-20 18:55:58 +03:00
alfred-mk 7c346e2af0 use the correct base URL 2024-11-20 18:45:37 +03:00
alfred-mk a766f0c01f improved the ValidateRecipient to check phone numbers, aliases and addresses 2024-11-20 18:37:35 +03:00
alfred-mk 1a3426e729 added helper functions to validate aliases, addresses and phone numbers 2024-11-20 18:36:32 +03:00
alfred-mk 9ba8c040c0 added the CheckAliasAddress function to the account service and test mocks 2024-11-20 18:34:48 +03:00
alfred-mk 1f830657f9 added the alias endpoint 2024-11-20 18:33:12 +03:00
alfred-mk ec0bbc8aaa use the latest updates from ussd-data-service 2024-11-20 18:32:14 +03:00
alfred-mk 8421feb757 updated the regex to match all Kenyan numbers 2024-11-20 14:59:33 +03:00
kamikazechaser 212cd48249 debug: postgres conn string
release / docker (push) Has been cancelled
v0.1.2-beta
2024-11-19 17:53:06 +03:00
kamikazechaser 7adc0c9c08 fix: Dockerfile to include .env
release / docker (push) Has been cancelled
v0.1.1-beta
2024-11-19 17:25:20 +03:00
kamikazechaser 0a19a6c48b fix: github ci spec
release / docker (push) Has been cancelled
v0.1.0-beta
2024-11-19 17:18:13 +03:00
kamikazechaser 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: #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
alfred-mk df89fe69e1 return to the main node 2024-11-19 17:09:59 +03:00
alfred-mk 9498242901 removed debug statement 2024-11-19 16:27:19 +03:00
alfred-mk eab6dbd74c Check if index is within range 2024-11-19 16:23:35 +03:00
alfred-mk 6159686a8e update function comment 2024-11-19 16:21:55 +03:00
alfred-mk 1d82bc2261 added transactions functions 2024-11-19 16:07:28 +03:00
alfred-mk bfcdd79f33 view single statement 2024-11-19 16:04:46 +03:00
alfred-mk d49b68597c check transactions and catch when none exist 2024-11-19 16:03:54 +03:00
alfred-mk 1d9f4fc13e added statement related flags 2024-11-19 15:50:19 +03:00
alfred-mk 6fa0d8e2ff Merge branch 'master' into account-statement 2024-11-19 10:33:09 +03:00
carlos 109a2a2020 Merge pull request 'menu-balances' (#173) from menu-balances into master
Reviewed-on: #173
Reviewed-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-11-19 08:18:43 +01:00
alfred-mk bc6d8098f3 updated the failed test 2024-11-19 10:15:34 +03:00
Carlosokumu 01e75e9217 update test 2024-11-18 17:30:34 +03:00
Carlosokumu f2b17880ba check community and my balance separately 2024-11-18 17:30:09 +03:00
Carlosokumu 1d4f116079 community balance str 2024-11-18 17:23:59 +03:00
Carlosokumu 44c52b6ed7 rename fetch_custodial_balances -> fetch_community_balance 2024-11-18 17:23:36 +03:00
Carlosokumu 454f67b317 show balance based on current voucher 2024-11-18 17:21:04 +03:00
Carlosokumu e1506a3dcf show a placehlolder community balance 2024-11-18 17:20:12 +03:00
carlos b22a4adec1 Merge pull request 'updated send node' (#172) from send-node into master
Reviewed-on: #172
2024-11-18 14:19:42 +01:00
alfred-mk 1ba90a8b78 updated the test 2024-11-16 14:52:24 +03:00
alfred-mk 5dd4f2a3fb scale down the balance according to the decimals 2024-11-16 14:52:02 +03:00
alfred-mk b40ad78294 add the GetVoucherDetails function 2024-11-15 21:03:57 +03:00
alfred-mk 11bb194f26 add a struct to access the tokenDetails 2024-11-15 21:03:29 +03:00
alfred-mk c0ccdce0a9 add the voucher details node 2024-11-15 21:02:44 +03:00
alfred-mk 7d16b710d8 set the TokenDecimals as int to match the API response 2024-11-15 20:50:07 +03:00
alfred-mk c8fc32a4e7 cleaned up models 2024-11-15 18:50:06 +03:00
alfred-mk baeb5e0ccb use a single doRequest and updated the structs for TokenHoldings and Transfers 2024-11-15 18:37:20 +03:00