Commit Graph
822 Commits
Author SHA1 Message Date
alfred-mk 51bad64a51 Merge branch 'master' into account-statement 2024-11-20 19:00:14 +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: 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
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: urdt/ussd#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: urdt/ussd#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
alfred-mk 51bf2534b8 use a single bearer token 2024-11-15 18:35:49 +03:00
alfred-mk d3fae34290 modified the send node traversal 2024-11-15 13:24:54 +03:00
alfred-mk 1a77092ccb updated the menuhandler tests 2024-11-15 13:12:30 +03:00
alfred-mk 36846c2587 added TestReadTransactionData 2024-11-15 12:13:09 +03:00
alfred-mk 222d801ecc added TestParseAndScaleAmount 2024-11-15 11:49:47 +03:00
alfred-mk 1a0b4deab3 added the TransactionData struct to organiza the data 2024-11-15 09:20:19 +03:00
alfred-mk cb13b09291 remove commented code 2024-11-15 08:42:44 +03:00
alfred-mk de5ecc5fe7 add the tokens functionality to the common package 2024-11-14 21:21:04 +03:00
alfred-mk 5773305785 parse data and initialize a transaction 2024-11-14 20:10:48 +03:00
alfred-mk 7985b20200 added message string for failed transaction 2024-11-14 20:09:50 +03:00
alfred-mk c34906cb1f added the TokenTransfer functionality and mocks 2024-11-14 20:02:48 +03:00
alfred-mk c10e1a6a1b added the TokenTransferResponse model 2024-11-14 19:36:30 +03:00
alfred-mk fabcccfa60 added the tokenTransfer url 2024-11-14 19:35:44 +03:00
alfred-mk f3e3badff6 save the entire voucher data when setting the default voucher 2024-11-14 17:31:17 +03:00
alfred-mk 9d2d01e3e2 save the recipient number in DATA_TEMPORARY_VALUE 2024-11-14 17:30:13 +03:00
alfred-mk 93df6a6a08 validate recipients and invite valid ones 2024-11-14 14:59:39 +03:00
carlos 8c13e44a15 Merge pull request 'profile-edit-show' (#171) from profile-edit-show into master
Reviewed-on: urdt/ussd#171
Reviewed-by: Alfred Kamanda <alfredkamandamw@gmail.com>
2024-11-14 09:27:42 +01:00
Carlosokumu 345dfbaa21 Merge remote-tracking branch 'refs/remotes/origin/profile-edit-show' into profile-edit-show 2024-11-14 11:01:42 +03:00
Carlosokumu 381e581e8e add terminal logs 2024-11-14 11:00:12 +03:00