Commit Graph

442 Commits

Author SHA1 Message Date
alfred-mk
93c44861e0 Use numeric prefixes 2024-12-04 20:42:47 +03:00
alfred-mk
4ecfc9de38 removed DATATYPE_USERSUB and replaced with DATATYPE_USERDATA 2024-12-04 20:38:52 +03:00
22e870b3e5 Merge branch 'master' into trigger-balance-reload 2024-12-02 16:36:08 +01:00
lash
406bd84875 Always reset persister in handler 2024-12-02 14:53:18 +00:00
alfred-mk
19ec8f0817 Merge branch 'master' into voucher-details 2024-12-02 13:32:32 +03:00
alfred-mk
ef3a3d6717 updated the TestGetVoucherDetails 2024-12-02 13:30:33 +03:00
alfred-mk
c2019267d1 capitalize the voucher descriptions 2024-12-02 13:26:46 +03:00
alfred-mk
aa7497573e removed unused code 2024-11-30 15:29:28 +03:00
alfred-mk
54c1fe51ef update the active voucher data when checking the current vouchers 2024-11-30 15:28:21 +03:00
alfred-mk
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
2d6c434bde feat: upgrade go-vise dep, minor cleanups to go.mod
* added stub for Dump()
2024-11-25 09:56:24 +03: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
Carlosokumu
1174500e3f add test for voucher details 2024-11-21 15:19:36 +03:00
Carlosokumu
b8d938d3aa add voucher details 2024-11-21 13:04:19 +03:00
alfred-mk
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
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
6fa0d8e2ff Merge branch 'master' into account-statement 2024-11-19 10:33:09 +03:00
Carlosokumu
01e75e9217 update test 2024-11-18 17:30:34 +03:00
Carlosokumu
44c52b6ed7 rename fetch_custodial_balances -> fetch_community_balance 2024-11-18 17:23:36 +03:00
Carlosokumu
e1506a3dcf show a placehlolder community balance 2024-11-18 17:20:12 +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
1a77092ccb updated the menuhandler tests 2024-11-15 13:12:30 +03:00
alfred-mk
1a0b4deab3 added the TransactionData struct to organiza the data 2024-11-15 09:20:19 +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
c34906cb1f added the TokenTransfer functionality and mocks 2024-11-14 20:02:48 +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
Carlosokumu
381e581e8e add terminal logs 2024-11-14 11:00:12 +03:00
Carlosokumu
fd2486b5cf Merge branch 'terminal-logs' into profile-edit-show 2024-11-13 21:04:40 +03:00
alfred-mk
f9f25d898b use logg 2024-11-13 19:00:27 +03:00
alfred-mk
09f61eb64d log all errors from the hander 2024-11-13 15:19:45 +03:00
Carlosokumu
abdb17640b add terminal logs 2024-11-12 10:36:08 +03:00
Carlosokumu
68d1628546 replace - with: Not provided 2024-11-08 17:19:41 +03:00
Carlosokumu
cc36ddcb6d add handler for showing the currently set profile information 2024-11-07 12:02:03 +03:00
Carlosokumu
ebdc7b200a register handler for getting current profile information 2024-11-07 09:16:49 +03:00
alfred-mk
266d3d06c3 Check the flag_no_active_voucher before proceeding 2024-11-04 17:56:25 +03:00
alfred-mk
88b50c5dd7 Remove admin number defination in env example 2024-11-04 15:52:03 +03:00
alfred-mk
43a1208cce Merge branch 'master' into lash/export-to-term 2024-11-04 15:38:53 +03:00
lash
2c30ccc405 Add voucherdata call to test accountservices 2024-11-04 02:23:30 +00:00
lash
a237b615f2 Export models package 2024-11-03 01:44:57 +00:00
lash
3a8a5f40ba Add test service placeholders for fetchtransactions 2024-11-02 16:42:50 +00:00
lash
e29a24b376 Add missing models files 2024-11-02 15:46:46 +00:00
lash
35a090ef42 Merge branch 'pre-mock-remove' into lash/export-to-term 2024-11-02 14:00:16 +00:00
alfred-mk
476a69fe1b Update menuhandler tests to use the memdb instead of dbmocks 2024-11-02 03:22:33 +03:00