Commit Graph

109 Commits

Author SHA1 Message Date
lash
8e3ff27bb8 Ensure db close on http signal shutdown, correct stores to provider 2024-09-10 20:44:10 +01:00
lash
dd2468a4d7 Http server harness
Add storage retrieval solution for http handler

Successfully executed account regisration using http

Set upstream go-vise dependency version in go.mod

Adapt menuhandler to upstream
2024-09-10 13:59:36 +01:00
Carlosokumu
9f034967b5 remove resource directory 2024-09-10 12:32:19 +03:00
Carlosokumu
da93444d3f remove deprecated code 2024-09-09 10:14:40 +03:00
Carlosokumu
33c6b35f8f Merge branch 'origin/master' into wip-code-check 2024-09-09 09:56:00 +03:00
Carlosokumu
2c059afa7d resolve 2024-09-07 22:05:09 +03:00
Carlosokumu
6947b1e4a4 rename getflags to getparser 2024-09-06 11:03:01 +03:00
lash
cad8e86c8b Remove manual init calls in handler funcs 2024-09-05 23:55:54 +01:00
Carlosokumu
5abaf28f49 remove explicit attachment of state to engine 2024-09-05 20:26:52 +03:00
lash
db3ec1991d Remove obsolete store and persister global 2024-09-05 16:45:35 +01:00
Carlosokumu
771a1e8169 code refactoring 2024-09-05 17:07:20 +03:00
Carlosokumu
2fc8a0e5a7 use fsDb for the resources 2024-09-04 19:57:08 +03:00
alfred-mk
1957606bc2 Added log to show debug the flag loaded 2024-09-04 12:19:34 +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
3a3ddc9922 Use FlagParser on main.go and delete the flags.go file 2024-09-02 21:06:42 +03:00
Carlosokumu
0c96831378 use gdbm 2024-09-02 16:05:13 +03:00
alfred-mk
460e6fa2c8 Renamed duplicate flag 2024-08-31 14:50:45 +03:00
Carlosokumu
cc323707fc setup parser 2024-08-31 10:21:20 +03:00
Carlosokumu
95e142860e rename unlock flags to authorize 2024-08-30 11:15:08 +03:00
Carlosokumu
23680846b4 rename unlock flags 2024-08-29 23:15:58 +03:00
alfred-mk
7b33f2f644 Initiate a transaction once a valid PIN is provided 2024-08-28 14:11:20 +03:00
Carlosokumu
6e0ea07cde register single edit flag 2024-08-28 10:12:08 +03:00
alfred-mk
1d578209fc Ensure that the user sets a PIN before proceeding to main 2024-08-27 15:41:53 +03:00
alfred-mk
bf99ed8482 Added a CATCH if the account creation fails 2024-08-27 13:38:08 +03:00
Carlosokumu
460a3d19f7 register all flags 2024-08-26 17:00:04 +03:00
alfred-mk
1634854231 set the flags to 14 2024-08-26 15:54:29 +03:00
alfred-mk
1a997e8b26 updated the file structure to have external functions on a different package 2024-08-26 15:53:07 +03:00
alfred-mk
68dc77d5eb added flags model 2024-08-26 14:34:38 +03:00
Carlosokumu
3c66a2ded2 handle age calculation,call apis from handlers 2024-08-26 13:40:20 +03:00
Carlosokumu
cd28fd0b5e fix typo on rese_ incorrect_yob 2024-08-25 22:18:55 +03:00
Carlosokumu
a1fde55d8d remove unneccesary if-else 2024-08-25 22:13:41 +03:00
Carlosokumu
730c92c284 rename symbols,add check for invalid date inputs 2024-08-24 17:08:38 +03:00
alfred-mk
460e951584 validate PIN using the set AccountPIN 2024-08-23 16:01:13 +03:00
alfred-mk
a508f06583 create an account using the API 2024-08-23 14:34:55 +03:00
Carlosokumu
b440881441 remove unused code 2024-08-23 07:06:54 +03:00
Carlosokumu
c556e88916 Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-23 06:40:37 +03:00
Carlosokumu
722bb10441 implement profile data persistence 2024-08-23 06:35:49 +03:00
alfred-mk
9cc75185b3 creuse a universal quit message 2024-08-23 01:05:14 +03:00
alfred-mk
f50be01b89 create a PIN during registration 2024-08-22 19:48:34 +03:00
alfred-mk
9aedc5d48f added amount validation flag and logic 2024-08-22 15:44:28 +03:00
Carlosokumu
47c38bf507 call api on creating an account 2024-08-21 21:49:27 +03:00
Carlosokumu
e521145faa Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-21 21:44:07 +03:00
Carlosokumu
80ff5c477f implement pin check 2024-08-21 21:37:29 +03:00
alfred-mk
cc6cfc8646 validate a recipient 2024-08-21 20:30:59 +03:00
alfred-mk
1964623daa retrieve transaction data and display the PIN page 2024-08-20 17:27:13 +03:00
alfred-mk
59ff44214d save the recipient to the user data 2024-08-20 17:25:14 +03:00
alfred-mk
231967b120 added recipient flags and functions 2024-08-20 17:23:34 +03:00
alfred-mk
e4ebb02b77 Added main template and check balance 2024-08-20 17:21:33 +03:00