Commit Graph

132 Commits

Author SHA1 Message Date
2cc85379cc
update log 2024-09-06 11:02:33 +03:00
d001c5a7fc
Write and read data from gdbm 2024-09-06 09:33:39 +03:00
lash
cad8e86c8b
Remove manual init calls in handler funcs 2024-09-05 23:55:54 +01:00
lash
0feb013c78
Ensure handler init when state and cache is available 2024-09-05 20:40:40 +01:00
643b4d87a9
read account pin of gdbm store 2024-09-05 20:30:28 +03:00
17804e7641
Save the actual PIN and verify it 2024-09-05 19:50:02 +03:00
lash
db3ec1991d
Remove obsolete store and persister global 2024-09-05 16:45:35 +01:00
lash
6fa5f49bc0
Remove impossible nil check in handler 2024-09-05 15:28:53 +01:00
98c74dffc4
use state from persister 2024-09-05 17:09:30 +03:00
771a1e8169
code refactoring 2024-09-05 17:07:20 +03:00
220c5b2081
remove commented code 2024-09-04 20:22:25 +03:00
8ffc5d67cc
Removed mutex 2024-09-04 12:01:51 +03:00
2d7b6bd125
Removed unused code 2024-09-03 22:28:48 +03:00
5105e902f1
Process flags once and make them available across functions 2024-09-03 19:06:37 +03:00
19b2fa65fa
Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-03 18:00:06 +03:00
ee4db50e00
remove unused code 2024-09-03 17:59:03 +03:00
99d18322b2
Append to the correct flag set/reset 2024-09-03 15:34:19 +03:00
a07a8703f4
remove flag setting invalid pin entry 2024-09-03 15:13:55 +03:00
94f12edeaf
Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-03 15:08:45 +03:00
fee51edade
append sessionid to the gdbm file 2024-09-03 15:07:49 +03:00
ab6433168a
Resolve bug on transaction confirmation PIN 2024-09-03 15:02:31 +03:00
0c360c0cc4
remove panics after failed execution 2024-09-03 13:19:32 +03:00
c365eaa1d1
remove unused code 2024-09-02 21:24:16 +03:00
d4c4db09f3
load profile data from gdbm 2024-09-02 21:09:39 +03:00
1c1ea74088
Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-02 17:12:01 +03:00
14c8230fd4
code cleanup 2024-09-02 17:11:08 +03:00
b6e4ba7ede
Verify PIN using the one in the db 2024-09-02 17:08:57 +03:00
2b511aba4c
remove commented code 2024-09-02 16:39:04 +03:00
626fca1a55
Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-02 16:30:58 +03:00
fe4df78f80
use gdbm for user info storage 2024-09-02 16:04:53 +03:00
31be1fa221
Use flags from pp.csv on the menuhandler functions and tests 2024-09-02 14:00:02 +03:00
ba4d0abcda
improve doc line 2024-09-02 10:03:57 +03:00
632dd860ff
Use flags from pp.csv on the Authorize function 2024-08-31 17:16:57 +03:00
2559b4e604
add test profile 2024-08-31 14:55:54 +03:00
de4aaeb02b
use script dir for parser 2024-08-31 10:26:49 +03:00
cc323707fc
setup parser 2024-08-31 10:21:20 +03:00
33178e9482
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-30 14:03:30 +03:00
1dbd3c0b8e
add more test cases 2024-08-30 14:01:58 +03:00
2c6f70dfa5
Add tests for GetSender and GetAmount 2024-08-30 13:52:25 +03:00
9ec23d395c
add test case for saving location 2024-08-30 11:18:16 +03:00
c1389b4ab3
add test case for saving location 2024-08-30 11:17:06 +03:00
76185c3aa1
Use AccountService in the TestCreateAccount 2024-08-30 10:45:04 +03:00
1ded359b59
refactor 2024-08-30 09:17:09 +03:00
dd0b0ce5a3
use authorize flag instead of unlock 2024-08-29 23:22:27 +03:00
54d777de04
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-29 23:17:56 +03:00
23680846b4
rename unlock flags 2024-08-29 23:15:58 +03:00
ca86ef1507
Use gettext for the Quit function 2024-08-29 23:05:41 +03:00
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
08fcb7cdba
use interfaces for the handler 2024-08-29 19:56:25 +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
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
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
5f3baa86ae
remove commented code 2024-08-27 10:16:25 +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