Commit Graph

475 Commits

Author SHA1 Message Date
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
584d02db29 Merge branch 'master' into lash/store-dumper 2024-11-05 00:19:06 +01:00
266d3d06c3
Check the flag_no_active_voucher before proceeding 2024-11-04 17:56:25 +03:00
5937c6bf5c Merge branch 'master' into lash/store-dumper 2024-11-04 13:56:44 +01: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
10b3083647
WIP Add db dumper tool 2024-11-02 20:29:32 +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
f4ca4454ea
use a single DATA_TEMPORARY_VALUE for the PIN and voucher data 2024-11-01 00:42:23 +03:00
2704069e74
Merge branch 'master' into pin-reset 2024-10-31 21:09:48 +03:00
7aab3cff8c
remove seed 2024-10-31 21:00:16 +03:00
12825ae08a
setup adminstore in the local handler service 2024-10-31 20:10:46 +03:00
ac0b4b2ed1
pass context 2024-10-31 20:08:30 +03:00
ce917d9e89
update tests 2024-10-31 17:05:06 +03:00
3ce25d0e14
Merge branch 'master' into profile-update-pin-check 2024-10-31 16:42:30 +03:00
8fe8ff540b
Merge branch 'master' into pin-reset 2024-10-31 16:38:28 +03:00
0b4bf58107
resolved failing tests due to tempData 2024-10-31 16:31:29 +03:00
lash
4bf56c525f
Export voucher related code 2024-10-31 13:19:44 +00:00
lash
33bba73a65 Merge branch 'master' into lash/export-to-term 2024-10-31 12:45:53 +00:00
lash
a17150962e Merge remote-tracking branch 'origin/lash/export-to-term' into lash/export-to-term 2024-10-31 12:39:48 +00:00
lash
3ae75b27a5
WIP replaced check account method but traversal crashes 2024-10-31 12:38:31 +00:00
lash
b2d180e8eb
WIP Trying to clean up account status check 2024-10-31 12:15:07 +00:00
e6a369dcdd
remove unused code 2024-10-31 14:44:42 +03:00
lash
b9c56b04ce
Remove obsolete track account status code 2024-10-31 11:43:27 +00:00
b8bbd88078
retain the temporary data for it to be overwritten 2024-10-31 14:26:28 +03:00
c45fcda2f1
remove back option check,protect profile data update 2024-10-31 14:20:04 +03:00
981f7ca4f6
add keys to for holding temporary profile info 2024-10-31 14:14:50 +03:00
bab3f673eb
Removed unused model 2024-10-31 14:13:21 +03:00
lash
dc198215b1
Remove commented code 2024-10-31 02:03:29 +00:00
lash
a48170321c
Finish refactor result models 2024-10-31 01:51:36 +00:00
lash
1e638238ed
WIP refactor models usage 2024-10-31 01:28:37 +00:00
lash
4e81e2d869
Adapt voucher changes to package exports 2024-10-30 21:09:45 +00:00
833d52a558
remove print message 2024-10-30 21:26:11 +03:00
8262e14198
Merge branch 'master' into pin-reset 2024-10-30 21:10:12 +03:00
a31cac4e50
Merge branch 'master' into voucher-data 2024-10-30 18:46:21 +03:00
8b399781e8
make the VoucherMetadata more descriptive 2024-10-30 18:40:03 +03:00
caafe495be
use the dataserviceapi structs 2024-10-30 18:30:55 +03:00
ea4c6d9314
check for phone number validity 2024-10-30 18:01:43 +03:00
lash
ff26ccc545
Expose api interface 2024-10-30 13:09:15 +00:00
cf523e30f8
update handler in test 2024-10-30 14:50:31 +03:00
888d3befe9
add actual pin reset functionality 2024-10-30 14:50:12 +03:00
c42b1cd66b
provide required handler functions and admin store 2024-10-30 14:32:01 +03:00
b404ae95fb
setup an admin store based on fs 2024-10-30 14:30:38 +03:00
adaa0c63ef
Extract common db operations for the test 2024-10-30 14:12:42 +03:00
lash
c95b97cb14
Export user data store 2024-10-30 01:45:38 +00:00
lash
dd764a2e24
Export db datatypes,tools 2024-10-30 01:28:55 +00:00
lash
cb997159f7
Add reverse sessionid address lookup 2024-10-30 00:59:59 +00:00
7241cdbfcb
Updated the tests 2024-10-30 00:53:13 +03:00
0480c02633
Moved voucher related functions to the utils package 2024-10-30 00:52:23 +03:00
5a0563df94
group regex,check for valid number against the regex 2024-10-29 22:17:43 +03:00
d0ad6395b5
add check for unregistered phone numbers 2024-10-29 17:35:42 +03:00
91b85af11a
add reset unregistered number 2024-10-29 17:34:34 +03:00
b35460d3c1
Merge branch 'master' into pin-reset 2024-10-29 14:35:17 +03:00
5fd3eb3c29
set admin privilege flag 2024-10-29 14:28:58 +03:00
d83962c0ba
load admin numbers defined in the .env 2024-10-29 14:26:24 +03:00
c9bb93ede6
create a simple admin store for phone numbers 2024-10-29 13:15:41 +03:00
03c32fd265 Merge branch 'master' into voucher-data 2024-10-28 18:40:37 +03:00
b97965193b
add pin reset for others handling 2024-10-28 16:37:23 +03:00
2c361e5b96
Added tests related to the vouchers list 2024-10-28 16:30:13 +03:00
131f3bcf46
Added the prefixDb to the Handlers struct~ 2024-10-28 16:27:24 +03:00
520f5abdcd
Added the subPrefixDb mock 2024-10-28 16:23:44 +03:00
5d294b663c
Added the PrefixDb interface 2024-10-28 16:21:31 +03:00
26073c8000
define handler functions required to reset others pin 2024-10-28 15:49:20 +03:00
e4c2f644f3
define a key to hold number during pin reset 2024-10-28 15:47:56 +03:00
dc782d87a8
Updated the TestSetVoucher 2024-10-28 11:20:06 +03:00
ddae746b9d
formatted code 2024-10-28 11:07:59 +03:00