Commit Graph

124 Commits

Author SHA1 Message Date
2e7c07e6f4
added missing functions to the other getHandlers 2024-09-17 15:31:44 +03:00
065c8e5c1d
use a single set_language function for setting and changing language 2024-09-17 15:26:50 +03:00
06e23565df added the SetNewLanguage function 2024-09-16 17:29:27 +03:00
2ed9f083bb add quit with helpline info
add quit with helpline info
2024-09-16 15:17:56 +01:00
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: #50
Reviewed-by: lash <accounts-grassrootseconomics@holbrook.no>
2024-09-14 16:28:05 +02:00
3cb0b099e4
use the new AtSessionHandler 2024-09-14 15:55:45 +03:00
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
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
9f034967b5
remove resource directory 2024-09-10 12:32:19 +03:00
da93444d3f
remove deprecated code 2024-09-09 10:14:40 +03:00
33c6b35f8f
Merge branch 'origin/master' into wip-code-check 2024-09-09 09:56:00 +03:00
2c059afa7d
resolve 2024-09-07 22:05:09 +03:00
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
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
771a1e8169
code refactoring 2024-09-05 17:07:20 +03:00
2fc8a0e5a7
use fsDb for the resources 2024-09-04 19:57:08 +03:00
1957606bc2
Added log to show debug the flag loaded 2024-09-04 12:19:34 +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
f90fde90fb
Register flags in debugger from the csv 2024-09-03 15:04:09 +03:00
3a3ddc9922
Use FlagParser on main.go and delete the flags.go file 2024-09-02 21:06:42 +03:00
0c96831378
use gdbm 2024-09-02 16:05:13 +03:00
460e6fa2c8
Renamed duplicate flag 2024-08-31 14:50:45 +03:00
cc323707fc
setup parser 2024-08-31 10:21:20 +03:00
95e142860e
rename unlock flags to authorize 2024-08-30 11:15:08 +03:00
23680846b4
rename unlock flags 2024-08-29 23:15:58 +03:00
7b33f2f644
Initiate a transaction once a valid PIN is provided 2024-08-28 14:11:20 +03:00
6e0ea07cde
register single edit flag 2024-08-28 10:12:08 +03:00
1d578209fc
Ensure that the user sets a PIN before proceeding to main 2024-08-27 15:41:53 +03:00
bf99ed8482
Added a CATCH if the account creation fails 2024-08-27 13:38:08 +03:00
460a3d19f7
register all flags 2024-08-26 17:00:04 +03:00
1634854231
set the flags to 14 2024-08-26 15:54:29 +03:00
1a997e8b26
updated the file structure to have external functions on a different package 2024-08-26 15:53:07 +03:00
68dc77d5eb
added flags model 2024-08-26 14:34:38 +03:00
3c66a2ded2
handle age calculation,call apis from handlers 2024-08-26 13:40:20 +03:00
cd28fd0b5e
fix typo on rese_ incorrect_yob 2024-08-25 22:18:55 +03:00
a1fde55d8d
remove unneccesary if-else 2024-08-25 22:13:41 +03:00
730c92c284
rename symbols,add check for invalid date inputs 2024-08-24 17:08:38 +03:00
460e951584
validate PIN using the set AccountPIN 2024-08-23 16:01:13 +03:00
a508f06583
create an account using the API 2024-08-23 14:34:55 +03:00
b440881441
remove unused code 2024-08-23 07:06:54 +03:00
c556e88916
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-23 06:40:37 +03:00
722bb10441
implement profile data persistence 2024-08-23 06:35:49 +03:00
9cc75185b3
creuse a universal quit message 2024-08-23 01:05:14 +03:00
f50be01b89
create a PIN during registration 2024-08-22 19:48:34 +03:00
9aedc5d48f
added amount validation flag and logic 2024-08-22 15:44:28 +03:00
47c38bf507
call api on creating an account 2024-08-21 21:49:27 +03:00
e521145faa
Merge remote-tracking branch 'refs/remotes/origin/wip-account-creation' into wip-account-creation 2024-08-21 21:44:07 +03:00
80ff5c477f
implement pin check 2024-08-21 21:37:29 +03:00
cc6cfc8646
validate a recipient 2024-08-21 20:30:59 +03:00
1964623daa retrieve transaction data and display the PIN page 2024-08-20 17:27:13 +03:00
59ff44214d save the recipient to the user data 2024-08-20 17:25:14 +03:00
231967b120 added recipient flags and functions 2024-08-20 17:23:34 +03:00
e4ebb02b77 Added main template and check balance 2024-08-20 17:21:33 +03:00
be6c0d6afb
add pin unlock flag 2024-08-20 16:55:43 +03:00
afe238003a
use strings for state flags 2024-08-19 10:59:20 +03:00
16ea648014
add handler for quiting and use debug on states 2024-08-19 10:15:26 +03:00
289fc2b69a
chore: log error when saving state fails 2024-08-17 17:57:39 +03:00
659e1c95a2
change entry node to root 2024-08-16 17:57:36 +03:00
88731124df generate account using english and swahili 2024-08-16 13:38:58 +03:00
a096d3f5b5 change to use registration as the entry point 2024-08-15 14:58:44 +03:00
fb7b35af74 directly use the persistedEngine 2024-08-15 13:49:36 +03:00
1e82d18604 initialize main entry point 2024-08-15 11:12:58 +03:00