Commit Graph

120 Commits

Author SHA1 Message Date
Carlosokumu
3f3e98e637 add pin reset handlers 2024-09-16 14:39:01 +03:00
f4f475bd45 Merge pull request 'africas-talking' (#50) from africas-talking into lash/async-driver
Reviewed-on: urdt/ussd#50
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-09-14 16:28:05 +02:00
alfred-mk
3cb0b099e4 use the new AtSessionHandler 2024-09-14 15:55:45 +03:00
alfred-mk
b53658e038 have AtOutput as an option 2024-09-13 16:03:31 +03:00
lash
9b4a4eeaf4 Temporary solution for make sure storage object gets put back in all cases of execution 2024-09-12 16:46:11 +01:00
alfred-mk
5e4e6a21a0 Added africastalking binary 2024-09-12 15:56:57 +03:00
lash
b31d3b907a Add shutdown to async, rehabilitate http cmd 2024-09-12 04:13:57 +01:00
lash
d49f866ca4 Factor out methods common to http and async cli 2024-09-12 04:07:55 +01:00
lash
dde9f552a6 Isolate http specific parts to minimal 2024-09-12 03:30:23 +01:00
lash
514e043e38 Fix symptom of handler missing persister 2024-09-11 17:53:12 +01:00
lash
681f293d3c Externalize requestparser, flush persister on http request end 2024-09-10 23:09:10 +01:00
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