Commit Graph

266 Commits

Author SHA1 Message Date
16dd0f6ebf
set the first voucher as the active voucher when the current active sym is not found in the vouchers response
Some checks failed
release / docker (push) Has been cancelled
2025-07-02 19:10:02 +03:00
a3dae12c7a
update the TestCheckBalance and add more test cases
Some checks failed
release / docker (push) Has been cancelled
2025-07-02 09:30:30 +03:00
57426b3565
use the TruncateDecimalString to format the displayed balance 2025-07-02 09:29:56 +03:00
2807f039a7 Merge branch 'master' into add-balance-to-voucher-list 2025-07-02 08:50:50 +03:00
ba2cb4b813
use the DATA_SUGGESTED_ALIAS to check the status 2025-07-01 01:29:52 +03:00
8416d4fddb
use a single alias variable 2025-07-01 01:18:03 +03:00
a33ff7ffda
added logging 2025-07-01 00:56:50 +03:00
7d1951ec7a
use updated sarafu-api with correct order of variables 2025-07-01 00:51:05 +03:00
b31a68ad8e
added logging 2025-07-01 00:27:45 +03:00
ea3a6d8382
call the UpdateAlias if the account has an Aias 2025-06-30 18:18:06 +03:00
0fcadd4634 Merge branch 'master' into update-alias 2025-06-30 14:43:55 +03:00
9234bfd579
update the TestGetVoucherList to the expected content 2025-06-30 13:36:07 +03:00
706b6fe629
include the balance next to each voucher 2025-06-30 13:31:55 +03:00
3592e7747c
add a test case with large decimal amount 2025-06-26 12:30:44 +03:00
7fe40faa9d
use the TruncateDecimalString helper function to format amounts to 2 d.p 2025-06-26 12:30:14 +03:00
b497dde1e8
remove unused 'constructAccountAlias' func 2025-06-26 10:02:55 +03:00
dabdf7eba2
add a test case to ensure the stored amount is not rounded off 2025-06-24 14:55:37 +03:00
96f6ca7d08
truncate two decimal places without risking float rounding issues 2025-06-24 14:55:09 +03:00
bc48dddd99
use the correct ContractAddress for the Last10TxResponse struct 2025-06-24 14:04:07 +03:00
5263af46d8
use a single ProcessVouchers due to similar data struct
Some checks failed
release / docker (push) Has been cancelled
2025-06-23 10:09:39 +03:00
383ef51134
use the TokenAddress instead of ContractAddress 2025-06-23 10:07:53 +03:00
6f2d965b89
add log for the GetCurrentProfileInfo
Some checks failed
release / docker (push) Has been cancelled
2025-06-23 08:56:37 +03:00
150dc99201
log the response from GetPoolSwappableVouchers
Some checks failed
release / docker (push) Has been cancelled
2025-06-19 14:54:43 +03:00
b85c5a8788
log the metadata from GetSwapToVoucherData
Some checks failed
release / docker (push) Has been cancelled
2025-06-19 14:17:43 +03:00
e803048b13
Added more logging and display the actual activePoolSymbol
Some checks failed
release / docker (push) Has been cancelled
2025-06-19 12:54:33 +03:00
42dadb5eea add-pool-selection (#79)
Some checks failed
release / docker (push) Has been cancelled
- Add pool selection under "Select vouchers" node
- Use the set pool contract address in the swap, or fall back to the default

Reviewed-on: #79
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-06-09 13:38:19 +02:00
7228b818e3 swap-fix (#78)
Some checks failed
release / docker (push) Has been cancelled
- Resolves a "key not found error" on the swap max limit node
- Resolves double PIN requests when authorizing transactions #67

Reviewed-on: #78
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-06-03 09:19:13 +02:00
8dc203d111
use the TemporaryValue to store the user's swap amount input
Some checks failed
release / docker (push) Has been cancelled
2025-05-22 15:18:52 +03:00
0495472530
match the reset_incorrect_pin symbol to the function name 2025-05-22 12:13:50 +03:00
91b57fece2
use the ProcessTokens function and remove the unused DATA_POOL_TO_BALANCES 2025-05-21 18:51:10 +03:00
21da4b976b
use the updated sarafu-api that removes the publicKey from the GetPoolSwappableVouchers
Some checks failed
release / docker (push) Has been cancelled
2025-05-21 15:45:17 +03:00
b428e2e22d
add log for the CheckTokenInPool
Some checks failed
release / docker (push) Has been cancelled
2025-05-20 14:02:41 +03:00
5d8fee470a
use the default pool variables 2025-05-20 10:26:01 +03:00
c8146ea211 alfred/pool-swap (#33)
Some checks failed
release / docker (push) Has been cancelled
Pool swap functionality

Resolves issue #24

Reviewed-on: #33
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-05-19 15:44:50 +02:00
d03c0c4c0e vouchers-input-selection (#75)
Some checks failed
release / docker (push) Has been cancelled
- Update the NEXT and PREV input selectors on the vouchers list
- Have the INCMPs before LOAD/RELOADs to prevent navigation inputs being passed to handler functions

Reviewed-on: #75
Reviewed-by: Mohamed Sohail <kamikazechaser@noreply.localhost>
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-05-19 15:42:43 +02:00
7b1676bb37 fixes: recipient address and phone number (#74)
Some checks failed
release / docker (push) Has been cancelled
- Add functionality to checksum addresses...resolves #66
- Remove white spaces from the recipient input...resolves #70

Reviewed-on: #74
Reviewed-by: Mohamed Sohail <kamikazechaser@noreply.localhost>
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-05-07 11:45:38 +02:00
06cab56427
fix failing tests: menuhandlers missing the logdb 2025-04-29 13:25:31 +03:00
d0c181bca2
Merge branch 'master' into route-api-errors 2025-04-29 12:58:46 +03:00
29d35d1ec4
add write of the temporary and confirmed account pins to the log db 2025-04-28 15:49:40 +03:00
4166c9aed5 Merge branch 'master' into logdb 2025-04-28 12:38:27 +03:00
78e82edfb5
added the logdn to the menuhandler tests 2025-04-28 12:26:06 +03:00
a5c4866b23
add required logdb to menuhandler 2025-04-28 11:50:25 +03:00
b52239e6be
use direct key data type 2025-04-28 11:50:10 +03:00
1499e4a29a
check recipient before sending an sms 2025-04-28 11:38:44 +03:00
5f24ff3b1b
feat: send invites when a recipient
is not resolved
2025-04-28 11:38:44 +03:00
a6e569afb1
remove the verify_new_pin functionality that managed the unused flag_valid_pin 2025-04-28 11:37:44 +03:00
446514d8ce
remove unused function reset_valid_pin 2025-04-28 11:37:44 +03:00
e8ff468c7b
update the reset flags in TestCheckBlockedStatus 2025-04-28 11:37:41 +03:00
965f343230
update the reset flags in TestConfirmPinChange 2025-04-28 11:37:40 +03:00
3426d31a9e
use the correct flag_invalid_pin in TestSaveTemporaryPin 2025-04-28 11:37:40 +03:00
ad395c4b1a
remove code related to admins resetting a user's actual PIN 2025-04-28 11:37:38 +03:00
f90a188acc
updated the flags set and reset in SaveTemporaryPin and VerifyCreatePin 2025-04-28 11:37:37 +03:00
e6e8bb6671
set the DATA_SELF_PIN_RESET as 0 and reset the flag_account_pin_reset 2025-04-28 11:37:33 +03:00
9a2ad99d07
updated the ResetOthersPin and ValidateBlockedNumber for the updated reset other's PIN functionality 2025-04-28 11:34:26 +03:00
2f4959e191
use the DATA_SELF_PIN_RESET to set the flag_account_pin_reset 2025-04-28 11:34:25 +03:00
0370a3def4
use dedicated smsservice for triggering extra sms 2025-04-18 12:13:24 +03:00
a38ac06a3d
trigger an address sms in the check_identifier handler 2025-04-18 10:56:41 +03:00
ac2a3721b2
remove dedicated address sms trigger 2025-04-18 10:55:02 +03:00
5ff2e794ff
feat: implement address and pin reset sms 2025-04-17 23:31:48 +03:00
08deeca500
register handler to trigger address sms 2025-04-17 23:31:22 +03:00
4ffb32f14a Merge branch 'master' into self-pin-reset-node 2025-04-11 10:25:35 +03:00
c9170ca45a Merge branch 'master' into self-pin-reset-node 2025-04-09 23:43:10 +03:00
57a1645c03
remove the verify_new_pin functionality that managed the unused flag_valid_pin 2025-04-09 23:40:03 +03:00
7d9c3b66a9
remove unused function reset_valid_pin 2025-04-09 19:29:40 +03:00
b89abf3487
update the reset flags in TestCheckBlockedStatus 2025-04-09 18:06:24 +03:00
4ef8c47f8b
update the reset flags in TestConfirmPinChange 2025-04-09 18:01:40 +03:00
1076a9578e
use the correct flag_invalid_pin in TestSaveTemporaryPin 2025-04-09 17:57:54 +03:00
834f2ce629
remove code related to admins resetting a user's actual PIN 2025-04-09 17:39:41 +03:00
1f6bf2bbed
updated the flags set and reset in SaveTemporaryPin and VerifyCreatePin 2025-04-09 16:59:48 +03:00
33c376c971
set the DATA_SELF_PIN_RESET as 0 and reset the flag_account_pin_reset 2025-04-09 15:10:12 +03:00
79bf09f3d1
add logdb to menuhandler and associated write operations 2025-04-09 14:55:35 +03:00
094866c129
add a logdb field to lhs and setter function 2025-04-09 14:49:41 +03:00
f96f9c11e6
updated the ResetOthersPin and ValidateBlockedNumber for the updated reset other's PIN functionality 2025-04-08 16:23:21 +03:00
1d8b0ef951
Merge branch 'master' into sms-upsell 2025-04-07 11:45:29 +03:00
fb2dc003b8
check recipient before sending an sms 2025-04-07 11:38:52 +03:00
a11ca2a618
reset the flag_language_set and flag_account_created flags if the publicKey does not exist on the db
Some checks failed
release / docker (push) Has been cancelled
2025-04-04 12:05:04 +03:00
2c671bc0d4
use the DATA_SELF_PIN_RESET to set the flag_account_pin_reset 2025-04-02 18:29:04 +03:00
58242c8d55
fix failing test: TestManageVouchers 2025-04-02 10:53:36 +03:00
cab90ed89a
set and reset flag_api_error flag 2025-04-02 10:48:04 +03:00
3c84fb5ae7
Merge branch 'master' into route-api-errors 2025-04-02 10:38:47 +03:00
f82b413e34 Merge branch 'master' into manage-vouchers-in-single-function 2025-04-01 21:26:16 +02:00
695bfed349
feat: send invites when a recipient
is not resolved
2025-04-01 16:30:08 +03:00
0458ac9498
fix failing test 2025-04-01 12:38:57 +03:00
d0be79d817
set account creation failed flag 2025-04-01 11:30:00 +03:00
ea0fc4491d
removed debug related logs 2025-04-01 11:12:38 +03:00
7883063e53
feat: set and reset api call failure flags 2025-03-31 15:42:27 +03:00
9674a04cbc
add handler to reset api call failure flag,set flag when requesting an alias fails 2025-03-28 15:51:56 +03:00
c814c4ae5c
register handler to reset api call failure flag 2025-03-28 15:46:57 +03:00
eaa89c29df
Merge branch 'master' into route-api-errors 2025-03-28 15:22:40 +03:00
39c0d31995
remove verbose logs 2025-03-28 11:26:32 +03:00
18acb53ead
add alias logs
Some checks failed
release / docker (push) Has been cancelled
2025-03-28 11:08:50 +03:00
43d91f84f6
use a different key for the suggested aliases 2025-03-28 10:49:31 +03:00
04c7e20457
set api call error flag to failing api calls 2025-03-26 14:38:47 +03:00
ea117b7222
replace SetDefaultVoucher and CheckVouchers with ManageVouchers 2025-03-26 14:28:43 +03:00
39e1c84a45
added TestManageVouchers for ManageVouchers 2025-03-26 14:27:17 +03:00
20ee4dfb24
replace SetDefaultVoucher and CheckVouchers with ManageVouchers 2025-03-26 14:26:31 +03:00
8ebd2bbbfa
remove alias updates from TestUpdateAllProfileItems
Some checks failed
release / docker (push) Has been cancelled
2025-03-24 20:06:07 +03:00
06c534cbb1
remove the subprefix db from TestViewVoucher 2025-03-24 20:03:20 +03:00
b8d53f82bb
remove the subprefix db from TestGetVoucherList 2025-03-24 20:01:44 +03:00
71c01e00cd
remove commented out code 2025-03-24 19:58:43 +03:00