aa7497573e
removed unused code
2024-11-30 15:29:28 +03:00
54c1fe51ef
update the active voucher data when checking the current vouchers
2024-11-30 15:28:21 +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
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
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
6159686a8e
update function comment
2024-11-19 16:21:55 +03:00
1d82bc2261
added transactions functions
2024-11-19 16:07:28 +03:00
6fa0d8e2ff
Merge branch 'master' into account-statement
2024-11-19 10:33:09 +03:00
01e75e9217
update test
2024-11-18 17:30:34 +03:00
44c52b6ed7
rename fetch_custodial_balances -> fetch_community_balance
2024-11-18 17:23:36 +03:00
e1506a3dcf
show a placehlolder community balance
2024-11-18 17:20:12 +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
1a77092ccb
updated the menuhandler tests
2024-11-15 13:12:30 +03:00
1a0b4deab3
added the TransactionData struct to organiza the data
2024-11-15 09:20:19 +03:00
de5ecc5fe7
add the tokens functionality to the common package
2024-11-14 21:21:04 +03:00
5773305785
parse data and initialize a transaction
2024-11-14 20:10:48 +03:00
c34906cb1f
added the TokenTransfer functionality and mocks
2024-11-14 20:02:48 +03:00
f3e3badff6
save the entire voucher data when setting the default voucher
2024-11-14 17:31:17 +03:00
9d2d01e3e2
save the recipient number in DATA_TEMPORARY_VALUE
2024-11-14 17:30:13 +03:00
93df6a6a08
validate recipients and invite valid ones
2024-11-14 14:59:39 +03:00
381e581e8e
add terminal logs
2024-11-14 11:00:12 +03:00
fd2486b5cf
Merge branch 'terminal-logs' into profile-edit-show
2024-11-13 21:04:40 +03:00
f9f25d898b
use logg
2024-11-13 19:00:27 +03:00
09f61eb64d
log all errors from the hander
2024-11-13 15:19:45 +03:00
abdb17640b
add terminal logs
2024-11-12 10:36:08 +03:00
68d1628546
replace - with: Not provided
2024-11-08 17:19:41 +03:00
cc36ddcb6d
add handler for showing the currently set profile information
2024-11-07 12:02:03 +03:00
ebdc7b200a
register handler for getting current profile information
2024-11-07 09:16:49 +03:00
266d3d06c3
Check the flag_no_active_voucher before proceeding
2024-11-04 17:56:25 +03:00
88b50c5dd7
Remove admin number defination in env example
2024-11-04 15:52:03 +03:00
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
476a69fe1b
Update menuhandler tests to use the memdb instead of dbmocks
2024-11-02 03:22:33 +03:00
c52f8312e4
Remove the dbmock and userdbmock
2024-11-02 03:21:38 +03:00
6dbe74d12b
use single temporary value
2024-11-01 16:46:09 +03:00
5e4a9e7567
Merge branch 'master' into pin-reset
2024-11-01 16:26:29 +03:00
cfe3e526df
Remove the subprefixdbmock
2024-11-01 13:17:45 +03:00
eb2c73dce1
remove unused setadmin store
2024-11-01 11:51:50 +03:00
lash
9a528cfd14
Clean up messily failed conflict resolution
2024-11-01 03:17:01 +00:00
lash
8cc46d2782
Merge branch 'master' into lash/export-to-term
2024-10-31 22:58:36 +00:00
d7ea8fa651
Use the DATA_TEMPORARY_VALUE for the user data
2024-11-01 01:10:58 +03:00
63eed81d3d
Merge branch 'master' into consolidate-temp-data-storage
2024-11-01 00:44:15 +03:00