Commit Graph

198 Commits

Author SHA1 Message Date
75ca39b012
Define the regex pattern as a constant 2024-08-29 22:57:19 +03:00
1a7c992e5b
Return without setting the flag that's already set 2024-08-29 22:54:52 +03:00
3da2949d38
use fake fields for the response 2024-08-29 20:17:38 +03:00
64e182fd44
use interfaces for handlers 2024-08-29 20:08:36 +03:00
22d076ea50
setup test for successful account creation 2024-08-29 20:07:50 +03:00
edcbf9979d
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-29 20:00:50 +03:00
20cf7bdb44
setup interface for file operations 2024-08-29 19:56:50 +03:00
08fcb7cdba
use interfaces for the handler 2024-08-29 19:56:25 +03:00
7b5d82c7bf
setup service for handling account activities 2024-08-29 19:55:08 +03:00
a64291bb31
setup test for successful account creation 2024-08-29 19:54:26 +03:00
195f003d69
create mocks 2024-08-29 19:53:55 +03:00
802c3f92df
Added tests for CreateAccount and SavePin 2024-08-29 19:24:43 +03:00
b344720fdc
add documentation lines 2024-08-28 21:01:25 +03:00
3fdd702e93
Use getText for the language switch 2024-08-28 18:26:41 +03:00
7cb94742e1
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-28 18:15:14 +03:00
16f00bcf09
use getText for external functions translation 2024-08-28 18:13:49 +03:00
9f0ef13198
Added documentation lines on functions 2024-08-28 16:23:52 +03:00
768535b540
Quit with the transaction confirmation 2024-08-28 14:54:39 +03:00
3501a79aea
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-28 14:19:08 +03:00
54bc09b7e9
initialize testing for menu handlers 2024-08-28 14:14:28 +03:00
7b33f2f644
Initiate a transaction once a valid PIN is provided 2024-08-28 14:11:20 +03:00
d87b70b292
reset unlock for update 2024-08-28 12:19:38 +03:00
0eb1115e39
add handler for setting and resetting single edits 2024-08-28 10:10:49 +03:00
c565a9dde5
add flag to handle single field profile edit 2024-08-28 10:09:49 +03:00
b48760760b
Validate that the PIN is 4 digits 2024-08-28 00:17:45 +03:00
633d56b0ad
Allow users to include 'CELO' in the amount 2024-08-27 16:16:15 +03:00
2b10f6023f
Use the balance as the max_amount 2024-08-27 16:10:43 +03:00
8d9aaeedbc
Validate that the amount is not greater than the balance 2024-08-27 16:02:24 +03:00
1d578209fc
Ensure that the user sets a PIN before proceeding to main 2024-08-27 15:41:53 +03:00
2a5f7517f4
add function to calculate age with yob 2024-08-27 14:59:17 +03:00
674fd5773a
validate date as a 4 digit input value 2024-08-27 14:57:26 +03:00
bf99ed8482
Added a CATCH if the account creation fails 2024-08-27 13:38:08 +03:00
7e95e7cbb3
initialize fieldnames 2024-08-27 13:30:00 +03:00
ded37ab515
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-27 11:24:34 +03:00
ddde2fb4ca
add documentation lines 2024-08-27 11:22:37 +03:00
9f1eed9ab3
Add an account util for reading and writing data to file 2024-08-27 11:19:49 +03:00
1a0173eee5
add documentation lines 2024-08-27 10:20:38 +03:00
0aacc06146
add documentation code 2024-08-27 10:18:33 +03:00
5f3baa86ae
remove commented code 2024-08-27 10:16:25 +03:00
db96f0e2e4
add documentation lines 2024-08-27 10:15:11 +03:00
cb31616a87
check for 4 digits input 2024-08-26 21:58:21 +03:00
1a997e8b26
updated the file structure to have external functions on a different package 2024-08-26 15:53:07 +03:00
68dc77d5eb
added flags model 2024-08-26 14:34:38 +03:00
90f6d26f6d
add function to calculate age 2024-08-26 13:37:54 +03:00
36d3f05a31
move api calls in main to handlers package 2024-08-26 13:32:12 +03:00
430c5d32c8
define api calls response 2024-08-26 13:31:20 +03:00
ee649dc79e
setup models for handling api responses 2024-08-26 12:10:39 +03:00
30504b81e2
setup structure for handling api calls 2024-08-26 12:10:16 +03:00