Commit Graph

827 Commits

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