Commit Graph

510 Commits

Author SHA1 Message Date
Carlosokumu
9ec23d395c add test case for saving location 2024-08-30 11:18:16 +03:00
Carlosokumu
c1389b4ab3 add test case for saving location 2024-08-30 11:17:06 +03:00
alfred-mk
76185c3aa1 Use AccountService in the TestCreateAccount 2024-08-30 10:45:04 +03:00
Carlosokumu
1ded359b59 refactor 2024-08-30 09:17:09 +03:00
Carlosokumu
00d582c017 setup account file interface 2024-08-30 09:15:38 +03:00
Carlosokumu
23bfdf4483 add documentation lines 2024-08-30 09:15:04 +03:00
Carlosokumu
241fe9e5fe remove repeated code 2024-08-30 09:14:17 +03:00
Carlosokumu
dd0b0ce5a3 use authorize flag instead of unlock 2024-08-29 23:22:27 +03:00
Carlosokumu
54d777de04 Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-29 23:17:56 +03:00
Carlosokumu
23680846b4 rename unlock flags 2024-08-29 23:15:58 +03:00
Carlosokumu
09c3c012da rename flags 2024-08-29 23:14:36 +03:00
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
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
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
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
alfred-mk
b48760760b Validate that the PIN is 4 digits 2024-08-28 00:17:45 +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
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
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