Commit Graph

429 Commits

Author SHA1 Message Date
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
4e1b2d5ddb
update account services 2024-10-25 18:01:52 +03:00
d8800a665d
Merge branch 'master' into tests-refactor 2024-10-25 17:48:40 +03:00
3ef64271e7
Store and retrieve the voucher decimals and contract address 2024-10-25 17:24:09 +03:00
a0e97cfe5b
remove test account service implementation 2024-10-25 09:37:16 +03:00
a3be98c514
update test account service 2024-10-25 09:36:43 +03:00
2b34b3a75c
Merge branch 'master' into tests-refactor 2024-10-25 09:14:16 +03:00
b4454f7517
Added context to FetchVouchers 2024-10-24 20:44:29 +03:00
d9c660b8ea
Merge branch 'master' into menu-voucherlist 2024-10-24 20:39:43 +03:00
a92c640cb7
Updated tests 2024-10-24 18:15:54 +03:00
728815f0c6
Include the active symbol in the send menu 2024-10-24 17:50:37 +03:00
383f074cae
update method signatures 2024-10-24 17:32:08 +03:00
d678a639b8
Merge branch 'master' into api-context 2024-10-24 17:07:11 +03:00
2b34a0900c
check for status code and unmarshal on errResponse 2024-10-24 16:35:53 +03:00
ee9a683eb0
Merge branch 'master' into menu-voucherlist 2024-10-24 16:30:44 +03:00
9274e585bd
Merge branch 'master' into menu-voucherlist 2024-10-24 16:26:32 +03:00
57a49819f4
Merge branch 'master' into api-structs 2024-10-24 16:22:41 +03:00
abc01b7cee
change to local setup endpoint 2024-10-24 16:21:34 +03:00
ec4e44a27c Merge branch 'master' into send-menu-update 2024-10-24 15:58:59 +03:00
39c0560abe
Updated the test 2024-10-24 15:21:48 +03:00
75459f852b
Return the full balance string 2024-10-24 15:12:57 +03:00
6200728435
Updated the menuhander test 2024-10-24 14:45:15 +03:00
579b46db65
Replace the public key with the sessionId 2024-10-24 14:34:12 +03:00
f99486c190
correct import 2024-10-24 12:07:00 +03:00
57a07af8ca
correct import 2024-10-24 12:06:44 +03:00
5692440099
move to testutil 2024-10-24 12:05:27 +03:00
651969668f
move to testutil 2024-10-24 12:05:11 +03:00
f3a028f1fc
move to testutil 2024-10-24 12:03:32 +03:00
9f2d57ea03
update tests 2024-10-24 10:10:14 +03:00
d74a4cc33b
update service mock method signatures 2024-10-24 10:10:03 +03:00
08e709f1b3
check for error responses 2024-10-24 10:02:15 +03:00
9bc9d04a49
use errresponse and okresponse for deserialization 2024-10-24 10:00:38 +03:00
a553731f02
Cleaned up code 2024-10-23 17:45:41 +03:00
f36847d966
Added a placeholder function to get transactions 2024-10-23 14:51:17 +03:00
4011597d9c
Check specific db error 2024-10-23 14:02:13 +03:00
176473aa26
Rename prefix to vouchers 2024-10-23 13:54:42 +03:00
b41e52af63
pass context.Context 2024-10-23 12:45:54 +03:00
2725323f16
Merge branch 'master' into tests-refactor 2024-10-23 11:06:10 +03:00
1d255372b2
Merge branch 'master' into api-structs 2024-10-22 21:05:51 +03:00
e05dbb4885
check for back option 2024-10-22 20:36:58 +03:00
637e107525
Merge branch 'master' into menu-voucherlist 2024-10-22 17:10:51 +03:00
9c75942b0b
chore: remove commented code 2024-10-21 16:54:16 +03:00
eaac771722
move into testtag package 2024-10-21 16:48:24 +03:00
f3a5178de7
update imports 2024-10-21 16:47:43 +03:00
549d09890b
update imports 2024-10-21 16:47:25 +03:00
4a9ef6b5f2
move test account service to testutil 2024-10-21 16:47:00 +03:00
a904cdbf44
move driver to testutil 2024-10-21 16:45:06 +03:00