772d33ca29
remove init and use Exec
2024-09-23 11:18:55 +03:00
e581a1ad2f
factor out getflag
2024-09-19 21:04:09 +03:00
bc9dfe4f65
remove redundant code
2024-09-19 17:01:23 +03:00
ffa00ae15c
refactor code
2024-09-19 16:18:21 +03:00
13294b42d3
refactor code
2024-09-19 16:16:17 +03:00
81159e77d1
refactor code
2024-09-19 16:15:29 +03:00
71e1ae6e3c
add function registration service
2024-09-19 15:54:23 +03:00
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: urdt/ussd#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