Commit Graph

590 Commits

Author SHA1 Message Date
348185ef96
use l.Get for the language change
Some checks failed
release / docker (push) Has been cancelled
2025-10-30 12:36:11 +03:00
f51f577e2a
added the swahili translations 2025-10-30 12:35:46 +03:00
582f349be3
handle normal send transactions based on the sym 2025-10-30 11:12:16 +03:00
8ce17a8d1e
add a sym for the credit_max_amount 2025-10-30 11:11:39 +03:00
4092437d21
add a node for the credit-send amount 2025-10-30 11:11:12 +03:00
37f4b60679
removed the credit-swap related code 2025-10-30 11:08:57 +03:00
878b5d0aa5
added the credit_send top-level menu 2025-10-30 11:08:18 +03:00
d2b934feda
use the same translation from the english menu 2025-10-30 10:07:05 +03:00
4c80606b56
properly handle formatting, preventing rounding errors for the case of 2.1 -> 2.09
Some checks failed
release / docker (push) Has been cancelled
2025-10-29 10:55:42 +03:00
38ab1ecdd1
added an edge-case test for precision 2025-10-29 10:53:11 +03:00
a49257657e
switch the order to match the TokenHoldings struct
Some checks failed
release / docker (push) Has been cancelled
2025-10-28 17:20:31 +03:00
95b48371ce
CATCH invalid credit-swap amounts 2025-10-28 17:19:40 +03:00
9da2f8a6ac
have a node for invalid credit send amounts 2025-10-28 17:17:22 +03:00
3194508e51
increase the output sizes 2025-10-28 17:16:54 +03:00
41f08c5c9b
display the max_amount directly from the function 2025-10-28 17:16:25 +03:00
de539dc300
update the credit-send functionality to display the RAT data 2025-10-28 17:15:39 +03:00
8af2ccd36f
added text translations for the amounts (for normal and credit-send transactions) 2025-10-28 17:09:46 +03:00
d9c49ee119
upgraded sarafu-api to make use of the credit-send API 2025-10-28 12:21:42 +03:00
5cfdd949ff
use the correct amount when initiating the transfer (the amount that has been swapped)
Some checks failed
release / docker (push) Has been cancelled
2025-10-22 17:32:35 +03:00
865dae4b7f
correctly format amounts to 2 decimal places using TruncateDecimalString 2025-10-22 16:16:05 +03:00
0af41ea1f1
Merge branch 'master' into send-with-swap 2025-10-22 14:40:21 +03:00
37a1906ed1 Merge pull request 'handle-error-codes' (#105) from handle-error-codes into master
Some checks failed
release / docker (push) Has been cancelled
Reviewed-on: #105
2025-10-22 13:35:13 +02:00
1ba5424e0b
cleaned up the code and removed the debug statement 2025-10-22 12:20:41 +03:00
5b4446c04a
use the upstream APIError 2025-10-22 12:10:19 +03:00
bd98034a9b
added debug line 2025-10-21 16:05:00 +03:00
d5c2dc0ee0
added the translation of the API error 2025-10-21 15:49:38 +03:00
95bc5ec6af
set a different response content based on the API error code 2025-10-21 15:49:02 +03:00
20b4269358
add a custom error struct that carries both fields from the API error 2025-10-21 15:47:39 +03:00
8ee1b449f9
use the updated sarafu-api package with error codes 2025-10-21 15:47:16 +03:00
ba9a23946f
added ClearTransactionTypeFlag when a user goes back
Some checks failed
release / docker (push) Has been cancelled
2025-10-09 15:08:51 +03:00
34271cba23 Merge branch 'master' into send-with-swap
Some checks failed
release / docker (push) Has been cancelled
2025-10-09 14:32:31 +03:00
e029a8cdc7
improved the tests by updating the menu 2025-10-09 14:19:03 +03:00
9878745861
fixed the TestCheckBalance by adjusting the expected result 2025-10-09 13:39:30 +03:00
606a551f60
use the correct data keys on the test 2025-10-09 13:31:55 +03:00
ed780659d3
removed the debug statements 2025-10-09 13:20:58 +03:00
764431ee58
added some debug statements 2025-10-09 13:08:22 +03:00
fb5eb3f24f
added the determineAndSaveTransactionType heper for shared logic on the transaction type 2025-10-09 12:45:16 +03:00
27fdb20974
handle the transaction type for a swap when using an alias 2025-10-09 12:27:51 +03:00
f7859fb72a
handle the transaction type for a swap when using an address 2025-10-09 12:15:56 +03:00
c58e260239 Merge pull request 'ui-cleanup-update' (#104) from ui-cleanup-update into master
Some checks failed
release / docker (push) Has been cancelled
Reviewed-on: #104
2025-10-03 17:31:40 +02:00
8d6cbde66c
sanitize invalid characters while showing the token details 2025-10-03 17:25:34 +03:00
48ebc922be removed invalid tracked file 2025-10-03 17:03:46 +03:00
610ecc4b7e changed the word Commodity to Product 2025-10-03 17:01:08 +03:00
0e5454ae5d added a test case for the invalid symbol replacement 2025-10-03 16:57:04 +03:00
8585203c0a added a mapping to replace invalid characters on voucher symbols 2025-10-03 16:56:48 +03:00
7973ecdfd9 Merge branch 'master' into send-with-swap
Some checks failed
release / docker (push) Has been cancelled
2025-08-26 12:22:50 +03:00
c90d3cd731
added the handler functions 2025-08-25 17:28:11 +03:00
cda2d49f3e
added TransactionInitiateSwap functionality that performs a swap followed by a send 2025-08-25 17:27:20 +03:00
4492f8087a
added TransactionSwapPreview functionality 2025-08-25 17:25:59 +03:00
0f8c2f9270
use the recipient's phone number to read swap related data 2025-08-25 17:24:58 +03:00