Commit Graph

563 Commits

Author SHA1 Message Date
Carlosokumu
175cbd1983 setup template test 2024-09-06 17:51:07 +03:00
Carlosokumu
8175d6ac12 setup db mock 2024-09-06 17:50:33 +03:00
Carlosokumu
d4bae50ff0 Merge remote-tracking branch 'refs/remotes/origin/wip-code-check' into wip-code-check 2024-09-06 16:54:41 +03:00
Carlosokumu
d7376a4196 format error 2024-09-06 16:53:22 +03:00
alfred-mk
eb9f470ac5 Update the GetProfileInfo to get data from gdbm 2024-09-06 16:17:26 +03:00
Carlosokumu
7a12588744 remove deprecated code 2024-09-06 12:42:24 +03:00
Carlosokumu
6947b1e4a4 rename getflags to getparser 2024-09-06 11:03:01 +03:00
Carlosokumu
2cc85379cc update log 2024-09-06 11:02:33 +03:00
alfred-mk
d001c5a7fc Write and read data from gdbm 2024-09-06 09:33:39 +03:00
alfred-mk
de8c7ce34a Added user data to db.go util 2024-09-06 08:35:01 +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
Carlosokumu
643b4d87a9 read account pin of gdbm store 2024-09-05 20:30:28 +03:00
Carlosokumu
5abaf28f49 remove explicit attachment of state to engine 2024-09-05 20:26:52 +03:00
alfred-mk
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
62b7adb967 Fix missing byte allocation for typ serialize 2024-09-05 15:41:27 +01:00
lash
6fa5f49bc0 Remove impossible nil check in handler 2024-09-05 15:28:53 +01:00
Carlosokumu
2bf7a5c246 setup db keys 2024-09-05 17:12:38 +03:00
Carlosokumu
98c74dffc4 use state from persister 2024-09-05 17:09:30 +03:00
Carlosokumu
771a1e8169 code refactoring 2024-09-05 17:07:20 +03:00
Carlosokumu
220c5b2081 remove commented code 2024-09-04 20:22:25 +03:00
Carlosokumu
2fc8a0e5a7 use fsDb for the resources 2024-09-04 19:57:08 +03:00
Alfred Kamanda
c6c66f956a Merge pull request 'wip-flag-migration' (#28) from wip-flag-migration into master
Reviewed-on: urdt/ussd#28
2024-09-04 11:25:33 +02:00
alfred-mk
1957606bc2 Added log to show debug the flag loaded 2024-09-04 12:19:34 +03:00
alfred-mk
8ffc5d67cc Removed mutex 2024-09-04 12:01:51 +03:00
alfred-mk
2d7b6bd125 Removed unused code 2024-09-03 22:28:48 +03:00
alfred-mk
5105e902f1 Process flags once and make them available across functions 2024-09-03 19:06:37 +03:00
Carlosokumu
19b2fa65fa Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-03 18:00:06 +03:00
Carlosokumu
ee4db50e00 remove unused code 2024-09-03 17:59:03 +03:00
alfred-mk
99d18322b2 Append to the correct flag set/reset 2024-09-03 15:34:19 +03:00
Carlosokumu
a07a8703f4 remove flag setting invalid pin entry 2024-09-03 15:13:55 +03:00
Carlosokumu
94f12edeaf Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-03 15:08:45 +03:00
Carlosokumu
fee51edade append sessionid to the gdbm file 2024-09-03 15:07:49 +03:00
alfred-mk
f90fde90fb Register flags in debugger from the csv 2024-09-03 15:04:09 +03:00
alfred-mk
ab6433168a Resolve bug on transaction confirmation PIN 2024-09-03 15:02:31 +03:00
Carlosokumu
0c360c0cc4 remove panics after failed execution 2024-09-03 13:19:32 +03:00
Carlosokumu
560714838f fix menu termination on invalid pin entry 2024-09-03 11:51:14 +03:00
Carlosokumu
c365eaa1d1 remove unused code 2024-09-02 21:24:16 +03:00
Carlosokumu
337419c9f2 Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-02 21:10:41 +03:00
Carlosokumu
d4c4db09f3 load profile data from gdbm 2024-09-02 21:09:39 +03:00
alfred-mk
3a3ddc9922 Use FlagParser on main.go and delete the flags.go file 2024-09-02 21:06:42 +03:00
Carlosokumu
1c1ea74088 Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-02 17:12:01 +03:00
Carlosokumu
14c8230fd4 code cleanup 2024-09-02 17:11:08 +03:00
alfred-mk
b6e4ba7ede Verify PIN using the one in the db 2024-09-02 17:08:57 +03:00
Carlosokumu
2b511aba4c remove commented code 2024-09-02 16:39:04 +03:00
Carlosokumu
626fca1a55 Merge remote-tracking branch 'refs/remotes/origin/wip-flag-migration' into wip-flag-migration 2024-09-02 16:30:58 +03:00
Carlosokumu
0c96831378 use gdbm 2024-09-02 16:05:13 +03:00
Carlosokumu
fe4df78f80 use gdbm for user info storage 2024-09-02 16:04:53 +03:00
alfred-mk
31be1fa221 Use flags from pp.csv on the menuhandler functions and tests 2024-09-02 14:00:02 +03:00